AliPhysics  80ccde44 (80ccde44)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UpdateEMCAL_OADB_Recalib.C File Reference

Update OADB file with energy recalibration factors. More...

Go to the source code of this file.

Functions

void UpdateEMCAL_OADB_Recalib (const char *fileNameOADB="EMCALRecalib_input4test.root", const char *fileNameRecalibFactors="/cebaf/cebaf/EMCAL/calibPi0_run2/createOCDB_4_with2015data_Nov2016finalCalib/multiplyPi0CalibrationFactors_TextToHisto_Final.root")
 
void test (int runnumber=195345)
 

Variables

const int kNbSMEMCAL =10
 
const int kNbSMEMCALthird =2
 
const int kNbSMDCAL =6
 
const int kNbSMDCALthird =2
 
const int kNbSMtot =kNbSMEMCAL+kNbSMEMCALthird+kNbSMDCAL+kNbSMDCALthird
 

Detailed Description

Update OADB file with energy recalibration factors.

The histograms with energy recalibraton Factors are loaded and some TObjarrays are filled with these histograms. At the end, a OADB container is created receiving these arrays. This UpdateEMCAL_OADB_Recalib updates the information of a original OADB file and writes the output to BetaRecalib.root///

Similar macro can be found in $ALICE_ROOT/EMCAL/macros/OADB

Author
Gustavo Conesa Balbastre, Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, LPSC-CNRS ???
Marcel Figueredo, marce.nosp@m.l.fi.nosp@m.guere.nosp@m.do@c.nosp@m.ern.c.nosp@m.h, Sao Paulo
Julien Faivre, Julie.nosp@m.n.Fa.nosp@m.ivre@.nosp@m.cern.nosp@m..ch, (LPSC-CNRS)

Definition in file UpdateEMCAL_OADB_Recalib.C.

Function Documentation

void UpdateEMCAL_OADB_Recalib ( const char *  fileNameOADB = "EMCALRecalib_input4test.root",
const char *  fileNameRecalibFactors = "/cebaf/cebaf/EMCAL/calibPi0_run2/createOCDB_4_with2015data_Nov2016finalCalib/multiplyPi0CalibrationFactors_TextToHisto_Final.root" 
)

Update OADB Container for EMCal energy recalibration factors from external file.

Parameters
fileNameOADBOADB file name and path
fileNameRecalibFactorsname and path of input file with new factors

Definition at line 33 of file UpdateEMCAL_OADB_Recalib.C.

Variable Documentation

const int kNbSMDCAL =6

Definition at line 4 of file UpdateEMCAL_OADB_Recalib.C.

const int kNbSMDCALthird =2

Definition at line 5 of file UpdateEMCAL_OADB_Recalib.C.

const int kNbSMEMCAL =10

Definition at line 2 of file UpdateEMCAL_OADB_Recalib.C.

const int kNbSMEMCALthird =2

Definition at line 3 of file UpdateEMCAL_OADB_Recalib.C.

Definition at line 6 of file UpdateEMCAL_OADB_Recalib.C.

Referenced by UpdateEMCAL_OADB_Recalib().