Class Acts::IVolumeMaterialJsonDecorator¶
-
class IVolumeMaterialJsonDecorator¶
helper class to add extra informtion to surface or volume json objects
Public Functions
-
virtual ~IVolumeMaterialJsonDecorator() = default¶
-
virtual void decorate(const Acts::ISurfaceMaterial &material, nlohmann::json &json) const = 0¶
Add extra elements to the json object already filled for the given surface material.
- Parameters
material – the surface material which was used to fill the json object
json – the json object that is enhanced
-
virtual void decorate(const Acts::IVolumeMaterial &material, nlohmann::json &json) const = 0¶
Add extra elements to the json object already filled for the given volume material.
- Parameters
material – the volume material which was used to fill the json object
json – the json object that is enhanced
-
virtual ~IVolumeMaterialJsonDecorator() = default¶