From 2c98aae434d51f25c1fdd43b9b2171d7ce9f6196 Mon Sep 17 00:00:00 2001
From: Jon Burr <jon.burr@cern.ch>
Date: Wed, 9 Dec 2020 10:15:05 +0100
Subject: [PATCH] Extra debug message to make sure that the types are as
 expected

---
 Trigger/TrigAnalysis/TriggerMatchingTool/Root/R3MatchingTool.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Trigger/TrigAnalysis/TriggerMatchingTool/Root/R3MatchingTool.cxx b/Trigger/TrigAnalysis/TriggerMatchingTool/Root/R3MatchingTool.cxx
index 48da709550bd..56f5eca41e65 100644
--- a/Trigger/TrigAnalysis/TriggerMatchingTool/Root/R3MatchingTool.cxx
+++ b/Trigger/TrigAnalysis/TriggerMatchingTool/Root/R3MatchingTool.cxx
@@ -162,6 +162,7 @@ namespace Trig
     if (cacheItr == cache.end())
     {
       const xAOD::IParticle *online = *onlineLink;
+      ATH_MSG_DEBUG("Match online " << online->type() << " to offline " << reco->type());
       bool match = online->type() == reco->type();
       if (online->type() == xAOD::Type::CaloCluster && (reco->type() == xAOD::Type::Electron || reco->type() == xAOD::Type::Photon))
       {
-- 
GitLab