From 4334627b91898c12a848599e18408671836bfadb Mon Sep 17 00:00:00 2001 From: Pritam Chakraborty <47203359+prchakra@users.noreply.github.com> Date: Sat, 6 Dec 2025 19:42:13 +0100 Subject: [PATCH] FemtoUniverse: Fix bug --- PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h b/PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h index 3c7d0f2369a..c939a4f269d 100644 --- a/PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h +++ b/PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h @@ -910,7 +910,7 @@ class FemtoUniverseDetaDphiStar double afsi1b = deltaphiconstFD * magfield * charge2 * chosenRadii / part2.pt(); double dphis = 0.0; - if (std::abs(afsi0b) < 1.0 && std::abs(afsi0b) < 1.0) { + if (std::abs(afsi0b) < 1.0 && std::abs(afsi1b) < 1.0) { dphis = part2.phi() - part1.phi() + std::asin(afsi1b) - std::asin(afsi0b); } return dphis;