16 #include <boost/program_options.hpp>
18 namespace po = boost::program_options;
20 namespace ActsExamples {
30 template <
typename aopt_t>
32 opt.add_options()(
"mat-mapping-collection",
33 po::value<std::string>()->default_value(
"material-tracks"),
34 "Collection name of the material tracks for reading.")(
35 "mat-mapping-emptybins", po::value<bool>()->default_value(
true),
36 "Empty bin correction (recommended). Corrects for vaccuum/emtpy "
37 "assigments.")(
"mat-mapping-surfaces",
38 po::value<bool>()->default_value(
true),
39 "Map the material onto the selected surfaces")(
40 "mat-mapping-volumes", po::value<bool>()->default_value(
false),
41 "Map the material into the selected material volumes")(
42 "mat-mapping-volume-stepsize",
43 po::value<float>()->default_value(std::numeric_limits<float>::infinity()),
44 "Step size of the sampling of volume material for the mapping "
45 "(should be smaller than the size of the bins in depth)");