#include <Acts/Definitions/Units.hpp>
#include <Acts/Geometry/GeometryContext.hpp>
#include <Acts/Geometry/TrackingGeometry.hpp>
#include <Acts/MagneticField/MagneticFieldContext.hpp>
#include <Acts/MagneticField/MagneticFieldProvider.hpp>
#include <Acts/Surfaces/Surface.hpp>
#include <Acts/Utilities/CalibrationContext.hpp>
#include <Acts/Visualization/ViewConfig.hpp>
#include <DD4hep/Detector.h>
#include <DD4hep/Fields.h>
#include <Evaluator/DD4hepUnits.h>
#include <Math/GenVector/Cartesian3D.h>
#include <Math/GenVector/DisplacementVector3D.h>
#include <spdlog/logger.h>
#include <array>
#include <cstdint>
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
Go to the source code of this file.
|
| void | draw_surfaces (std::shared_ptr< const Acts::TrackingGeometry > trk_geo, std::shared_ptr< spdlog::logger > init_log, const std::string &fname) |
| |
◆ draw_surfaces()
| void draw_surfaces |
( |
std::shared_ptr< const Acts::TrackingGeometry > |
trk_geo, |
|
|
std::shared_ptr< spdlog::logger > |
init_log, |
|
|
const std::string & |
fname |
|
) |
| |
Draw the surfaces and save to obj file. This is useful for debugging the ACTS geometry. The obj file can be loaded into various tools, such as FreeCAD, for inspection.