From 9e4e2503e7abd5bd7e906bc66b065e11a07dbbe4 Mon Sep 17 00:00:00 2001
From: christos <christos@cern.ch>
Date: Tue, 3 Nov 2020 16:18:00 +0100
Subject: [PATCH] MCTruthClassifier , expand WARNING so as to know the charge
 e.g if is Neutral or Charged

---
 .../MCTruthClassifier/src/MCTruthClassifierAthena.cxx        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx b/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx
index c605f923d71..14a12048962 100644
--- a/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx
+++ b/PhysicsAnalysis/MCTruthClassifier/src/MCTruthClassifierAthena.cxx
@@ -358,8 +358,9 @@ MCTruthClassifier::genPartToCalo(const xAOD::CaloCluster* clus,
     extensionOK = EtaPhiCaloHelper(caloExtension.get(), sample, etaCalo, phiCalo);
   }
   if (!extensionOK) {
-    ATH_MSG_WARNING("extrapolation of Truth Particle with eta  " << thePart->eta() << " and Pt " << thePart->pt()
-                                                                 << " to calo failed");
+    ATH_MSG_WARNING("extrapolation of Truth Particle with eta  "
+                    << thePart->eta() << " , charge " << thePart->charge()
+                    << " , Pt " << thePart->pt() << " to calo failed");
     return false;
   }
 
-- 
GitLab