|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_CYLINDERBOUNDS_H
10 #define TRKSURFACES_CYLINDERBOUNDS_H
17 #ifdef TRKDETDESCR_USEFLOATPRECISON
132 virtual MsgStream&
dump(MsgStream& sl)
const override;
135 virtual std::ostream&
dump(std::ostream& sl)
const override;
147 #include "TrkSurfaces/CylinderBounds.icc"
148 #endif // TRKSURFACES_CYLINDERBOUNDS_H
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
double halfPhiSector() const
This method returns the halfPhiSector angle.
@ z
global position (cartesian)
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc1.
virtual bool insideLoc1(const Amg::Vector2D &locpo, double tol1=0.) const override final
This method checks inside bounds in loc1.
virtual bool inside(const Amg::Vector2D &locpo, double tol1, double tol2) const override final
This method checks if a LocalPosition is inside z bounds and rphi value- interface method.
Eigen::Matrix< double, 2, 1 > Vector2D
CylinderBounds()
Default Constructor.
bool insideLocZ(double z, double tol2) const
bool const RAWDATA *ch2 const
CylinderBounds & operator=(CylinderBounds &&cylbo)=default
Move assignment operator.
virtual bool inside(const Amg::Vector2D &locpo, const BoundaryCheck &bchk) const override final
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
CylinderBounds(CylinderBounds &&cylbo)=default
Move Constructor.
virtual BoundsType type() const override final
Return the bounds type.
Eigen::Matrix< double, 3, 1 > Vector3D
BoundValues
BoundValues for readablility.
CylinderBounds & operator=(const CylinderBounds &cylbo)=default
Assignment operator.
bool insideRadius(const Amg::Vector2D &locpo, double tol) const
This method checks if a LocalPosition is inside z bounds and inside the radius (for straws)
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
virtual CylinderBounds * clone() const override
Virtual constructor.
CylinderBounds(const CylinderBounds &cylbo)=default
Copy Constructor.
std::vector< TDD_real_t > m_boundValues
internal storage of the geometry parameters
double averagePhi() const
This method returns the average phi.
virtual ~CylinderBounds()=default
Destructor.
bool inside3D(const Amg::Vector3D &gp, double tol1=0., double tol2=0.) const
This method checks if a GlobalPosition is inside the Cylinder - not an interface method,...
double halflengthZ() const
This method returns the halflengthZ.
bool operator==(const CylinderBounds &bo) const
virtual double r() const override final
This method returns the radius.