1 #ifndef RecoTracker_TkDetLayers_DiskSectorBounds_h
2 #define RecoTracker_TkDetLayers_DiskSectorBounds_h
12 #pragma GCC visibility push(hidden)
17 theRmin(rmin), theRmax(rmax), theZmin(zmin), theZmax(zmax), thePhiExtH(0.5
f*phiExt) {
19 if ( theRmin > theRmax)
std::swap( theRmin, theRmax);
20 if ( theZmin > theZmax)
std::swap( theZmin, theZmax);
21 theOffset = theRmin + 0.5f*(theRmax-theRmin);
26 virtual float thickness()
const {
return theZmax-theZmin;}
37 return new DiskSectorBounds(*
this);
53 #pragma GCC visibility pop
virtual float thickness() const
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
Sin< T >::type sin(const T &t)
float outerRadius() const
virtual float length() const
float innerRadius() const
float phiHalfExtension() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Cos< T >::type cos(const T &t)
virtual bool inside(const Local2DPoint &p, const LocalError &err) const
DiskSectorBounds(float rmin, float rmax, float zmin, float zmax, float phiExt)
virtual float width() const
virtual Bounds * clone() const
Unlimited (trivial) bounds.