File tree Expand file tree Collapse file tree
PWGLF/TableProducer/Strangeness Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -641,11 +641,18 @@ struct XiReducedCandProducer {
641641 return false ;
642642
643643 if constexpr (!isMC) {
644- if (std::abs (posDaughterTrack.tpcNSigmaPi ()) > trackConfigs.nSigmaCutTPCSecPion )
645- return false ;
646- if (std::abs (negDaughterTrack.tpcNSigmaPi ()) > trackConfigs.nSigmaCutTPCSecPion )
647- return false ;
648- if (std::abs (bachDaughterTrack.tpcNSigmaPr ()) > trackConfigs.nSigmaCutTPCSecProton )
644+ if (cascade.sign () < 0 ) {
645+ if (std::abs (posDaughterTrack.tpcNSigmaPr ()) > trackConfigs.nSigmaCutTPCSecProton )
646+ return false ;
647+ if (std::abs (negDaughterTrack.tpcNSigmaPi ()) > trackConfigs.nSigmaCutTPCSecPion )
648+ return false ;
649+ } else if (cascade.sign () > 0 ) {
650+ if (std::abs (posDaughterTrack.tpcNSigmaPi ()) > trackConfigs.nSigmaCutTPCSecPion )
651+ return false ;
652+ if (std::abs (negDaughterTrack.tpcNSigmaPr ()) > trackConfigs.nSigmaCutTPCSecProton )
653+ return false ;
654+ }
655+ if (std::abs (bachDaughterTrack.tpcNSigmaPi ()) > trackConfigs.nSigmaCutTPCSecPion )
649656 return false ;
650657 }
651658
You can’t perform that action at this time.
0 commit comments