ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::IVolumeMaterialJsonDecorator Class Referenceabstract

helper class to add extra information to surface or volume json objects More...

#include <ActsPlugins/Json/IVolumeMaterialJsonDecorator.hpp>

Public Member 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.
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.

Detailed Description

helper class to add extra information to surface or volume json objects

Constructor & Destructor Documentation

◆ ~IVolumeMaterialJsonDecorator()

virtual Acts::IVolumeMaterialJsonDecorator::~IVolumeMaterialJsonDecorator ( )
virtualdefault

Member Function Documentation

◆ decorate() [1/2]

virtual void Acts::IVolumeMaterialJsonDecorator::decorate ( const Acts::ISurfaceMaterial & material,
nlohmann::json & json ) const
pure virtual

Add extra elements to the json object already filled for the given surface material.

Parameters
materialthe surface material which was used to fill the json object
jsonthe json object that is enhanced

◆ decorate() [2/2]

virtual void Acts::IVolumeMaterialJsonDecorator::decorate ( const Acts::IVolumeMaterial & material,
nlohmann::json & json ) const
pure virtual

Add extra elements to the json object already filled for the given volume material.

Parameters
materialthe volume material which was used to fill the json object
jsonthe json object that is enhanced