diff --git a/PWGHF/Utils/utilsMcGen.h b/PWGHF/Utils/utilsMcGen.h index fc3684a4401..4ba17f29cc8 100644 --- a/PWGHF/Utils/utilsMcGen.h +++ b/PWGHF/Utils/utilsMcGen.h @@ -170,7 +170,7 @@ void fillMcMatchGen3Prong(T const& mcParticles, U const& mcParticlesPerMcColl, V RecoDecay::getDaughters(particle, &arrAllDaughtersIndex, finalStateParts, maxDepth); matched = RecoDecay::isMatchedMCGen(mcParticles, particle, motherPdgCode, finalStateParts, true, &sign, -1); } else if (finalState.size() == 4) { // Partly Reco 3-prong decays from 4-prong decays - std::array finalStateParts = std::array{finalState[0], finalState[1], finalState[2], finalState[3]}; + std::array finalStateParts = std::array{finalState[0], finalState[1], finalState[2], finalState[3]}; o2::hf_decay::convertPi0ToAntiPi0(particle.pdgCode(), finalStateParts); RecoDecay::getDaughters(particle, &arrAllDaughtersIndex, finalStateParts, maxDepth); matched = RecoDecay::isMatchedMCGen(mcParticles, particle, motherPdgCode, finalStateParts, true, &sign, -1);