SIO::SIOObjectHandler Class Reference

Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,. More...

#include <SIO/SIOObjectHandler.h>

Inheritance diagram for SIO::SIOObjectHandler:
SIO::SIOCalHitHandler SIO::SIOClusterHandler SIO::SIOFloatVecHandler SIO::SIOIntVecHandler SIO::SIOLCGenericObjectHandler SIO::SIOLCRelationHandler SIO::SIOParticleHandler SIO::SIORawCalHitHandler SIO::SIOReconstructedParticleHandler SIO::SIOSimCalHitHandler SIO::SIOSimTrackHitHandler SIO::SIOStrVecHandler SIO::SIOTPCHitHandler SIO::SIOTrackerDataHandler SIO::SIOTrackerHitHandler SIO::SIOTrackerHitPlaneHandler SIO::SIOTrackerHitZCylinderHandler SIO::SIOTrackerPulseHandler SIO::SIOTrackerRawDataHandler SIO::SIOTrackHandler SIO::SIOVertexHandler

List of all members.

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.
virtual unsigned int readBase (SIO_stream *stream, EVENT::LCObject **objP)
 Calls read() if the collection is not a subset otherwise only reads the pointers.
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.

Detailed Description

Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,.

..).

Author:
gaede
Version:
Id
SIOObjectHandler.h,v 1.10 2008-11-27 16:53:35 engels Exp

Member Function Documentation

unsigned int SIO::SIOObjectHandler::init ( SIO_stream *  stream,
SIO_operation  op,
EVENT::LCCollection col,
unsigned int  vers 
) [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(), read(), EVENT::LCCollection::setFlag(), and write().

unsigned int SIO::SIOObjectHandler::readBase ( SIO_stream *  stream,
EVENT::LCObject **  objP 
) [virtual]

Calls read() if the collection is not a subset otherwise only reads the pointers.

References read().

unsigned int SIO::SIOObjectHandler::writeBase ( SIO_stream *  stream,
const EVENT::LCObject obj 
) [virtual]

Calls write() if the collection is not a subset otherwise only writes the pointers.

References write().


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1