GeometryGenerator.h
Go to the documentation of this file.
1 #ifndef _GeometryGeneratorKG_EventGenerator_h_
2 #define _GeometryGeneratorKG_EventGenerator_h_
3 
4 #include <fwk/VModule.h>
5 #include <utl/CoordinateSystemPtr.h>
6 
7 
8 namespace utl {
9  class RandomEngine;
10 }
11 
12 namespace GeometryGeneratorKG {
13 
25 
26  public:
28  virtual ~GeometryGenerator() { }
29 
33 
34  private:
35  double GetTheta();
36  double GetPhi();
37 
38  bool fSampleAzimuth = false;
39  double fAzimuthMin = 0;
40  double fAzimuthMax = 0;
41 
42  bool fSampleZenith = false;
43  double fZenithMin = 0;
44  double fZenithMax = 0;
45  double fNcos = 0;
46 
47  REGISTER_MODULE("GeometryGeneratorKG", GeometryGenerator);
48 
50 
51  };
52 
53 }
54 
55 
56 #endif
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Simple event generator.
Wraps the random number engine used to generate distributions.
Definition: RandomEngine.h:27
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
REGISTER_MODULE("GeometryGeneratorKG", GeometryGenerator)

, generated on Tue Sep 26 2023.