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 
5 #include "DiskSectorBounds.h"
6 
7 #pragma GCC visibility push(hidden)
8 class BoundDiskSector GCC11_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 
const Bounds & bounds() const
Definition: Surface.h:128
float outerRadius() const
Definition: Plane.h:17
Point3DBase< Scalar, GlobalTag > PositionType
Definition: Definitions.h:30
BoundDiskSector(const PositionType &pos, const RotationType &rot, Bounds *bounds)
float innerRadius() const
float phiHalfExtension() const
DiskSectorBounds const & bounds() const
Definition: Bounds.h:22
virtual ~BoundDiskSector()
Unlimited (trivial) bounds.