Skip to content

[PWGLF] "PWGLF: modified Reconstructed and Generated MC" #13045

[PWGLF] "PWGLF: modified Reconstructed and Generated MC"

[PWGLF] "PWGLF: modified Reconstructed and Generated MC" #13045

Triggered via pull request July 5, 2025 18:01
@sawankumawatsawankumawat
synchronize #11931
Status Failure
Total duration 13s
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#L380
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#L1191
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#L1067
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#L640
Use multiples/fractions of PI defined in o2::constants::math.
[two-pi-add-subtract]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L640
Use RecoDecay::constrainAngle to restrict angle to a given range.
[external-pi]: PWGLF/Tasks/Resonances/higherMassResonances.cxx#L640
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#L638
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.