Skip to content

PWGCF: IdentifiedBF added PID for MC particles#8236

Merged
victor-gonzalez merged 3 commits into
AliceO2Group:masterfrom
bghanley1995:master
Oct 31, 2024
Merged

PWGCF: IdentifiedBF added PID for MC particles#8236
victor-gonzalez merged 3 commits into
AliceO2Group:masterfrom
bghanley1995:master

Conversation

@bghanley1995

Copy link
Copy Markdown
Contributor

No description provided.

Please consider the following formatting changes to AliceO2Group#8236
@bghanley1995

Copy link
Copy Markdown
Contributor Author

I'm confused what the MegaLinter error that occurred is.

@bghanley1995 bghanley1995 changed the title added PID for MC particles PWGCF: IdentifiedBF added PID for MC particles Oct 30, 2024
Comment on lines 1187 to 1189
constexpr int pdgcodeEl = 11;
constexpr int pdgcodePi = 211;
constexpr int pdgcodeKa = 321;

Copy link
Copy Markdown
Collaborator

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 (https://root.cern/doc/v632/TPDGCode_8h.html) for the next iteration

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thank you Victor. I will do this for the next iteration.

@victor-gonzalez victor-gonzalez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Have a look at my comment

@victor-gonzalez

Copy link
Copy Markdown
Collaborator

I'm confused what the MegaLinter error that occurred is.

You can check under the Details link that the error is not related with your code

@victor-gonzalez
victor-gonzalez enabled auto-merge (squash) October 30, 2024 21:48
@victor-gonzalez
victor-gonzalez merged commit c177e4c into AliceO2Group:master 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