9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
25 using namespace Acts::UnitLiterals;
32 HelicalTrackLinearizer<Propagator<EigenStepper<ConstantBField>>>;
43 std::uniform_real_distribution<>
d0Dist(-0.01
_mm, 0.01
_mm);
45 std::uniform_real_distribution<>
z0Dist(-0.2
_mm, 0.2
_mm);
53 std::uniform_real_distribution<>
qDist(-1, 1);
57 std::uniform_real_distribution<>
resAngDist(0., 0.1);
59 std::uniform_real_distribution<>
resQoPDist(-0.1, 0.1);
66 unsigned int nTracks = 100;
70 std::mt19937 gen(mySeed);
80 std::make_shared<Propagator<EigenStepper<ConstantBField>>>(
stepper);
83 std::shared_ptr<PerigeeSurface> perigeeSurface =
84 Surface::makeShared<PerigeeSurface>(
Vector3D(0., 0., 0.));
92 double d0v = sqrt(x * x + y * y);
96 std::vector<BoundParameters> tracks;
100 for (
unsigned int iTrack = 0; iTrack < nTracks; iTrack++) {
102 double q =
qDist(gen) < 0 ? -1. : 1.;
119 covMat << resD0 * resD0, 0., 0., 0., 0., 0., 0., resZ0 * resZ0, 0., 0., 0.,
120 0., 0., 0., resPh * resPh, 0., 0., 0., 0., 0., 0., resTh * resTh, 0.,
121 0., 0., 0., 0., 0., resQp * resQp, 0., 0., 0., 0., 0., 0., 1.;
156 using LinearizerStraightLine =
159 unsigned int nTracks = 100;
163 std::mt19937 gen(mySeed);
169 auto propagator = std::make_shared<Propagator<StraightLineStepper>>(
stepper);
172 std::shared_ptr<PerigeeSurface> perigeeSurface =
173 Surface::makeShared<PerigeeSurface>(
Vector3D(0., 0., 0.));
181 double d0v = sqrt(x * x + y * y);
185 std::vector<BoundParameters> tracks;
189 for (
unsigned int iTrack = 0; iTrack < nTracks; iTrack++) {
191 double q =
qDist(gen) < 0 ? -1. : 1.;
208 covMat << resD0 * resD0, 0., 0., 0., 0., 0., 0., resZ0 * resZ0, 0., 0., 0.,
209 0., 0., 0., resPh * resPh, 0., 0., 0., 0., 0., 0., resTh * resTh, 0.,
210 0., 0., 0., 0., 0., resQp * resQp, 0., 0., 0., 0., 0., 0., 1.;
218 LinearizerStraightLine linFactory(ltConfig);