Skip to content

Commit 04909da

Browse files
authored
Fix TOF selection condition
1 parent 29e6edd commit 04909da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGLF/TableProducer/Nuspex/lnnRecoTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ struct lnnRecoTask {
423423

424424
beta = h3track.beta();
425425
lnnCand.mass2TrTOF = h3track.mass() * h3track.mass();
426-
if (lnnCand.mass2TrTOF < TrTOFMass2Cut and beta < BetaTrTOF) {
426+
if (lnnCand.mass2TrTOF < TrTOFMass2Cut || beta < BetaTrTOF) {
427427
continue;
428428
}
429429
}

0 commit comments

Comments
 (0)