![]() |
AliPhysics
3b4a69f (3b4a69f)
|
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 EmcalTriggerJets::AliAnalysisTaskEmcalJetEnergySpectrum::AddTaskJetEnergySpectrum(), PWG::EMCAL::TestAliEmcalAODFilterBitCuts::AddTestAliEmcalAODFilterBitCuts(), PWG::EMCAL::TestAliEmcalTrackSelection::AddTestAliEmcalTrackSelection(), ChainBuilder::CheckFile(), TupleSelector::CheckFile(), CompilationEvSelection(), GraphSysErr::CopyKeys(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalRecalcPatchesRef::CreateUserObjects(), GraphSysErr::FindCompat(), AliAnalysisTaskParticleInJet::GetSelectedParticles(), AliEmcalJet::HasClusterConstituent(), AliEmcalJet::HasParticleConstituent(), LoadLibraries(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerBase::PrepareDownscaleFactorsFormOCDB(), TestF::PrintCanvas(), AliBaseMCTrackDensity::ProcessTrack(), read_allLED(), read_allRun1(), read_allRun2(), read_LHC10b(), read_LHC10c(), read_LHC10d(), read_LHC10e(), read_LHC10f(), read_LHC11a(), read_LHC11a7(), read_LHC11b(), read_LHC11c(), read_LHC11d(), read_LHC11h(), read_LHC12a(), read_LHC12b(), read_LHC12c(), read_LHC12d(), read_LHC12f(), read_LHC12h(), read_LHC12i(), read_LHC13b(), read_LHC13c(), read_LHC13d(), read_LHC13e(), read_LHC13f(), read_LHC13g(), read_LHC15Calib(), read_LHC15l(), read_LHC15n(), read_LHC15o(), read_LHC16f(), read_LHC16g(), read_LHC16h(), read_LHC16i(), read_LHC16j(), read_LHC16k(), read_LHC16l(), read_LHC16o(), read_LHC16p(), read_LHC16q(), read_LHC16r(), read_LHC16s(), read_LHC16t(), read_LHC17c(), read_LHC17d(), read_LHC17f(), read_LHC17g(), read_LHC17h(), read_LHC17i(), read_LHC17j(), read_LHC17k(), read_LHC17l(), read_LHC17m(), read_LHC17p(), read_LHC18b(), read_LHC18c(), read_LHC18d(), read_LHC18e(), read_LHC18f(), read_LHC18fLEDOnly(), read_LHC18g(), read_LHC18h(), read_LHC18i(), read_LHC18j(), read_LHC18k(), PWG::EMCAL::TestAliEmcalAODFilterBitCuts::Run(), PWG::EMCAL::TestAliEmcalTrackSelection::Run(), dNdetaDrawer::Run(), PWG::EMCAL::TestImplAliEmcalAODFilterBitCuts::RunTest(), AliAnalysisTaskJetV3::SetGoodnessTest(), AliAnalysisTaskJetV2::SetGoodnessTest(), AliLandauGausFitter::SetParLimits(), PWG::EMCAL::TestAliEmcalTrackSelection::SetPeriod(), AliFMDMCEventInspector::SetupForData(), TestClusterContainerIterator(), TestFile(), Scanner::TestFile(), TestParticleContainerIterator(), PWG::EMCAL::TestAliEmcalTrackSelection::UserCreateOutputObjects(), and PWG::EMCAL::TestAliEmcalTrackSelResultPtr::~TestAliEmcalTrackSelResultPtr().
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().