-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGLF] Omegahm #14279
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
[PWGLF] Omegahm #14279
Conversation
|
O2 linter results: ❌ 34 errors, |
|
@lietava Please use a meaningful PR title. |
| if (std::abs(mcp.eta()) > 0.5f) | ||
| continue; | ||
| int q = 0; | ||
| if (auto pdg = TDatabasePDG::Instance()->GetParticle(mcp.pdgCode())) { |
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.
Why do you still use TDatabasePDG::Instance?
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.
What do you mean ? What should I use ?
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.
You should use Service<o2::framework::O2DatabasePDG>, as the linter suggests.
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.
ok, fix in the next pr. Thanks.
I will do. |
Memory leaks fixes and speed optimisation