12#include "GaudiKernel/MsgStream.h"
64 const double pi2 = 2. *
M_PI;
76 if (sF <= 0. || sZ <= 0.) {
83 return sqrt(sF * sF + sZ * sZ);
90 sl << std::setiosflags(std::ios::fixed);
91 sl << std::setprecision(7);
92 sl <<
"Trk::CylinderBounds: (radius, averagePhi, halfPhiSector, halflengthInZ) = ";
93 sl <<
"(" << this->
r() <<
", " << this->
averagePhi() <<
", ";
95 sl << std::setprecision(-1);
102 sl << std::setiosflags(std::ios::fixed);
103 sl << std::setprecision(7);
104 sl <<
"Trk::CylinderBounds: (radius, averagePhi, halfPhiSector, halflengthInZ) = ";
105 sl <<
"(" << this->
r() <<
", " << this->
averagePhi() <<
", ";
107 sl << std::setprecision(-1);
Bounds for a cylindrical Surface.
virtual double minDistance(const Amg::Vector2D &pos) const override final
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
virtual MsgStream & dump(MsgStream &sl) const override
Output Method for MsgStream.
double halfPhiSector() const
This method returns the halfPhiSector angle.
std::vector< TDD_real_t > m_boundValues
internal storage of the geometry parameters
CylinderBounds()
Default Constructor.
virtual bool operator==(const SurfaceBounds &sbo) const override
Equality operator.
double averagePhi() const
This method returns the average phi.
double halflengthZ() const
This method returns the halflengthZ.
SurfaceBounds()=default
Default Constructor.
Eigen::Matrix< double, 2, 1 > Vector2D