Skip to content

Commit 8fdaccc

Browse files
prottayCMTProttay Das
andauthored
PWGLF: corrected a bug for azimuthal angle calculation of charged particles (AliceO2Group#8071)
Co-authored-by: Prottay Das <[email protected]>
1 parent 98b4c37 commit 8fdaccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Strangeness/lambdapolsp.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ struct lambdapolsp {
351351
if (sign == 0.0) // removing neutral particles
352352
continue;
353353

354-
auto ux = GetPhiInRange(TMath::Cos(track.phi()));
355-
auto uy = GetPhiInRange(TMath::Sin(track.phi()));
354+
auto ux = TMath::Cos(GetPhiInRange(track.phi()));
355+
auto uy = TMath::Sin(GetPhiInRange(track.phi()));
356356

357357
auto uxQxp = ux * qxZDCA;
358358
auto uyQyp = uy * qyZDCA;

0 commit comments

Comments
 (0)