[PWGLF] Corrected error in accessing McCollision indices #14684
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.
|