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 @@ -853,7 +853,7 @@ struct EbyeMaker {
853853 if ((((mcPart.flags() & 0x8) || (mcPart.flags() & 0x2)) && (doprocessMcRun2 || doprocessMiniMcRun2)) || ((mcPart.flags() & 0x1) && !doprocessMiniMcRun2))
854854 continue;
855855 auto pdgCode = mcPart.pdgCode();
856- 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)
856+ 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() )
857857 nChPartGen++;
858858 if (std::abs(pdgCode) == PDG_t::kLambda0) {
859859 if (!mcPart.isPhysicalPrimary() && !mcPart.has_mothers())
You can’t perform that action at this time.
0 commit comments