LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
SIOParticleHandler.h
1 #ifndef SIO_SIOPARTICLEHANDLER_H
2 #define SIO_SIOPARTICLEHANDLER_H 1
3 
4 #include "SIO/SIOObjectHandler.h"
5 
6 #include "EVENT/LCEvent.h"
7 
8 namespace SIO {
9 
10 
11 
18 
19  public:
20 
23  virtual unsigned int read(SIO_stream* stream,
24  EVENT::LCObject** objP) ;
25 
29  virtual unsigned int write(SIO_stream* stream,
30  const EVENT::LCObject* obj) ;
31 
32 
33  static void restoreParentDaughterRelations( EVENT::LCEvent* evt) ;
34 
35 
36  }; // class
37 
38 } // namespace
39 #endif /* ifndef SIO_SIOPARTICLEHANDLER_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits...
Definition: SIOObjectHandler.h:21
virtual unsigned int write(SIO_stream *stream, const EVENT::LCObject *obj)
Writes lcio MCParticle objects to an SIO stream.
Definition: SIOParticleHandler.cc:102
The main event interface.
Definition: LCEvent.h:30
Implementation of SIOObjectHandler to handle IO of MCParticles.
Definition: SIOParticleHandler.h:17
virtual unsigned int read(SIO_stream *stream, EVENT::LCObject **objP)
Reads lcio MCParticle objects from an SIO stream.
Definition: SIOParticleHandler.cc:19