Skip to content

Commit a791d03

Browse files
committed
accordingly modify the Xic creator
1 parent 8c91497 commit a791d03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ struct HfCandidateCreatorXicToXiPiPi {
798798

799799
/// bitmask with event. selection info
800800
float centrality{-1.f};
801-
float occupancy = getOccupancyColl(collision, OccupancyEstimator::Its);
801+
float occupancy = getOccupancyColl(collision, hfEvSel.occEstimator);
802802
const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
803803

804804
/// monitor the satisfied event selections
@@ -815,7 +815,7 @@ struct HfCandidateCreatorXicToXiPiPi {
815815

816816
/// bitmask with event. selection info
817817
float centrality{-1.f};
818-
float occupancy = getOccupancyColl(collision, OccupancyEstimator::Its);
818+
float occupancy = getOccupancyColl(collision, hfEvSel.occEstimator);
819819
const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, CentralityEstimator::FT0C, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
820820

821821
/// monitor the satisfied event selections
@@ -832,7 +832,7 @@ struct HfCandidateCreatorXicToXiPiPi {
832832

833833
/// bitmask with event. selection info
834834
float centrality{-1.f};
835-
float occupancy = getOccupancyColl(collision, OccupancyEstimator::Its);
835+
float occupancy = getOccupancyColl(collision, hfEvSel.occEstimator);
836836
const auto rejectionMask = hfEvSel.getHfCollisionRejectionMask<true, CentralityEstimator::FT0M, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
837837

838838
/// monitor the satisfied event selections

0 commit comments

Comments
 (0)