ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Io/Csv/include/ACTFW/Io/Csv/CsvTrackingGeometryWriter.hpp>
Classes | |
struct | Config |
Public Member Functions | |
CsvTrackingGeometryWriter (const Config &cfg, Acts::Logging::Level lvl) | |
std::string | name () const finaloverride |
The writer name. | |
ProcessCode | write (const AlgorithmContext &context) finaloverride |
Write geometry using the per-event context (optional). | |
ProcessCode | endRun () finaloverride |
Write geometry using the default context. | |
Public Member Functions inherited from FW::IWriter | |
virtual | ~IWriter ()=default |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
const Acts::TrackingVolume * | m_world |
std::unique_ptr< const Acts::Logger > | m_logger |
Write out the geometry for all sensitive detector surfaces.
This writes a detectors.csv
file at the end of the run using the default context to determine the geometry. If configured, it also writes an additional file for each event using the following schema
event000000001-detectors.csv event000000002-detectors.csv ...
that uses the per-event context to determine the geometry.
Definition at line 34 of file CsvTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 34 of file CsvTrackingGeometryWriter.hpp
CsvTrackingGeometryWriter::CsvTrackingGeometryWriter | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Construct the geometry writer.
cfg | is the configuration object |
lvl | is the logging level |
Definition at line 27 of file CsvTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 27 of file CsvTrackingGeometryWriter.cpp
References m_cfg, m_world, and FW::CsvTrackingGeometryWriter::Config::trackingGeometry.
|
finaloverridevirtual |
Write geometry using the default context.
Implements FW::IWriter.
Definition at line 163 of file CsvTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 163 of file CsvTrackingGeometryWriter.cpp
References FW::joinPaths(), m_cfg, m_world, FW::CsvTrackingGeometryWriter::Config::outputDir, FW::CsvTrackingGeometryWriter::Config::outputPrecision, and SUCCESS.
|
inlineprivate |
Definition at line 66 of file CsvTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 66 of file CsvTrackingGeometryWriter.hpp
References m_logger.
|
finaloverridevirtual |
The writer name.
Implements FW::IWriter.
Definition at line 43 of file CsvTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 43 of file CsvTrackingGeometryWriter.cpp
|
finaloverridevirtual |
Write geometry using the per-event context (optional).
Implements FW::IWriter.
Definition at line 152 of file CsvTrackingGeometryWriter.cpp.
View newest version in sPHENIX GitHub at line 152 of file CsvTrackingGeometryWriter.cpp
References FW::AlgorithmContext::eventNumber, FW::AlgorithmContext::geoContext, m_cfg, m_world, FW::CsvTrackingGeometryWriter::Config::outputDir, FW::CsvTrackingGeometryWriter::Config::outputPrecision, FW::perEventFilepath(), SUCCESS, and FW::CsvTrackingGeometryWriter::Config::writePerEvent.
|
private |
Definition at line 62 of file CsvTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 62 of file CsvTrackingGeometryWriter.hpp
Referenced by CsvTrackingGeometryWriter(), endRun(), and write().
|
private |
Definition at line 64 of file CsvTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 64 of file CsvTrackingGeometryWriter.hpp
Referenced by logger().
|
private |
Definition at line 63 of file CsvTrackingGeometryWriter.hpp.
View newest version in sPHENIX GitHub at line 63 of file CsvTrackingGeometryWriter.hpp
Referenced by CsvTrackingGeometryWriter(), endRun(), and write().