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;
61 Vector3D xPos(cos(rotation), sin(rotation), 0.);
62 Vector3D yPos(-sin(rotation), cos(rotation), 0.);
64 rotationPos.col(0) = xPos;
65 rotationPos.col(1) = yPos;
66 rotationPos.col(2) = zPos;
67 Transform3D t3d(Transform3D::Identity() * rotationPos);
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;