15 auto opt = desc.add_options();
16 opt(
"smear-sigma-D0",
value<
Reals<3>>()->default_value({{20, 30, 0.3}}),
17 "Smear the initial Pt-dependent d0 in perigee frame with a_0[um] + "
18 "a_1[um]*exp(-1.*abs(a_2[1/GeV])*pt)");
19 opt(
"smear-sigma-Z0",
value<
Reals<3>>()->default_value({{20, 30, 0.3}}),
20 "Smear the initial Pt-dependent z0 in perigee frame with a_0[um] + "
21 "a_1[um]*exp(-1.*abs(a_2[1/GeV])*pt)");
22 opt(
"smear-sigma-T0", value<double>()->default_value(1),
23 "Smear the initial time in ns");
24 opt(
"smear-sigma-momentum",
value<
Reals<3>>()->default_value({{1, 1, 0.05}}),
25 "Smear the initial phi (degree), theta (degree) and momentum (relative)");
26 opt(
"smear-initial-variance-inflation",
28 "Inflate the initial covariance matrix");
34 using namespace ActsExamples;
35 using namespace Acts::UnitConstants;
40 auto sigmaD0Opts = vars[
"smear-sigma-D0"].template as<Reals<3>>();
41 auto sigmaZ0Opts = vars[
"smear-sigma-Z0"].template as<Reals<3>>();
42 auto sigmaMomOpts = vars[
"smear-sigma-momentum"].template as<Reals<3>>();
52 cfg.sigmaPRel = sigmaMomOpts[2];
54 vars[
"smear-initial-variance-inflation"].template as<Reals<6>>();
55 cfg.initialVarInflation = {varInflation[0], varInflation[1], varInflation[2],
56 varInflation[3], varInflation[4], varInflation[5]};