File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
PWGLF/TableProducer/Nuspex Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -855,7 +855,7 @@ struct EbyeMaker {
855855 auto pdgCode = mcPart.pdgCode ();
856856 auto genPt = std::hypot (mcPart.px (), mcPart.py ());
857857 if ((std::abs (pdgCode) == PDG_t::kPiPlus || std::abs (pdgCode) == PDG_t::kElectron || std::abs (pdgCode) == PDG_t::kMuonMinus || std::abs (pdgCode) == PDG_t::kKPlus || std::abs (pdgCode) == PDG_t::kProton ) && mcPart.isPhysicalPrimary () && genPt > ptMin[0 ] && genPt < ptMax[0 ]) {
858- int ch = (pdgCode == PDG_t::kPiPlus || pdgCode == -PDG_t::kElectron || pdgCode == -PDG_t::kMuonMinus || pdgCode == PDG_t::kKPlus || PDG_t::kProton ) ? 1 : -1 ;
858+ int ch = (pdgCode == PDG_t::kPiPlus || pdgCode == -PDG_t::kElectron || pdgCode == -PDG_t::kMuonMinus || pdgCode == PDG_t::kKPlus || pdgCode == PDG_t::kProton ) ? 1 : -1 ;
859859 if ((ch < 0 && countOnlyNegTrk) || !countOnlyNegTrk)
860860 nChPartGen++;
861861 }
You can’t perform that action at this time.
0 commit comments