Skip to content

Commit dfdbe77

Browse files
authored
Fix reverted logic in new event selection criteria (AliceO2Group#822)
1 parent 3e2dba1 commit dfdbe77

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Common/CCDB/EventSelectionParams.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ enum EventSelectionFlags {
4949
kNoV0C012vsTklBG, // no beam-gas according to V0C012-vs-tracklet correlation
5050
kNoInconsistentVtx, // no inconsistency in SPD and Track vertices
5151
kNoPileupInMultBins, // no pileup according to multiplicity-differential pileup checks
52-
kNoPilupMV, // no pileup according to multi-vertexer
52+
kNoPileupMV, // no pileup according to multi-vertexer
5353
kNoPileupTPC, // no pileup in TPC
5454
kNsel // counter
5555
};

Common/TableProducer/eventSelection.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ struct BcSelectionTask {
153153
selection[kNoPileupFromSPD] = (eventCuts & 1 << aod::kIsPileupFromSPD) == 0;
154154
selection[kNoV0PFPileup] = (eventCuts & 1 << aod::kIsV0PFPileup) == 0;
155155
selection[kNoInconsistentVtx] = (eventCuts & 1 << aod::kConsistencySPDandTrackVertices) > 0;
156-
selection[kNoPileupInMultBins] = (eventCuts & 1 << aod::kPileupInMultBins) == 0;
157-
selection[kNoPilupMV] = (eventCuts & 1 << aod::kPileUpMV) == 0;
158-
selection[kNoPileupTPC] = (eventCuts & 1 << aod::kTPCPileUp) == 0;
156+
selection[kNoPileupInMultBins] = (eventCuts & 1 << aod::kPileupInMultBins) > 0;
157+
selection[kNoPileupMV] = (eventCuts & 1 << aod::kPileUpMV) > 0;
158+
selection[kNoPileupTPC] = (eventCuts & 1 << aod::kTPCPileUp) > 0;
159159

160160
int32_t foundFT0 = bc.has_ft0() ? bc.ft0().globalIndex() : -1;
161161
int32_t foundFV0 = bc.has_fv0a() ? bc.fv0a().globalIndex() : -1;

0 commit comments

Comments
 (0)