1 #ifndef _EventGeneratorOG_EventGenerator_h_
2 #define _EventGeneratorOG_EventGenerator_h_
4 #include <fwk/VModule.h>
5 #include <sdet/Station.h>
6 #include <utl/TimeStamp.h>
7 #include <utl/UTMPoint.h>
8 #include <evt/ShowerSimData.h>
9 #include <evt/RadioSimulation.h>
10 #include <utl/config.h>
11 #include <boost/tuple/tuple.hpp>
26 namespace EventGeneratorOG {
58 double Rcutoff(
const double lgE);
82 typedef std::list<boost::tuple<double, double, double, int, char>>
CoreList;
double Rcutoff(const double lgE)
energy dependent trigger surface
bool fUseRadioCorePosition
int FindClosestStationFromPoint(const utl::Point &pt, const rdet::RDetector &rDet, const double maxDistanceFactor)
Set the core position, time and event ID for Monte Carlo events.
boost::tuple< double, double, double, int, char > fSphereCenter
utl::RandomEngine * fRandomEngine
Detector description interface for Station-related data.
REGISTER_MODULE("EventGeneratorOG", EventGenerator)
boost::tuple< double, double > GenerateArrayCentricRandomizedCoreAroundRandomStation()
boost::tuple< double, double > GenerateCoreAroundStation()
Data structure for a radio simulation (including several SimRadioPulses)
double RcutoffCherenkovHECO(const double lgE)
bool fGeometryCheckCherenkovHECO
utl::Vector GetCoreShiftForRadioSimulation(evt::RadioSimulation &radioSim)
Calculates average offset between the locations of sim. radio pulses and the position of the RDetecto...
boost::tuple< double, double, double > GenerateArrayCentricListedCore()
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
boost::tuple< double, double > GenerateEyeCentricCore(const double energy)
A TimeStamp holds GPS second and nanosecond for some event.
Detector description interface for RDetector-related data.
Interface class to access Shower Simulated parameters.
double MaximumRp(const double lgE)
boost::tuple< double, double, double > GenerateSphereCentricCore(evt::ShowerSimData &shower)
virtual ~EventGenerator()
std::vector< int > StationIdCollection
Wraps the random number engine used to generate distributions.
std::list< boost::tuple< double, double, double, int, char > > CoreList
std::list< double > fTimeList
CoreList::iterator fCorePositionsIt
bool fInvalidateComponents
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
std::string fLibraryIdentifier
boost::tuple< double, double > GenerateArrayCentricRandomizedCore()
ResultFlag
Flag returned by module methods to the RunController.
unsigned int fEventNumber
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
void FlagHoleStations(evt::Event &event) const
std::vector< unsigned int > fSdIdFormat
sdet::Station::StationIdCollection GetInfillCrown(const sdet::Station ¢ralStation)
utl::TimeStamp fStartDate
bool fUseRandomInfillStation
bool fRMaxEnergyDependent