ShowerLightSimulator.h
Go to the documentation of this file.
1 
13 #ifndef _ShowerLightSimulatorKG_ShowerLightSimulator_h_
14 #define _ShowerLightSimulatorKG_ShowerLightSimulator_h_
15 
16 #include <fwk/VModule.h>
17 #include <vector>
18 
19 namespace utl {
20  class Point;
21  class Vector;
22 }
23 
24 
25 namespace ShowerLightSimulatorKG {
26 
41 
42  public:
45 
49 
52  void FluorescenceLight(evt::Event& event,
53  double distInit,
54  double distFinal,
55  bool upwardGoing);
56 
58  void CherenkovLight(evt::Event& event,
59  double distInit,
60  double distFinal,
61  bool upwardGoing,
62  bool useCherenkovProfile);
63 
65  void PrimaryCherenkovLight(evt::Event& event);
66 
67  private:
69  bool fCherenkov;
71  bool fFlatEarth;
72  double fTimeBin;
74  bool fUseCherenkovProfile; // from EAS MC sim.
75 
76  REGISTER_MODULE("ShowerLightSimulatorKG", ShowerLightSimulator);
77 
78  };
79 
80 }
81 
82 
83 #endif
84 
85 // Configure (x)emacs for this file ...
86 // Local Variables:
87 // mode: c++
88 // compile-command: "make -C .. -k"
89 // End:
void CherenkovLight(evt::Event &event, double distInit, double distFinal, bool upwardGoing, bool useCherenkovProfile)
Simulate the Cherenkov light beam along the shower axis.
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.
REGISTER_MODULE("ShowerLightSimulatorKG", ShowerLightSimulator)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Module interface.
Definition: VModule.h:53
void PrimaryCherenkovLight(evt::Event &event)
Generate Cherenkov emission from primary particle.
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
void FluorescenceLight(evt::Event &event, double distInit, double distFinal, bool upwardGoing)
Simulate the Fluorescence photons generated isotropically along the shower axis.
Simulates the Fluorescence and Cerenkov light along the shower axis.

, generated on Tue Sep 26 2023.