[PWGLF] Fix MC generated information #12530
Annotations
10 errors and 2 notices
|
[name/struct]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L33
Use UpperCamelCase for names of structs.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L139
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L131
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L122
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L118
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L139
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L131
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L122
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[std-prefix]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L102
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGLF/Tasks/Strangeness/sigmaminustask.cxx#L76
Use std:: prefix for names from the std namespace.
|
|
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.
|