@@ -105,7 +105,6 @@ struct HfCandidateCreator2Prong {
105105 Configurable<double > minParamChange{" minParamChange" , 1 .e -3 , " stop iterations if largest change of any X is smaller than this" };
106106 Configurable<double > minRelChi2Change{" minRelChi2Change" , 0.9 , " stop iterations is chi2/chi2old > this" };
107107 Configurable<bool > fillHistograms{" fillHistograms" , true , " do validation plots" };
108- Configurable<int > occEstimator{" occEstimator" , 1 , " Occupancy estimation (1: ITS, 2: FT0C)" };
109108 // magnetic field setting from CCDB
110109 Configurable<bool > isRun2{" isRun2" , false , " enable Run 2 or Run 3 GRP objects for magnetic field" };
111110 Configurable<std::string> ccdbUrl{" ccdbUrl" , " http://alice-ccdb.cern.ch" , " url of the ccdb repository" };
@@ -751,7 +750,7 @@ struct HfCandidateCreator2Prong {
751750
752751 // / bitmask with event. selection info
753752 float centrality{-1 .f };
754- float occupancy = getOccupancyColl (collision, occEstimator);
753+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
755754 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
756755
757756 // / monitor the satisfied event selections
@@ -769,7 +768,7 @@ struct HfCandidateCreator2Prong {
769768
770769 // / bitmask with event. selection info
771770 float centrality{-1 .f };
772- float occupancy = getOccupancyColl (collision, occEstimator);
771+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
773772 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0C, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
774773
775774 // / monitor the satisfied event selections
@@ -787,7 +786,7 @@ struct HfCandidateCreator2Prong {
787786
788787 // / bitmask with event. selection info
789788 float centrality{-1 .f };
790- float occupancy = getOccupancyColl (collision, occEstimator);
789+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
791790 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0M, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
792791
793792 // / monitor the satisfied event selections
@@ -810,7 +809,7 @@ struct HfCandidateCreator2Prong {
810809
811810 // / bitmask with event. selection info
812811 float centrality{-1 .f };
813- float occupancy = getOccupancyColl (collision, occEstimator);
812+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
814813 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc <true , CentralityEstimator::None, aod::BcFullInfos>(collision, centrality, ccdb, registry, bcs);
815814
816815 // / monitor the satisfied event selections
0 commit comments