00001 #ifndef RecoTracker_TkDetLayers_BoundDiskSector_h 00002 #define RecoTracker_TkDetLayers_BoundDiskSector_h 00003 00004 #include "DataFormats/GeometrySurface/interface/Plane.h" 00005 #include "DiskSectorBounds.h" 00006 00007 #pragma GCC visibility push(hidden) 00008 class BoundDiskSector GCC11_FINAL : public Plane { 00009 public: 00010 00011 00012 virtual ~BoundDiskSector() {} 00013 00014 BoundDiskSector( const PositionType& pos, 00015 const RotationType& rot, 00016 Bounds* bounds) : 00017 Plane( pos, rot, bounds) {} 00018 00019 00020 float innerRadius() const { return bounds().innerRadius();} 00021 float outerRadius() const { return bounds().outerRadius();} 00022 float phiExtension() const { return bounds().phiExtension();} 00023 00024 // hide 00025 DiskSectorBounds const & bounds() const { 00026 return static_cast<DiskSectorBounds const &>(Plane::bounds()); 00027 } 00028 00029 }; 00030 00031 00032 #pragma GCC visibility pop 00033 #endif 00034