Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ITrackingGeometryJsonDecorator 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/ITrackingGeometryJsonDecorator.hpp>

Public Member Functions

virtual ~ITrackingGeometryJsonDecorator ()=default
 
virtual void decorate (const Acts::Surface &surface, nlohmann::json &json) const =0
 
virtual void decorate (const Acts::TrackingVolume &volume, 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 ITrackingGeometryJsonDecorator.hpp.

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

Constructor & Destructor Documentation

virtual Acts::ITrackingGeometryJsonDecorator::~ITrackingGeometryJsonDecorator ( )
virtualdefault

Member Function Documentation

virtual void Acts::ITrackingGeometryJsonDecorator::decorate ( const Acts::Surface surface,
nlohmann::json &  json 
) const
pure virtual

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

Parameters
surfacethe surface which was used to fill the json object
jsonthe json object that is enhanced
virtual void Acts::ITrackingGeometryJsonDecorator::decorate ( const Acts::TrackingVolume volume,
nlohmann::json &  json 
) const
pure virtual

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

Parameters
volumethe volume 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: