21 #include <boost/program_options.hpp>
24 using boost::program_options::bool_switch;
27 auto opt = desc.add_options();
28 opt(
"digi-config-file", value<std::string>()->default_value(
""),
29 "Configuration (.json) file for digitization description, overwrites "
30 "smearing options input on command line.");
31 opt(
"dump-digi-config", value<std::string>()->default_value(
""),
32 "Path to .json file in which to dump digitization configuration.");
33 opt(
"digi-merge", bool_switch(),
"Turn on hit merging");
34 opt(
"digi-merge-nsigma", value<double>()->default_value(1.0),
35 "Defines how close smeared parameters have to be when merging");
36 opt(
"digi-merge-common-corner", bool_switch(),
37 "Merge clusters which share a corner (8-cell connectivity)");