From 3fead83b27c431445b8c3187429a7d4331074494 Mon Sep 17 00:00:00 2001 From: Jaideep Tanwar <141036812+jtanwar2212@users.noreply.github.com> Date: Mon, 1 Dec 2025 11:22:42 +0530 Subject: [PATCH] [PWGLF] Change TPC nSigma condition to use absolute value --- PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx b/PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx index 24a924d77f1..e2a68cf189e 100644 --- a/PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx +++ b/PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx @@ -376,7 +376,7 @@ struct NucleitpcPbPb { float tpcNsigma = getTPCnSigma(track, primaryParticles.at(i)); if ((std::abs(tpcNsigma) > cfgTrackPIDsettings->get(i, "maxTPCnSigma")) && cfgmaxTPCnSigmaRequire) continue; - if (tpcNsigma > correctionsigma) { + if (std::abs(tpcNsigma) > correctionsigma) { double a = 0, b = 0, c = 0; int param = -1;