diff --git a/PWGLF/TableProducer/cascademcbuilder.cxx b/PWGLF/TableProducer/cascademcbuilder.cxx index 07ae9af01f1..9eb313cb25c 100644 --- a/PWGLF/TableProducer/cascademcbuilder.cxx +++ b/PWGLF/TableProducer/cascademcbuilder.cxx @@ -132,7 +132,7 @@ struct cascademcbuilder { if (lV0Mother.has_mothers()) { for (auto& lV0GrandMother : lV0Mother.mothers_as()) { pdgCodeMother = lV0GrandMother.pdgCode(); - lMotherLabel = lV0GrandMother.globalIndex(); + lMotherLabel = lV0GrandMother.globalIndex(); } } } diff --git a/PWGLF/TableProducer/lambdakzeromcbuilder.cxx b/PWGLF/TableProducer/lambdakzeromcbuilder.cxx index 7ee3482a636..118210b66ca 100644 --- a/PWGLF/TableProducer/lambdakzeromcbuilder.cxx +++ b/PWGLF/TableProducer/lambdakzeromcbuilder.cxx @@ -91,7 +91,7 @@ struct lambdakzeromcbuilder { if (lNegMother.has_mothers()) { for (auto& lNegGrandMother : lNegMother.mothers_as()) { pdgCodeMother = lNegGrandMother.pdgCode(); - lMotherLabel = lNegGrandMother.globalIndex(); + lMotherLabel = lNegGrandMother.globalIndex(); } } }