-
Notifications
You must be signed in to change notification settings - Fork 614
[PWGHF] taskCharmPolarisation: Stop using the iterator at collisions for PbPb collision process #11946
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
Conversation
|
O2 linter results: ❌ 0 errors, |
| template <typename CollsWithQVecs> | ||
| std::vector<float> getQVec(CollsWithQVecs const& collision) |
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.
Don't use an existing type as a template argument.
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.
I use 'Coll' instead of 'CollsWithQVecs'.
Why does the grouping not work directly with the iterator? |
|
Please make the PR title more informative by adding the scope of the changes. |
The grouping is working well with the iterator. And we don't want to slice the tracks by the collision, so we have to abandon the iterator. |
…for PbPb collision process (AliceO2Group#11946)
…for PbPb collision process (AliceO2Group#11946)
…for PbPb collision process (AliceO2Group#11946)
…for PbPb collision process (AliceO2Group#11946)
…for PbPb collision process (AliceO2Group#11946)
…for PbPb collision process (AliceO2Group#11946)
Incorrect use of iterator, lead to error when slice on candidates.