Skip to content

Commit

Permalink
Convert event parameters from LCIO to EDM4hep (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel authored May 24, 2024
1 parent 0493cfd commit b395c85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k4MarlinWrapper/src/components/Lcio2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ namespace {
} // namespace

StatusCode Lcio2EDM4hepTool::convertCollections(lcio::LCEventImpl* the_event) {
// Convert event parameters
// auto& frame = const_cast<podio::Frame&>(m_podioDataSvc->getEventFrame());
auto& frame = m_podioDataSvc->m_eventframe;
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 b395c85

Please sign in to comment.