Repository navigation
[PWGCF] Add q-space K+K- balance function task - #18859
lakshithaf1998 wants to merge 12 commits into
Conversation
…st version Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tpx2ZQ7HXMcQXLLUbEx35H
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tpx2ZSUeCZncb9cRCRUxvQ
…ay, none) Beam and non-hadron mothers are rejected, same criterion as particleOriginAnalysis. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tpx2ZQhMsissFM7LZMPFGi
…urity and Q resolution Histograms grouped per level (generator at top level, detector under rec/); MC origin split at both levels; split tracks never count as a common mother. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tpx2ZQhMsissFM7LZMPFGi
…r statistical errors
|
O2 linter results: ❌ 0 errors, |
Please consider the following formatting changes to AliceO2Group#18859
| using HistoPerCharge = std::array<std::shared_ptr<TH1>, NCharges>; | ||
| using Histo2DPerCharge = std::array<std::shared_ptr<TH2>, NCharges>; | ||
| using Histo2DPerPair = std::array<Histo2DPerCharge, NCharges>; | ||
| using HistoPerPair = std::array<HistoPerCharge, NCharges>; |
There was a problem hiding this comment.
Could you point me to the names you mean? These are type aliases, and the O2 linter rule for types asks for UpperCamelCase (HistoPerCharge, Histo2DPerPair, ...). I am happy to rename anything that does not follow the convention.
wenyaCern
left a comment
There was a problem hiding this comment.
Please fix the errors reported by the linters
|
Thanks for the review. I ran the O2 linter locally the same way as CI: qSpaceBalanceFunction.cxx and QSpaceKinematics.h now have no errors and no warnings, and MegaLinter passes after adding #include . The remaining O2 linter warning is in PWGCF/TwoParticleCorrelations/Tasks/CMakeLists.txt, from the workflow names of existing tasks (e.g. nuclei-balance, mft-correlations), not from the q-space lines. Please let me know if you see another error I should fix. |
Adds a new PWGCF/TwoParticleCorrelations task, o2-analysis-cf-q-space-balance-function, for K+K- balance functions in q-space (Q_inv, Q_long, Q_out, Q_side).
AI use: this code was developed with AI assistance (Claude); I reviewed, built and tested it myself and take responsibility for it.