@@ -121,7 +121,6 @@ struct HfCandidateCreator3Prong {
121121 Configurable<std::string> ccdbUrl{" ccdbUrl" , " http://alice-ccdb.cern.ch" , " url of the ccdb repository" };
122122 Configurable<std::string> ccdbPathGrp{" ccdbPathGrp" , " GLO/GRP/GRP" , " Path of the grp file (Run 2)" };
123123 Configurable<std::string> ccdbPathGrpMag{" ccdbPathGrpMag" , " GLO/Config/GRPMagField" , " CCDB path of the GRPMagField object (Run 3)" };
124- Configurable<std::string> irSource{" irSource" , " ZNC hadronic" , " Estimator of the interaction rate (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)" };
125124 // flags to enable creation for different particle species separately
126125 Configurable<bool > createDplus{" createDplus" , false , " enable D+/- candidate creation" };
127126 Configurable<bool > createDs{" createDs" , false , " enable Ds+/- candidate creation" };
@@ -903,7 +902,7 @@ struct HfCandidateCreator3Prong {
903902 const auto occupancy = o2::hf_occupancy::getOccupancyColl (collision, hfEvSel.occEstimator );
904903 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
905904 const auto bc = collision.template foundBC_as <aod::BCsWithTimestamps>();
906- const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource, true ); // Hz
905+ const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), hfEvSel. irSource , true ); // Hz
907906 // / monitor the satisfied event selections
908907 hfEvSel.fillHistograms (collision, rejectionMask, centrality, occupancy, ir);
909908
@@ -922,7 +921,7 @@ struct HfCandidateCreator3Prong {
922921 const auto occupancy = o2::hf_occupancy::getOccupancyColl (collision, hfEvSel.occEstimator );
923922 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0C, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
924923 const auto bc = collision.template foundBC_as <aod::BCsWithTimestamps>();
925- const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource, true ); // Hz
924+ const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), hfEvSel. irSource , true ); // Hz
926925 // / monitor the satisfied event selections
927926 hfEvSel.fillHistograms (collision, rejectionMask, centrality, occupancy, ir);
928927
@@ -941,7 +940,7 @@ struct HfCandidateCreator3Prong {
941940 const auto occupancy = o2::hf_occupancy::getOccupancyColl (collision, hfEvSel.occEstimator );
942941 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0M, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
943942 const auto bc = collision.template foundBC_as <aod::BCsWithTimestamps>();
944- const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource, true ); // Hz
943+ const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), hfEvSel. irSource , true ); // Hz
945944 // / monitor the satisfied event selections
946945 hfEvSel.fillHistograms (collision, rejectionMask, centrality, occupancy, ir);
947946
@@ -965,7 +964,7 @@ struct HfCandidateCreator3Prong {
965964 const auto occupancy = o2::hf_occupancy::getOccupancyColl (collision, hfEvSel.occEstimator );
966965 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc <true , CentralityEstimator::None, aod::BcFullInfos>(collision, centrality, ccdb, registry, bcs);
967966 const auto bc = collision.template foundBC_as <aod::BcFullInfos>();
968- const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), irSource, true ); // Hz
967+ const auto ir = mRateFetcher .fetch (ccdb.service , bc.timestamp (), bc.runNumber (), hfEvSel. irSource , true ); // Hz
969968 // / monitor the satisfied event selections
970969 hfEvSel.fillHistograms (collision, rejectionMask, centrality, occupancy, ir);
971970
0 commit comments