File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1055,16 +1055,16 @@ struct v0cascadesQA {
10551055 bool isNegativeProton = casc.pdgCodeNegative () == PDG_t::kProtonBar ;
10561056 bool isNegativePion = casc.pdgCodeNegative () == PDG_t::kPiMinus || (doTreatPiToMuon && casc.pdgCodeNegative () == PDG_t::kMuonMinus );
10571057
1058- if (cascType == kXiM && casc.pdgCode () != PDG_t::kXiMinus || isPositiveProton || isNegativePion || isBachelorPionMinus) {
1058+ if (cascType == kXiM && casc.pdgCode () == PDG_t::kXiMinus && isPositiveProton && isNegativePion && isBachelorPionMinus) {
10591059 return true ;
10601060 }
1061- if (cascType == kXiP && casc.pdgCode () != PDG_t::kXiPlusBar || isPositivePion || isNegativeProton || isBachelorPionPlus) {
1061+ if (cascType == kXiP && casc.pdgCode () == PDG_t::kXiPlusBar && isPositivePion && isNegativeProton && isBachelorPionPlus) {
10621062 return true ;
10631063 }
1064- if (cascType == kOmegaM && casc.pdgCode () != PDG_t::kOmegaMinus || isPositiveProton || isNegativePion || isBachelorKaonMinus) {
1064+ if (cascType == kOmegaM && casc.pdgCode () == PDG_t::kOmegaMinus && isPositiveProton && isNegativePion && isBachelorKaonMinus) {
10651065 return true ;
10661066 }
1067- if (cascType == kOmegaP && casc.pdgCode () != PDG_t::kOmegaPlusBar || isPositivePion || isNegativeProton || isBachelorKaonPlus) {
1067+ if (cascType == kOmegaP && casc.pdgCode () == PDG_t::kOmegaPlusBar && isPositivePion && isNegativeProton && isBachelorKaonPlus) {
10681068 return true ;
10691069 }
10701070 return false ;
You can’t perform that action at this time.
0 commit comments