Skip to content

[PWGLF] Helicity angle in MC #12538

[PWGLF] Helicity angle in MC

[PWGLF] Helicity angle in MC #12538

Triggered via pull request June 27, 2025 17:18
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
9s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[pdg/explicit-mass]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L381
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-mass]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L184
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L1196
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L1075
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pi-multiple-fraction]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L641
Use multiples/fractions of PI defined in o2::constants::math.
[two-pi-add-subtract]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L641
Use RecoDecay::constrainAngle to restrict angle to a given range.
[external-pi]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L641
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L45
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/entity]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L639
Replace ROOT entities with equivalents from standard C++ or from O2.
[root/entity]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L184
Replace ROOT entities with equivalents from standard C++ or from O2.
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.