From 6e2a82432ccee675dcaa63a624b5f09d3661ff79 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 13 Aug 2025 04:38:23 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGHF/HFL/Tasks/taskSingleElectron.cxx | 31 +++++++++++++------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/PWGHF/HFL/Tasks/taskSingleElectron.cxx b/PWGHF/HFL/Tasks/taskSingleElectron.cxx index 9697c76dbd1..1e6161fd012 100644 --- a/PWGHF/HFL/Tasks/taskSingleElectron.cxx +++ b/PWGHF/HFL/Tasks/taskSingleElectron.cxx @@ -320,22 +320,21 @@ struct HfTaskSingleElectron { if (mctrack.size()) { auto const& grmothersIdsVec = mctrack.front().mothersIds(); if (grmothersIdsVec.empty()) { - static const std::map PdgToSource = { - {kPi0, Pi0}, - {kEta, Eta}, - {kOmega, Omega}, - {kPhi, Phi}, - {kEtaPrime, EtaPrime}, - {kRho770_0, Rho0}, - {kKPlus, Ke3}, - {kK0Long, K0l} - }; - - auto it = PdgToSource.find(motherPdg); - if (it != PdgToSource.end()) { - return it->second; - } - return Else; + static const std::map PdgToSource = { + {kPi0, Pi0}, + {kEta, Eta}, + {kOmega, Omega}, + {kPhi, Phi}, + {kEtaPrime, EtaPrime}, + {kRho770_0, Rho0}, + {kKPlus, Ke3}, + {kK0Long, K0l}}; + + auto it = PdgToSource.find(motherPdg); + if (it != PdgToSource.end()) { + return it->second; + } + return Else; } else { if (motherPdg == kPi0) {