@@ -60,6 +60,8 @@ struct FilterCF {
60
60
O2_DEFINE_CONFIGURABLE (cfgCutMCEta, float , 0 .8f , " Eta range for particles" )
61
61
O2_DEFINE_CONFIGURABLE (cfgVerbosity, int , 1 , " Verbosity level (0 = major, 1 = per collision)" )
62
62
O2_DEFINE_CONFIGURABLE (cfgTrigger, int , 7 , " Trigger choice: (0 = none, 7 = sel7, 8 = sel8, 9 = sel8 + kNoSameBunchPileup + kIsGoodZvtxFT0vsPV, 10 = sel8 before April, 2024, 11 = sel8 for MC, 12 = sel8 with low occupancy cut)" )
63
+ O2_DEFINE_CONFIGURABLE (cfgMinOcc, int , 0 , " minimum occupancy selection" )
64
+ O2_DEFINE_CONFIGURABLE (cfgMaxOcc, int , 3000 , " maximum occupancy selection" )
63
65
O2_DEFINE_CONFIGURABLE (cfgCollisionFlags, uint16_t , aod::collision::CollisionFlagsRun2::Run2VertexerTracks, " Request collision flags if non-zero (0 = off, 1 = Run2VertexerTracks)" )
64
66
O2_DEFINE_CONFIGURABLE (cfgTransientTables, bool , false , " Output transient tables for collision and track IDs" )
65
67
O2_DEFINE_CONFIGURABLE (cfgTrackSelection, int , 0 , " Type of track selection (0 = Run 2/3 without systematics | 1 = Run 3 with systematics)" )
@@ -111,7 +113,7 @@ struct FilterCF {
111
113
return isMultSelected && collision.selection_bit (aod::evsel::kIsTriggerTVX ) && collision.selection_bit (aod::evsel::kNoTimeFrameBorder );
112
114
} else if (cfgTrigger == 12 ) { // relevant only for Pb-Pb with occupancy cuts and rejection of the collisions which have other events nearby
113
115
int occupancy = collision.trackOccupancyInTimeRange ();
114
- if (occupancy >= 0 && occupancy < 500 )
116
+ if (occupancy >= cfgMinOcc && occupancy < cfgMaxOcc )
115
117
return isMultSelected && collision.sel8 () && collision.selection_bit (aod::evsel::kNoSameBunchPileup ) && collision.selection_bit (aod::evsel::kIsGoodZvtxFT0vsPV ) && collision.selection_bit (aod::evsel::kNoCollInTimeRangeStandard );
116
118
else
117
119
return false ;
0 commit comments