LaserLightSimulator.h
Go to the documentation of this file.
1 
9 #ifndef _LaserLightSimulatorNA_LaserLightSimulator_h_
10 #define _LaserLightSimulatorNA_LaserLightSimulator_h_
11 
12 #include <fwk/VModule.h>
13 #include <evt/Event.h>
14 #include <utl/Point.h>
15 
16 #include <vector>
17 
18 namespace utl {
19  class RandomEngine;
20 }
21 
22 namespace LaserLightSimulatorNA{
23 
33 
34  public:
35 
37  virtual ~LaserLightSimulator();
38 
42 
43  private :
44 
45  double EvaluatePhotons(const double Nph,
46  const utl::Point& p1, const utl::Point& p2) const;
47 
49  double fEnergy;
50  double fNPhotons;
53 
56 
58  std::vector<double> fLaserWavelength;
59 
60  REGISTER_MODULE("LaserLightSimulatorNA",LaserLightSimulator) ;
61  };
62 
63 }
64 
65 #endif // _LaserLightSimulatorNA_LaserLightSimulator_h_
66 
Point object.
Definition: Point.h:32
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
double EvaluatePhotons(const double Nph, const utl::Point &p1, const utl::Point &p2) const
Wraps the random number engine used to generate distributions.
Definition: RandomEngine.h:27
Module interface.
Definition: VModule.h:53
REGISTER_MODULE("LaserLightSimulatorNA", LaserLightSimulator)
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)

, generated on Tue Sep 26 2023.