Class Acts::ITrackingGeometryJsonDecorator

class ITrackingGeometryJsonDecorator

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

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

Parameters
  • surface – the surface which was used to fill the json object

  • json – the json object that is enhanced

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.

Parameters
  • volume – the volume which was used to fill the json object

  • json – the json object that is enhanced