Skip to content

Commit e2f994c

Browse files
authored
Update collisionCuts.h to include new selection flags
1 parent a7a0353 commit e2f994c

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

PWGLF/Utils/collisionCuts.h

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ class CollisonCuts
4646
kFlagTrigerTVX,
4747
kFlagTimeFrameBorder,
4848
kFlagITSROFrameBorder,
49-
kFlagSel8,
5049
kFlagVertexITSTPC,
51-
kFlagBunchPileup,
5250
kFlagZvtxFT0vsPV,
53-
kFlagOccupancy,
51+
kFlagVertexTOFmatched,
52+
kFlagVertexTRDmatched,
53+
kFlagBunchPileup,
5454
kNoCollInTimeRangeStandard,
5555
kNoCollInTimeRangeNarrow,
5656
kNoCollInTimeRangeStrict,
@@ -60,9 +60,10 @@ class CollisonCuts
6060
kIsGoodITSLayersAll,
6161
kIsGoodITSLayer3,
6262
kIsGoodITSLayer0123,
63-
kFlagVertexTRDmatched,
6463
kFlagBBT0A,
6564
kFlagBBT0C,
65+
kFlagSel8,
66+
kFlagOccupancy,
6667
kAllpassed
6768
};
6869

@@ -131,6 +132,7 @@ class CollisonCuts
131132

132133
mHistogramRegistry->get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(binLabel(EvtSel::kFlagSel8), "sel8");
133134
mHistogramRegistry->get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(binLabel(EvtSel::kFlagOccupancy), "LowOccupancy");
135+
mHistogramRegistry->get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(binLabel(EvtSel::kFlagVertexTOFmatched), "VertexTOFmatched");
134136
mHistogramRegistry->get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(binLabel(EvtSel::kAllpassed), "Allpassed");
135137
}
136138

@@ -268,6 +270,13 @@ class CollisonCuts
268270
setSelection(EvtSel::kNoHighMultCollInPrevRof, apply);
269271
}
270272

273+
/// Set the VertexTOFmatched cut
274+
void setApplyVertexTOFmatched(bool apply)
275+
{
276+
mApplyVertexTOFmatched = apply;
277+
setSelection(EvtSel::kFlagVertexTOFmatched, apply);
278+
}
279+
271280
/// Set the VertexTRDmatched cut
272281
void setApplyVertexTRDmatched(bool apply)
273282
{
@@ -531,6 +540,7 @@ class CollisonCuts
531540
bool mApplyCollInRofStandard = false; ///< Apply NoCollInRofStandard selection
532541
bool mApplyCollInRofStrict = false; ///< Apply NoCollInRofStrict selection
533542
bool mApplyHighMultCollInPrevRof = false; ///< Apply NoHighMultCollInPrevRof selection
543+
bool mApplyVertexTOFmatched = false; ///< Apply vertex TOF matched selection
534544
bool mApplyVertexTRDmatched = false; ///< Apply vertex TRD matched selection
535545
bool mApplyBBT0A = false; ///< Apply T0A beam-beam timing selection
536546
bool mApplyBBT0C = false; ///< Apply T0C beam-beam timing selection

0 commit comments

Comments
 (0)