Skip to content

Commit f815356

Browse files
committed
Updating for coding conv.
1 parent 5bb0ee5 commit f815356

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Common/TableProducer/zdcTaskLightIons.cxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,25 @@ struct ZdcTaskLightIons {
4949
Configurable<float> tdcZNmaxcut{"tdcZNmaxcut", 2.5, "Max. ZN TDC cut value"};
5050
//
5151
// Event selections
52-
Configurable<float> cfgEvSelVtxZ{"cfgEvSelVtxZ", 10, "Event selection: zVtx"};
52+
Configurable<bool> cfgApplyZvtxCut{"cfgApplyZvtxCut", true, "Event selection: zVtx"};
53+
Configurable<float> cfgEvSelVtxZ{"cfgEvSelVtxZ", 10, "Event selection: zVtx cut value"};
5354
Configurable<bool> cfgEvSelSel8{"cfgEvSelSel8", true, "Event selection: sel8"};
55+
Configurable<bool> cfgIsTriggerTVX{"cfgIsTriggerTVX", true, "Event selection: is trigger TVX"};
5456
Configurable<bool> cfgEvSelsDoOccupancySel{"cfgEvSelsDoOccupancySel", true, "Event selection: do occupancy selection"};
5557
Configurable<float> cfgEvSelsMaxOccupancy{"cfgEvSelsMaxOccupancy", 10000, "Event selection: set max occupancy"};
5658
Configurable<bool> cfgEvSelsNoSameBunchPileupCut{"cfgEvSelsNoSameBunchPileupCut", true, "Event selection: no same bunch pileup cut"};
5759
Configurable<bool> cfgEvSelsIsGoodZvtxFT0vsPV{"cfgEvSelsIsGoodZvtxFT0vsPV", true, "Event selection: is good ZVTX FT0 vs PV"};
5860
Configurable<bool> cfgEvSelsNoCollInTimeRangeStandard{"cfgEvSelsNoCollInTimeRangeStandard", true, "Event selection: no collision in time range standard"};
59-
Configurable<bool> cfgEvSelsIsVertexITSTPC{"cfgEvSelsIsVertexITSTPC", true, "Event selection: is vertex ITSTPC"};
61+
Configurable<bool> cfgNoTimeFrameBorder{"cfgNoTimeFrameBorder", true, "Event selection: no time frame border"};
62+
Configurable<bool> cfgNoITSROFFrameBorder{"cfgNoITSROFFrameBorder", true, "Event selection: no ITS ROF frame border"};
6063
Configurable<bool> cfgEvSelsIsGoodITSLayersAll{"cfgEvSelsIsGoodITSLayersAll", true, "Event selection: is good ITS layers all"};
6164
//
6265
HistogramRegistry registry{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
6366

6467
enum SelectionCriteria {
6568
evSel_zvtx,
66-
evSel_kIsTriggerTVX,
6769
evSel_sel8,
70+
evSel_kIsTriggerTVX,
6871
evSel_occupancy,
6972
evSel_kNoSameBunchPileup,
7073
evSel_kIsGoodZvtxFT0vsPV,
@@ -104,7 +107,8 @@ struct ZdcTaskLightIons {
104107

105108
registry.fill(HIST("hEventCount"), evSel_allEvents);
106109

107-
selected = std::fabs(collision.posZ()) < cfgEvSelVtxZ;
110+
if (cfgApplyZvtxCut)
111+
selected = std::fabs(collision.posZ()) < cfgEvSelVtxZ;
108112
if (selected) {
109113
selectionBits |= (uint8_t)(0x1u << evSel_zvtx);
110114
registry.fill(HIST("hEventCount"), evSel_zvtx);

0 commit comments

Comments
 (0)