[PWGLF] Expand strangeness tracking task for MC #13520
Merged
Annotations
10 errors and 2 notices
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L93
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L92
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L91
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L290
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L288
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L420
Use o2::constants::physics::Mass... instead of calling a database method for a known PDG code.
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L420
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L290
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGLF/Tasks/Strangeness/strangecasctrack.cxx#L288
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
Run tests
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.
|
Loading