Skip to content

Commit 16beb06

Browse files
nzardoshalibuild
andauthored
[PWGJE] Seperating k7INT7 and kINT7 (#9935)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 3d54531 commit 16beb06

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

PWGJE/Core/JetDerivedDataUtilities.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static constexpr float mPion = 0.139; // TDatabasePDG::Instance()->GetParticle(2
3030
enum JCollisionSel {
3131
sel8 = 0,
3232
sel7 = 1,
33-
sel7KINT7 = 2,
33+
selKINT7 = 2,
3434
selTVX = 3,
3535
selNoTimeFrameBorder = 4,
3636
selNoITSROFrameBorder = 5,
@@ -85,8 +85,8 @@ std::vector<int> initialiseEventSelectionBits(std::string eventSelectionMasks)
8585
if (eventSelectionMasksContainSelection(eventSelectionMasks, "sel7")) {
8686
eventSelectionMaskBits.push_back(JCollisionSel::sel7);
8787
}
88-
if (eventSelectionMasksContainSelection(eventSelectionMasks, "sel7KINT7")) {
89-
eventSelectionMaskBits.push_back(JCollisionSel::sel7KINT7);
88+
if (eventSelectionMasksContainSelection(eventSelectionMasks, "selKINT7")) {
89+
eventSelectionMaskBits.push_back(JCollisionSel::selKINT7);
9090
}
9191
if (eventSelectionMasksContainSelection(eventSelectionMasks, "TVX")) {
9292
eventSelectionMaskBits.push_back(JCollisionSel::selTVX);
@@ -136,6 +136,10 @@ std::vector<int> initialiseEventSelectionBits(std::string eventSelectionMasks)
136136
eventSelectionMaskBits.push_back(JCollisionSel::selNoCollInTimeRangeStandard);
137137
eventSelectionMaskBits.push_back(JCollisionSel::selNoCollInRofStandard);
138138
}
139+
if (eventSelectionMasksContainSelection(eventSelectionMasks, "sel7KINT7")) {
140+
eventSelectionMaskBits.push_back(JCollisionSel::sel7);
141+
eventSelectionMaskBits.push_back(JCollisionSel::selKINT7);
142+
}
139143
return eventSelectionMaskBits;
140144
}
141145

@@ -148,10 +152,10 @@ uint16_t setEventSelectionBit(T const& collision)
148152
}
149153
if (collision.sel7()) {
150154
SETBIT(bit, JCollisionSel::sel7);
155+
}
151156
if (collision.alias_bit(kINT7)) {
152-
SETBIT(bit, JCollisionSel::sel7KINT7);
157+
SETBIT(bit, JCollisionSel::selKINT7);
153158
}
154-
}
155159
if (collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) {
156160
SETBIT(bit, JCollisionSel::selTVX);
157161
}

0 commit comments

Comments
 (0)