Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::IVolumeMaterialJsonDecorator Class Referenceabstract

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

#include <acts/blob/sPHENIX/Plugins/Json/include/Acts/Plugins/Json/IVolumeMaterialJsonDecorator.hpp>

+ Inheritance diagram for Acts::IVolumeMaterialJsonDecorator:

Public Member Functions

virtual ~IVolumeMaterialJsonDecorator ()=default
 
virtual void decorate (const Acts::ISurfaceMaterial &material, nlohmann::json &json) const =0
 
virtual void decorate (const Acts::IVolumeMaterial &material, nlohmann::json &json) const =0
 

Detailed Description

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

Definition at line 18 of file IVolumeMaterialJsonDecorator.hpp.

View newest version in sPHENIX GitHub at line 18 of file IVolumeMaterialJsonDecorator.hpp

Constructor & Destructor Documentation

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

Member Function Documentation

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

The documentation for this class was generated from the following file: