[PWGLF] corrected the definition of SP calculation #19424
Triggered via pull request
October 25, 2025 12:58
prottayCMT
opened
#13546
Status
Failure
Total duration
17s
Artifacts
–
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L871
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L869
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L660
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L241
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L1860
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L1725
Use constant references for non-modified iterators in range-based for loops.
|
|
[two-pi-add-subtract]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L662
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[two-pi-add-subtract]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L658
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
[root/lorentz-vector]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L51
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
[include-iostream]:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L61
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.
|