[PWGLF] Rewrite analysis task #22696
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGMM/UE/Tasks/uecharged.cxx#L204
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGMM/UE/Tasks/uecharged.cxx#L194
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGMM/UE/Tasks/uecharged.cxx#L1124
Use constant references for non-modified iterators in range-based for loops.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L313
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L311
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L307
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L305
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L302
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L300
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[std-prefix]:
PWGMM/UE/Tasks/uecharged.cxx#L83
Use std:: prefix for names from the std namespace.
|
|
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.
|