FdBackgroundSimulator.h
Go to the documentation of this file.
1 
9 #ifndef _FdBackgroundSimulatorOG_FdBackgroundSimulator_h_
10 #define _FdBackgroundSimulatorOG_FdBackgroundSimulator_h_
11 
12 
13 #include <fwk/VModule.h>
14 #include <fdet/Eye.h>
15 #include <fdet/Telescope.h>
16 
17 namespace FdBackgroundSimulatorOG {
18 
30 
31  enum EMode {
35  };
36 
37  public:
40 
44 
45  private:
47 
49 
50  std::vector<double> fBackgroundFlux;
51 
52  private:
53  double GetParametricSkyVariance(double theta) const;
54 
55  bool AddBackground(fevt::Telescope& tel, evt::Event& event);
57 
58  REGISTER_MODULE("FdBackgroundSimulatorOG", FdBackgroundSimulator);
59 
60  };
61 
62 
63 } // FdBackgroundSimulatorOG
64 
65 
66 #endif // _FdBackgroundSimulatorOG_FdBackgroundSimulator_h_
67 
68 // Configure (x)emacs for this file ...
69 // Local Variables:
70 // mode:c++
71 // compile-command: "make -C .. -k"
72 // End:
REGISTER_MODULE("FdBackgroundSimulatorOG", FdBackgroundSimulator)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
bool AddBackgroundFromVariance(fevt::Telescope &tel, evt::Event &event)
bool AddBackground(fevt::Telescope &tel, evt::Event &event)
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Module interface.
Definition: VModule.h:53
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Fluorescence Detector Telescope Event.
Simulates the signal due the photon background.

, generated on Tue Sep 26 2023.