9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
27 namespace tt = boost::test_tools;
28 using namespace Acts::UnitLiterals;
52 ctransform.setIdentity();
53 ctransform.pretranslate(nposition);
54 ctransform.prerotate(
AngleAxis3D(angleX, Vector3D::UnitX()));
55 ctransform.prerotate(
AngleAxis3D(angleY, Vector3D::UnitY()));
67 const Vector3D& nnormal,
double angleT,
72 ? Vector3D::UnitZ().cross(T).normalized()
73 : Vector3D::UnitX().cross(T).normalized();
77 curvilinearRotation.col(0) = U;
78 curvilinearRotation.col(1) = V;
79 curvilinearRotation.col(2) =
T;
82 ctransform.pretranslate(nposition);
111 size_t ijc = eFreeSize + j * eFreeSize + i;
112 jMatrix(i, j) = P[ijc];
123 template <
typename Parameters>
142 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
143 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
155 auto cSurface = Surface::makeShared<CylinderSurface>(cTransform, 200., 1000.);
158 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
159 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
162 pars << 182.34, -82., 0.134, 0.85, 1. / (100_GeV), 0;
174 {10., -5., 0.},
Vector3D(0.23, 0.07, 1.).normalized(), 0.004, 0.03);
175 auto dSurface = Surface::makeShared<DiscSurface>(dTransform, 200., 1000.);
178 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
179 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
182 pars << 192.34, 1.823, 0.734, 0.235, 1. / (100_GeV), 0;
193 Vector3D sPosition(3421., 112., 893.);
197 auto pSurface = Surface::makeShared<PlaneSurface>(sPosition, sNormal);
200 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
201 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
204 pars << 12.34, -8722., 2.134, 0.85, 1. / (100_GeV), 0;
215 auto pSurface = Surface::makeShared<PerigeeSurface>(
Vector3D({0., 0., 0.}));
218 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
219 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
221 pars << -3.34, -822., -0.734, 0.85, 1. / (100_GeV), 0;
233 auto sSurface = Surface::makeShared<StrawSurface>(sTransform, 10., 1000.);
236 cov << 10_mm, 0, 0, 0, 0, 0, 0, 10_mm, 0, 0, 0, 0, 0, 0, 0.1, 0, 0, 0, 0, 0,
237 0, 0.1, 0, 0, 0, 0, 0, 0, 1. / (10_GeV), 0, 0, 0, 0, 0, 0, 0;
240 pars << -8.34, 812., 0.734, 0.25, 1. / (100_GeV), 0;