File SurfaceBoundsJsonConverter.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Note
this is foreseen for the ‘Geometry’ module
Functions
Converstion to surfaceBounds from json.
The type is given as a template argument in order to be able to construct the correct fitting types for surfaces.
- Parameters
j – the read-in json object
- Returns
a shared_ptr to a surface object for type polymorphism
-
void to_json(nlohmann::json &j, const SurfaceBounds &bounds)¶
Variables
-
static std::vector<std::string> boundTypes = {"ConeBounds", "CylinderBounds", "DiamondBounds", "RadialBounds", "EllipseBounds", "LineBounds", "RectangleBounds", "TrapezoidBounds", "TriangleBounds", "DiscTrapezoidBounds", "ConvexPolygonBounds", "AnnulusBounds", "OtherBounds"}¶