@@ -750,7 +750,7 @@ struct HfCandidateCreator2Prong {
750750
751751 // / bitmask with event. selection info
752752 float centrality{-1 .f };
753- float occupancy = getOccupancyColl (collision, OccupancyEstimator::Its );
753+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
754754 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
755755
756756 // / monitor the satisfied event selections
@@ -768,7 +768,7 @@ struct HfCandidateCreator2Prong {
768768
769769 // / bitmask with event. selection info
770770 float centrality{-1 .f };
771- float occupancy = getOccupancyColl (collision, OccupancyEstimator::Its );
771+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
772772 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0C, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
773773
774774 // / monitor the satisfied event selections
@@ -786,7 +786,7 @@ struct HfCandidateCreator2Prong {
786786
787787 // / bitmask with event. selection info
788788 float centrality{-1 .f };
789- float occupancy = getOccupancyColl (collision, OccupancyEstimator::Its );
789+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
790790 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask <true , CentralityEstimator::FT0M, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
791791
792792 // / monitor the satisfied event selections
@@ -809,7 +809,7 @@ struct HfCandidateCreator2Prong {
809809
810810 // / bitmask with event. selection info
811811 float centrality{-1 .f };
812- float occupancy = getOccupancyColl (collision, OccupancyEstimator::Its );
812+ float occupancy = getOccupancyColl (collision, hfEvSel. occEstimator );
813813 const auto rejectionMask = hfEvSel.getHfCollisionRejectionMaskWithUpc <true , CentralityEstimator::None, aod::BcFullInfos>(collision, centrality, ccdb, registry, bcs);
814814
815815 // / monitor the satisfied event selections
0 commit comments