19 namespace Acts::Test {
35 template <
typename rng_t>
47 chi2(std::chi_squared_distribution<
double>(measdim)(rng)),
49 1 * Acts::UnitConstants::
mm, 10 * Acts::UnitConstants::
mm)(rng)) {
52 std::uniform_int_distribution<GeometryIdentifier::Value>()(rng);
53 surface->assignGeometryId(geoId);
57 auto [par,
cov] = generateParametersCovariance<ActsScalar, 1u>(
rng);
59 }
else if (measdim == 2
u) {
60 auto [par,
cov] = generateParametersCovariance<ActsScalar, 2u>(
rng);
63 throw std::runtime_error(
"invalid number of measurement dimensions");
87 std::uniform_real_distribution<ActsScalar>(-0.125, 0.125)(
rng);
99 template <
typename trajectory_t,
typename track_state_t>
131 assert(ts.hasUncalibratedSourceLink());