Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::IMaterialDecorator Class Referenceabstract

#include <acts/blob/sPHENIX/Core/include/Acts/Material/IMaterialDecorator.hpp>

+ Inheritance diagram for Acts::IMaterialDecorator:

Public Member Functions

virtual ~IMaterialDecorator ()=default
 Virtual Destructor.
 
virtual void decorate (Surface &surface) const =0
 
virtual void decorate (TrackingVolume &volume) const =0
 

Detailed Description

Virtual base class for decorators that allow to load material onto a TrackingGeometry. The geometry allows material to be assigned either to surfaces or to volumes, hence there are two decorate interface methods.

Definition at line 23 of file IMaterialDecorator.hpp.

View newest version in sPHENIX GitHub at line 23 of file IMaterialDecorator.hpp

Constructor & Destructor Documentation

virtual Acts::IMaterialDecorator::~IMaterialDecorator ( )
virtualdefault

Virtual Destructor.

Member Function Documentation

virtual void Acts::IMaterialDecorator::decorate ( Surface surface) const
pure virtual

Decorate a surface

Parameters
surfacethe non-cost surface that is decorated

Implemented in ActsExamples::RootMaterialDecorator, Acts::MappingMaterialDecorator, Acts::JsonMaterialDecorator, and Acts::MaterialWiper.

Referenced by Acts::Layer::closeGeometry(), and Acts::TrackingVolume::closeGeometry().

+ Here is the caller graph for this function:

virtual void Acts::IMaterialDecorator::decorate ( TrackingVolume volume) const
pure virtual

Decorate a TrackingVolume

Parameters
volumethe non-cost volume that is decorated

Implemented in ActsExamples::RootMaterialDecorator, Acts::MappingMaterialDecorator, Acts::JsonMaterialDecorator, and Acts::MaterialWiper.


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