Skip to content

Commit a9b9a19

Browse files
authored
[PWGCF] FemtoUniverse: Fixing the bug in phi calculation at R
1 parent eb98f56 commit a9b9a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ class FemtoUniverseDetaDphiStar
580580
for (size_t i = 0; i < 9; i++) {
581581
double arg = 0.3 * charge * magfield * TmpRadiiTPC[i] * 0.01 / (2. * pt);
582582
if (std::abs(arg) < 1.0) {
583-
tmpVec.push_back(phi0 - std::asin(arg));
583+
tmpVec.push_back(phi0 + std::asin(arg));
584584
} else {
585585
tmpVec.push_back(999.0);
586586
}

0 commit comments

Comments
 (0)