|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "Acts/Geometry/GeometryContext.hpp"
14 #include "Acts/Surfaces/Surface.hpp"
15 #include "Acts/Utilities/Logger.hpp"
33 std::shared_ptr<const Acts::Logger>
logger;
58 Config(
const std::string& lname =
"ObjSurfaceWriter",
77 write(
const Acts::GeometryContext &gctx,
const Acts::Surface &surface);
82 write(
const std::string& sinfo);
double outputScalor
output scalor
std::string filePrefix
file prefix to be written out
std::shared_ptr< const Acts::Logger > logger
the default logger
const Acts::Logger & logger() const
Private access to the logging instance.
std::string name() const
Framework name() method.
bool outputLayerSurface
write the layer surface out
unsigned int outputPrecision
precision for out
double outputThickness
write thickness if available
ObjSurfaceWriter(const Config &cfg)
Constructor.
void write(const Acts::GeometryContext &gctx, const Acts::Surface &surface)
The write interface.
ObjHelper::VtnCounter m_vtnCounter
vertex, texture, normal
std::string cylinderPrefix
unsigned int outputPhiSegments
approximate cyinders by that
bool outputSensitive
write sensitive surfaces
Config(const std::string &lname="ObjSurfaceWriter", Acts::Logging::Level lvl=Acts::Logging::INFO)
std::shared_ptr< std::ofstream > outputStream
the output stream
Config m_cfg
the config class
This is the counter struct for keeping track of the vertices.
std::string name
the name of the algorithm
std::mutex m_write_mutex
mutex to protect multi-threaded writes
std::string planarPrefix
prefixes