Class Acts::IMaterialDecorator

class IMaterialDecorator

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 methots.

Subclassed by Acts::JsonMaterialDecorator

Public Functions

virtual ~IMaterialDecorator() = default

Virtual Destructor.

virtual void decorate(Surface &surface) const = 0

Decorate a surface.


surface – the non-cost surface that is decorated

virtual void decorate(TrackingVolume &volume) const = 0

Decorate a TrackingVolume.


volume – the non-cost volume that is decorated