Skip to content

[PWGLF] Corrected error in accessing McCollision indices #14684

[PWGLF] Corrected error in accessing McCollision indices

[PWGLF] Corrected error in accessing McCollision indices #14684

Triggered via pull request July 30, 2025 12:22
@morgmattmorgmatt
synchronize #12316
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[name/function-variable]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L163
Use lowerCamelCase for names of functions and variables.
[magic-number]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L214
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L203
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L159
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L156
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L152
Use constant references for non-modified iterators in range-based for loops.
[pdg/explicit-code]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L214
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L203
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L159
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/TableProducer/Strangeness/sigmaminustask.cxx#L156
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg 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.