File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2227,10 +2227,10 @@ class BuilderModule
22272227 if (mcParticle.has_daughters ()) {
22282228 auto const & daughters = mcParticle.template daughters_as <aod::McParticles>();
22292229 for (const auto & dau : daughters) {
2230- if (dau.getProcess () != 4 ) // check whether the daughter comes from a decay
2230+ if (dau.getProcess () != TMCProcess:: kPDecay ) // check whether the daughter comes from a decay
22312231 continue ;
22322232
2233- if (std::abs (dau.pdgCode ()) == 211 || std::abs (dau.pdgCode ()) == 321 ) {
2233+ if (std::abs (dau.pdgCode ()) == PDG_t:: kPiPlus || std::abs (dau.pdgCode ()) == PDG_t:: kKPlus ) {
22342234 thisCascInfo.pdgCodeBachelor = dau.pdgCode ();
22352235 thisCascInfo.bachP [0 ] = dau.px ();
22362236 thisCascInfo.bachP [1 ] = dau.py ();
You can’t perform that action at this time.
0 commit comments