File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ struct HfCorrelatorLcScHadrons {
644644 // We evaluate both applicable hypotheses based on charge sign and pick the best match.
645645 double tofLa = (pid > 0 ) ? v0.tofNSigmaALaPi () : v0.tofNSigmaLaPi ();
646646
647- passTOF = tofLa > cfgV0.cfgV0DaughPIDCutsTOFPi ;
647+ passTOF = std::abs ( tofLa) > cfgV0.cfgV0DaughPIDCutsTOFPi ;
648648 } else {
649649 // Fallback to standard track TOF
650650 passTOF = std::abs (track.tofNSigmaPi ()) > cfgV0.cfgV0DaughPIDCutsTOFPi ;
@@ -836,7 +836,7 @@ struct HfCorrelatorLcScHadrons {
836836 auto posTrackV0 = v0.template posTrack_as <TrackType>();
837837 auto negTrackV0 = v0.template negTrack_as <TrackType>();
838838
839- if ((candidate.prong0Id () == posTrackV0.globalIndex ()) || (candidate.prong1Id () == posTrackV0.globalIndex ()) || (candidate.prong2Id () == posTrackV0.globalIndex () || (candidate.prong0Id () == negTrackV0.globalIndex ()) || (candidate.prong1Id () == negTrackV0.globalIndex ()) || (candidate.prong2Id () == negTrackV0.globalIndex () ))) {
839+ if ((candidate.prong0Id () == posTrackV0.globalIndex ()) || (candidate.prong1Id () == posTrackV0.globalIndex ()) || (candidate.prong2Id () == posTrackV0.globalIndex ()) || (candidate.prong0Id () == negTrackV0.globalIndex ()) || (candidate.prong1Id () == negTrackV0.globalIndex ()) || (candidate.prong2Id () == negTrackV0.globalIndex ())) {
840840 if (!cfgCharmCand.storeAutoCorrelationFlag ) {
841841 continue ;
842842 }
You can’t perform that action at this time.
0 commit comments