|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_DISCBOUNDS_H
10 #define TRKSURFACES_DISCBOUNDS_H
23 #ifdef TRKDETDESCR_USEFLOATPRECISON
78 DiscBounds(
double minrad,
double maxrad,
double avephi,
double hphisec);
121 virtual MsgStream&
dump(MsgStream& sl)
const override;
124 virtual std::ostream&
dump(std::ostream& sl)
const override;
133 #include "TrkSurfaces/DiscBounds.icc"
134 #endif // TRKSURFACES_DISCBOUNDS_H
DiscBounds(const DiscBounds &)=default
Default copy constructor.
virtual SurfaceBounds::BoundsType type() const override final
Return the type - mainly for persistency.
double averagePhi() const
This method returns the average phi.
BoundValues
enumeration for readability
Eigen::Matrix< double, 2, 1 > Vector2D
DiscBounds & operator=(const DiscBounds &discbo)=default
Default assignment operator.
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc2.
double halfPhiSector() const
This method returns the halfPhiSector which is covered by the disc.
bool const RAWDATA *ch2 const
double rMax() const
This method returns outer radius.
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.
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
double rMin() const
This method returns inner radius.
std::vector< TDD_real_t > m_boundValues
Internal members of the bounds (float/double)
virtual DiscBounds * clone() const override final
Virtual constructor.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
virtual ~DiscBounds()=default
Destructor.
DiscBounds & operator=(DiscBounds &&discbo) noexcept=default
Default move assignment operator.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
DiscBounds(DiscBounds &&discbo) noexcept=default
Default move constructor.
DiscBounds()
Default Constructor.
virtual double r() const override final
This method returns the maximum expansion on the plane (=rMax)