|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_DISCTRAPEZOIDALBOUNDS_H
10 #define TRKSURFACES_DISCTRAPEZOIDALBOUNDS_H
23 #ifdef TRKDETDESCR_USEFLOATPRECISON
137 virtual MsgStream&
dump(MsgStream& sl)
const override;
140 virtual std::ostream&
dump(std::ostream& sl)
const override;
148 #include "TrkSurfaces/DiscTrapezoidalBounds.icc"
149 #endif // TRKSURFACES_DISCTRAPEZOIDALBOUNDS_H
DiscTrapezoidalBounds & operator=(DiscTrapezoidalBounds &&disctrbo) noexcept=default
Move Assignment operator.
virtual DiscTrapezoidalBounds * clone() const override
Virtual constructor.
BoundValues
enumeration for readability
DiscTrapezoidalBounds & operator=(const DiscTrapezoidalBounds &disctrbo)
Assignment operator.
Eigen::Matrix< double, 2, 1 > Vector2D
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
double halfPhiSector() const
This method returns the halfPhiSector which is covered by the disc.
virtual SurfaceBounds::BoundsType type() const override final
Return the type - mainly for persistency.
DiscTrapezoidalBounds()
Default Constructor.
virtual double r() const override
This method returns the maximum expansion on the plane (=rMax)
double rMin() const
This method returns inner radius.
bool const RAWDATA *ch2 const
DiscTrapezoidalBounds(DiscTrapezoidalBounds &&disctrbo) noexcept=default
Move constructor.
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
double averagePhi() const
This method returns the average phi.
double rCenter() const
This method returns the center radius.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
std::vector< TDD_real_t > m_boundValues
Internal members of the bounds (float/double)
double halflengthY() const
This method returns the halflength in Y (this is Rmax -Rmin)
double rMax() const
This method returns outer radius.
Ensure that the ATLAS eigen extensions are properly loaded.
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc2.
Definition of ATLAS Math & Geometry primitives (Amg)
virtual bool inside(const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const override final
This method cheks if the radius given in the LocalPosition is inside [rMin,rMax] if only tol1 is give...
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
double minHalflengthX() const
This method returns the minimal halflength in X.
double stereo() const
This method returns the stereo angle.
double maxHalflengthX() const
This method returns the maximal halflength in X.
virtual ~DiscTrapezoidalBounds()=default
Destructor.