|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_RECTANGLEBOUNDS_H
10 #define TRKSURFACES_RECTANGLEBOUNDS_H
16 #ifdef TRKDETDESCR_USEFLOATPRECISON
112 virtual MsgStream&
dump(MsgStream& sl)
const override;
115 virtual std::ostream&
dump(std::ostream& sl)
const override;
123 #include "TrkSurfaces/RectangleBounds.icc"
124 #endif // TRKSURFACES_RECTANGLEBOUNDS_H
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
Eigen::Matrix< double, 2, 1 > Vector2D
RectangleBounds & operator=(RectangleBounds &&recbo) noexcept=default
Move Assignment Operator.
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
bool const RAWDATA *ch2 const
virtual double r() const override
This method returns the maximal extension on the local plane, i.e.
double halflengthEta() const
This method returns the halflength in Eta (second coordinate of local surface frame)
virtual bool inside(const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const override final
This method checks if the provided local coordinates are inside the surface bounds.
double halflengthX() const
for consistant naming
double halflengthPhi() const
This method returns the halflength in phi (first coordinate of local surface frame)
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
RectangleBounds(RectangleBounds &&recbo) noexcept=default
Move constructor.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
virtual ~RectangleBounds()=default
Destructor.
double halflengthY() const
for consitant naming
virtual BoundsType type() const override final
Return the type of the bounds for persistency.
std::vector< TDD_real_t > m_boundValues
The internal version of the bounds can be float/double.
virtual RectangleBounds * clone() const override
Virtual constructor.
virtual bool operator==(const SurfaceBounds &sbo) const override final
Equality operator.
RectangleBounds()
Default Constructor - needed for persistency.
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc2.
RectangleBounds & operator=(const RectangleBounds &recbo)
Assignment Operator.