[PWGCF] Addition of PID specific long-range correlations - #17940
Preet-Bhanjan wants to merge 1 commit into
Conversation
|
O2 linter results: ❌ 0 errors, |
|
Error while checking build/O2Physics/code-check for 367d126 at 2026-09-17 04:09: Full log here. |
|
Error while checking build/O2Physics/staging for 367d126 at 2026-09-17 04:14: Full log here. |
|
Error while checking build/O2Physics/o2 for 367d126 at 2026-09-17 04:45: Full log here. |
367d126 to
e54c43f
Compare
|
Error while checking build/O2Physics/code-check for e54c43f at 2026-09-26 12:34: Full log here. |
|
@Preet-Bhanjan Please fix the errors and warnings before merging. |
|
Error while checking build/O2Physics/staging for 0596a44 at 2026-10-01 21:53: Full log here. |
|
Error while checking build/O2Physics/o2 for 0596a44 at 2026-10-01 22:21: Full log here. |
|
Please test your changes locally before pushing them to the PR. |
|
Error while checking build/O2Physics/code-check for 0596a44 at 2026-10-01 22:44: Full log here. |
|
Dear reviewers, |
| std::array<std::array<float, 3>, 6> nSigmaVals{}; | ||
|
|
||
| // define global variables | ||
| TRandom3* gRandom = new TRandom3(); |
There was a problem hiding this comment.
Why do you need to allocate this member dynamically?
| enum FITIndex { | ||
| kFT0A = 0, | ||
| kFT0C = 1 | ||
| }; |
There was a problem hiding this comment.
The k prefix is not allowed by the O2 naming conventions.
| enum PiKpArrayIndex { | ||
| iPionUp = 0, | ||
| iKaonUp, | ||
| iProtonUp, | ||
| iPionLow, | ||
| iKaonLow, | ||
| iProtonLow | ||
| }; |
There was a problem hiding this comment.
Enumerator values should follow the UpperCamelCase naming style.
| cfgFuncParas.fMultPVT0CCutLow = new TF1("fMultPVT0CCutLow", cfgFuncParas.cfgMultCentLowCutFunction->c_str(), 0, 100); | ||
| cfgFuncParas.fMultPVT0CCutLow->SetParameters(cfgFuncParas.multPVT0CCutPars.data()); | ||
| cfgFuncParas.fMultPVT0CCutHigh = new TF1("fMultPVT0CCutHigh", cfgFuncParas.cfgMultCentHighCutFunction->c_str(), 0, 100); | ||
| cfgFuncParas.fMultPVT0CCutHigh->SetParameters(cfgFuncParas.multPVT0CCutPars.data()); |
There was a problem hiding this comment.
Where do you delete these objects?
Dear @Preet-Bhanjan , not sure how to help about this. I suppose you tested your changes on macOS, right? |
Dear @vkucera, Yes, I used macOS (version 26.6) to test my changes. |
No description provided.