Skip to content

Commit 96a674d

Browse files
committed
readability-enum-initial-value
1 parent d1b2e1f commit 96a674d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

PWGDQ/Core/VarManager.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ class VarManager : public TObject
179179

180180
enum BarrelTrackFilteringBits {
181181
kIsConversionLeg = 0, // electron from conversions
182-
kIsK0sLeg, // pion from K0s
183-
kIsLambdaLeg, // proton or pion from Lambda
184-
kIsALambdaLeg, // proton or pion from anti-Lambda
185-
kIsOmegaLeg, // kaon from Omega baryon decay
182+
kIsK0sLeg = 1, // pion from K0s
183+
kIsLambdaLeg = 2, // proton or pion from Lambda
184+
kIsALambdaLeg = 3, // proton or pion from anti-Lambda
185+
kIsOmegaLeg = 4, // kaon from Omega baryon decay
186186
kDalitzBits = 5, // first bit for Dalitz tagged tracks
187187
kBarrelUserCutsBits = 13, // first bit for user track cuts
188188
kIsTPCPostcalibrated = 63 // tracks were postcalibrated for the TPC PID
@@ -193,6 +193,7 @@ class VarManager : public TObject
193193
kMuonIsPropagated = 7 // whether the muon was propagated already
194194
};
195195

196+
// NOLINTNEXTLINE(readability-enum-initial-value)
196197
enum Variables {
197198
kNothing = -1,
198199
// Run wise variables

0 commit comments

Comments
 (0)