Skip to content

[PWGLF] added polar angle in helicity frame in MC #11904

[PWGLF] added polar angle in helicity frame in MC

[PWGLF] added polar angle in helicity frame in MC #11904

Triggered via pull request June 18, 2025 06:05
@sawankumawatsawankumawat
synchronize #11661
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[pdg/explicit-code]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L1073
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#L636
Use multiples/fractions of PI defined in o2::constants::math.
[two-pi-add-subtract]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L636
Use RecoDecay::constrainAngle to restrict angle to a given range.
[external-pi]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L636
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L1103
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L990
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L177
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[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#L634
Replace ROOT entities with equivalents from standard C++ or from O2.
[root/entity]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L618
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.