Skip to content

[PWGLF] use cent instead of mult + bugfixes #17785

[PWGLF] use cent instead of mult + bugfixes

[PWGLF] use cent instead of mult + bugfixes #17785

Triggered via pull request September 25, 2025 14:02
@rspijkersrspijkers
opened #13135
Status Failure
Total duration 14s
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
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L931
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L848
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L685
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L684
Use constant references for non-modified iterators in range-based for loops.
[pdg/known-mass]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L469
Use o2::constants::physics::Mass... instead of calling a database method for a known PDG code.
[pdg/explicit-mass]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L427
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L1002
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L469
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L316
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[root/lorentz-vector]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L43
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
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.