![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Io/Json/include/ACTFW/Plugins/Json/JsonMaterialWriter.hpp>
Collaboration diagram for FW::Json::JsonMaterialWriter:Public Member Functions | |
| JsonMaterialWriter (const Acts::JsonGeometryConverter::Config &cfg, const std::string &fileName) | |
| ~JsonMaterialWriter () | |
| Virtual destructor. | |
| void | write (const Acts::DetectorMaterialMaps &detMaterial) |
| void | write (const Acts::TrackingGeometry &tGeometry) |
Private Member Functions | |
| const Acts::Logger & | logger () const |
| Private access to the logging instance. | |
Private Attributes | |
| Acts::JsonGeometryConverter::Config | m_cfg |
| The config class of the converter. | |
| std::string | m_fileName |
| The file name. | |
Definition at line 46 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 46 of file JsonMaterialWriter.hpp
| FW::Json::JsonMaterialWriter::JsonMaterialWriter | ( | const Acts::JsonGeometryConverter::Config & | cfg, |
| const std::string & | fileName | ||
| ) |
Constructor
| cfg | The configuration struct of the converter |
Definition at line 19 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 19 of file JsonMaterialWriter.cpp
References m_cfg, and Acts::JsonGeometryConverter::Config::name.
| FW::Json::JsonMaterialWriter::~JsonMaterialWriter | ( | ) |
Virtual destructor.
Definition at line 28 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 28 of file JsonMaterialWriter.cpp
|
inlineprivate |
Private access to the logging instance.
Definition at line 75 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 75 of file JsonMaterialWriter.hpp
References Acts::JsonGeometryConverter::Config::logger, and m_cfg.
| void FW::Json::JsonMaterialWriter::write | ( | const Acts::DetectorMaterialMaps & | detMaterial | ) |
Write out the material map
| detMaterial | is the SurfaceMaterial and VolumeMaterial maps |
Definition at line 30 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 30 of file JsonMaterialWriter.cpp
References Acts::JsonGeometryConverter::materialMapsToJson().
Here is the call graph for this function:| void FW::Json::JsonMaterialWriter::write | ( | const Acts::TrackingGeometry & | tGeometry | ) |
Write out the material map from Geometry
| tGeometry | is the TrackingGeometry |
Definition at line 40 of file JsonMaterialWriter.cpp.
View newest version in sPHENIX GitHub at line 40 of file JsonMaterialWriter.cpp
References Acts::JsonGeometryConverter::trackingGeometryToJson().
Here is the call graph for this function:
|
private |
The config class of the converter.
Definition at line 69 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 69 of file JsonMaterialWriter.hpp
Referenced by JsonMaterialWriter(), and logger().
|
private |
The file name.
Definition at line 72 of file JsonMaterialWriter.hpp.
View newest version in sPHENIX GitHub at line 72 of file JsonMaterialWriter.hpp