9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/unit_test.hpp>
20 namespace tt = boost::test_tools;
25 using namespace Acts::UnitLiterals;
38 std::shared_ptr<const RectangleBounds> recBounds(
42 std::vector<float> boundariesX, boundariesY;
43 boundariesX.push_back(-35_um);
44 boundariesX.push_back(35_um);
45 boundariesY.push_back(-25_mm);
46 boundariesY.push_back(25_mm);
49 std::shared_ptr<BinUtility> buX(
new BinUtility(binDataX));
51 std::shared_ptr<BinUtility> buY(
new BinUtility(binDataY));
54 std::shared_ptr<const Segmentation> segmentation(
59 double rotation = 0.026_rad;
64 rotationPos.col(0) = xPos;
65 rotationPos.col(1) = yPos;
66 rotationPos.col(2) = zPos;
67 Transform3D t3d(Transform3D::Identity() * rotationPos);
68 t3d.translation() =
Vector3D(0., 0., 10_m);
73 auto pSur = Surface::makeShared<PlaneSurface>(recBounds, detElem);
75 cov << 0., 0., 0., 0., 0., 0., 0., 0., 0.;
82 std::cout <<
"Hit created" << std::endl;
84 std::vector<SpacePoint<PlanarModuleCluster>>
data;
87 std::cout <<
"Hit added to storage" << std::endl;
90 BOOST_CHECK_NE(data[0].
vector, Vector3D::Zero());
92 std::cout <<
"Space point calculated" << std::endl;