Skip to content

[PWGLF] MC QA checks #13120

[PWGLF] MC QA checks

[PWGLF] MC QA checks #13120

Triggered via pull request July 7, 2025 13:19
@sawankumawatsawankumawat
synchronize #11954
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[pdg/explicit-mass]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L388
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-mass]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L186
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L1206
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#L648
Use multiples/fractions of PI defined in o2::constants::math.
[two-pi-add-subtract]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L648
Use RecoDecay::constrainAngle to restrict angle to a given range.
[external-pi]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L648
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#L646
Replace ROOT entities with equivalents from standard C++ or from O2.
[root/entity]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L186
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.