9 #ifndef _TelescopeSimulatorKG2_TelescopeSimulator_h_
10 #define _TelescopeSimulatorKG2_TelescopeSimulator_h_
13 #include <fwk/VModule.h>
15 #include <utl/CoordinateSystemPtr.h>
16 #include <utl/ShadowPtr.h>
17 #include <utl/Photon.h>
18 #include <utl/TabulatedFunction.h>
40 namespace TelescopeSimulatorKG2 {
55 typedef std::list<std::pair<utl::Photon, int> >
PhotonList;
141 std::map<int, unsigned int>
fN_1;
142 std::map<int, unsigned int>
fN_2;
143 std::map<int, unsigned int>
fN_3;
144 std::map<int, unsigned int>
fN_4;
145 std::map<int, unsigned int>
fN_5;
146 std::map<int, unsigned int>
fN_6;
std::map< int, unsigned int > fNHit
double fFilterIncreaseReflectionInside
PhotonList::iterator PhotonListIterator
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
double fMirrorAbsorptionTop
Class to hold collection (x,y) points and provide interpolation between them.
double fMirrorSegmentSigma
bool fSimulateCameraShadow
static void TransformToLocalCameraCoordinates(const double laz, const double lze, double &caz, double &cze)
double fMirrorRadiusSigma
bool fDrawMercReflections
double fLensIncreaseReflection
bool fStoreLightComponentsAtPixels
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
bool StoreLightComponentsAtPixels()
Returns whether pixel traces are stored for individual light components.
bool fSimulateMercedesStars
bool fSimulateHaloEffects
std::map< int, unsigned int > fN_6
double fFilterPositionVertical
double fFilterIncreaseReflectionOutside
std::string fShadowDataOutName
std::map< int, unsigned int > fN_4
Simulates the FD telescope.
std::string fGeneralConfigSignature
Wraps the random number engine used to generate distributions.
bool fSimualteCameraSupportShadow
utl::TabulatedFunction * fMirrorDiffusionBot
utl::RandomEngine * fRandomEngine
utl::TabulatedFunction * fMirrorDiffusionTop
std::map< int, unsigned int > fN_5
PhotonList::const_iterator PhotonListConstIterator
std::vector< double > fMirrorDiffusionTopValues
double fFilterPositionVertical2
std::map< int, unsigned int > fN_2
std::map< int, unsigned int > fN_1
void SetStoreLightComponentsAtPixels(const bool store)
Sets whether pixel traces are stored for individual light components.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
ResultFlag
Flag returned by module methods to the RunController.
bool fSimulateGhostEffects
double fMirrorAbsorptionBot
double fFilterPositionHorizontal
void SetSpotPhotonList(PhotonList &phList)
std::list< std::pair< utl::Photon, int > > PhotonList
std::vector< double > fMirrorDiffusionBotValues
double fFilterDustAbsorptionOutside
std::vector< double > fMirrorDiffusionTopAngles
std::map< int, unsigned int > fN_3
std::vector< double > fMirrorDiffusionBotAngles
int fMaxMirrorReflections
REGISTER_MODULE("TelescopeSimulatorKG2", TelescopeSimulator)
bool fSimulateFilterStructure