We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f6665 commit ab76bd0Copy full SHA for ab76bd0
PWGHF/D2H/TableProducer/dataCreatorCharmResoReduced.cxx
@@ -600,10 +600,7 @@ struct HfDataCreatorCharmResoReduced {
600
bool isPion = std::abs(track.tpcNSigmaPi()) < cfgSingleTrackCuts.maxNsigmaTpcPi;
601
bool isKaon = std::abs(track.tpcNSigmaKa()) < cfgSingleTrackCuts.maxNsigmaTpcKa;
602
bool isProton = std::abs(track.tpcNSigmaPr()) < cfgSingleTrackCuts.maxNsigmaTpcPr;
603
- if (!isPion && !isKaon && !isProton) { // we keep the track if is it compatible with at least one of the PID hypotheses selected
604
- return false;
605
- }
606
- return true;
+ return (isPion || isKaon || isProton); // we keep the track if is it compatible with at least one of the PID hypotheses selected
607
}
608
609
template <typename PParticles, typename TrIU>
0 commit comments