[PWGLF] added process function to check effect of spatial calibration on v1 - #18015
Conversation
|
O2 linter results: ❌ 0 errors, |
|
Error while checking build/O2Physics/staging for 694707d at 2026-09-22 21:32: Full log here. |
|
Error while checking build/O2Physics/o2 for 694707d at 2026-09-22 21:34: Full log here. |
|
Error while checking build/O2Physics/code-check for a1cec3a at 2026-09-23 10:35: Full log here. |
|
Error while checking build/O2Physics/code-check for 694707d at 2026-09-23 01:25: Full log here. |
| static constexpr double massLambda = o2::constants::physics::MassLambda; | ||
| static constexpr double massK0s = o2::constants::physics::MassK0Short; | ||
| static constexpr double massPr = o2::constants::physics::MassProton; | ||
| static constexpr double massPi = o2::constants::physics::MassPionCharged; |
There was a problem hiding this comment.
Please do not create aliases for existing constants. It's misleading and creates room for errors. Please use the existing constants directly instead. The namespace prefix can be removed if you use a using directive.
| auto ux = TMath::Cos(GetPhiInRange(track.phi())); | ||
| auto uy = TMath::Sin(GetPhiInRange(track.phi())); |
There was a problem hiding this comment.
There is no reason to use ROOT functions here. O2 works with fundamental C++ types so the best is to stick to the STL algorithms.
|
@prottayCMT Please fix the remaining errors. |
No description provided.