Skip to content

Commit 1f860ca

Browse files
sawankumawatSawan Sawan
andauthored
[PWGLF] Modified hasTOF functionality (#13743)
Co-authored-by: Sawan Sawan <sawan.sawan@cern.ch>
1 parent 50e17c2 commit 1f860ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,11 +577,11 @@ struct HigherMassResonances {
577577
}
578578
rEventSelection.fill(HIST("htrackscheck_v0_daughters"), 8.5);
579579

580-
if (std::abs(v0candidate.tofNSigmaK0PiPlus()) > config.confDaughPIDCutTOF && track.hasTOF()) {
580+
if (std::abs(v0candidate.tofNSigmaK0PiPlus()) > config.confDaughPIDCutTOF && v0candidate.positiveHasTOF()) {
581581
return false;
582582
}
583583

584-
if (std::abs(v0candidate.tofNSigmaK0PiMinus()) > config.confDaughPIDCutTOF && track.hasTOF()) {
584+
if (std::abs(v0candidate.tofNSigmaK0PiMinus()) > config.confDaughPIDCutTOF && v0candidate.negativeHasTOF()) {
585585
return false;
586586
}
587587

@@ -632,11 +632,11 @@ struct HigherMassResonances {
632632
return false;
633633
}
634634

635-
if (std::abs(v0.tofNSigmaK0PiPlus()) > config.confDaughPIDCutTOF && posTrackExtra.hasTOF()) {
635+
if (std::abs(v0.tofNSigmaK0PiPlus()) > config.confDaughPIDCutTOF && v0.positiveHasTOF()) {
636636
return false;
637637
}
638638

639-
if (std::abs(v0.tofNSigmaK0PiMinus()) > config.confDaughPIDCutTOF && negTrackExtra.hasTOF()) {
639+
if (std::abs(v0.tofNSigmaK0PiMinus()) > config.confDaughPIDCutTOF && v0.negativeHasTOF()) {
640640
return false;
641641
}
642642

0 commit comments

Comments
 (0)