From 9de9e487dd60bdc39771d577b7630889dd3b4711 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Mon, 5 Feb 2024 16:58:40 +0100 Subject: [PATCH] Fix runtime issue --- k4FWCore/components/PodioInput.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k4FWCore/components/PodioInput.cpp b/k4FWCore/components/PodioInput.cpp index 54f44886..9f030f8f 100644 --- a/k4FWCore/components/PodioInput.cpp +++ b/k4FWCore/components/PodioInput.cpp @@ -95,6 +95,11 @@ void PodioInput::fillReaders() { m_readers["edm4hep::TrackerHit3DCollection"] = [&](std::string_view collName) { maybeRead(collName); }; + m_readers["edm4hep::TrackerHitCollection"] = [&](std::string_view collName) { + warning() << "Reading a TrackerHitCollection via TrackerHit3DCollection (" << collName + << "). Make sure to transition properly" << endmsg; + maybeRead(collName); + }; m_readers["edm4hep::TrackerHitPlaneCollection"] = [&](std::string_view collName) { maybeRead(collName); };