Skip to content

Commit 2477796

Browse files
authored
[PWGCF] FemtoUniverse: Reinstating Occupancy cut in col. table (AliceO2Group#8930)
1 parent 884a647 commit 2477796

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,13 +852,14 @@ struct femtoUniverseProducerTask {
852852
const auto vtxZ = col.posZ();
853853
const auto multNtr = col.multNTracksPV();
854854
const auto cent = col.centFT0C();
855+
const auto occupancy = col.trackOccupancyInTimeRange();
855856

856857
// check whether the basic event selection criteria are fulfilled
857858
// if the basic selection is NOT fulfilled:
858859
// in case of skimming run - don't store such collisions
859860
// in case of trigger run - store such collisions but don't store any
860861
// particle candidates for such collisions
861-
if (!colCuts.isSelectedRun3(col)) {
862+
if (!colCuts.isSelectedRun3(col) || (occupancy < ConfTPCOccupancyMin || occupancy > ConfTPCOccupancyMax)) {
862863
return false;
863864
} else {
864865
if ((col.selection_bit(aod::evsel::kNoSameBunchPileup)) && (col.selection_bit(aod::evsel::kIsGoodZvtxFT0vsPV))) {

0 commit comments

Comments
 (0)