12 #include "GaudiKernel/MsgStream.h"
40 double halfphi,
double avphi)
91 double toZ = (fabs(toMinZ) < fabs(toMaxZ)) ? toMinZ : toMaxZ;
96 double zDist = sqrt(toZ * toZ * (1. + m_tanAlpha * m_tanAlpha));
110 double posR =
pos[
locZ] * m_tanAlpha;
122 if (phiDist <= 0. && zDist <= 0) {
123 if (phiDist > zDist){
139 return sqrt(zDist * zDist + phiDist * phiDist);
147 sl << std::setiosflags(std::ios::fixed);
148 sl << std::setprecision(7);
149 sl <<
"Trk::ConeBounds: (tanAlpha, minZ, maxZ, averagePhi, halfPhiSector) = ";
150 sl <<
"(" << this->tanAlpha() <<
", " << this->minZ() <<
", " << this->maxZ() <<
", " << this->averagePhi() <<
", "
151 << this->halfPhiSector() <<
")";
152 sl << std::setprecision(-1);
159 sl << std::setiosflags(std::ios::fixed);
160 sl << std::setprecision(7);
161 sl <<
"Trk::ConeBounds: (tanAlpha, minZ, maxZ, averagePhi, halfPhiSector) = ";
162 sl <<
"(" << this->tanAlpha() <<
", " << this->minZ() <<
", " << this->maxZ() <<
", " << this->averagePhi() <<
", "
163 << this->halfPhiSector() <<
")";
164 sl << std::setprecision(-1);