From 9cdfee636db54b31f0a21c1ec5c79904028fa888 Mon Sep 17 00:00:00 2001 From: yashpatley <52608802+yashpatley@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:15:39 +0530 Subject: [PATCH] Update lambda1520_spherocity_analysis.cxx --- PWGLF/Tasks/lambda1520_spherocity_analysis.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/lambda1520_spherocity_analysis.cxx b/PWGLF/Tasks/lambda1520_spherocity_analysis.cxx index 49ce40d04cc..2ade5d71e83 100644 --- a/PWGLF/Tasks/lambda1520_spherocity_analysis.cxx +++ b/PWGLF/Tasks/lambda1520_spherocity_analysis.cxx @@ -335,7 +335,7 @@ struct lambdaAnalysis { p = p1 + p2; - if (p.Rapidity() < 0.5) { + if (std::abs(p.Rapidity()) < 0.5) { histos.fill(HIST("Analysis/hInvMassR"), p.M()); histos.fill(HIST("Analysis/h4InvMassR"), p.M(), p.Pt(), sph, mult); }