Skip to content

[PWGLF] calculating polarization by scalar product and adding pt dependent efficiency calculation #19041

[PWGLF] calculating polarization by scalar product and adding pt dependent efficiency calculation

[PWGLF] calculating polarization by scalar product and adding pt dependent efficiency calculation #19041

Triggered via pull request October 18, 2025 13:45
@prottayCMTprottayCMT
synchronize #13411
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
14s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[magic-number]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L849
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L847
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L651
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L239
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#L1833
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L1698
Use constant references for non-modified iterators in range-based for loops.
[two-pi-add-subtract]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L653
Use RecoDecay::constrainAngle to restrict angle to a given range.
[two-pi-add-subtract]: PWGLF/Tasks/Strangeness/lambdapolsp.cxx#L649
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.