ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::RootMaterialDecorator Class Reference

Read the collection of SurfaceMaterial & VolumeMaterial. More...

#include <acts/blob/master/Examples/Io/Root/include/ACTFW/Io/Root/RootMaterialDecorator.hpp>

+ Inheritance diagram for FW::RootMaterialDecorator:
+ Collaboration diagram for FW::RootMaterialDecorator:

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::Loggerlogger () 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}
 

Detailed Description

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

Constructor & Destructor Documentation

FW::RootMaterialDecorator::RootMaterialDecorator ( const Config cfg)
FW::RootMaterialDecorator::~RootMaterialDecorator ( )

Destructor.

Definition at line 192 of file RootMaterialDecorator.cpp.

View newest version in sPHENIX GitHub at line 192 of file RootMaterialDecorator.cpp

Member Function Documentation

void FW::RootMaterialDecorator::decorate ( Acts::Surface surface) const
inlinefinalvirtual

Decorate a surface

Parameters
surfacethe 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().

+ Here is the call graph for this function:

void FW::RootMaterialDecorator::decorate ( Acts::TrackingVolume volume) const
inlinefinalvirtual

Decorate a TrackingVolume

Parameters
volumethe 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.

const Acts::Logger& FW::RootMaterialDecorator::logger ( ) const
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 FW::RootMaterialDecorator::Config::logger, and m_cfg.

Member Data Documentation

Config FW::RootMaterialDecorator::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().

bool FW::RootMaterialDecorator::m_clearSurfaceMaterial {true}
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().

TFile* FW::RootMaterialDecorator::m_inputFile {nullptr}
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().

Acts::SurfaceMaterialMap FW::RootMaterialDecorator::m_surfaceMaterialMap
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().

Acts::VolumeMaterialMap FW::RootMaterialDecorator::m_volumeMaterialMap
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().


The documentation for this class was generated from the following files: