[PWGCF] V02 analysis initial commit#15426
Conversation
Please consider the following formatting changes to AliceO2Group#15426
|
Error while checking build/O2Physics/o2 for fb07d71 at 2026-03-17 14:20: Full log here. |
| 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.
| iPionUp = 0, | ||
| iKaonUp, | ||
| iProtonUp, | ||
| iPionLow, | ||
| iKaonLow, | ||
| iProtonLow |
There was a problem hiding this comment.
Follow naming conventions.
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.
Please consider the following formatting changes to AliceO2Group#15426
Initial commit of V02 analysis with PID