![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Io/Svg/include/ActsExamples/Io/Svg/SvgTrackingGeometryWriter.hpp>
Collaboration diagram for ActsExamples::SvgTrackingGeometryWriter:Classes | |
| class | Config |
Public Member Functions | |
| SvgTrackingGeometryWriter (const Config &config, Acts::Logging::Level level) | |
| std::string | name () const |
| ActsExamples::ProcessCode | write (const AlgorithmContext &context, const Acts::TrackingGeometry &tGeometry) |
Private Member Functions | |
| const Acts::Logger & | logger () const |
| Private access to the logging instance. | |
Private Attributes | |
| std::unique_ptr< const Acts::Logger > | m_logger |
| the logger instance | |
| Config | m_cfg |
| the config class | |
| std::mutex | m_writeMutex |
| Mutex used to protect multi-threaded writes. | |
An Svg writer for the geometry: TrackingGeometry master It delegates the writing to the converter from the Svg plugin
Definition at line 32 of file SvgTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 32 of file SvgTrackingGeometryWriter.hpp
| ActsExamples::SvgTrackingGeometryWriter::SvgTrackingGeometryWriter | ( | const Config & | config, |
| Acts::Logging::Level | level | ||
| ) |
Constructor
| config | is the configuration class |
| level | the log level |
Definition at line 20 of file SvgTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 20 of file SvgTrackingGeometryWriter.cpp
|
inlineprivate |
Private access to the logging instance.
Definition at line 69 of file SvgTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 69 of file SvgTrackingGeometryWriter.hpp
References m_logger.
| std::string ActsExamples::SvgTrackingGeometryWriter::name | ( | ) | const |
Framework name() method
Definition at line 25 of file SvgTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 25 of file SvgTrackingGeometryWriter.cpp
| ActsExamples::ProcessCode ActsExamples::SvgTrackingGeometryWriter::write | ( | const AlgorithmContext & | context, |
| const Acts::TrackingGeometry & | tGeometry | ||
| ) |
The write interface
| context | the Algorithm/Event context of this call |
| tGeometry | is the geometry to be written out |
Definition at line 29 of file SvgTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 29 of file SvgTrackingGeometryWriter.cpp
References ACTS_DEBUG, Acts::Svg::TrackingGeometryConverter::convert(), ActsExamples::AlgorithmContext::geoContext, ActsExamples::joinPaths(), m_cfg(), SUCCESS, and Acts::Svg::toFile().
Here is the call graph for this function:
|
private |
the config class
Definition at line 64 of file SvgTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 64 of file SvgTrackingGeometryWriter.hpp
|
private |
the logger instance
Definition at line 62 of file SvgTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 62 of file SvgTrackingGeometryWriter.hpp
Referenced by logger().
|
private |
Mutex used to protect multi-threaded writes.
Definition at line 66 of file SvgTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 66 of file SvgTrackingGeometryWriter.hpp