ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::RootMaterialDecorator Class Reference

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

#include <ActsPlugins/Root/RootMaterialDecorator.hpp>

Inheritance diagram for ActsPlugins::RootMaterialDecorator:
[legend]
Collaboration diagram for ActsPlugins::RootMaterialDecorator:
[legend]

Classes

class  Config
 Configuration of the Reader. More...

Public Member Functions

 RootMaterialDecorator (const Config &config, Acts::Logging::Level level)
 Constructor.
 ~RootMaterialDecorator () override
 Destructor.
const Configconfig () const
 Get readonly access to the config parameters.
void decorate (Acts::Surface &surface) const final
 Decorate a surface.
void decorate (Acts::TrackingVolume &volume) const final
 Decorate a TrackingVolume.
Acts::TrackingGeometryMaterial materialMaps () const
 Return the maps.
Public Member Functions inherited from Acts::IMaterialDecorator
virtual ~IMaterialDecorator ()=default
 Virtual Destructor.

Detailed Description

Read the collection of SurfaceMaterial & VolumeMaterial.

Constructor & Destructor Documentation

◆ RootMaterialDecorator()

ActsPlugins::RootMaterialDecorator::RootMaterialDecorator ( const Config & config,
Acts::Logging::Level level )

Constructor.

Parameters
configconfiguration struct for the reader
levelthe logging level

◆ ~RootMaterialDecorator()

ActsPlugins::RootMaterialDecorator::~RootMaterialDecorator ( )
override

Destructor.

Member Function Documentation

◆ config()

const Config & ActsPlugins::RootMaterialDecorator::config ( ) const

Get readonly access to the config parameters.

◆ decorate() [1/2]

void ActsPlugins::RootMaterialDecorator::decorate ( Acts::Surface & surface) const
finalvirtual

Decorate a surface.

Parameters
surfacethe non-cost surface that is decorated

Implements Acts::IMaterialDecorator.

◆ decorate() [2/2]

void ActsPlugins::RootMaterialDecorator::decorate ( Acts::TrackingVolume & volume) const
finalvirtual

Decorate a TrackingVolume.

Parameters
volumethe non-cost volume that is decorated

Implements Acts::IMaterialDecorator.

◆ materialMaps()

Acts::TrackingGeometryMaterial ActsPlugins::RootMaterialDecorator::materialMaps ( ) const

Return the maps.