CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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/BoundPlane.h"
00005 #include "DiskSectorBounds.h"
00006 
00007 #pragma GCC visibility push(hidden)
00008 class BoundDiskSector : public BoundPlane {
00009  public:
00010  
00011  
00012   virtual ~BoundDiskSector() {}
00013  
00014   BoundDiskSector( const PositionType& pos, 
00015                    const RotationType& rot, 
00016                    Bounds* bounds) : Surface( pos,rot),
00017     BoundPlane( pos, rot, bounds) {}
00018   
00019   BoundDiskSector( const PositionType& pos, 
00020                    const RotationType& rot, 
00021                    const Bounds& bounds) : Surface( pos,rot),
00022     BoundPlane( pos, rot, bounds) {}
00023   
00024   float innerRadius() const { return bounds().innerRadius();}
00025   float outerRadius() const  { return bounds().outerRadius();}
00026   float phiExtension() const  { return bounds().phiExtension();}
00027 
00028   // hide
00029   DiskSectorBounds const & bounds() const {
00030     return static_cast<DiskSectorBounds const &>(BoundPlane::bounds());
00031   }
00032 
00033 };
00034  
00035  
00036 #pragma GCC visibility pop
00037 #endif 
00038