-
Notifications
You must be signed in to change notification settings - Fork 613
[PWGCF] Update on femtoDream Framework:Event Plane & Qn #13801
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: ❌ 233 errors, |
|
I had a look and did not notice any clashes with the main framework. As the PR is big, it would be good if also @victor-gonzalez has a look if you have time. |
I will do it along today But first I would suggest rebasing the changes to the latest tag |
Dear Victor, |
| } | ||
| const float mTMC = FemtoDreamMath::getmT(part1.fdMCParticle(), mMassOne, part2.fdMCParticle(), mMassTwo); | ||
|
|
||
| if (abs(part1.fdMCParticle().pdgMCTruth()) == mPDGOne && abs(part2.fdMCParticle().pdgMCTruth()) == mPDGTwo) { // Note: all pair-histogramms are filled with MC truth information ONLY in case of non-fake candidates |
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 would recommend the same as the linter, use always the std:: prefix
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.
All abs are now std::abs. But it seemed to me that linter didn’t suggest me to do so ( since I’m not quite familiar with GitHub), could you please tell me where to see this?
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.
Check the linter log following the link of the failed O2linter check
At the end of the log you get indications on how to run the test locally
.gitignore
Outdated
|
|
||
| # LSP | ||
| .clangd |
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.
This is a change done at the top level of the O2Physics hierarchy
We at PWGCF don't have approval rights for it
Is it really needed?
(It seems no one has asked for it before)
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.
This is for anyone who wants fine tune on how their clangd would behave, but if it’s beyond PWG work let’s forget about it. The standard settings do a good job as well.
|
I would suggest an intensive use of the methods in |
To me it looks like the latest tag have been merged several times (as can be seen in the last two months commits history) but that is something completely different than rebasing the changes to the latest tag. In my opinion those merges should then disappear, independently of in which branch it is done |
I'm going to reset and force push an all-in-one commit to avoid solving conflicts for all these versions.... So first I would like to confirm is there still any further modifications needed (so that there would be only one commit in final history), if not, I'll starting handling this. Thank you @victor-gonzalez |
Why not just |
Well, like I said, when doing rebase I need to solve the conflicts in all 30+ commits(Because the whole git works on all previous commits, simply dropping is not possible), which would be unnecessary time consumption and it very easily leads to mistakes introduced by human. So basically I have three options: |
This situation did not happen because the way git works, git works as the users ask it to work Now, as you said, the option one is the only viable Regarding further changes, in the logic I haven't see any issue |
Thank you for the advise, I'll try not to mess this in the future. wenya had force pushed a version yesterday, and the branch should be clean for PR now |
|
Error while checking build/O2Physics/o2 for ebc2a71 at 2025-11-18 20:46: Full log here. |
|
Dear @victor-gonzalez, Dear @shouqiye , |
…#13801) Co-authored-by: wenyaCern <wenya.wu@cern.ch>
…#13801) Co-authored-by: wenyaCern <wenya.wu@cern.ch>


Update in DataModel:
1、New column EventPlane, containing event plane angle psi (in degrees) for each event. Stored in new table FDExtEPCollisions independently.
Update in functional part:
1、3D femto calculation
2、pair phi-psi binning in femto calculation
3、mixing policy with event plane psi angle
Minor change:
1、added .clangd in gitignore in case someone might want to use