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 : public BoundPlane {
9  public:
10 
11 
12  virtual ~BoundDiskSector() {}
13 
15  const RotationType& rot,
16  Bounds* bounds) : Surface( pos,rot),
17  BoundPlane( pos, rot, bounds) {}
18 
20  const RotationType& rot,
21  const Bounds& bounds) : Surface( pos,rot),
22  BoundPlane( pos, rot, bounds) {}
23 
24  float innerRadius() const { return bounds().innerRadius();}
25  float outerRadius() const { return bounds().outerRadius();}
26  float phiExtension() const { return bounds().phiExtension();}
27 
28  // hide
29  DiskSectorBounds const & bounds() const {
30  return static_cast<DiskSectorBounds const &>(BoundPlane::bounds());
31  }
32 
33 };
34 
35 
36 #pragma GCC visibility pop
37 #endif
38 
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