![]() |
AliPhysics
80ccde44 (80ccde44)
|
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 |
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
Definition in file UpdateEMCAL_OADB_Recalib.C.
void test | ( | int | runnumber = 195345 | ) |
Test what was updated, let's read back the file
runnumber | reference run number |
Definition at line 112 of file UpdateEMCAL_OADB_Recalib.C.
Referenced by ChainBuilder::CheckFile(), TupleSelector::CheckFile(), CompilationEvSelection(), GraphSysErr::CopyKeys(), GraphSysErr::FindCompat(), AliAnalysisTaskParticleInJet::GetSelectedParticles(), LoadLibraries(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerBase::PrepareDownscaleFactorsFormOCDB(), AliBaseMCTrackDensity::ProcessTrack(), dNdetaDrawer::Run(), AliAnalysisTaskJetV2::SetGoodnessTest(), AliAnalysisTaskJetV3::SetGoodnessTest(), AliLandauGausFitter::SetParLimits(), TestClusterContainerIterator(), TestFile(), Scanner::TestFile(), and TestParticleContainerIterator().
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.
fileNameOADB | OADB file name and path |
fileNameRecalibFactors | name and path of input file with new factors |
Definition at line 33 of file UpdateEMCAL_OADB_Recalib.C.
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.
const int kNbSMtot =kNbSMEMCAL+kNbSMEMCALthird+kNbSMDCAL+kNbSMDCALthird |
Definition at line 6 of file UpdateEMCAL_OADB_Recalib.C.
Referenced by UpdateEMCAL_OADB_Recalib().