#include <ActsMaterialJsonWriterTool.h>
|
Gaudi::Property< std::string > | m_filePath {this, "OutputFile", "material-maps.json", "Output json file for the Material Map"} |
|
Gaudi::Property< bool > | m_processSensitives {this, "processSensitives", true, "Write sensitive surface to the json file"} |
|
Gaudi::Property< bool > | m_processApproaches {this, "processApproaches", true, "Write approche surface to the json file"} |
|
Gaudi::Property< bool > | m_processRepresenting {this, "processRepresenting", true, "Write representing surface to the json file"} |
|
Gaudi::Property< bool > | m_processBoundaries {this, "processBoundaries", true, "Write boundary surface to the json file"} |
|
Gaudi::Property< bool > | m_processVolumes {this, "processVolumes", true, "Write volume to the json file"} |
|
Gaudi::Property< bool > | m_processDenseVolumes {this, "processDenseVolumes", false, "Write dense volume to the json file"} |
|
Gaudi::Property< bool > | m_processNonMaterial {this, "processNonMaterial", false, "Add proto material to all surfaces and volumes"} |
|
◆ ActsMaterialJsonWriterTool()
ActsMaterialJsonWriterTool::ActsMaterialJsonWriterTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~ActsMaterialJsonWriterTool()
ActsMaterialJsonWriterTool::~ActsMaterialJsonWriterTool |
( |
| ) |
|
◆ initialize()
StatusCode ActsMaterialJsonWriterTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ write() [1/2]
void ActsMaterialJsonWriterTool::write |
( |
const ActsGeometryContext & |
gctx, |
|
|
const Acts::MaterialMapJsonConverter::DetectorMaterialMaps & |
detMaterial |
|
) |
| const |
|
overridevirtual |
Definition at line 34 of file ActsMaterialJsonWriterTool.cxx.
37 Acts::MaterialMapJsonConverter::Config
cfg;
49 auto jout = jmConverter.materialMapsToJson(detMaterial);
52 ofj << std::setw(4) << jout << std::endl;
◆ write() [2/2]
Definition at line 56 of file ActsMaterialJsonWriterTool.cxx.
59 Acts::MaterialMapJsonConverter::Config
cfg;
71 auto jout = jmConverter.trackingGeometryToJson(tGeometry);
74 ofj << std::setw(4) << jout << std::endl;
◆ m_filePath
Gaudi::Property<std::string> ActsMaterialJsonWriterTool::m_filePath {this, "OutputFile", "material-maps.json", "Output json file for the Material Map"} |
|
private |
◆ m_processApproaches
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processApproaches {this, "processApproaches", true, "Write approche surface to the json file"} |
|
private |
◆ m_processBoundaries
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processBoundaries {this, "processBoundaries", true, "Write boundary surface to the json file"} |
|
private |
◆ m_processDenseVolumes
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processDenseVolumes {this, "processDenseVolumes", false, "Write dense volume to the json file"} |
|
private |
◆ m_processNonMaterial
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processNonMaterial {this, "processNonMaterial", false, "Add proto material to all surfaces and volumes"} |
|
private |
◆ m_processRepresenting
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processRepresenting {this, "processRepresenting", true, "Write representing surface to the json file"} |
|
private |
◆ m_processSensitives
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processSensitives {this, "processSensitives", true, "Write sensitive surface to the json file"} |
|
private |
◆ m_processVolumes
Gaudi::Property<bool> ActsMaterialJsonWriterTool::m_processVolumes {this, "processVolumes", true, "Write volume to the json file"} |
|
private |
The documentation for this class was generated from the following files:
Acts::GeometryContext context() const