|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKSURFACES_ConeBounds_H
10 #define TRKSURFACES_ConeBounds_H
19 #ifdef TRKDETDESCR_USEFLOATPRECISON
145 virtual MsgStream&
dump(MsgStream& sl)
const override;
147 virtual std::ostream&
dump(std::ostream& sl)
const override;
173 #endif // TRKSURFACES_CONEBOUNDS_H
virtual double minDistance(const Amg::Vector2D &pos) const override
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
BoundValues
BoundValues for readablility.
@ z
global position (cartesian)
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
virtual ~ConeBounds()=default
Destructor.
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
std::vector< TDD_real_t > m_boundValues
internal storage of the geometry parameters
bool const RAWDATA *ch2 const
double averagePhi() const
This method returns the average phi value (i.e.
double halfPhiSector() const
This method returns the half-phi width of the sector (so that averagePhi +/- halfPhiSector gives the ...
double minZ() const
This method returns the minimum z value in the local framee.
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.
ConeBounds & operator=(const ConeBounds &cylbo)=default
Assignment operator.
bool operator==(const ConeBounds &bo) const
double minPhi() const
Helpers for inside() functions.
ConeBounds(const ConeBounds &cylbo)=default
Copy Constructor.
virtual void initCache() override final
Helper function for angle parameter initialization.
ConeBounds & operator=(ConeBounds &&sbo)=default
Move assignment.
virtual BoundsType type() const override
Return the bounds type.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
virtual bool inside(const Amg::Vector2D &locpo, const BoundaryCheck &bchk=true) const override final
virtual bool insideLoc2(const Amg::Vector2D &locpo, double tol2=0.) const override final
This method checks inside bounds in loc1.
virtual double r() const override
This method returns the maximal radius - for an unbound cone it returns MAXBOUNDVALUE.
double tanAlpha() const
This method returns the average phi.
ConeBounds()
Default Constructor.
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
virtual ConeBounds * clone() const override
Virtual constructor.
Eigen::Matrix< double, 3, 1 > Vector3D
ConeBounds(ConeBounds &&annbo)=default
Move constructor.
const double MAXBOUNDVALUE
double maxZ() const
This method returns the maximum z value in the local framee.