[PWGHF] Fix HF event selection initialization and add explicit casts for BC table #22284
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L510
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L499
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L489
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L461
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L427
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L391
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L363
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGHF/Tasks/taskMcValidation.cxx#L357
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGHF/Tasks/taskMcValidation.cxx#L452
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGHF/Tasks/taskMcValidation.cxx#L222
Use constant references for non-modified iterators in range-based for loops.
|
|
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.
|