File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1157,16 +1157,16 @@ struct RecoDecay {
11571157 auto mother = particlesMC.rawIteratorAt (particleMother.mothersIds ().front () - particlesMC.offset ());
11581158 auto pdgParticleIMother = std::abs (mother.pdgCode ()); // PDG code of the mother
11591159 if (pdgParticleIMother <= PdgQuarkMax || (pdgParticleIMother >= PdgBosonMin && pdgParticleIMother <= PdgBosonMax)) {
1160- // auto PDGPaticle = std::abs(particleMother.pdgCode());
1160+ auto pdgCurrentParticle = std::abs (particleMother.pdgCode ()); // PDG code of the particle
11611161 if (
1162- (pdgParticle / PdgDivisorMeson == PDG_t::kBottom || // b mesons
1163- pdgParticle / PdgDivisorBaryon == PDG_t::kBottom ) // b baryons
1162+ (pdgCurrentParticle / PdgDivisorMeson == PDG_t::kBottom || // b mesons
1163+ pdgCurrentParticle / PdgDivisorBaryon == PDG_t::kBottom ) // b baryons
11641164 ) {
11651165 return OriginType::NonPrompt; // beauty
11661166 }
11671167 if (
1168- (pdgParticle / PdgDivisorMeson == PDG_t::kCharm || // c mesons
1169- pdgParticle / PdgDivisorBaryon == PDG_t::kCharm ) // c baryons
1168+ (pdgCurrentParticle / PdgDivisorMeson == PDG_t::kCharm || // c mesons
1169+ pdgCurrentParticle / PdgDivisorBaryon == PDG_t::kCharm ) // c baryons
11701170 ) {
11711171 return OriginType::Prompt; // charm
11721172 }
You can’t perform that action at this time.
0 commit comments