[PWGLF] Clean PIDResponse in PWGMM #19801
Annotations
10 errors and 2 notices
|
[pdg/explicit-code]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L725
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L636
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L488
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/database]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L43
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
[std-prefix]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L805
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L802
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L800
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L248
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L246
Use std:: prefix for names from the std namespace.
|
|
[include-iostream]:
PWGMM/Mult/Tasks/dndeta-hi.cxx#L53
Do not include iostream. Use O2 logging 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.
|