/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 00013 #ifndef RPCGEOMINFO_H 00014 #define RPCGEOMINFO_H 00015 00016 #include "DetHelpers/IRpcGeomInfo.h" 00017 00018 class RpcGeomInfo : public virtual IRpcGeomInfo 00019 { 00020 public: 00021 RpcGeomInfo(unsigned int rpcid, 00022 IDetectorElement* me, 00023 IDetectorElement* parent); 00024 virtual ~RpcGeomInfo(); 00025 00027 virtual unsigned int rpcid() const; 00028 00030 virtual const CLHEP::Hep3Vector& globalPosition() const; 00031 00034 virtual const CLHEP::Hep3Vector& localPosition() const; 00035 00038 virtual const CLHEP::Hep3Vector& globalDirection() const; 00039 00043 virtual const CLHEP::Hep3Vector& localDirection() const; 00044 00046 virtual const IDetectorElement& detectorElement() const; 00047 00049 virtual const IDetectorElement& parentDetector() const; 00050 00051 private: 00052 unsigned int m_id; 00053 IDetectorElement* m_me; 00054 IDetectorElement* m_parent; 00055 00056 mutable CLHEP::Hep3Vector *m_gp, *m_lp, *m_gd, *m_ld; 00057 00058 }; 00059 00060 00061 #endif // RPCGEOMINFO_H