EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Read the collection of SurfaceMaterial & VolumeMaterial. More...
#include <acts/blob/sPHENIX/Examples/Io/Root/include/ActsExamples/Io/Root/RootMaterialDecorator.hpp>
Classes | |
class | Config |
Public Member Functions | |
RootMaterialDecorator (const Config &cfg) | |
~RootMaterialDecorator () | |
Destructor. | |
void | decorate (Acts::Surface &surface) const final |
void | decorate (Acts::TrackingVolume &volume) const final |
Public Member Functions inherited from Acts::IMaterialDecorator | |
virtual | ~IMaterialDecorator ()=default |
Virtual Destructor. | |
Private Member Functions | |
const Acts::Logger & | logger () const |
Private access to the logging instance. | |
Private Attributes | |
Config | m_cfg |
The config class. | |
TFile * | m_inputFile {nullptr} |
The input file. | |
Acts::SurfaceMaterialMap | m_surfaceMaterialMap |
Surface based material. | |
Acts::VolumeMaterialMap | m_volumeMaterialMap |
Volume based material. | |
bool | m_clearSurfaceMaterial {true} |
Read the collection of SurfaceMaterial & VolumeMaterial.
Definition at line 38 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 38 of file RootMaterialDecorator.hpp
ActsExamples::RootMaterialDecorator::RootMaterialDecorator | ( | const Config & | cfg | ) |
Constructor
cfg | configuration struct for the reader |
Definition at line 32 of file RootMaterialDecorator.cpp.
View newest version in sPHENIX GitHub at line 32 of file RootMaterialDecorator.cpp
References ACTS_VERBOSE, ActsExamples::RootMaterialDecorator::Config::apptag, ActsExamples::RootMaterialDecorator::Config::atag, ActsExamples::RootMaterialDecorator::Config::boutag, dz, ActsExamples::RootMaterialDecorator::Config::fileName, ActsExamples::RootMaterialDecorator::Config::folderNameBase, Acts::Material::fromMassDensity(), ActsExamples::RootMaterialDecorator::Config::l0tag, ActsExamples::RootMaterialDecorator::Config::laytag, ActsExamples::RootMaterialDecorator::Config::logger, m_cfg, m_inputFile, m_surfaceMaterialMap, material(), max, ActsExamples::RootMaterialDecorator::Config::maxtag, min, ActsExamples::RootMaterialDecorator::Config::mintag, n, ActsExamples::RootMaterialDecorator::Config::name, ActsExamples::RootMaterialDecorator::Config::ntag, ActsExamples::RootMaterialDecorator::Config::otag, ActsExamples::RootMaterialDecorator::Config::rhotag, rmax(), ActsExamples::RootMaterialDecorator::Config::sentag, Acts::GeometryIdentifier::setApproach(), Acts::GeometryIdentifier::setBoundary(), Acts::GeometryIdentifier::setLayer(), Acts::GeometryIdentifier::setSensitive(), Acts::GeometryIdentifier::setVolume(), t, ActsExamples::RootMaterialDecorator::Config::ttag, v, ActsExamples::RootMaterialDecorator::Config::voltag, ActsExamples::RootMaterialDecorator::Config::vtag, ActsExamples::RootMaterialDecorator::Config::x0tag, and ActsExamples::RootMaterialDecorator::Config::ztag.
ActsExamples::RootMaterialDecorator::~RootMaterialDecorator | ( | ) |
Destructor.
Definition at line 197 of file RootMaterialDecorator.cpp.
View newest version in sPHENIX GitHub at line 197 of file RootMaterialDecorator.cpp
|
inlinefinalvirtual |
Decorate a surface
surface | the non-cost surface that is decorated |
Implements Acts::IMaterialDecorator.
Definition at line 105 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 105 of file RootMaterialDecorator.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 120 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 120 of file RootMaterialDecorator.hpp
References m_clearSurfaceMaterial, m_volumeMaterialMap, and Acts::Test::volume.
|
inlineprivate |
Private access to the logging instance.
Definition at line 148 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 148 of file RootMaterialDecorator.hpp
References ActsExamples::RootMaterialDecorator::Config::logger, and m_cfg.
|
private |
The config class.
Definition at line 134 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 134 of file RootMaterialDecorator.hpp
Referenced by logger(), and RootMaterialDecorator().
|
private |
Definition at line 145 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 145 of file RootMaterialDecorator.hpp
Referenced by decorate().
|
private |
The input file.
Definition at line 137 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 137 of file RootMaterialDecorator.hpp
Referenced by RootMaterialDecorator().
|
private |
Surface based material.
Definition at line 140 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 140 of file RootMaterialDecorator.hpp
Referenced by decorate(), and RootMaterialDecorator().
|
private |
Volume based material.
Definition at line 143 of file RootMaterialDecorator.hpp.
View newest version in sPHENIX GitHub at line 143 of file RootMaterialDecorator.hpp
Referenced by decorate().