Skip to content

Conversation

@jpxrk
Copy link
Collaborator

@jpxrk jpxrk commented Aug 13, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 13, 2025

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title Implement expert comments [PWGHF] Implement expert comments Aug 13, 2025
@jpxrk jpxrk enabled auto-merge (squash) August 13, 2025 04:59
Copy link
Collaborator

@alibuild alibuild left a 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.

@jpxrk jpxrk merged commit c77a889 into AliceO2Group:master Aug 13, 2025
13 checks passed
Comment on lines +41 to +46
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,
Copy link
Collaborator

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.

Copy link
Collaborator Author

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.

Copy link
Collaborator

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

ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

3 participants