Skip to content

Commit 45d9366

Browse files
committed
Adding TVX selection in Evt/Sig loss process function
1 parent a312b8a commit 45d9366

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)