[PWGEM/Dilepton] update dileptonPolarization.cxx #21340
Annotations
10 errors and 2 notices
|
[name/o2-task]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L1
Specify task name only when it cannot be derived from the struct name. Only append to the default name.
|
|
[name/o2-task]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L688
Specified task name dilepton-polarization and the struct name DileptonPolarization produce the same device name dilepton-polarization. TaskName is redundant.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L605
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L590
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L583
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGEM/Dilepton/Tasks/dileptonPolarization.cxx#L576
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[using-directive]:
PWGEM/Dilepton/Core/DimuonCut.h#L35
Do not put using directives at global scope in headers.
|
|
[magic-number]:
PWGEM/Dilepton/Core/DielectronCut.h#L282
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[using-directive]:
PWGEM/Dilepton/Core/DielectronCut.h#L37
Do not put using directives at global scope in headers.
|
|
[using-directive]:
PWGEM/Dilepton/Core/DielectronCut.h#L36
Do not put using directives at global scope in headers.
|
|
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.
|