Skip to content

Commit 1cbd078

Browse files
author
Chiara De Martin
committed
add possibility to select events with T0TVX
1 parent a25198b commit 1cbd078

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

EventFiltering/PWGLF/strangenessFilter.cxx

Lines changed: 6 additions & 1 deletion
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"};
@@ -578,8 +579,12 @@ struct strangenessFilter {
578579
fillTriggerTable(keepEvent);
579580
return;
580581
}
582+
if (isTriggerTVX && !collision.selection_bit(aod::evsel::kIsTriggerTVX)){
583+
fillTriggerTable(keepEvent);
584+
return;
585+
}
581586
hProcessedEvents->Fill(-0.5);
582-
587+
583588
if (isTimeFrameBorderCut && !collision.selection_bit(aod::evsel::kNoTimeFrameBorder)) {
584589
fillTriggerTable(keepEvent);
585590
return;

0 commit comments

Comments
 (0)