Skip to content
Merged
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
26 changes: 17 additions & 9 deletions Common/TableProducer/zdcExtraTableProducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -194,15 +194,23 @@ struct ZdcExtraTableProducer {

uint8_t evSelection = eventSelected(collision);

//add event selection
if (cfgEvSelSel8 && !(evSelection & (1 << evSel_sel8))) continue;
if (std::fabs(collision.posZ()) > cfgEvSelVtxZ) continue;
if (cfgEvSelsDoOccupancySel && !(evSelection & (1 << evSel_occupancy))) continue;
if (cfgEvSelsNoSameBunchPileupCut && !(evSelection & (1 << evSel_kNoSameBunchPileup))) continue;
if (cfgEvSelsIsGoodZvtxFT0vsPV && !(evSelection & (1 << evSel_kIsGoodZvtxFT0vsPV))) continue;
if (cfgEvSelsNoCollInTimeRangeStandard && !(evSelection & (1 << evSel_kNoCollInTimeRangeStandard))) continue;
if (cfgEvSelsIsVertexITSTPC && !(evSelection & (1 << evSel_kIsVertexITSTPC))) continue;
if (cfgEvSelsIsGoodITSLayersAll && !(evSelection & (1 << evSel_kIsGoodITSLayersAll))) continue;
// add event selection
if (cfgEvSelSel8 && !(evSelection & (1 << evSel_sel8)))
continue;
if (std::fabs(collision.posZ()) > cfgEvSelVtxZ)
continue;
if (cfgEvSelsDoOccupancySel && !(evSelection & (1 << evSel_occupancy)))
continue;
if (cfgEvSelsNoSameBunchPileupCut && !(evSelection & (1 << evSel_kNoSameBunchPileup)))
continue;
if (cfgEvSelsIsGoodZvtxFT0vsPV && !(evSelection & (1 << evSel_kIsGoodZvtxFT0vsPV)))
continue;
if (cfgEvSelsNoCollInTimeRangeStandard && !(evSelection & (1 << evSel_kNoCollInTimeRangeStandard)))
continue;
if (cfgEvSelsIsVertexITSTPC && !(evSelection & (1 << evSel_kIsVertexITSTPC)))
continue;
if (cfgEvSelsIsGoodITSLayersAll && !(evSelection & (1 << evSel_kIsGoodITSLayersAll)))
continue;

float centrality = collision.centFT0C();

Expand Down
Loading