LEInjector.h
Go to the documentation of this file.
1 #ifndef _LEInjectorOG_LEInjector_h_
2 #define _LEInjectorOG_LEInjector_h_
3 
4 #include <string>
5 #include <vector>
6 #include <iostream>
7 
8 #include <fwk/VModule.h>
9 
10 #include <utl/Particle.h>
11 #include <utl/TimeStamp.h>
12 
13 namespace evt {
14  class Event;
15 }
16 
17 namespace sevt {
18  class Station;
19 }
20 
21 namespace utl {
22  class RandomEngine;
23 }
24 
25 namespace LEInjectorOG {
26 
57  class LEInjector : public fwk::VModule {
58  public:
59  LEInjector();
60  virtual ~LEInjector() { }
61 
65 
66  private:
67 
68  unsigned fStationId;
69  std::string fFileName;
70  std::ifstream* fInputStream;
72 
74 
75  REGISTER_MODULE("LEInjectorASCII", LEInjector);
76 
77  };
78 
79 }
80 
81 
82 #endif // _LEInjectorOG_LEInjector_h_
83 
84 // Configure (x)emacs for this file ...
85 // Local Variables:
86 // mode: c++
87 // End:
REGISTER_MODULE("LEInjectorASCII", LEInjector)
std::ifstream * fInputStream
Definition: LEInjector.h:70
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: LEInjector.cc:287
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Definition: LEInjector.cc:91
CLHEP::HepRandomEngine RandomEngineType
Definition: RandomEngine.h:30
Definition: XbArray.h:7
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Definition: LEInjector.cc:61
utl::RandomEngine::RandomEngineType * fRandomEngine
Definition: LEInjector.h:73

, generated on Tue Sep 26 2023.