Skip to content

Commit a0adc94

Browse files
ChiaraDeMartin95Chiara De Martin
andauthored
Add possibility to select events with T0TVX (#14637)
Co-authored-by: Chiara De Martin <chdemart@alicecerno2.cern.ch>
1 parent ac346cd commit a0adc94

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

EventFiltering/PWGLF/strangenessFilter.cxx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ struct strangenessFilter {
146146
Configurable<bool> hastof{"hastof", 1, "Has TOF (OOB condition)"};
147147
Configurable<float> ptthrtof{"ptthrtof", 1.0, "Pt threshold to apply TOF condition"};
148148
Configurable<bool> sel8{"sel8", 0, "Apply sel8 event selection"};
149+
Configurable<bool> isTriggerTVX{"isTriggerTVX", 1, "Require TVX"};
149150
Configurable<int> LowLimitFT0MMult{"LowLimitFT0MMult", 3100, "FT0M selection for omega + high multiplicity trigger"};
150151
Configurable<int> LowLimitFT0MMultNorm{"LowLimitFT0MMultNorm", 70, "FT0M selection for omega + high multiplicity trigger with Normalised FT0M"};
151152
Configurable<bool> useNormalisedMult{"useNormalisedMult", 1, "Use avarage multiplicity for HM omega like in multFilter.cxx"};
@@ -574,12 +575,15 @@ struct strangenessFilter {
574575

575576
initCCDB(collision.bc().runNumber());
576577

578+
hProcessedEvents->Fill(-0.5);
577579
if (sel8 && !collision.sel8()) {
578580
fillTriggerTable(keepEvent);
579581
return;
580582
}
581-
hProcessedEvents->Fill(-0.5);
582-
583+
if (isTriggerTVX && !collision.selection_bit(aod::evsel::kIsTriggerTVX)) {
584+
fillTriggerTable(keepEvent);
585+
return;
586+
}
583587
if (isTimeFrameBorderCut && !collision.selection_bit(aod::evsel::kNoTimeFrameBorder)) {
584588
fillTriggerTable(keepEvent);
585589
return;

0 commit comments

Comments
 (0)