@@ -249,7 +249,7 @@ struct ebyeMaker {
249249
250250 Configurable<uint8_t > triggerCut{" triggerCut" , 0x0 , " trigger cut to select" };
251251 Configurable<bool > kINT7Intervals {" kINT7Intervals" , false , " toggle kINT7 trigger selection in the 10-30% and 50-90% centrality intervals (2018 Pb-Pb)" };
252- Configurable<bool > kUseTPCPileUpCut { " kUseTPCPileUpCut " , false , " toggle strong correlation cuts (Run 2)" };
252+ Configurable<bool > kUsePileUpCut { " kUsePileUpCut " , false , " toggle strong correlation cuts (Run 2)" };
253253 Configurable<bool > kUseEstimatorsCorrelationCut {" kUseEstimatorsCorrelationCut" , false , " toggle cut on the correlation between centrality estimators (2018 Pb-Pb)" };
254254
255255 Configurable<float > antidPtMin{" antidPtMin" , 0 .6f , " minimum antideuteron pT (GeV/c)" };
@@ -1114,7 +1114,7 @@ struct ebyeMaker {
11141114 if (!(bc.eventCuts () & BIT (aod::Run2EventCuts::kAliEventCutsAccepted )))
11151115 continue ;
11161116
1117- if (kUseTPCPileUpCut && !(bc.eventCuts () & BIT (aod::Run2EventCuts::kTPCPileUp )))
1117+ if (kUsePileUpCut && !(bc.eventCuts () & BIT (aod::Run2EventCuts::kTPCPileUp )))
11181118 continue ;
11191119
11201120 float v0m = getV0M (bc.globalIndex (), collision.posZ (), fv0as, fv0cs);
@@ -1203,6 +1203,9 @@ struct ebyeMaker {
12031203 if (!(bc.eventCuts () & BIT (aod::Run2EventCuts::kAliEventCutsAccepted )))
12041204 continue ;
12051205
1206+ if (!(bc.eventCuts () & BIT (aod::Run2EventCuts::kPileUpMV ) || bc.eventCuts () & BIT (aod::Run2EventCuts::kTPCPileUp )) && kUsePileUpCut )
1207+ continue ;
1208+
12061209 float v0m = getV0M (bc.globalIndex (), collision.posZ (), fv0as, fv0cs);
12071210 float cV0M = 105 .f ;
12081211 if (Run2V0MInfo.mCalibrationStored ) {
0 commit comments