16 #include <boost/program_options.hpp>
22 auto opt = desc.add_options();
23 opt(
"ckf-selection-abseta-bins", value<VariableReals>()->default_value({{}}),
24 "bins in |eta| to specify variable selections");
25 opt(
"ckf-selection-chi2max", value<VariableReals>()->default_value({{15}}),
26 "Maximum chi2 for CKF measurement selection "
27 "(specify multiple values with --ckf-selection-abseta-bins)");
28 opt(
"ckf-selection-nmax", value<VariableIntegers>()->default_value({{10}}),
29 "Maximum number of measurement candidates on a "
30 "surface for CKF measurement selection "
31 "(specify multiple values with --ckf-selection-abseta-bins)");
32 opt(
"ckf-initial-variance-inflation",
34 "Inflation factor for the initial variances in the CKF search, must be "
35 "of form i:j:k:l:m:n.");
41 auto etaBins = variables[
"ckf-selection-abseta-bins"]
42 .template as<VariableReals>()
45 variables[
"ckf-selection-chi2max"].template as<VariableReals>().
values;
47 variables[
"ckf-selection-nmax"].template as<VariableIntegers>().
values;
51 cfg.measurementSelectorCfg = {
53 {etaBins, chi2Max, {nMax.begin(), nMax.end()}}},