Skip to content

Commit ade931b

Browse files
Fix typos
1 parent 82eee4c commit ade931b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Utils/strangenessBuilderModule.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)