[PWGLF] calculating polarization by scalar product and adding pt dependent efficiency calculation #13411
Annotations
10 errors and 2 notices
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L849
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L847
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L651
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L239
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L1833
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L1698
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L653
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L649
Use RecoDecay::constrainAngle to restrict angle to a given range.
|
|
Run tests:
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.
|
|
Run tests:
PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L61
Do not include iostream. Use O2 logging instead.
|
|
Run tests
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
Run tests
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.
|
Loading