CMS 3D CMS Logo

BoundDiskSector.h
Go to the documentation of this file.
1 #ifndef DataFormats_GeometrySurface_BoundDiskSector_h
2 #define DataFormats_GeometrySurface_BoundDiskSector_h
3 
5 #include "DiskSectorBounds.h"
6 
7 class BoundDiskSector final : public Plane {
8 public:
9  ~BoundDiskSector() override {}
10 
12 
13  float innerRadius() const { return bounds().innerRadius(); }
14  float outerRadius() const { return bounds().outerRadius(); }
15  float phiHalfExtension() const { return bounds().phiHalfExtension(); }
16 
17  // hide
18  DiskSectorBounds const& bounds() const { return static_cast<DiskSectorBounds const&>(Plane::bounds()); }
19 };
20 
21 #endif
BoundDiskSector(const PositionType &pos, const RotationType &rot, Bounds *bounds)
~BoundDiskSector() override
DiskSectorBounds const & bounds() const
float phiHalfExtension() const
Definition: Plane.h:16
float innerRadius() const
float outerRadius() const
float outerRadius() const
float innerRadius() const
float phiHalfExtension() const
Definition: Bounds.h:18
const Bounds & bounds() const
Definition: Surface.h:87