![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Io/Json/include/ActsExamples/Io/Json/JsonMaterialWriter.hpp>
Inheritance diagram for ActsExamples::JsonMaterialWriter:
Collaboration diagram for ActsExamples::JsonMaterialWriter:Classes | |
| struct | Config |
Public Member Functions | |
| JsonMaterialWriter (const Config &config, Acts::Logging::Level level) | |
| ~JsonMaterialWriter () override | |
| Virtual destructor. | |
| void | writeMaterial (const Acts::DetectorMaterialMaps &detMaterial) override |
| void | write (const Acts::TrackingGeometry &tGeometry) |
| const Config & | config () const |
| Readonly access to the config. | |
Public Member Functions inherited from ActsExamples::IMaterialWriter | |
| virtual | ~IMaterialWriter ()=default |
| Virtual Destructor. | |
Private Member Functions | |
| const Acts::Logger & | logger () const |
Private Attributes | |
| std::unique_ptr< const Acts::Logger > | m_logger {nullptr} |
| The logger instance. | |
| Config | m_cfg |
| The config of the writer. | |
| std::unique_ptr < Acts::MaterialMapJsonConverter > | m_converter {nullptr} |
| The material converter. | |
Definition at line 59 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 59 of file JsonMaterialWriter.hpp
| ActsExamples::JsonMaterialWriter::JsonMaterialWriter | ( | const Config & | config, |
| Acts::Logging::Level | level | ||
| ) |
Constructor
| config | The configuration struct of the writer |
| level | The log level |
Definition at line 20 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 20 of file JsonMaterialWriter.cpp
References Acts::getDefaultLogger().
Here is the call graph for this function:
|
override |
Virtual destructor.
|
inline |
Readonly access to the config.
Definition at line 90 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 90 of file JsonMaterialWriter.hpp
References m_cfg().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 93 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 93 of file JsonMaterialWriter.hpp
References m_logger.
| void ActsExamples::JsonMaterialWriter::write | ( | const Acts::TrackingGeometry & | tGeometry | ) |
Write out the material map from Geometry
| tGeometry | is the TrackingGeometry |
Definition at line 50 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 50 of file JsonMaterialWriter.cpp
References ACTS_CHECK_BIT, m_cfg(), m_converter, and out.
Referenced by processGeometry().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Write out the material map
| detMaterial | is the SurfaceMaterial and VolumeMaterial maps |
Implements ActsExamples::IMaterialWriter.
Definition at line 30 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 30 of file JsonMaterialWriter.cpp
References ACTS_CHECK_BIT, ACTS_VERBOSE, m_cfg(), m_converter, and out.
Here is the call graph for this function:
|
private |
The config of the writer.
Definition at line 99 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 99 of file JsonMaterialWriter.hpp
|
private |
The material converter.
Definition at line 102 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 102 of file JsonMaterialWriter.hpp
|
private |
The logger instance.
Definition at line 96 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 96 of file JsonMaterialWriter.hpp