File ITrackingGeometryJsonDecorator.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
class ITrackingGeometryJsonDecorator
- #include <Acts/Plugins/Json/ITrackingGeometryJsonDecorator.hpp>
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
-
virtual ~ITrackingGeometryJsonDecorator() = default
-
class ITrackingGeometryJsonDecorator