Skip to content

Conversation

@Preet-Bhanjan
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the pwgcf label Oct 17, 2025
@github-actions github-actions bot changed the title Addition of named constants in PID function [PWGCF] Addition of named constants in PID function Oct 17, 2025
@github-actions
Copy link

github-actions bot commented Oct 17, 2025

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

[PWGCF] Please consider the following formatting changes to AliceO2Group#13433
Comment on lines +108 to +110
PIONS = 0,
KAONS,
PROTONS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still believe this is inconsistent a dangerous
Depending on the part of the code you look at this assignment is true or is false
I understand you try to use a single configurable to address identified or not particles and which of the identified particle is of interest but this clearly creates an inconsistency between parts of your code
I would suggest trying to address that situation in a different way

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve it for the time being but have a look at my comment, I believe it is worth to try a little bit different approach

@victor-gonzalez victor-gonzalez merged commit 836903a into AliceO2Group:master Oct 19, 2025
14 checks passed
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
Co-authored-by: Preet Pati <preet@preet-6.local>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants