9 #include <boost/test/unit_test.hpp>
29 using namespace Acts::Experimental;
37 std::vector<std::shared_ptr<Acts::Surface>> strawSurfaces = {};
41 std::size_t nSurfacesY = 3;
42 std::size_t nSurfacesX = 15;
48 Vector3 ipos = {-0.5 * nSurfacesX * 2 * radius + radius,
49 -0.5 * nSurfacesY * 2 * radius + radius, 0.};
55 for (std::size_t
i = 0;
i < nSurfacesY;
i++) {
56 for (std::size_t
j = 0;
j < nSurfacesX;
j++) {
57 auto surface = Surface::makeShared<StrawSurface>(
59 strawSurfaces.push_back(
surface);
60 pos.x() = ipos.x() + 2 *
j * radius;
61 pos.y() = ipos.y() + 2 *
i * radius;
65 std::vector<ActsScalar> vBounds = {0.5 * nSurfacesX * 2 * radius,
66 0.5 * nSurfacesY * 2 * radius, halfZ};
69 mlCfg.
name =
"Multi_Layer_With_Wires";
74 -vBounds[0], vBounds[0], nSurfacesX, 1
u),
76 -vBounds[1], vBounds[1], nSurfacesY, 0
u)};
82 BOOST_CHECK(
volumes.front()->surfaces().size() == nSurfacesX * nSurfacesY);
83 BOOST_CHECK(
volumes.front()->volumes().empty());
84 BOOST_CHECK(
volumes.front()->surfaceCandidatesUpdator().connected());
87 BOOST_AUTO_TEST_SUITE_END()