CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoTracker/TkDetLayers/interface/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 "RecoTracker/TkDetLayers/interface/DiskSectorBounds.h"
00006 
00007 class BoundDiskSector : public BoundPlane {
00008  public:
00009  
00010  
00011   virtual ~BoundDiskSector() {}
00012  
00013   BoundDiskSector( const PositionType& pos, 
00014                    const RotationType& rot, 
00015                    Bounds* bounds) : Surface( pos,rot),
00016     BoundPlane( pos, rot, bounds) {}
00017   
00018   BoundDiskSector( const PositionType& pos, 
00019                    const RotationType& rot, 
00020                    const Bounds& bounds) : Surface( pos,rot),
00021     BoundPlane( pos, rot, bounds) {}
00022   
00023   float innerRadius() const { return bounds().innerRadius();}
00024   float outerRadius() const  { return bounds().outerRadius();}
00025   float phiExtension() const  { return bounds().phiExtension();}
00026 
00027   // hide
00028   DiskSectorBounds const & bounds() const {
00029     return static_cast<DiskSectorBounds const &>(BoundPlane::bounds());
00030   }
00031 
00032 };
00033  
00034  
00035 #endif 
00036