[PWGEM/Dilepton] update treeCreatorElectronMLDDA.cxx #13802
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L299
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L930
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L929
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[pi-multiple-fraction]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L259
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[two-pi-add-subtract]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L930
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L929
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[external-pi]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L930
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L929
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L259
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[external-pi]:
PWGEM/Dilepton/TableProducer/treeCreatorElectronMLDDA.cxx#L84
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.
|