|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_SURFACEBOUNDS_H
10 #define TRKSURFACES_SURFACEBOUNDS_H
17 #include "GaudiKernel/MsgStream.h"
25 #ifdef TRKDETDESCR_USEFLOATPRECISON
126 void swap(
double& b1,
double& b2);
143 return !((*this) ==
sb);
154 #endif // TRKSURFACES_SURFACEBOUNDS_H
SurfaceBounds & operator=(const SurfaceBounds &)=default
virtual bool inside(const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const =0
Each Bounds has a method inside, which checks if a LocalPosition is inside the bounds.
Eigen::Matrix< double, 2, 1 > Vector2D
void swap(double &b1, double &b2)
Swap method to be called from DiscBounds or TrapezoidalBounds.
bool const RAWDATA *ch2 const
virtual double minDistance(const Amg::Vector2D &pos) const =0
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
SurfaceBounds(const SurfaceBounds &)=default
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const =0
Extend the interface to for single inside Loc 1 / Loc2 tests.
virtual BoundsType type() const =0
Return the bounds type - for persistency optimization.
virtual void initCache()
virtual initCache method for object persistency
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const =0
Extend the interface to for single inside Loc 1 / Loc2 tests.
SurfaceBounds(SurfaceBounds &&) noexcept=default
Ensure that the ATLAS eigen extensions are properly loaded.
virtual SurfaceBounds * clone() const =0
clone() method to make deep copy in Surface copy constructor and for assigment operator of the Surfac...
Definition of ATLAS Math & Geometry primitives (Amg)
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
SurfaceBounds()=default
Default Constructor.
virtual MsgStream & dump(MsgStream &sl) const =0
Output Method for MsgStream, to be overloaded by child classes.
virtual bool operator!=(const SurfaceBounds &sb) const
Non-Equality operator.
virtual double r() const =0
Interface method for the maximal extension or the radius.