9 #ifndef _DrumPhotonGeneratorOG_DrumPhotonGenerator_h_
10 #define _DrumPhotonGeneratorOG_DrumPhotonGenerator_h_
12 #include <fwk/VModule.h>
14 #include <utl/CoordinateSystemPtr.h>
15 #include <utl/ShadowPtr.h>
42 namespace DrumPhotonGeneratorOG {
79 int Index(
const int eyeId,
const int telId)
const {
return eyeId*100 + telId; }
int Index(const int eyeId, const int telId) const
std::map< int, unsigned int > fTotalGeneratedPhotonsPerTelescope
double fThetaMaxDrumPhotons
double fThetaMinDrumPhotons
std::map< int, CalibResult > CalibrateTelescope(fevt::Telescope &tel)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
void GenerateDrumPhotons(fevt::Telescope &tel)
Wraps the random number engine used to generate distributions.
double fPhiMaxDrumPhotons
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
bool DoDrum(evt::Event &event)
bool CalculateCalibrationConstants(evt::Event &event)
ResultFlag
Flag returned by module methods to the RunController.
utl::RandomEngine * fRandomEngine
REGISTER_MODULE("DrumPhotonGeneratorOG", DrumPhotonGenerator)
Fluorescence Detector Telescope Event.
double fPhiMinDrumPhotons
std::string fDrumDataOutName
Simulates drum photons entering the FD telescope.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)