1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef DataFormats_GeometrySurface_BoundDiskSector_h
#define DataFormats_GeometrySurface_BoundDiskSector_h
#include "DataFormats/GeometrySurface/interface/Plane.h"
#include "DiskSectorBounds.h"
class BoundDiskSector final : public Plane {
public:
~BoundDiskSector() override {}
BoundDiskSector(const PositionType& pos, const RotationType& rot, Bounds* bounds) : Plane(pos, rot, bounds) {}
float innerRadius() const { return bounds().innerRadius(); }
float outerRadius() const { return bounds().outerRadius(); }
float phiHalfExtension() const { return bounds().phiHalfExtension(); }
// hide
DiskSectorBounds const& bounds() const { return static_cast<DiskSectorBounds const&>(Plane::bounds()); }
};
#endif
|