[PWGCF] Add long range correlations analysis task#11329
[PWGCF] Add long range correlations analysis task#11329victor-gonzalez merged 8 commits intoAliceO2Group:masterfrom
Conversation
|
O2 linter results: ❌ 1 errors, |
victor-gonzalez
left a comment
There was a problem hiding this comment.
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.
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.
See previous comment
| /// | ||
| /// \file genCorr.cxx | ||
| /// | ||
| /// \brief task for correlation analysis |
There was a problem hiding this comment.
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.
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.
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.
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. |
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.