EventBuilder.h
Go to the documentation of this file.
1 #ifndef _EventBuilderOG_EventBuilder_h
2 #define _EventBuilderOG_EventBuilder_h
3 
4 
5 #include <fwk/VModule.h>
6 
7 class IoSdEvent;
8 
9 namespace fevt {
10  class FEvent;
11 }
12 
13 namespace sevt {
14  class SEvent;
15 }
16 
17 
18 namespace EventBuilderOG {
19 
20 /*
21  \class EventGeneratorOG
22 
23  \brief Event builder module to construct 'raw' events from simulated data
24 
25  \author T. Porter
26  \date 02 Apr 2005
27  \ingroup SDSimModules
28 */
29 
30 
31  class EventBuilder : public fwk::VModule {
32 
33  public:
34  EventBuilder();
35  virtual ~EventBuilder();
36 
40 
41  private:
42  void PushEvent(const sevt::SEvent&, IoSdEvent&);
43 
44  REGISTER_MODULE("EventBuilderOG", EventBuilder);
45 
46  };
47 
48 }
49 
50 #endif
void PushEvent(const sevt::SEvent &, IoSdEvent &)
Interface class to access to the SD part of an event.
Definition: SEvent.h:39
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Definition: EventBuilder.cc:30
fwk::VModule::ResultFlag Run(evt::Event &)
Run: invoked once per event.
Definition: EventBuilder.cc:37
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Definition: EventBuilder.cc:56
REGISTER_MODULE("EventBuilderOG", EventBuilder)

, generated on Tue Sep 26 2023.