Skip to content

Commit 54c310f

Browse files
Fix bit flags for preselecting V0s and cascades
1 parent 1b27145 commit 54c310f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/TableProducer/Strangeness/strangenessbuilder.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ struct StrangenessBuilder {
196196
kCascFoundTags,
197197
nTables };
198198

199-
enum V0PreSelection : uint8_t { selGamma = 0,
199+
enum V0PreSelection : uint8_t { selGamma = static_cast<uint8_t>(1) << static_cast<uint8_t>(0),
200200
selK0Short,
201201
selLambda,
202202
selAntiLambda };
203203

204-
enum CascPreSelection : uint8_t { selXiMinus = 0,
204+
enum CascPreSelection : uint8_t { selXiMinus = static_cast<uint8_t>(1) << static_cast<uint8_t>(0),
205205
selXiPlus,
206206
selOmegaMinus,
207207
selOmegaPlus };

0 commit comments

Comments
 (0)