Uh oh!
There was an error while loading. Please reload this page.
[PWGCF] Add circle PID cut - #15810
Conversation
huinaibing
commented
Apr 16, 2026
- add a circle PID cut
- fix a bug in PID graph filling
O2 linter results: ❌ 0 errors, |
… linter, and fixed the magic number issue.
vkucera
left a comment
There was a problem hiding this comment.
Don't revert the include fixes.
Please consider the following formatting changes to AliceO2Group#15810
huinaibing
commented
Apr 16, 2026
Thank you for your comment, Professor. I was using |
vkucera
commented
Apr 16, 2026
pre-commit does not change your list of includes. You just did not rebase on upstream properly. |
huinaibing
commented
Apr 16, 2026
Thanks for the correction, Professor. I just noticed there was a header file change a few hours ago. I’ve added the header I need(If I don't add it, megalinter throws an error) while keeping the original headers intact. |
| if (pt > ptMin && pt < ptMax) { | ||
| // Circular cut: sqrt(TPC^2 + TOF^2) < 2 | ||
| isPion = (tpcNsigma * tpcNsigma + tofNsigma * tofNsigma) < circleCutOpts.cfgCircleCutSigmaSquarePi.value; | ||
| } else { | ||
| // Fallback: TPC only cut | ||
| isPion = std::fabs(tpcNsigma) < circleCutOpts.cfgCircleCutTPCPi.value; | ||
| } |
There was a problem hiding this comment.
Can this not just be a function or lambda? You repeat the same thing for each species.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Please consider the following formatting changes to AliceO2Group#15810
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>