Skip to content

Please consider the following formatting changes to #14069 #46

Please consider the following formatting changes to #14069

Please consider the following formatting changes to #14069 #46

Triggered via pull request December 3, 2025 12:52
@alibuildalibuild
opened #17
Status Failure
Total duration 21s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
17s
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#L935
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L852
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L689
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L688
Use constant references for non-modified iterators in range-based for loops.
[pdg/known-mass]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L467
Use o2::constants::physics::Mass... instead of calling a database method for a known PDG code.
[pdg/explicit-mass]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L420
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGLF/Tasks/Strangeness/cascadecorrelations.cxx#L1006
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#L467
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#L309
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.