1 #ifndef EVENT_LCEVENTLAZYIMPL_H
2 #define EVENT_LCEVENTLAZYIMPL_H 1
12 #include <sio/definitions.h>
13 #include <sio/buffer.h>
65 void setBuffer(
const sio::record_info &recinfo, sio::buffer &&recordBuffer ) ;
void setBuffer(const sio::record_info &recinfo, sio::buffer &&recordBuffer)
Set the event record buffer.
EVENT::LCCollection * takeCollection(const std::string &name) const
Returns the collection for the given name and transfers the ownership of the collection to the caller...
void unpackEvent()
Unpack the event record.
EVENT::LCCollection * getCollection(const std::string &name) const
Returns the collection for the given name.
void postProcessEvent()
Post process the event after unpacking.
LCEventLazyImpl()=default
Constructor.
std::unique_ptr< sio::buffer > _recordBuffer
Adding stuff needed for io (friend declarations, etc.)
SIO::SIOHandlerMgr _eventHandlerMgr
void setupBlocks()
Setup the collection blocks before unpacking.
Implementation of the event class with a lazy record unpacking.
The generic collection used in LCIO.
Holds instances of all types of SIOObjectHandlers.
~LCEventLazyImpl()=default
Destructor.
void removeCollection(const std::string &name)
Removes (and deletes) the collection with name (if it exists in the event).
sio::record_info _recordInfo