-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGHF] Implement expert comments #12555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
O2 linter results: ❌ 0 errors, |
alibuild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approving on behalf of @jpxrk.
| fNotElec = 0, // not electron | ||
| fDirectCharm = 1, // electrons from prompt charm hadrons | ||
| fDirectBeauty = 2, // electrons from primary beauty hadrons | ||
| fBeautyCharm = 3, // electrons from non-prompt charm hadrons | ||
| fDirectGamma = 4, // electrons from direct photon | ||
| fGammaPi0 = 5, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the f prefixes. They serve no purpose and violate the naming conventions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn’t want to add the “f” either, but I had no choice in order to follow the lowerCamelCase rule. I was worried that "eta" might cause a conflict, but it didn't. I removed the "f" and kept the lowerCamelCase rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not variables. These are enumerator values which are equivalent to compile-time constants. The relevant naming rules is here: https://rawgit.com/AliceO2Group/CodingGuidelines/master/naming_formatting.html?showone=Enumerator_Names#Enumerator_Names
No description provided.