18 #include <boost/program_options.hpp>
21 boost::program_options::options_description& opt)
const {
26 const boost::program_options::variables_map& vm,
27 std::shared_ptr<const Acts::IMaterialDecorator> mdecorator)
28 -> std::pair<TrackingGeometryPtr, ContextDecorators> {
32 auto buildLevel = vm[
"geo-generic-buildlevel"].template as<size_t>();
42 (vm[
"mat-input-type"].template as<std::string>() ==
"proto");
46 ActsExamples::Generic::buildDetector<DetectorElement>(
47 nominalContext, detectorStore, buildLevel, std::move(mdecorator),
48 buildProto, surfaceLogLevel, layerLogLevel, volumeLogLevel);
51 return std::make_pair<TrackingGeometryPtr, ContextDecorators>(
52 std::move(gGeometry), std::move(gContextDeocrators));