// $Id: DetectorGeometry.hh,v 1.3 2005/04/14 17:04:33 thea Exp $ // Author: Alessandro Thea 2005/03/10 /***************************************************************************** * ESAF: Euso Simulation and Analysis Framework * * * * Id: DetectorGeometry * * Package: Optics * * Coordinator: Alessandro.Thea * * * *****************************************************************************/ #ifndef __DETECTORGEOMETRY_HH__ #define __DETECTORGEOMETRY_HH__ #include "euso.hh" #include "EsafRefSys.hh" class EarthVector; //////////////////////////////////////////////////////////////////////////////// // // // DetectorGeometry // // // // Contains the fundamental information of the detector seen from "outside": // // Position, orientation in the space, external radius and field of view. // // // //////////////////////////////////////////////////////////////////////////////// class DetectorGeometry : public EsafRefSys { public: DetectorGeometry(); virtual ~DetectorGeometry(); inline Double_t GetRadius() const { return fRadius; } inline Double_t GetFoV() const { return fFoV; } // Returns the solid angle made by Euso pupil as seen from a position in the atmosphere Double_t SolidAngle(const EarthVector&) const; inline TVector3 OpticalAxis() const { return -fZaxis; } inline void SetRadius( Double_t r ) { fRadius = r; } inline void SetFoV( Double_t fov ) { fFoV = fov; } private: Double_t fRadius; Double_t fFoV; ClassDef(DetectorGeometry,0) }; #endif /* __DETECTORGEOMETRY_HH__ */