[PWGJE] Adding task for denominator consistency in effieicncy calcula… #18332
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L443
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L339
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L336
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L332
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L327
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L321
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L315
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/jetHadronRecoil.cxx#L280
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGJE/Tasks/jetHadronRecoil.cxx#L1092
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-mass]:
PWGJE/Tasks/jetHadronRecoil.cxx#L105
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... 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.
|