Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update of occupancy-based event selection #6548

Merged
merged 6 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Common/CCDB/EventSelectionParams.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const char* selectionLabels[kNsel] = {
"kNoV0C012vsTklBG",
"kNoInconsistentVtx",
"kNoPileupInMultBins",
"kNoPilupMV",
"kNoPileupMV",
"kNoPileupTPC",
"kIsTriggerTVX",
"kIsINT1",
Expand All @@ -54,7 +54,14 @@ const char* selectionLabels[kNsel] = {
"kIsGoodZvtxFT0vsPV",
"kIsVertexITSTPC",
"kIsVertexTOFmatched",
"kIsVertexTRDmatched"};
"kIsVertexTRDmatched",
"kNoHighOccupancyAgressive",
"kNoHighOccupancyStrict",
"kNoHighOccupancyMedium",
"kNoHighOccupancyRelaxed",
"kNoHighOccupancyGentle",
"kNoCollInTimeRangeStandard",
"kNoCollInTimeRangeNarrow"};
} // namespace o2::aod::evsel

using namespace o2::aod::evsel;
Expand Down
93 changes: 50 additions & 43 deletions Common/CCDB/EventSelectionParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,48 +19,55 @@ namespace o2::aod::evsel
{
// Event selection criteria
enum EventSelectionFlags {
kIsBBV0A = 0, // cell-averaged time in V0A in beam-beam window
kIsBBV0C, // cell-averaged time in V0C in beam-beam window (for Run 2 only)
kIsBBFDA, // cell-averaged time in FDA (or AD in Run2) in beam-beam window
kIsBBFDC, // cell-averaged time in FDC (or AD in Run2) in beam-beam window
kIsBBT0A, // cell-averaged time in T0A in beam-beam window
kIsBBT0C, // cell-averaged time in T0C in beam-beam window
kNoBGV0A, // cell-averaged time in V0A in beam-gas window
kNoBGV0C, // cell-averaged time in V0C in beam-gas window (for Run 2 only)
kNoBGFDA, // cell-averaged time in FDA (AD in Run2) in beam-gas window
kNoBGFDC, // cell-averaged time in FDC (AD in Run2) in beam-gas window
kNoBGT0A, // cell-averaged time in T0A in beam-gas window
kNoBGT0C, // cell-averaged time in T0C in beam-gas window
kIsBBZNA, // time in common ZNA channel in beam-beam window
kIsBBZNC, // time in common ZNC channel in beam-beam window
kIsBBZAC, // time in ZNA and ZNC in beam-beam window - circular cut in ZNA-ZNC plane
kNoBGZNA, // time in common ZNA channel is outside of beam-gas window
kNoBGZNC, // time in common ZNC channel is outside of beam-gas window
kNoV0MOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline VOM correlation
kNoSPDOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline SPD correlation
kNoV0Casymmetry, // no beam-gas according to correlation of V0C multiplicities in V0C3 and V0C012
kIsGoodTimeRange, // good time range
kNoIncompleteDAQ, // complete event according to DAQ flags
kNoTPCLaserWarmUp, // no TPC laser warm-up event (used in Run 1)
kNoTPCHVdip, // no TPC HV dip
kNoPileupFromSPD, // no pileup according to SPD vertexer
kNoV0PFPileup, // no out-of-bunch pileup according to V0 past-future info
kNoSPDClsVsTklBG, // no beam-gas according to cluster-vs-tracklet correlation
kNoV0C012vsTklBG, // no beam-gas according to V0C012-vs-tracklet correlation
kNoInconsistentVtx, // no inconsistency in SPD and Track vertices
kNoPileupInMultBins, // no pileup according to multiplicity-differential pileup checks
kNoPileupMV, // no pileup according to multi-vertexer
kNoPileupTPC, // no pileup in TPC
kIsTriggerTVX, // FT0 vertex (acceptable FT0C-FT0A time difference) at trigger level
kIsINT1, // SPDGFO >= 1 || V0A || V0C
kNoITSROFrameBorder, // bunch crossing is far from ITS RO Frame border
kNoTimeFrameBorder, // bunch crossing is far from Time Frame borders
kNoSameBunchPileup, // reject collisions in case of pileup with another collision in the same foundBC
kIsGoodZvtxFT0vsPV, // small difference between z-vertex from PV and from FT0
kIsVertexITSTPC, // at least one ITS-TPC track (reject vertices built from ITS-only tracks)
kIsVertexTOFmatched, // at least one of vertex contributors is matched to TOF
kIsVertexTRDmatched, // at least one of vertex contributors is matched to TRD
kNsel // counter
kIsBBV0A = 0, // cell-averaged time in V0A in beam-beam window
kIsBBV0C, // cell-averaged time in V0C in beam-beam window (for Run 2 only)
kIsBBFDA, // cell-averaged time in FDA (or AD in Run2) in beam-beam window
kIsBBFDC, // cell-averaged time in FDC (or AD in Run2) in beam-beam window
kIsBBT0A, // cell-averaged time in T0A in beam-beam window
kIsBBT0C, // cell-averaged time in T0C in beam-beam window
kNoBGV0A, // cell-averaged time in V0A in beam-gas window
kNoBGV0C, // cell-averaged time in V0C in beam-gas window (for Run 2 only)
kNoBGFDA, // cell-averaged time in FDA (AD in Run2) in beam-gas window
kNoBGFDC, // cell-averaged time in FDC (AD in Run2) in beam-gas window
kNoBGT0A, // cell-averaged time in T0A in beam-gas window
kNoBGT0C, // cell-averaged time in T0C in beam-gas window
kIsBBZNA, // time in common ZNA channel in beam-beam window
kIsBBZNC, // time in common ZNC channel in beam-beam window
kIsBBZAC, // time in ZNA and ZNC in beam-beam window - circular cut in ZNA-ZNC plane
kNoBGZNA, // time in common ZNA channel is outside of beam-gas window
kNoBGZNC, // time in common ZNC channel is outside of beam-gas window
kNoV0MOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline VOM correlation
kNoSPDOnVsOfPileup, // no out-of-bunch pileup according to online-vs-offline SPD correlation
kNoV0Casymmetry, // no beam-gas according to correlation of V0C multiplicities in V0C3 and V0C012
kIsGoodTimeRange, // good time range
kNoIncompleteDAQ, // complete event according to DAQ flags
kNoTPCLaserWarmUp, // no TPC laser warm-up event (used in Run 1)
kNoTPCHVdip, // no TPC HV dip
kNoPileupFromSPD, // no pileup according to SPD vertexer
kNoV0PFPileup, // no out-of-bunch pileup according to V0 past-future info
kNoSPDClsVsTklBG, // no beam-gas according to cluster-vs-tracklet correlation
kNoV0C012vsTklBG, // no beam-gas according to V0C012-vs-tracklet correlation
kNoInconsistentVtx, // no inconsistency in SPD and Track vertices
kNoPileupInMultBins, // no pileup according to multiplicity-differential pileup checks
kNoPileupMV, // no pileup according to multi-vertexer
kNoPileupTPC, // no pileup in TPC
kIsTriggerTVX, // FT0 vertex (acceptable FT0C-FT0A time difference) at trigger level
kIsINT1, // SPDGFO >= 1 || V0A || V0C
kNoITSROFrameBorder, // bunch crossing is far from ITS RO Frame border
kNoTimeFrameBorder, // bunch crossing is far from Time Frame borders
kNoSameBunchPileup, // reject collisions in case of pileup with another collision in the same foundBC
kIsGoodZvtxFT0vsPV, // small difference between z-vertex from PV and from FT0
kIsVertexITSTPC, // at least one ITS-TPC track (reject vertices built from ITS-only tracks)
kIsVertexTOFmatched, // at least one of vertex contributors is matched to TOF
kIsVertexTRDmatched, // at least one of vertex contributors is matched to TRD
kNoHighOccupancyAgressive, // no occupancy according to the agressive cuts
kNoHighOccupancyStrict, // no occupancy according to the strict cuts
kNoHighOccupancyMedium, // no occupancy according to the medium cuts
kNoHighOccupancyRelaxed, // no occupancy according to the relaxed cuts
kNoHighOccupancyGentle, // no occupancy according to the gentle cuts
kNoCollInTimeRangeStandard, // no collisions in specified time range
kNoCollInTimeRangeNarrow, // no collisions in specified time range (narrower than Standard)
kNsel // counter
};

extern const char* selectionLabels[kNsel];
Expand Down Expand Up @@ -147,7 +154,7 @@ class EventSelectionParams
int fITSROFrameStartBorderMargin = 10; // number of bcs to cut in the beginning of ITS readout frame
int fITSROFrameEndBorderMargin = 20; // number of bcs to cut in the end of ITS readout frame

ClassDefNV(EventSelectionParams, 5)
ClassDefNV(EventSelectionParams, 6)
};

#endif // COMMON_CCDB_EVENTSELECTIONPARAMS_H_
Loading
Loading