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

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

#include <ActsPlugins/Json/ITrackingGeometryJsonDecorator.hpp>

Public Member Functions

virtual ~ITrackingGeometryJsonDecorator ()=default
virtual void decorate (const Acts::Surface &surface, nlohmann::json &json) const =0
 Add extra elements to the json object already filled for the given surface.
virtual void decorate (const Acts::TrackingVolume &volume, nlohmann::json &json) const =0
 Add extra elements to the json object already filled for the given volume.

Detailed Description

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

Constructor & Destructor Documentation

◆ ~ITrackingGeometryJsonDecorator()

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

Member Function Documentation

◆ decorate() [1/2]

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

◆ decorate() [2/2]

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