[PWGEM/Dilepton] update matchingMFT.cxx #8243
Annotations
2 errors, 10 warnings, and 1 notice
|
O2 linter
Process completed with exit code 1.
|
|
O2 linter result
Issues have been found.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L438
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L244
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L438
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L244
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L173
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L148
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L147
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L173
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L148
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/Tasks/matchingMFT.cxx#L147
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
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.
|