We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01de0cb commit a31c6e9Copy full SHA for a31c6e9
1 file changed
PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx
@@ -303,8 +303,8 @@ struct lnnRecoTask {
303
auto nSigmaTPCneg = static_cast<float>((negTrack.tpcSignal() - expBetheNeg) / expSigmaNeg);
304
305
// ITS only tracks do not have TPC information. TPCnSigma: only lower cut to allow for triton reconstruction
306
- bool is3H = posTrack.hasTPC() && nSigmaMin3H < nSigmaTPCpos > nSigmaMax3H;
307
- bool isAnti3H = negTrack.hasTPC() && nSigmaMin3H < nSigmaTPCneg > nSigmaMax3H;
+ bool is3H = posTrack.hasTPC() && nSigmaMin3H < nSigmaTPCpos && nSigmaTPCpos < nSigmaMax3H;
+ bool isAnti3H = negTrack.hasTPC() && nSigmaMin3H < nSigmaTPCpos && nSigmaTPCpos < nSigmaMax3H;
308
309
if (!is3H && !isAnti3H)
310
continue;
0 commit comments