|
ACTS
Experiment-independent tracking
|
Functions | |
| template<typename bounds_t> | |
| std::shared_ptr< const bounds_t > | fromJson (const nlohmann::json &j) |
| Conversion to surfaceBounds from json. | |
| nlohmann::json | toJson (const SurfaceBounds &bounds) |
| Interface with detray conversion option. | |
| nlohmann::json | toJsonDetray (const SurfaceBounds &bounds, bool portal=false) |
| Interface with detray conversion option. | |
| std::shared_ptr< const bounds_t > Acts::SurfaceBoundsJsonConverter::fromJson | ( | const nlohmann::json & | j | ) |
Conversion 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.
| j | the read-in json object |
| nlohmann::json Acts::SurfaceBoundsJsonConverter::toJson | ( | const SurfaceBounds & | bounds | ) |
Interface with detray conversion option.
| bounds | is the bounds object |
| nlohmann::json Acts::SurfaceBoundsJsonConverter::toJsonDetray | ( | const SurfaceBounds & | bounds, |
| bool | portal = false ) |
Interface with detray conversion option.
| bounds | is the bounds object |
| portal | is the flag for conversion into detray portal format |