12 #include "GaudiKernel/MsgStream.h"
109 const double inv_r = 1. /
r;
110 double sn =
pos[1] * inv_r;
111 double cs =
pos[0] * inv_r;
131 double sr0 =
r - 1. / std::sqrt(
a *
a +
b *
b);
136 double sr1 = 1. / std::sqrt(
a *
a +
b *
b) -
r;
156 double sr0 =
r - 1. / std::sqrt(
a *
a +
b *
b);
158 return std::sqrt(sr0 * sr0 +
sf *
sf);
162 double sr1 = 1. / sqrt(
a *
a +
b *
b) -
r;
164 return std::sqrt(sr1 * sr1 +
sf *
sf);
174 sl << std::setiosflags(std::ios::fixed);
175 sl << std::setprecision(7);
176 sl <<
"Trk::EllipseBounds: (innerRadiusX, innerRadiusY, outerRadiusX, outerRadiusY, averagePhi, hPhiSector) = ";
177 sl <<
"(" << this->rMinX() <<
", " << this->rMinY() <<
", " << this->rMaxX() <<
", " << this->rMaxY() <<
", "
178 << this->averagePhi() <<
", " << this->halfPhiSector() <<
")";
179 sl << std::setprecision(-1);
186 sl << std::setiosflags(std::ios::fixed);
187 sl << std::setprecision(7);
188 sl <<
"Trk::EllipseBounds: (innerRadiusX, innerRadiusY, outerRadiusX, outerRadiusY, hPhiSector) = ";
189 sl <<
"(" << this->rMinX() <<
", " << this->rMinY() <<
", " << this->rMaxX() <<
", " << this->rMaxY() <<
", "
190 << this->averagePhi() <<
", " << this->halfPhiSector() <<
")";
191 sl << std::setprecision(-1);