Skip to content

Conversation

@jaelpark
Copy link
Collaborator

No description provided.

Comment on lines 741 to +748
case 2212: // proton
case -2212:
return 2;
default:
case 421: // D0
case -421:
return 3;
default:
return 4;
Copy link
Collaborator

@victor-gonzalez victor-gonzalez Oct 29, 2024

Choose a reason for hiding this comment

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

I would suggest using named constants from TPDGCode.h extended by Common/Constants/include/CommonConstants/PhysicsConstants.h if needed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, this is something we should probably change eventually.

@victor-gonzalez victor-gonzalez enabled auto-merge (squash) October 29, 2024 22:08
@jgrosseo
Copy link
Contributor

This looks good to me. I let you see with Victor's comment.

@victor-gonzalez victor-gonzalez merged commit 0519a20 into AliceO2Group:master Oct 31, 2024
joachimckh pushed a commit to joachimckh/O2Physics that referenced this pull request Oct 31, 2024
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