Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:30

0001 #ifndef DataFormats_GeometrySurface_BoundDiskSector_h
0002 #define DataFormats_GeometrySurface_BoundDiskSector_h
0003 
0004 #include "DataFormats/GeometrySurface/interface/Plane.h"
0005 #include "DiskSectorBounds.h"
0006 
0007 class BoundDiskSector final : public Plane {
0008 public:
0009   ~BoundDiskSector() override {}
0010 
0011   BoundDiskSector(const PositionType& pos, const RotationType& rot, Bounds* bounds) : Plane(pos, rot, bounds) {}
0012 
0013   float innerRadius() const { return bounds().innerRadius(); }
0014   float outerRadius() const { return bounds().outerRadius(); }
0015   float phiHalfExtension() const { return bounds().phiHalfExtension(); }
0016 
0017   // hide
0018   DiskSectorBounds const& bounds() const { return static_cast<DiskSectorBounds const&>(Plane::bounds()); }
0019 };
0020 
0021 #endif