19 std::unique_ptr<const Logger>
logger)
32 throw std::invalid_argument(
"Invalid configuration: no volume builders");
38 std::unique_ptr<const Logger> newLogger) {
42 std::unique_ptr<const Acts::TrackingGeometry>
47 for (
auto& volumeBuilder :
m_cfg.trackingVolumeBuilders) {
50 auto volume = volumeBuilder(gctx, highestVolume,
nullptr);
53 "Received nullptr volume from builder, keeping previous highest "
62 return std::make_unique<TrackingGeometry>(
64 m_cfg.materialDecorator ?
m_cfg.materialDecorator.get() :
nullptr,
67 throw std::runtime_error(
68 "Unable to construct tracking geometry: no tracking volume");