19 #include "GaudiKernel/MsgStream.h"
20 #include "GaudiKernel/SystemOfUnits.h"
43 , m_minHalfX(minhalex)
44 , m_maxHalfX(maxhalex)
62 , m_minHalfX(minhalex)
77 , m_minHalfX(trabo.m_minHalfX)
78 , m_maxHalfX(trabo.m_maxHalfX)
79 , m_halfY(trabo.m_halfY)
80 , m_halfZ(trabo.m_halfZ)
81 , m_alpha(trabo.m_alpha)
82 , m_beta(trabo.m_beta)
83 , m_objectAccessor(trabo.m_objectAccessor)
103 const std::vector<const Trk::Surface*>*
107 std::vector<const Trk::Surface*>* retsf =
108 new std::vector<const Trk::Surface*>;
123 this->faceXYTrapezoidBounds()));
129 this->faceXYTrapezoidBounds()));
156 double s=
sin(-alpha());
157 double c=
cos(-alpha());
158 rotateToFaceAlpha <<
c, 0.f,
s,
165 -0.5 * (this->minHalflengthX() + this->maxHalflengthX()), 0., 0.);
176 rotateToFaceBeta <<
c, 0.f,
s,
185 0.5 * (this->minHalflengthX() + this->maxHalflengthX()), 0., 0.);
197 this->faceZXRectangleBoundsBottom()));
205 this->faceZXRectangleBoundsTop()));
248 if (std::abs(
pos.z()) > m_halfZ + tol)
250 if (std::abs(
pos.y()) > m_halfY + tol)
263 std::stringstream temp_sl;
264 temp_sl << std::setiosflags(std::ios::fixed);
265 temp_sl << std::setprecision(7);
267 <<
"Trk::TrapezoidVolumeBounds: (minhalfX, halfY, halfZ, alpha, beta) = ";
268 temp_sl <<
"(" << m_minHalfX <<
", " << m_halfY <<
", " << m_halfZ;
269 temp_sl <<
", " << m_alpha <<
", " << m_beta <<
")";
277 std::stringstream temp_sl;
278 temp_sl << std::setiosflags(std::ios::fixed);
279 temp_sl << std::setprecision(7);
281 <<
"Trk::TrapezoidVolumeBounds: (minhalfX, halfY, halfZ, alpha, beta) = ";
282 temp_sl <<
"(" << m_minHalfX <<
", " << m_halfY <<
", " << m_halfZ;
283 temp_sl <<
", " << m_alpha <<
", " << m_beta <<
")";