27 using namespace ActsExamples;
37 throw std::invalid_argument(
"Missing tracking geometry");
41 throw std::invalid_argument(
"Could not identify the world volume");
46 return "CsvTrackingGeometryWriter";
63 auto center = surface.
center(geoCtx);
81 const auto* detElement =
90 const auto& bounds = surface.
bounds();
95 if (boundValues.size() == 2) {
99 }
else if (boundValues.size() == 3) {
105 const auto* detElement =
108 if (detElement and detElement->digitizationModule()) {
113 &(dModule->segmentation()));
136 if (
layer->surfaceArray()) {
137 for (
auto surface :
layer->surfaceArray()->surfaces()) {
139 writeSurface(writer, *surface, geoCtx);
148 writeVolume(writer, *confined.get(),
geoCtx);
158 SurfaceWriter writer(