Skip to content

Commit

Permalink
Fix runtime issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Feb 22, 2024
1 parent 1402de9 commit 9de9e48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k4FWCore/components/PodioInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ void PodioInput::fillReaders() {
m_readers["edm4hep::TrackerHit3DCollection"] = [&](std::string_view collName) {
maybeRead<edm4hep::TrackerHit3DCollection>(collName);
};
m_readers["edm4hep::TrackerHitCollection"] = [&](std::string_view collName) {
warning() << "Reading a TrackerHitCollection via TrackerHit3DCollection (" << collName
<< "). Make sure to transition properly" << endmsg;
maybeRead<edm4hep::TrackerHit3DCollection>(collName);
};
m_readers["edm4hep::TrackerHitPlaneCollection"] = [&](std::string_view collName) {
maybeRead<edm4hep::TrackerHitPlaneCollection>(collName);
};
Expand Down

0 comments on commit 9de9e48

Please sign in to comment.