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()));
134 this->minHalflengthX(), this->halflengthY(), trapezoidCenter.z());
141 faceAlphaRotation.col(0) = alphaZRotation.col(1);
142 faceAlphaRotation.col(1) = -alphaZRotation.col(2);
143 faceAlphaRotation.col(2) = -alphaZRotation.col(0);
148 -0.5 * (this->minHalflengthX() + this->maxHalflengthX()), 0., 0.);
152 (trapezoidRotation * faceAlphaRotation) *
157 this->minHalflengthX(), -this->halflengthY(), trapezoidCenter.z());
164 faceBetaRotation.col(0) = betaZRotation.col(1);
165 faceBetaRotation.col(1) = betaZRotation.col(2);
166 faceBetaRotation.col(2) = betaZRotation.col(0);
171 0.5 * (this->minHalflengthX() + this->maxHalflengthX()), 0., 0.);
175 trapezoidRotation * faceBetaRotation *
187 this->faceZXRectangleBoundsBottom()));
195 this->faceZXRectangleBoundsTop()));
238 if (std::abs(
pos.z()) > m_halfZ + tol)
240 if (std::abs(
pos.y()) > m_halfY + tol)
253 std::stringstream temp_sl;
254 temp_sl << std::setiosflags(std::ios::fixed);
255 temp_sl << std::setprecision(7);
257 <<
"Trk::TrapezoidVolumeBounds: (minhalfX, halfY, halfZ, alpha, beta) = ";
258 temp_sl <<
"(" << m_minHalfX <<
", " << m_halfY <<
", " << m_halfZ;
259 temp_sl <<
", " << m_alpha <<
", " << m_beta <<
")";
267 std::stringstream temp_sl;
268 temp_sl << std::setiosflags(std::ios::fixed);
269 temp_sl << std::setprecision(7);
271 <<
"Trk::TrapezoidVolumeBounds: (minhalfX, halfY, halfZ, alpha, beta) = ";
272 temp_sl <<
"(" << m_minHalfX <<
", " << m_halfY <<
", " << m_halfZ;
273 temp_sl <<
", " << m_alpha <<
", " << m_beta <<
")";