Class IMaterialDecorator

Class Documentation

class Acts::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.

Public Functions

~IMaterialDecorator() = default

Virtual Destructor.

void decorate(Surface &surface) const = 0

Decorate a surface.

Parameters
  • surface: the non-cost surface that is decorated

void decorate(TrackingVolume &volume) const = 0

Decorate a TrackingVolume.

Parameters
  • volume: the non-cost volume that is decorated