LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
IO::LCEventListener Class Referenceabstract

Listener for the occurence of LCEvents when reading a stream. More...

#include <LCEventListener.h>

+ Inheritance diagram for IO::LCEventListener:

Public Member Functions

virtual ~LCEventListener ()
 Destructor. More...
 
virtual void processEvent (EVENT::LCEvent *evt)=0
 Call back for analyzing an LCEvent. More...
 
virtual void modifyEvent (EVENT::LCEvent *evt)=0
 Call back for updating an LCEvent. More...
 

Detailed Description

Listener for the occurence of LCEvents when reading a stream.

User classes should implement this interface for their analysis code and then register the listener with LCReader.

Author
gaede
Version
Mar 11, 2003
See Also
LCEvent
LCReader

Definition at line 24 of file LCEventListener.h.

Constructor & Destructor Documentation

virtual IO::LCEventListener::~LCEventListener ( )
inlinevirtual

Destructor.

Definition at line 28 of file LCEventListener.h.

Member Function Documentation

virtual void IO::LCEventListener::modifyEvent ( EVENT::LCEvent evt)
pure virtual

Call back for updating an LCEvent.

Here all modifications are allowed. Only use this method if you need to remove a collection from the event or you need to modify (fix) exisiting data.

Implemented in BenchmarkListener.

virtual void IO::LCEventListener::processEvent ( EVENT::LCEvent evt)
pure virtual

Call back for analyzing an LCEvent.

The access to the event is 'read only'. Adding new collections to the event is allowed wheras existing data collections and elements can not be modified.

Implemented in BenchmarkListener.


The documentation for this class was generated from the following file: