Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
EventModifier.h
1 #ifndef EventModifier_h
2 #define EventModifier_h 1
3 
4 
5 namespace EVENT{ class LCEvent ; }
6 
7 namespace marlin{
8 
13  class EventModifier {
14 
15 public:
17  virtual void modifyEvent( EVENT::LCEvent* ) = 0 ;
18 
20  virtual void modifyRunHeader(EVENT::LCRunHeader* ) {} ;
21 
24  virtual const std::string & name() const = 0 ;
25 
26  // /** Return name of log level name this event modifier.
27  // */
28  // virtual const std::string & logLevelName() {
29  // static const std::string s("") ;
30  // return s ;
31  // }
32 
33  virtual ~EventModifier() {}
34  };
35 
36 } // end namespace marlin
37 
38 #endif
Tagging interface for processors that modify the LCIO event.
Definition: EventModifier.h:13
virtual const std::string & name() const =0
Return name of this event modifier.
virtual void modifyEvent(EVENT::LCEvent *)=0
Implement to modify the event.
virtual void modifyRunHeader(EVENT::LCRunHeader *)
Implement to modify the run header.
Definition: EventModifier.h:20
virtual ~EventModifier()
Return name of log level name this event modifier.
Definition: EventModifier.h:33