Skip to content

Commit

Permalink
Return non-const event frame for MarlinWrapper
Browse files Browse the repository at this point in the history
See discussion in: key4hep/k4MarlinWrapper#184

Should be cleaned up in the future.
  • Loading branch information
Zehvogel committed May 10, 2024
1 parent 6c55ebd commit 68c62f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k4FWCore/include/k4FWCore/PodioDataSvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class PodioDataSvc : public DataSvc {
return DataSvc::registerObject("/Event", "/" + collName, wrapper);
}

const podio::Frame& getEventFrame() const { return m_eventframe; }
podio::Frame& getEventFrame() { return m_eventframe; }

/// Resets caches of reader and event store, increases event counter
void endOfRead();
Expand Down

0 comments on commit 68c62f7

Please sign in to comment.