-
Notifications
You must be signed in to change notification settings - Fork 615
[PWGCF] Add long range correlations analysis task #11329
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: ❌ 1 errors, |
victor-gonzalez
left a comment
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.
Please, have a look at my comments
| PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore | ||
| COMPONENT_NAME Analysis) | ||
|
|
||
| o2physics_add_dpl_workflow(gen-corr |
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.
Could the task name (and source file) be a bit more specific?
gen immediately addresses MC generator level which I guess it is not the aim
And corr is ambiguous having in mind the task is whithin the TwoParticleCorrelations directory
As it seems that the FT0 is being considered, what about something like long range correlations?
| // granted to it by virtue of its status as an Intergovernmental Organization | ||
| // or submit itself to any jurisdiction. | ||
| /// | ||
| /// \file genCorr.cxx |
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.
See previous comment
| /// | ||
| /// \file genCorr.cxx | ||
| /// | ||
| /// \brief task for correlation analysis |
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.
See previous comment
|
|
||
| struct : ConfigurableGroup { | ||
| Configurable<std::string> cfgURL{"cfgURL", "http://alice-ccdb.cern.ch", "Address of the CCDB to browse"}; | ||
| Configurable<int64_t> noLaterThan{"ccdb-no-later-than", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "Latest acceptable timestamp of creation for the object"}; |
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.
As this is a new task, please, adhere to the linter recommendations
| ft0Det.calculateChannelCenter(); | ||
| auto chPos = ft0Det.getChannelCenter(chno); | ||
| auto phi = std::atan2(chPos.Y() + offsetY, chPos.X() + offsetX); | ||
| if (phi < 0) { |
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.
It is safe here to also use the RecoDecay method
| } | ||
| float deltaPhi = RecoDecay::constrainAngle(triggerTrack.phi() - phiA, -PIHalf); | ||
| float deltaEta = triggerTrack.eta() - etaA; | ||
| // LOGF(info, "delta eta = %f and delta phi = %f", deltaEta, deltaPhi); |
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.
Please, don't leave code commented
Please consider the following formatting changes to AliceO2Group#11329
|
Hello @victor-gonzalez, Thanks, |
|
Error while checking build/O2Physics/o2 for 340d5b6 at 2025-05-23 16:52: Full log here. |
victor-gonzalez
left a comment
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.
Thanks!!
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
No description provided.