2 #ifdef __TELESCOPE_SIMULATOR_LX_USE_ROOT__
8 #include <TDirectory.h>
9 #include <utl/Photon.h>
10 #include <utl/AugerUnits.h>
14 namespace TelescopeSimulatorLX{
double RCam = 1.743*
utl::m;}
17 using namespace TelescopeSimulatorLX;
19 FDsimG4Write2ROOT::FDsimG4Write2ROOT() :
41 TDirectory *tmpSaveDir = gDirectory;
42 fRootFile =
new TFile(filename.c_str(),
"RECREATE");
52 TDirectory *tmpSaveDir = gDirectory;
70 TDirectory *tmpSaveDir = gDirectory;
77 "x/D:y/D:z/D:alfa/D:beta/D:E/D:w/D:t/D:LocX/D:LocY/D:LocZ/D:PixX/D:PixY/D:PixZ/D:HitID/D:PMTid/D");
86 "G4Filter/I:G4Lens/I:G4Mirror/I:G4Mercedes/I:G4FS/I:G4/I");
90 "x/D:y/D:z/D:DX/D:DY/D:DZ/D:th/D:phi/D:wantedPix/D:wantedTh/D:wantedPhi/D");
93 "x/D:y/D:z/D:alfa/D:beta/D:DX/D:DY/D:DZ/D:th/D:phi/D");
211 double DX = G4_photon->
GetDirX();
212 double DY = G4_photon->
GetDirY();
213 double DZ = G4_photon->
GetDirZ();
233 static double RCam=1.743*
utl::m;
void SetG4Photon(FDsimG4StoreOpticalHit *G4_photon)
utl::CoordinateSystemPtr ftelCS
double GetPhi(const CoordinateSystemPtr &coordinateSystem) const
azimuth (phi) angle in spherical and cylindrical coordinates
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::kn_info fn_info
double GetTheta(const CoordinateSystemPtr &coordinateSystem) const
zenith (theta) angle in spherical coordinates
void SetINPhoton(FDsimG4StoreOpticalHit *G4_photon)
double GetPixelPosY() const
double GetLocalPosX() const
utl::CoordinateSystemPtr feyeCS
double GetLocalPosY() const
void SetG4MirrorPhoton(FDsimG4StoreOpticalHit *G4_photon)
constexpr double nanometer
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::IN_infoExp fINExp_info
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_infoFS fG4FS_info
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
double GetX(const CoordinateSystemPtr &coordinateSystem) const
double GetPixelPosZ() const
void SetG4LensPhoton(FDsimG4StoreOpticalHit *G4_photon)
double GetLocalPosZ() const
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_info fG4Mercedes_info
void SetG4FSPhoton(FDsimG4StoreOpticalHit *G4_photon)
void SetG4FilterPhoton(FDsimG4StoreOpticalHit *G4_photon)
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_info2 fG4_info
double GetWavelength() const
const utl::Vector & GetDirection() const
double GetY(const CoordinateSystemPtr &coordinateSystem) const
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_info fG4Lens_info
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_info fG4Filter_info
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::IN_info fIN_info
struct TelescopeSimulatorLX::FDsimG4Write2ROOT::G4_info fG4Mirror_info
double GetZ(const CoordinateSystemPtr &coordinateSystem) const
double GetPixelPosX() const
void SetG4MercedesPhoton(FDsimG4StoreOpticalHit *G4_photon)
const utl::Point & GetPosition() const
void Open(const std::string &RootFilename)