12 #include "GaudiKernel/MsgStream.h"
33 , m_boundValues(recbo.m_boundValues)
64 double max_ell = bchk.lCovariance(0, 0) > bchk.lCovariance(1, 1)
65 ? bchk.lCovariance(0, 0)
66 : bchk.lCovariance(1, 1);
71 double min_ell = bchk.lCovariance(0, 0) < bchk.lCovariance(1, 1)
72 ? bchk.lCovariance(0, 0)
73 : bchk.lCovariance(1, 1);
79 std::vector<KDOP> elementKDOP(4);
80 std::vector<Amg::Vector2D> elementP(4);
82 (bchk.lCovariance(1, 0) != 0 &&
83 (bchk.lCovariance(1, 1) - bchk.lCovariance(0, 0)) != 0)
84 ? .5 * bchk.
FastArcTan(2 * bchk.lCovariance(1, 0) /
85 (bchk.lCovariance(1, 1) - bchk.lCovariance(0, 0)))
95 elementP[0] = (rotMatrix * (
p - locpo));
98 elementP[1] = (rotMatrix * (
p - locpo));
101 elementP[2] = (rotMatrix * (
p - locpo));
104 elementP[3] = (rotMatrix * (
p - locpo));
105 std::vector<Amg::Vector2D>
axis = { elementP[0] - elementP[1],
106 elementP[0] - elementP[2],
107 elementP[0] - elementP[3],
108 elementP[1] - elementP[2] };
111 std::vector<KDOP> errelipseKDOP(4);
123 if (
dx <= 0. ||
dy <= 0.) {
136 sl << std::setiosflags(std::ios::fixed);
137 sl << std::setprecision(7);
138 sl <<
"Trk::RectangleBounds: (halflenghtX, halflengthY) = "
140 sl << std::setprecision(-1);
147 sl << std::setiosflags(std::ios::fixed);
148 sl << std::setprecision(7);
149 sl <<
"Trk::RectangleBounds: (halflenghtX, halflengthY) = "
151 sl << std::setprecision(-1);