File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
PWGEM/Dilepton/TableProducer Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ struct EMEventSelection {
6161 Configurable<float > cfgFT0COccupancyMax{" cfgFT0COccupancyMax" , 1000000000 , " max. occupancy" };
6262 Configurable<bool > cfgRequireNoCollInTimeRangeStandard{" cfgRequireNoCollInTimeRangeStandard" , false , " require no collision in time range standard" };
6363
64+ Configurable<bool > cfgRequireTVXinEMC{" cfgRequireTVXinEMC" , false , " require kTVXinEMC (only for EMC analyses)" };
65+
6466 o2::aod::rctsel::RCTFlagsChecker rctChecker;
6567
6668 void init (InitContext&)
@@ -113,6 +115,10 @@ struct EMEventSelection {
113115 return false ;
114116 }
115117
118+ if (cfgRequireTVXinEMC && !collision.alias_bit (triggerAliases::kTVXinEMC )) {
119+ return false ;
120+ }
121+
116122 if constexpr (std::is_same_v<std::decay_t <TCollision>, MyCollisions_Cent::iterator>) {
117123 const float centralities[3 ] = {collision.centFT0M (), collision.centFT0A (), collision.centFT0C ()};
118124 if (centralities[cfgCentEstimator] < cfgCentMin || cfgCentMax < centralities[cfgCentEstimator]) {
You can’t perform that action at this time.
0 commit comments