[PWGEM/Dilepton] fix in c2l selection #13859
Closed
Annotations
10 errors and 2 notices
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L85
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L77
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L749
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L720
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L507
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L440
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L144
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L122
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L103
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGEM/Dilepton/Utils/MCUtilities.h#L85
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