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  ~BoundDiskSector() override {}
11 
12  BoundDiskSector(const PositionType& pos, const RotationType& rot, Bounds* bounds) : Plane(pos, rot, bounds) {}
13 
14  float innerRadius() const { return bounds().innerRadius(); }
15  float outerRadius() const { return bounds().outerRadius(); }
16  float phiHalfExtension() const { return bounds().phiHalfExtension(); }
17 
18  // hide
19  DiskSectorBounds const& bounds() const { return static_cast<DiskSectorBounds const&>(Plane::bounds()); }
20 };
21 
22 #pragma GCC visibility pop
23 #endif
float innerRadius() const
BoundDiskSector(const PositionType &pos, const RotationType &rot, Bounds *bounds)
~BoundDiskSector() override
float phiHalfExtension() const
const Bounds & bounds() const
Definition: Surface.h:89
Definition: Plane.h:16
float innerRadius() const
DiskSectorBounds const & bounds() const
float outerRadius() const
float phiHalfExtension() const
Definition: Bounds.h:20
float outerRadius() const