[PWGLF] Rewrite analysis task #22697
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGMM/UE/Tasks/uecharged.cxx#L205
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGMM/UE/Tasks/uecharged.cxx#L195
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#L1125
Use constant references for non-modified iterators in range-based for loops.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L314
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L312
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L308
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L306
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L303
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGMM/UE/Tasks/uecharged.cxx#L301
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[std-prefix]:
PWGMM/UE/Tasks/uecharged.cxx#L84
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.
|