From ece9eeeda1c0994a76d063eb04cec2f54985451d Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 31 Jan 2025 10:27:47 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx b/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx index 1bca003200b..a8e5390fa5c 100644 --- a/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx +++ b/PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx @@ -757,10 +757,10 @@ struct HfCandidateCreatorXicToXiPiPiExpressions { // Find Xi- from Xi(1530) -> Xi pi in case of resonant decay RecoDecay::getDaughters(particle, &arrDaughIndex, std::array{0}, 1); if (arrDaughIndex.size() == 2) { - auto cascStarMC = mcParticles.rawIteratorAt(particle.daughtersIds().front()); - if(RecoDecay::isMatchedMCGen(mcParticles, cascStarMC, +3324, std::array{+kXiMinus, +kPiPlus}, true)){ - cascMC = mcParticles.rawIteratorAt(cascStarMC.daughtersIds().front()); - } + auto cascStarMC = mcParticles.rawIteratorAt(particle.daughtersIds().front()); + if (RecoDecay::isMatchedMCGen(mcParticles, cascStarMC, +3324, std::array{+kXiMinus, +kPiPlus}, true)) { + cascMC = mcParticles.rawIteratorAt(cascStarMC.daughtersIds().front()); + } } if (RecoDecay::isMatchedMCGen(mcParticles, cascMC, +kXiMinus, std::array{+kLambda0, +kPiMinus}, true)) { debug = 2;