CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BoundDiskSector.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkDetLayers_BoundDiskSector_h
2 #define RecoTracker_TkDetLayers_BoundDiskSector_h
3 
6 
7 class BoundDiskSector : public BoundPlane {
8  public:
9 
10 
11  virtual ~BoundDiskSector() {}
12 
14  const RotationType& rot,
15  Bounds* bounds) : Surface( pos,rot),
16  BoundPlane( pos, rot, bounds) {}
17 
19  const RotationType& rot,
20  const Bounds& bounds) : Surface( pos,rot),
21  BoundPlane( pos, rot, bounds) {}
22 
23  float innerRadius() const { return bounds().innerRadius();}
24  float outerRadius() const { return bounds().outerRadius();}
25  float phiExtension() const { return bounds().phiExtension();}
26 
27  // hide
28  DiskSectorBounds const & bounds() const {
29  return static_cast<DiskSectorBounds const &>(BoundPlane::bounds());
30  }
31 
32 };
33 
34 
35 #endif
36 
float innerRadius() const
BoundDiskSector(const PositionType &pos, const RotationType &rot, Bounds *bounds)
float phiExtension() const
float innerRadius() const
DiskSectorBounds const & bounds() const
float outerRadius() const
BoundDiskSector(const PositionType &pos, const RotationType &rot, const Bounds &bounds)
const Bounds & bounds() const
Definition: BoundSurface.h:89
float phiExtension() const
virtual ~BoundDiskSector()
Definition: Bounds.h:18
float outerRadius() const