File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
PWGLF/Tasks/GlobalEventProperties Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ struct HeavyionMultiplicity {
201201 Configurable<bool > isApplyCentMFT{" isApplyCentMFT" , false , " Centrality based on MFT tracks" };
202202 Configurable<bool > isApplySplitRecCol{" isApplySplitRecCol" , false , " Split MC reco collisions" };
203203 Configurable<bool > isApplyInelgt0{" isApplyInelgt0" , false , " Enable INEL > 0 condition" };
204+ Configurable<bool > isApplyTVX{" isApplyTVX" , false , " Enable TVX trigger sel" };
204205
205206 void init (InitContext const &)
206207 {
@@ -378,6 +379,10 @@ struct HeavyionMultiplicity {
378379 }
379380 histos.fill (HIST (" EventHist" ), 2 );
380381
382+ if (isApplyTVX && !col.selection_bit (o2::aod::evsel::kIsTriggerTVX )) {
383+ return false ;
384+ }
385+
381386 if (isApplySameBunchPileup && !col.selection_bit (o2::aod::evsel::kNoSameBunchPileup )) {
382387 return false ;
383388 }
@@ -961,6 +966,11 @@ struct HeavyionMultiplicity {
961966 if (isApplyInelgt0 && !mcCollision.isInelGt0 ()) {
962967 return ;
963968 }
969+
970+ if (isApplyTVX && !(mcCollision.multMCFT0C ()>0 && mcCollision.multMCFT0A ()>0 )) {
971+ return ;
972+ }
973+
964974 if (std::abs (mcCollision.posZ ()) >= vtxRange) {
965975 return ;
966976 }
You can’t perform that action at this time.
0 commit comments