|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_ROTATEDTRAPEZOIDBOUNDS_H
10 #define TRKSURFACES_ROTATEDTRAPEZOIDBOUNDS_H
18 #ifdef TRKDETDESCR_USEFLOATPRECISON
100 virtual double r()
const override;
146 virtual MsgStream&
dump(MsgStream& sl)
const override final;
149 virtual std::ostream&
dump(std::ostream& sl)
const override final;
171 #endif // TRKSURFACES_TRAPEZOIDBOUNDS_H
virtual double r() const override
This method returns the maximal extension on the local plane.
std::vector< TDD_real_t > m_boundValues
The internal storage of the bounds can be float/double.
RotatedTrapezoidBounds(const RotatedTrapezoidBounds &trabo)=default
Copy constructor.
bool isBelow(double locX, double fabsLocY, double tol1, double tol2) const
isBelow() method for checking whether a point lies above or under a straight line
Eigen::Matrix< double, 2, 1 > Vector2D
virtual bool operator==(const SurfaceBounds &trabo) const override final
Equality operator.
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc2.
bool const RAWDATA *ch2 const
double halflengthX() const
This method returns the minimal halflength in X (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)
RotatedTrapezoidBounds & operator=(const RotatedTrapezoidBounds &sbo)=default
Assignment operator.
virtual RotatedTrapezoidBounds * clone() const override
Virtual constructor.
virtual void initCache() override final
Helper function for angle parameter initialization.
virtual BoundsType type() const override
Return the type of the bounds for persistency.
virtual MsgStream & dump(MsgStream &sl) const override final
Output Method for MsgStream.
RotatedTrapezoidBounds & operator=(RotatedTrapezoidBounds &&sbo) noexcept=default
Move Assignment operator.
double maxHalflengthY() const
This method returns the halflength in Y (second coordinate of local surface frame)
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
double minHalflengthY() const
This method returns the maximal halflength in X (first coordinate of local surface frame)
RotatedTrapezoidBounds(RotatedTrapezoidBounds &&trabo) noexcept=default
Move constructor.
virtual ~RotatedTrapezoidBounds()=default
Destructor.
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
AmgSymMatrix(2) m_rotMat
Transformation matrix to define surface bounds which are tilted w.r.t.
virtual bool inside(const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const override final
The orientation of the Trapezoid is according to the figure above, in words: the shorter of the two p...
RotatedTrapezoidBounds()
Default Constructor, needed for persistency.