[PWGEM/PhotonMeson] reduce data size of ele from dalitz #14913
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L406
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L397
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L388
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L286
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L171
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L168
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L470
Use constant references for non-modified iterators in range-based for loops.
|
|
[pi-multiple-fraction]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L118
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L156
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.cxx#L118
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
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.
|