File IMaterialDecorator.hppΒΆ
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class IMaterialDecorator
- #include <Acts/Material/IMaterialDecorator.hpp>
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.
- Parameters
surface β the non-cost surface that is decorated
-
virtual void decorate(TrackingVolume &volume) const = 0
Decorate a TrackingVolume.
- Parameters
volume β the non-cost volume that is decorated
-
virtual ~IMaterialDecorator() = default
-
class IMaterialDecorator