9 #include <boost/test/unit_test.hpp>
32 using namespace Acts::Experimental;
33 using namespace Acts::detail;
37 BOOST_AUTO_TEST_SUITE(Experimental)
40 using GlobalBin = size_t;
41 using LocalBin = std::array<size_t, 2u>;
43 std::vector<std::shared_ptr<Acts::Surface>> strawSurfaces = {};
47 std::size_t nSurfacesY = 4;
48 std::size_t nSurfacesX = 15;
54 Vector3 ipos = {-0.5 * nSurfacesX * 2 * radius + radius,
55 -0.5 * nSurfacesY * 2 * radius + radius, 0.};
60 for (std::size_t
i = 0;
i < nSurfacesY;
i++) {
61 for (std::size_t
j = 0;
j < nSurfacesX;
j++) {
62 pos.x() = ipos.x() + 2 *
j * radius;
64 auto surface = Surface::makeShared<StrawSurface>(
67 strawSurfaces.push_back(
surface);
70 pos.y() = ipos.y() + 2 * (
i + 1) * radius;
73 std::vector<ActsScalar> vBounds = {0.5 * nSurfacesX * 2 * radius,
74 0.5 * nSurfacesY * 2 * radius, halfZ};
77 mlCfg.
name =
"Multi_Layer_With_Wires";
82 -vBounds[0], vBounds[0], nSurfacesX, 1
u),
84 -vBounds[1], vBounds[1], nSurfacesY, 0
u)};
101 BOOST_AUTO_TEST_SUITE_END()