diff --git a/PWGHF/TableProducer/candidateCreator3Prong.cxx b/PWGHF/TableProducer/candidateCreator3Prong.cxx index aa2b10fd822..e1b4e1374bb 100644 --- a/PWGHF/TableProducer/candidateCreator3Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator3Prong.cxx @@ -959,7 +959,7 @@ struct HfCandidateCreator3ProngExpressions { auto finalStates = getDecayChannelMain(pdg); for (const auto& [chn, finalState] : finalStates) { std::array finalStateParts3Prong = std::array{finalState[0], finalState[1], finalState[2]}; - if (finalState.size() > 3) { // Partly Reco decays with 4 or 5 final state particles, o2-linter: disable=magic-number + if (finalState.size() > 3) { // Partly Reco decays with 4 or 5 final state particles, o2-linter: disable=magic-number if (matchKinkedDecayTopology && matchInteractionsWithMaterial) { indexRec = RecoDecay::getMatchedMCRec(mcParticles, arrayDaughters, pdg, finalStateParts3Prong, true, &sign, depth, &nKinkedTracks, &nInteractionsWithMaterial); } else if (matchKinkedDecayTopology && !matchInteractionsWithMaterial) { diff --git a/PWGHF/Utils/utilsMcGen.h b/PWGHF/Utils/utilsMcGen.h index e1d5aa5b033..14b5514229c 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, o2-linter: disable=magic-number - 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::changeFinalStatePdgSign(particle.pdgCode(), +kPi0, finalStateParts); RecoDecay::getDaughters(particle, &arrAllDaughtersIndex, finalStateParts, maxDepth); matched = RecoDecay::isMatchedMCGen(mcParticles, particle, motherPdgCode, finalStateParts, true, &sign, -1); diff --git a/PWGHF/Utils/utilsMcMatching.h b/PWGHF/Utils/utilsMcMatching.h index ce71de44ef1..ac28dd57962 100644 --- a/PWGHF/Utils/utilsMcMatching.h +++ b/PWGHF/Utils/utilsMcMatching.h @@ -247,7 +247,7 @@ inline int8_t flagResonantDecay(const int motherPdg, std::array const& a return 0; } -/// Flip the sign of a specific PDG code in an array +/// Flip the sign of a specific PDG code in an array /// of PDG codes representing either a final or a resonant state /// \tparam N size of the array of PDG codes /// \param motherPdgCode PDG code of the mother particle