File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2158,7 +2158,7 @@ class BuilderModule
21582158 if (bachelorParticle.pdgCode () == PDG_t::kPiPlus ) { // pi+, look for antiproton in negative prong
21592159 if (negTrack.has_mcParticle ()) {
21602160 auto baryonParticle = negTrack.template mcParticle_as <aod::McParticles>();
2161- if (baryonParticle.has_mothers () && bachelorParticle.has_mothers () && baryonParticle.pdgCode () == PDG_t::Bar ) {
2161+ if (baryonParticle.has_mothers () && bachelorParticle.has_mothers () && baryonParticle.pdgCode () == PDG_t::kProtonBar ) {
21622162 for (const auto & baryonMother : baryonParticle.template mothers_as <aod::McParticles>()) {
21632163 for (const auto & pionMother : bachelorParticle.template mothers_as <aod::McParticles>()) {
21642164 if (baryonMother.globalIndex () == pionMother.globalIndex () && baryonMother.pdgCode () == PDG_t::kLambda0Bar ) {
@@ -2172,7 +2172,7 @@ class BuilderModule
21722172 if (bachelorParticle.pdgCode () == PDG_t::kPiMinus ) { // pi-, look for proton in positive prong
21732173 if (posTrack.has_mcParticle ()) {
21742174 auto baryonParticle = posTrack.template mcParticle_as <aod::McParticles>();
2175- if (baryonParticle.has_mothers () && bachelorParticle.has_mothers () && baryonParticle.pdgCode () == PDG_t::) {
2175+ if (baryonParticle.has_mothers () && bachelorParticle.has_mothers () && baryonParticle.pdgCode () == PDG_t::kProton ) {
21762176 for (const auto & baryonMother : baryonParticle.template mothers_as <aod::McParticles>()) {
21772177 for (const auto & pionMother : bachelorParticle.template mothers_as <aod::McParticles>()) {
21782178 if (baryonMother.globalIndex () == pionMother.globalIndex () && baryonMother.pdgCode () == PDG_t::kLambda0 ) {
You can’t perform that action at this time.
0 commit comments