[PWGLF,Trigger] new event selection criteria #12055
Annotations
10 errors and 2 notices
|
[magic-number]:
EventFiltering/PWGMM/multFilter.cxx#L181
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
EventFiltering/PWGMM/multFilter.cxx#L173
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
EventFiltering/PWGMM/multFilter.cxx#L162
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
EventFiltering/PWGMM/multFilter.cxx#L158
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
EventFiltering/PWGMM/multFilter.cxx#L431
Use constant references for non-modified iterators in range-based for loops.
|
|
[pi-multiple-fraction]:
EventFiltering/PWGMM/multFilter.cxx#L154
Use multiples/fractions of PI defined in o2::constants::math.
|
|
[external-pi]:
EventFiltering/PWGMM/multFilter.cxx#L154
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
|
[root/entity]:
EventFiltering/PWGMM/multFilter.cxx#L321
Replace ROOT entities with equivalents from standard C++ or from O2.
|
|
[std-prefix]:
EventFiltering/PWGMM/multFilter.cxx#L294
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
EventFiltering/PWGMM/multFilter.cxx#L245
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.
|