Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,...). More...
#include <SIO/SIOObjectHandler.h>
Public Member Functions | |
virtual unsigned int | read (SIO_stream *stream, EVENT::LCObject **objP)=0 |
Reads lcio objects from an SIO stream. | |
virtual unsigned int | write (SIO_stream *stream, const EVENT::LCObject *obj)=0 |
Writes lcio objects to an SIO stream. | |
virtual unsigned int | init (SIO_stream *stream, SIO_operation op, EVENT::LCCollection *col, unsigned int vers) |
Initialize the handler and/or the collection. More... | |
virtual unsigned int | readBase (SIO_stream *stream, EVENT::LCObject **objP) |
Calls read() if the collection is not a subset otherwise only reads the pointers. More... | |
virtual unsigned int | writeBase (SIO_stream *stream, const EVENT::LCObject *obj) |
Calls write() if the collection is not a subset otherwise only writes the pointers. More... | |
Protected Attributes | |
unsigned int | _flag |
unsigned int | _vers |
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,...).
|
virtual |
Initialize the handler and/or the collection.
Read/write the flag and the parameters. Overwrite for classes that need specific processing.
Reimplemented in SIO::SIOLCGenericObjectHandler, and SIO::SIOVertexHandler.
References EVENT::LCCollection::getFlag(), EVENT::LCCollection::getParameters(), EVENT::LCCollection::parameters(), and EVENT::LCCollection::setFlag().
|
virtual |
Calls read() if the collection is not a subset otherwise only reads the pointers.
|
virtual |
Calls write() if the collection is not a subset otherwise only writes the pointers.