ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Material decorator from Json format. More...
#include <acts/blob/master/Plugins/Json/include/Acts/Plugins/Json/JsonMaterialDecorator.hpp>
Public Types | |
using | SurfaceMaterialMap = std::map< GeometryID, std::shared_ptr< const ISurfaceMaterial >> |
using | VolumeMaterialMap = std::map< GeometryID, std::shared_ptr< const IVolumeMaterial >> |
Public Member Functions | |
JsonMaterialDecorator (const JsonGeometryConverter::Config &rConfig, const std::string &jFileName, bool clearSurfaceMaterial=true, bool clearVolumeMaterial=true) | |
void | decorate (Surface &surface) const final |
void | decorate (TrackingVolume &volume) const final |
Public Member Functions inherited from Acts::IMaterialDecorator | |
virtual | ~IMaterialDecorator ()=default |
Virtual Destructor. | |
Private Attributes | |
JsonGeometryConverter::Config | m_readerConfig |
SurfaceMaterialMap | m_surfaceMaterialMap |
VolumeMaterialMap | m_volumeMaterialMap |
bool | m_clearSurfaceMaterial {true} |
bool | m_clearVolumeMaterial {true} |
Material decorator from Json format.
This reads in material maps for surfaces and volumes from a json file
Definition at line 30 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 30 of file JsonMaterialDecorator.hpp
using Acts::JsonMaterialDecorator::SurfaceMaterialMap = std::map<GeometryID, std::shared_ptr<const ISurfaceMaterial>> |
Definition at line 33 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 33 of file JsonMaterialDecorator.hpp
using Acts::JsonMaterialDecorator::VolumeMaterialMap = std::map<GeometryID, std::shared_ptr<const IVolumeMaterial>> |
Definition at line 36 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 36 of file JsonMaterialDecorator.hpp
|
inline |
Definition at line 38 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 38 of file JsonMaterialDecorator.hpp
References Acts::JsonGeometryConverter::jsonToMaterialMaps(), m_surfaceMaterialMap, m_volumeMaterialMap, and Acts::Logging::VERBOSE.
Decorate a surface
surface | the non-cost surface that is decorated |
Implements Acts::IMaterialDecorator.
Definition at line 62 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 62 of file JsonMaterialDecorator.hpp
References m_clearSurfaceMaterial, m_surfaceMaterialMap, and surface().
|
inlinefinalvirtual |
Decorate a TrackingVolume
volume | the non-cost volume that is decorated |
Implements Acts::IMaterialDecorator.
Definition at line 77 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 77 of file JsonMaterialDecorator.hpp
References m_clearVolumeMaterial, m_volumeMaterialMap, and Acts::Test::volume.
|
private |
Definition at line 94 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 94 of file JsonMaterialDecorator.hpp
Referenced by decorate().
|
private |
Definition at line 95 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 95 of file JsonMaterialDecorator.hpp
Referenced by decorate().
|
private |
Definition at line 90 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 90 of file JsonMaterialDecorator.hpp
|
private |
Definition at line 91 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 91 of file JsonMaterialDecorator.hpp
Referenced by decorate(), and JsonMaterialDecorator().
|
private |
Definition at line 92 of file JsonMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 92 of file JsonMaterialDecorator.hpp
Referenced by decorate(), and JsonMaterialDecorator().