16 #include <boost/program_options.hpp>
18 namespace po = boost::program_options;
20 namespace ActsExamples {
30 template <
typename aopt_t>
33 "mat-mapping-emptybins", po::value<bool>()->default_value(
true),
34 "Empty bin correction (recommended). Corrects for vacuum/empty "
35 "assignments.")(
"mat-mapping-surfaces",
36 po::value<bool>()->default_value(
true),
37 "Map the material onto the selected surfaces")(
38 "mat-mapping-volumes", po::value<bool>()->default_value(
false),
39 "Map the material into the selected material volumes")(
40 "mat-mapping-volume-stepsize",
41 po::value<float>()->default_value(std::numeric_limits<float>::infinity()),
42 "Step size of the sampling of volume material for the mapping "
43 "(should be smaller than the size of the bins in depth)")(
44 "mat-mapping-read-surfaces",
45 po::value<bool>()->default_value(po::value<bool>()->default_value(
false)),
46 "Read the surface associated with each material hit, can be used to "
47 "speed up the mapping. "
48 "The mapping needs to have been performed at least once for the surface "
49 "information to be there.");