16 #include "GaudiKernel/MsgStream.h"
17 #include "GaudiKernel/SystemOfUnits.h"
43 , m_halfX(bobo.m_halfX)
44 , m_halfY(bobo.m_halfY)
45 , m_halfZ(bobo.m_halfZ)
46 , m_objectAccessor(bobo.m_objectAccessor)
63 std::vector<std::unique_ptr<Trk::Surface>>
68 auto retsf = std::vector<std::unique_ptr<Trk::Surface>>() ;
73 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
78 this->faceXYRectangleBounds()));
80 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
84 this->faceXYRectangleBounds()));
88 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
95 this->faceYZRectangleBounds()));
97 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
103 this->faceYZRectangleBounds()));
106 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
113 this->faceZXRectangleBounds()));
115 retsf.push_back(std::make_unique<Trk::PlaneSurface>(
121 this->faceZXRectangleBounds()));
126 std::shared_ptr<Trk::RectangleBounds>
129 return std::make_shared<Trk::RectangleBounds>(m_halfX, m_halfY);
132 std::shared_ptr<Trk::RectangleBounds>
135 return std::make_shared<Trk::RectangleBounds>(m_halfY, m_halfZ);
138 std::shared_ptr<Trk::RectangleBounds>
141 return std::make_shared<Trk::RectangleBounds>(m_halfZ, m_halfX);
150 std::stringstream temp_sl;
151 temp_sl << std::setiosflags(std::ios::fixed);
152 temp_sl << std::setprecision(7);
153 temp_sl <<
"Trk::CuboidVolumeBounds: (halfX, halfY, halfZ) = ";
154 temp_sl <<
"(" << m_halfX <<
", " << m_halfY <<
", " << m_halfZ <<
")";
162 std::stringstream temp_sl;
163 temp_sl << std::setiosflags(std::ios::fixed);
164 temp_sl << std::setprecision(7);
165 temp_sl <<
"Trk::CuboidVolumeBounds: (halfX, halfY, halfZ) = ";
166 temp_sl <<
"(" << m_halfX <<
", " << m_halfY <<
", " << m_halfZ <<
")";