CMS 3D CMS Logo

BoundDiskSector.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkDetLayers_BoundDiskSector_h
2 #define RecoTracker_TkDetLayers_BoundDiskSector_h
3 
5 #include "DiskSectorBounds.h"
6 
7 #pragma GCC visibility push(hidden)
8 class BoundDiskSector final : public Plane {
9  public:
10 
11 
12  virtual ~BoundDiskSector() {}
13 
15  const RotationType& rot,
16  Bounds* bounds) :
17  Plane( pos, rot, bounds) {}
18 
19 
20  float innerRadius() const { return bounds().innerRadius();}
21  float outerRadius() const { return bounds().outerRadius();}
22  float phiHalfExtension() const { return bounds().phiHalfExtension();}
23 
24  // hide
25  DiskSectorBounds const & bounds() const {
26  return static_cast<DiskSectorBounds const &>(Plane::bounds());
27  }
28 
29 };
30 
31 
32 #pragma GCC visibility pop
33 #endif
34 
float innerRadius() const
BoundDiskSector(const PositionType &pos, const RotationType &rot, Bounds *bounds)
float phiHalfExtension() const
const Bounds & bounds() const
Definition: Surface.h:120
Definition: Plane.h:17
float innerRadius() const
DiskSectorBounds const & bounds() const
float outerRadius() const
float phiHalfExtension() const
virtual ~BoundDiskSector()
Definition: Bounds.h:22
float outerRadius() const