[PWGCF] - FemtoDream: Cascade Update #16634
Annotations
10 errors and 2 notices
|
[name/function-variable]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L299
Use lowerCamelCase for names of functions and variables.
|
|
[name/function-variable]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L298
Use lowerCamelCase for names of functions and variables.
|
|
[magic-number]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L382
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L591
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/database]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L34
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
[pi-multiple-fraction]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L393
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[external-pi]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L393
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[using-directive]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L41
Do not put using directives at global scope in headers.
|
|
[using-directive]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L40
Do not put using directives at global scope in headers.
|
|
[include-iostream]:
PWGCF/FemtoDream/Core/femtoDreamCascadeSelection.h#L36
Do not include iostream. Use O2 logging instead.
|
|
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.
|