From 2b829c963772db01873ef554d53e52cfe67b2a38 Mon Sep 17 00:00:00 2001 From: mariafernandatorrescabrera Date: Tue, 29 Sep 2026 10:47:16 -0500 Subject: [PATCH 1/2] Fix redundant initialization in candidate creator --- PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx index 4f1c007d20a..c75aeeede2e 100644 --- a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx +++ b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx @@ -617,7 +617,7 @@ struct HfCandidateCreatorXic0Omegac0 { } else { mCasc = casc.mOmega(); } - auto arrMassCharmBaryon = std::array{0., 0.}; + std::array arrMassCharmBaryon; if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::XiczeroOmegaczeroToXiPi) { arrMassCharmBaryon = {MassXiMinus, MassPiPlus}; } else if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::OmegaczeroToOmegaPi) { From 485cccaec8148f1c8e7e61c914741af2854ce564 Mon Sep 17 00:00:00 2001 From: Fernanda Torres <135931275+mtorresc15@users.noreply.github.com> Date: Tue, 29 Sep 2026 17:11:06 -0500 Subject: [PATCH 2/2] Update PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default-initialised arrMassCharmBaryon Co-authored-by: Vít Kučera <26327373+vkucera@users.noreply.github.com> --- PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx index c75aeeede2e..1030e695c4b 100644 --- a/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx +++ b/PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx @@ -617,7 +617,7 @@ struct HfCandidateCreatorXic0Omegac0 { } else { mCasc = casc.mOmega(); } - std::array arrMassCharmBaryon; + std::array arrMassCharmBaryon{}; if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::XiczeroOmegaczeroToXiPi) { arrMassCharmBaryon = {MassXiMinus, MassPiPlus}; } else if constexpr (DecayChannel == hf_cand_casc_lf::DecayType2Prong::OmegaczeroToOmegaPi) {