Uh oh!
There was an error while loading. Please reload this page.
[PWGCF] V02 analysis initial commit - #15426
Conversation
Please consider the following formatting changes to AliceO2Group#15426
alibuild
commented
Mar 17, 2026
Error while checking build/O2Physics/o2 for fb07d71 at 2026-03-17 14:20: Full log here. |
Uh oh!
There was an error while loading. Please reload this page.
| kCharged = 0, | ||
| kPions, | ||
| kKaons, | ||
| kProtons |
There was a problem hiding this comment.
What is the meaning of the k prefix?
There was a problem hiding this comment.
It's the same convention as in PWGCF/TwoParticleCorrelations/Tasks/pidDiHadron.cxx
There was a problem hiding this comment.
That doesn't answer the question.
Compile-time constants, including enumerations, are supposed to follow the UpperCamelCase naming convention.
There was a problem hiding this comment.
Alright, I will change this in the next iteration as this got merged.
Uh oh!
There was an error while loading. Please reload this page.
| iPionUp = 0, | ||
| iKaonUp, | ||
| iProtonUp, | ||
| iPionLow, | ||
| iKaonLow, | ||
| iProtonLow |
There was a problem hiding this comment.
This is also from PWGCF/TwoParticleCorrelations/Tasks/pidDiHadron.cxx, but "i" is used instead as an index in the arrays.
There was a problem hiding this comment.
That doesn't change the fact that it violates the naming conventions.
There was a problem hiding this comment.
So this one in UpperCamelCase as well?
There was a problem hiding this comment.
Yes, they are enumerations like any other.
Uh oh!
There was an error while loading. Please reload this page.
Please consider the following formatting changes to AliceO2Group#15426
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: MaximVirta <maxim.m.o.virta@jyu.fi> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: MaximVirta <maxim.m.o.virta@jyu.fi> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: MaximVirta <maxim.m.o.virta@jyu.fi> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: MaximVirta <maxim.m.o.virta@jyu.fi> Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Initial commit of V02 analysis with PID