|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 |
|
| 12 | +#include "EvSelFlags.h" |
| 13 | + |
12 | 14 | #include "Common/CCDB/EventSelectionParams.h" |
13 | 15 | #include "Common/Core/RecoDecay.h" |
14 | 16 | #include "Common/DataModel/Centrality.h" |
@@ -66,28 +68,6 @@ namespace o2::aod |
66 | 68 |
|
67 | 69 | namespace emevsel |
68 | 70 | { |
69 | | -// Event selection criteria. See O2Physics/Common/CCDB/EventSelectionParams.h |
70 | | -enum EventSelectionFlags { |
71 | | - kIsTriggerTVX = 0, // FT0 vertex (acceptable FT0C-FT0A time difference) at trigger level |
72 | | - kNoITSROFrameBorder, // bunch crossing is far from ITS RO Frame border |
73 | | - kNoTimeFrameBorder, // bunch crossing is far from Time Frame borders |
74 | | - kNoSameBunchPileup, // reject collisions in case of pileup with another collision in the same foundBC |
75 | | - kIsGoodZvtxFT0vsPV, // small difference between z-vertex from PV and from FT0 |
76 | | - kIsVertexITSTPC, // at least one ITS-TPC track (reject vertices built from ITS-only tracks) |
77 | | - kIsVertexTOFmatched, // at least one of vertex contributors is matched to TOF |
78 | | - kIsVertexTRDmatched, // at least one of vertex contributors is matched to TRD |
79 | | - kNoCollInTimeRangeNarrow, // no other collisions in specified time range (narrower than Strict) |
80 | | - kNoCollInTimeRangeStrict, // no other collisions in specified time range |
81 | | - kNoCollInTimeRangeStandard, // no other collisions in specified time range with per-collision multiplicity above threshold |
82 | | - kNoCollInRofStrict, // no other collisions in this Readout Frame |
83 | | - kNoCollInRofStandard, // no other collisions in this Readout Frame with per-collision multiplicity above threshold |
84 | | - kNoHighMultCollInPrevRof, // veto an event if FT0C amplitude in previous ITS ROF is above threshold |
85 | | - kIsGoodITSLayer3, // number of inactive chips on ITS layer 3 is below maximum allowed value |
86 | | - kIsGoodITSLayer0123, // numbers of inactive chips on ITS layers 0-3 are below maximum allowed values |
87 | | - kIsGoodITSLayersAll, // numbers of inactive chips on all ITS layers are below maximum allowed values |
88 | | - kNsel // counter |
89 | | -}; |
90 | | - |
91 | 71 | DECLARE_SOA_BITMAP_COLUMN(Selection, selection, 32); //! Bitmask of selection flags |
92 | 72 | DECLARE_SOA_DYNAMIC_COLUMN(Sel8, sel8, [](uint32_t selection_bit) -> bool { return (selection_bit & BIT(o2::aod::emevsel::kIsTriggerTVX)) && (selection_bit & BIT(o2::aod::emevsel::kNoTimeFrameBorder)) && (selection_bit & BIT(o2::aod::emevsel::kNoITSROFrameBorder)); }); |
93 | 73 |
|
@@ -149,7 +129,6 @@ uint32_t reduceSelectionBit(TBC const& bc) |
149 | 129 | } |
150 | 130 | return bitMap; |
151 | 131 | } |
152 | | - |
153 | 132 | } // namespace emevsel |
154 | 133 |
|
155 | 134 | namespace emevent |
|
0 commit comments