Skip to content

Commit eb7ceed

Browse files
authored
evsel docs: make EventSelectionFlags enum up-to-date
1 parent 00abbe8 commit eb7ceed

File tree

1 file changed

+53
-37
lines changed

1 file changed

+53
-37
lines changed

docs/analysis-tools/EventSelection.md

Lines changed: 53 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -161,42 +161,58 @@ Full list of event selection criteria can be found in [`Common/CCDB/EventSelecti
161161
162162
``` c++
163163
enum EventSelectionFlags {
164-
kIsBBV0A = 0, // cell-averaged time in V0A in beam-beam window
165-
kIsBBV0C, // cell-averaged time in V0C in beam-beam window (for Run 2 only)
166-
kIsBBFDA, // cell-averaged time in FDA (or AD in Run2) in beam-beam window
167-
kIsBBFDC, // cell-averaged time in FDC (or AD in Run2) in beam-beam window
168-
kIsBBT0A, // cell-averaged time in T0A in beam-beam window
169-
kIsBBT0C, // cell-averaged time in T0C in beam-beam window
170-
kNoBGV0A, // cell-averaged time in V0A in beam-gas window
171-
kNoBGV0C, // cell-averaged time in V0C in beam-gas window (for Run 2 only)
172-
kNoBGFDA, // cell-averaged time in FDA (AD in Run2) in beam-gas window
173-
kNoBGFDC, // cell-averaged time in FDC (AD in Run2) in beam-gas window
174-
kNoBGT0A, // cell-averaged time in T0A in beam-gas window
175-
kNoBGT0C, // cell-averaged time in T0C in beam-gas window
176-
kIsBBZNA, // time in common ZNA channel in beam-beam window
177-
kIsBBZNC, // time in common ZNC channel in beam-beam window
178-
kIsBBZAC, // time in ZNA and ZNC in beam-beam window - circular cut in ZNA-ZNC plane
179-
kNoBGZNA, // time in common ZNA channel is outside of beam-gas window
180-
kNoBGZNC, // time in common ZNC channel is outside of beam-gas window
181-
kNoV0MOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline VOM correlation
182-
kNoSPDOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline SPD correlation
183-
kNoV0Casymmetry, // no beam-gas according to correlation of V0C multiplicities in V0C3 and V0C012
184-
kIsGoodTimeRange, // good time range
185-
kNoIncompleteDAQ, // complete event according to DAQ flags
186-
kNoTPCLaserWarmUp, // no TPC laser warm-up event (used in Run 1)
187-
kNoTPCHVdip, // no TPC HV dip
188-
kNoPileupFromSPD, // no pileup according to SPD vertexer
189-
kNoV0PFPileup, // no out-of-bunch pileup according to V0 past-future info
190-
kNoSPDClsVsTklBG, // no beam-gas according to cluster-vs-tracklet correlation
191-
kNoV0C012vsTklBG, // no beam-gas according to V0C012-vs-tracklet correlation
192-
kNoInconsistentVtx, // no inconsistency in SPD and Track vertices
193-
kNoPileupInMultBins, // no pileup according to multiplicity-differential pileup checks
194-
kNoPileupMV, // no pileup according to multi-vertexer
195-
kNoPileupTPC, // no pileup in TPC
196-
kIsTriggerTVX, // FT0 vertex (acceptable FT0C-FT0A time difference) at trigger level
197-
kIsINT1, // SPDGFO >= 1 || V0A || V0C
198-
kNsel // counter
199-
};
164+
kIsBBV0A = 0, // cell-averaged time in V0A in beam-beam window
165+
kIsBBV0C, // cell-averaged time in V0C in beam-beam window (for Run 2 only)
166+
kIsBBFDA, // cell-averaged time in FDA (or AD in Run2) in beam-beam window
167+
kIsBBFDC, // cell-averaged time in FDC (or AD in Run2) in beam-beam window
168+
kIsBBT0A, // cell-averaged time in T0A in beam-beam window
169+
kIsBBT0C, // cell-averaged time in T0C in beam-beam window
170+
kNoBGV0A, // cell-averaged time in V0A in beam-gas window
171+
kNoBGV0C, // cell-averaged time in V0C in beam-gas window (for Run 2 only)
172+
kNoBGFDA, // cell-averaged time in FDA (AD in Run2) in beam-gas window
173+
kNoBGFDC, // cell-averaged time in FDC (AD in Run2) in beam-gas window
174+
kNoBGT0A, // cell-averaged time in T0A in beam-gas window
175+
kNoBGT0C, // cell-averaged time in T0C in beam-gas window
176+
kIsBBZNA, // time in common ZNA channel in beam-beam window
177+
kIsBBZNC, // time in common ZNC channel in beam-beam window
178+
kIsBBZAC, // time in ZNA and ZNC in beam-beam window - circular cut in ZNA-ZNC plane
179+
kNoBGZNA, // time in common ZNA channel is outside of beam-gas window
180+
kNoBGZNC, // time in common ZNC channel is outside of beam-gas window
181+
kNoV0MOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline VOM correlation
182+
kNoSPDOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline SPD correlation
183+
kNoV0Casymmetry, // no beam-gas according to correlation of V0C multiplicities in V0C3 and V0C012
184+
kIsGoodTimeRange, // good time range
185+
kNoIncompleteDAQ, // complete event according to DAQ flags
186+
kNoTPCLaserWarmUp, // no TPC laser warm-up event (used in Run 1)
187+
kNoTPCHVdip, // no TPC HV dip
188+
kNoPileupFromSPD, // no pileup according to SPD vertexer
189+
kNoV0PFPileup, // no out-of-bunch pileup according to V0 past-future info
190+
kNoSPDClsVsTklBG, // no beam-gas according to cluster-vs-tracklet correlation
191+
kNoV0C012vsTklBG, // no beam-gas according to V0C012-vs-tracklet correlation
192+
kNoInconsistentVtx, // no inconsistency in SPD and Track vertices
193+
kNoPileupInMultBins, // no pileup according to multiplicity-differential pileup checks
194+
kNoPileupMV, // no pileup according to multi-vertexer
195+
kNoPileupTPC, // no pileup in TPC
196+
kIsTriggerTVX, // FT0 vertex (acceptable FT0C-FT0A time difference) at trigger level
197+
kIsINT1, // SPDGFO >= 1 || V0A || V0C
198+
kNoITSROFrameBorder, // bunch crossing is far from ITS RO Frame border
199+
kNoTimeFrameBorder, // bunch crossing is far from Time Frame borders
200+
kNoSameBunchPileup, // reject collisions in case of pileup with another collision in the same foundBC
201+
kIsGoodZvtxFT0vsPV, // small difference between z-vertex from PV and from FT0
202+
kIsVertexITSTPC, // at least one ITS-TPC track (reject vertices built from ITS-only tracks)
203+
kIsVertexTOFmatched, // at least one of vertex contributors is matched to TOF
204+
kIsVertexTRDmatched, // at least one of vertex contributors is matched to TRD
205+
kNoCollInTimeRangeNarrow, // no other collisions in specified time range (narrower than Strict)
206+
kNoCollInTimeRangeStrict, // no other collisions in specified time range
207+
kNoCollInTimeRangeStandard, // no other collisions in specified time range with per-collision multiplicity above threshold
208+
kNoCollInRofStrict, // no other collisions in this Readout Frame
209+
kNoCollInRofStandard, // no other collisions in this Readout Frame with per-collision multiplicity above threshold
210+
kNoHighMultCollInPrevRof, // veto an event if FT0C amplitude in previous ITS ROF is above threshold
211+
kIsGoodITSLayer3, // number of inactive chips on ITS layer 3 is below maximum allowed value
212+
kIsGoodITSLayer0123, // numbers of inactive chips on ITS layers 0-3 are below maximum allowed values
213+
kIsGoodITSLayersAll, // numbers of inactive chips on all ITS layers are below maximum allowed values
214+
kNsel // counter
215+
}; // (as of October 2025)
200216
```
201217
202218
Technically there are three types of criteria:
@@ -398,7 +414,7 @@ Additional effect happens at the **beginning of the next TF**, when the reconstr
398414
- The effect is **particle-dependent**, e.g. protons (larger dE/dx) are recorded earlier than pions—leading to small PID-dependent distortions near borders.
399415
400416
**Mitigation in event selection**
401-
- The selection bit **`kNoITSROFrameBorder`** rejects events near ITS ROF edges:
417+
- The selection bit `kNoITSROFrameBorder` rejects events near ITS ROF edges:
402418
- removes collisions within **10 BCs** at the beginning and **20 BCs** at the end of each ROF
403419
- it correponds to ≈ 15 % of BCs in pp and ≈5 % of BCs in Pb–Pb (corresponding event losses depend on the LHC filling scheme)
404420
- Usage in analysis:

0 commit comments

Comments
 (0)