Skip to content

Commit 8ed08bb

Browse files
authored
[PWGLF] Change TPC nSigma condition to use absolute value (#14041)
1 parent 0d5aa9f commit 8ed08bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Nuspex/nucleitpcpbpb.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ struct NucleitpcPbPb {
376376
float tpcNsigma = getTPCnSigma(track, primaryParticles.at(i));
377377
if ((std::abs(tpcNsigma) > cfgTrackPIDsettings->get(i, "maxTPCnSigma")) && cfgmaxTPCnSigmaRequire)
378378
continue;
379-
if (tpcNsigma > correctionsigma) {
379+
if (std::abs(tpcNsigma) > correctionsigma) {
380380
double a = 0, b = 0, c = 0;
381381

382382
int param = -1;

0 commit comments

Comments
 (0)