CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/RecoTracker/TkDetLayers/src/BoundDiskSector.h

Go to the documentation of this file.
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