Skip to content

Commit a31c6e9

Browse files
committed
fix sintaxe of nSigmaTPC to 3H selection
1 parent 01de0cb commit a31c6e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ struct lnnRecoTask {
303303
auto nSigmaTPCneg = static_cast<float>((negTrack.tpcSignal() - expBetheNeg) / expSigmaNeg);
304304

305305
// 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;
306+
bool is3H = posTrack.hasTPC() && nSigmaMin3H < nSigmaTPCpos && nSigmaTPCpos < nSigmaMax3H;
307+
bool isAnti3H = negTrack.hasTPC() && nSigmaMin3H < nSigmaTPCpos && nSigmaTPCpos < nSigmaMax3H;
308308

309309
if (!is3H && !isAnti3H)
310310
continue;

0 commit comments

Comments
 (0)