From 585acaeffdb08d8429ecb7c869471335469e1b1c Mon Sep 17 00:00:00 2001 From: Fabrizio Grosa Date: Fri, 28 Nov 2025 20:11:16 +0100 Subject: [PATCH 1/3] Autoconfigure by default source for IR fetcher in HF event selection --- .../TableProducer/candidateCreator2Prong.cxx | 9 +++--- .../TableProducer/candidateCreator3Prong.cxx | 9 +++--- .../TableProducer/candidateCreatorCascade.cxx | 8 ++--- PWGHF/TableProducer/candidateCreatorDstar.cxx | 7 ++-- .../candidateCreatorXic0Omegac0.cxx | 7 ++-- .../candidateCreatorXicToXiPiPi.cxx | 7 ++-- PWGHF/Utils/utilsEvSelHf.h | 32 ++++++++++++++++++- 7 files changed, 51 insertions(+), 28 deletions(-) diff --git a/PWGHF/TableProducer/candidateCreator2Prong.cxx b/PWGHF/TableProducer/candidateCreator2Prong.cxx index 7a58af8072c..51c4cabf282 100644 --- a/PWGHF/TableProducer/candidateCreator2Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator2Prong.cxx @@ -118,7 +118,6 @@ struct HfCandidateCreator2Prong { HfEventSelection hfEvSel; // event selection and monitoring o2::vertexing::DCAFitterN<2> df; // 2-prong vertex fitter Service ccdb; - ctpRateFetcher mRateFetcher; int runNumber{0}; double bz{0.}; @@ -747,7 +746,7 @@ struct HfCandidateCreator2Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -766,7 +765,7 @@ struct HfCandidateCreator2Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -785,7 +784,7 @@ struct HfCandidateCreator2Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -809,7 +808,7 @@ struct HfCandidateCreator2Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc(collision, centrality, ccdb, registry, bcs); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/TableProducer/candidateCreator3Prong.cxx b/PWGHF/TableProducer/candidateCreator3Prong.cxx index 1cd922933c4..1f10d21e90d 100644 --- a/PWGHF/TableProducer/candidateCreator3Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator3Prong.cxx @@ -135,7 +135,6 @@ struct HfCandidateCreator3Prong { HfEventSelection hfEvSel; // event selection and monitoring o2::vertexing::DCAFitterN<3> df; // 3-prong vertex fitter Service ccdb; - ctpRateFetcher mRateFetcher; int runNumber{0}; double bz{0.}; @@ -904,7 +903,7 @@ struct HfCandidateCreator3Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -923,7 +922,7 @@ struct HfCandidateCreator3Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -942,7 +941,7 @@ struct HfCandidateCreator3Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -966,7 +965,7 @@ struct HfCandidateCreator3Prong { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc(collision, centrality, ccdb, registry, bcs); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/TableProducer/candidateCreatorCascade.cxx b/PWGHF/TableProducer/candidateCreatorCascade.cxx index 25f7b2f6fb7..857c35000e7 100644 --- a/PWGHF/TableProducer/candidateCreatorCascade.cxx +++ b/PWGHF/TableProducer/candidateCreatorCascade.cxx @@ -25,7 +25,6 @@ #include "PWGLF/DataModel/LFStrangenessTables.h" #include "PWGLF/DataModel/mcCentrality.h" -#include "Common/CCDB/ctpRateFetcher.h" #include "Common/Core/RecoDecay.h" #include "Common/Core/ZorroSummary.h" #include "Common/Core/trackUtilities.h" @@ -96,7 +95,6 @@ struct HfCandidateCreatorCascade { Service ccdb; o2::base::MatLayerCylSet* lut{}; o2::base::Propagator::MatCorrType matCorr = o2::base::Propagator::MatCorrType::USEMatCorrLUT; - ctpRateFetcher mRateFetcher; int runNumber{0}; double massP{0.}; @@ -385,7 +383,7 @@ struct HfCandidateCreatorCascade { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -404,7 +402,7 @@ struct HfCandidateCreatorCascade { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -423,7 +421,7 @@ struct HfCandidateCreatorCascade { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/TableProducer/candidateCreatorDstar.cxx b/PWGHF/TableProducer/candidateCreatorDstar.cxx index 769dc728f0f..67883d32b2e 100644 --- a/PWGHF/TableProducer/candidateCreatorDstar.cxx +++ b/PWGHF/TableProducer/candidateCreatorDstar.cxx @@ -109,7 +109,6 @@ struct HfCandidateCreatorDstar { HfEventSelection hfEvSel; // event selection and monitoring Service ccdb; // From utilsBfieldCCDB.h o2::base::Propagator::MatCorrType noMatCorr = o2::base::Propagator::MatCorrType::USEMatCorrNONE; - ctpRateFetcher mRateFetcher; // D0-prong vertex fitter o2::vertexing::DCAFitterN<2> df; int runNumber{}; @@ -505,7 +504,7 @@ struct HfCandidateCreatorDstar { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -524,7 +523,7 @@ struct HfCandidateCreatorDstar { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -543,7 +542,7 @@ struct HfCandidateCreatorDstar { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx index 0c170937fa7..a3a6fed8579 100644 --- a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx +++ b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx @@ -147,7 +147,6 @@ struct HfCandidateCreatorXic0Omegac0 { Service ccdb; o2::base::MatLayerCylSet* lut{}; o2::base::Propagator::MatCorrType matCorr = o2::base::Propagator::MatCorrType::USEMatCorrLUT; - ctpRateFetcher mRateFetcher; int runNumber{-1}; double magneticField{0.}; @@ -2241,7 +2240,7 @@ struct HfCandidateCreatorXic0Omegac0 { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -2260,7 +2259,7 @@ struct HfCandidateCreatorXic0Omegac0 { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -2279,7 +2278,7 @@ struct HfCandidateCreatorXic0Omegac0 { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx b/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx index fbf83def590..8c71e2951c1 100644 --- a/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx +++ b/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx @@ -116,7 +116,6 @@ struct HfCandidateCreatorXicToXiPiPi { Service ccdb; o2::base::MatLayerCylSet* lut{}; o2::base::Propagator::MatCorrType matCorr = o2::base::Propagator::MatCorrType::USEMatCorrLUT; - ctpRateFetcher mRateFetcher; o2::vertexing::DCAFitterN<3> df; @@ -807,7 +806,7 @@ struct HfCandidateCreatorXicToXiPiPi { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -825,7 +824,7 @@ struct HfCandidateCreatorXicToXiPiPi { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); @@ -843,7 +842,7 @@ struct HfCandidateCreatorXicToXiPiPi { const auto occupancy = o2::hf_occupancy::getOccupancyColl(collision, hfEvSel.occEstimator); const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask(collision, centrality, ccdb, registry); const auto bc = collision.template foundBC_as(); - const auto ir = mRateFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), hfEvSel.irSource, true); // Hz + const auto ir = hfEvSel.getInteractionRate(bc, ccdb); // Hz /// monitor the satisfied event selections hfEvSel.fillHistograms(collision, rejectionMask, centrality, occupancy, ir); diff --git a/PWGHF/Utils/utilsEvSelHf.h b/PWGHF/Utils/utilsEvSelHf.h index f1b018d5971..3846c028092 100644 --- a/PWGHF/Utils/utilsEvSelHf.h +++ b/PWGHF/Utils/utilsEvSelHf.h @@ -18,16 +18,20 @@ #ifndef PWGHF_UTILS_UTILSEVSELHF_H_ #define PWGHF_UTILS_UTILSEVSELHF_H_ + #include "PWGHF/Core/CentralityEstimation.h" // #include "PWGUD/Core/SGCutParHolder.h" #include "PWGUD/Core/SGSelector.h" +#include "CCDB/BasicCCDBManager.h" #include "Common/CCDB/EventSelectionParams.h" #include "Common/CCDB/RCTSelectionFlags.h" #include "Common/CCDB/ctpRateFetcher.h" +#include "Common/Core/CollisionTypeHelper.h" #include "Common/Core/Zorro.h" #include "Common/Core/ZorroSummary.h" +#include "DataFormatsParameters/GRPLHCIFData.h" #include #include @@ -181,7 +185,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { o2::framework::Configurable rctLabel{"rctLabel", "CBT_hadronPID", "RCT selection flag (CBT, CBT_hadronPID, CBT_electronPID, CBT_calo, CBT_muon, CBT_muon_glo)"}; o2::framework::Configurable rctCheckZDC{"rctCheckZDC", false, "RCT flag to check whether the ZDC is present or not"}; o2::framework::Configurable rctTreatLimitedAcceptanceAsBad{"rctTreatLimitedAcceptanceAsBad", false, "RCT flag to reject events with limited acceptance for selected detectors"}; - o2::framework::Configurable irSource{"irSource", "ZNC hadronic", "Estimator of the interaction rate (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)"}; + o2::framework::Configurable irSource{"irSource", "", "Estimator of the interaction rate (Empty: automatically set. Otherwise recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)"}; // SG selector SGSelector sgSelector; @@ -209,6 +213,10 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { Zorro zorro; int currentRun{-1}; + // util to retrieve IR + ctpRateFetcher irFetcher; + std::string irSourceForCptFetcher; + /// Set standard preselection gap trigger (values taken from UD group) SGCutParHolder setSgPreselection() { @@ -261,6 +269,11 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { // we initialise histograms addHistograms(registry); + + // we initialise IR fetcher + if (!irSource.value.empty()) { + irSourceForCptFetcher = irSource.value; + } } /// \brief Applies event selection. @@ -431,6 +444,23 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { hCollisionsCentOcc->Fill(centrality, occupancy); hCollisionsCentIR->Fill(centrality, ir); } + + template + double getInteractionRate(TBc const& bc, + o2::framework::Service const& ccdb) + { + if (irSourceForCptFetcher.empty()) { + o2::parameters::GRPLHCIFData* grpo = ccdb.service->getSpecificForRun("GLO/Config/GRPLHCIF", bc.runNumber()); + auto collsys = o2::common::core::CollisionSystemType::getCollisionTypeFromGrp(grpo); + if (collsys == o2::common::core::CollisionSystemType::kCollSyspp) { + irSourceForCptFetcher = std::string("T0VTX"); + } else { + irSourceForCptFetcher = std::string("ZNC hadronic"); + } + } + + return irFetcher.fetch(ccdb.service, bc.timestamp(), bc.runNumber(), irSourceForCptFetcher, true); + } }; struct HfEventSelectionMc { From 0e22a56eafc48555c849063004dc583bc63c6e27 Mon Sep 17 00:00:00 2001 From: Fabrizio Grosa Date: Fri, 28 Nov 2025 20:12:21 +0100 Subject: [PATCH 2/3] Restore include --- PWGHF/TableProducer/candidateCreatorCascade.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/PWGHF/TableProducer/candidateCreatorCascade.cxx b/PWGHF/TableProducer/candidateCreatorCascade.cxx index 857c35000e7..aac477ff017 100644 --- a/PWGHF/TableProducer/candidateCreatorCascade.cxx +++ b/PWGHF/TableProducer/candidateCreatorCascade.cxx @@ -25,6 +25,7 @@ #include "PWGLF/DataModel/LFStrangenessTables.h" #include "PWGLF/DataModel/mcCentrality.h" +#include "Common/CCDB/ctpRateFetcher.h" #include "Common/Core/RecoDecay.h" #include "Common/Core/ZorroSummary.h" #include "Common/Core/trackUtilities.h" From f4a0c7446325d45841f14cd9eae5f5b3df61eb7d Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 28 Nov 2025 19:13:23 +0000 Subject: [PATCH 3/3] Please consider the following formatting changes --- PWGHF/Utils/utilsEvSelHf.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/PWGHF/Utils/utilsEvSelHf.h b/PWGHF/Utils/utilsEvSelHf.h index 3846c028092..f520fd5f476 100644 --- a/PWGHF/Utils/utilsEvSelHf.h +++ b/PWGHF/Utils/utilsEvSelHf.h @@ -18,21 +18,20 @@ #ifndef PWGHF_UTILS_UTILSEVSELHF_H_ #define PWGHF_UTILS_UTILSEVSELHF_H_ - #include "PWGHF/Core/CentralityEstimation.h" // #include "PWGUD/Core/SGCutParHolder.h" #include "PWGUD/Core/SGSelector.h" -#include "CCDB/BasicCCDBManager.h" #include "Common/CCDB/EventSelectionParams.h" #include "Common/CCDB/RCTSelectionFlags.h" #include "Common/CCDB/ctpRateFetcher.h" #include "Common/Core/CollisionTypeHelper.h" #include "Common/Core/Zorro.h" #include "Common/Core/ZorroSummary.h" -#include "DataFormatsParameters/GRPLHCIFData.h" +#include "CCDB/BasicCCDBManager.h" +#include "DataFormatsParameters/GRPLHCIFData.h" #include #include #include @@ -272,7 +271,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { // we initialise IR fetcher if (!irSource.value.empty()) { - irSourceForCptFetcher = irSource.value; + irSourceForCptFetcher = irSource.value; } }