Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel committed May 7, 2024
1 parent 0493cfd commit 59e5c67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions k4MarlinWrapper/src/components/Lcio2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ namespace {
} // namespace

StatusCode Lcio2EDM4hepTool::convertCollections(lcio::LCEventImpl* the_event) {
// Convert event parameters
auto& frame = const_cast<podio::Frame&>(m_podioDataSvc->getEventFrame());
LCIO2EDM4hepConv::convertObjectParameters<lcio::LCEventImpl>(the_event, frame);

// Convert Event Header outside the collections loop
if (!collectionExist(edm4hep::EventHeaderName)) {
registerCollection(edm4hep::EventHeaderName, LCIO2EDM4hepConv::createEventHeader(the_event));
Expand Down

0 comments on commit 59e5c67

Please sign in to comment.