![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Functions | |
| nlohmann::json | toJson (const SurfaceBounds &bounds) |
| nlohmann::json | toJsonDetray (const SurfaceBounds &bounds, bool portal=false) |
| template<typename bounds_t > | |
| std::shared_ptr< const bounds_t > | fromJson (const nlohmann::json &j) |
| The Transform converter from json. | |
| std::shared_ptr<const bounds_t> Acts::SurfaceBoundsJsonConverter::fromJson | ( | const nlohmann::json & | j | ) |
The Transform converter from json.
The Surface converter from json.
Convert the single delegate if it is of the type of the reference.
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 |
Unroll the types
Definition at line 54 of file SurfaceBoundsJsonConverter.hpp.
View newest version in sPHENIX GitHub at line 54 of file SurfaceBoundsJsonConverter.hpp
| nlohmann::json Acts::SurfaceBoundsJsonConverter::toJson | ( | const SurfaceBounds & | bounds | ) |
Interface with detray conversion option
| bounds | is the bounds object |
Definition at line 19 of file SurfaceBoundsJsonConverter.cpp.
View newest version in sPHENIX GitHub at line 19 of file SurfaceBoundsJsonConverter.cpp
Referenced by BOOST_AUTO_TEST_CASE().
Here is the caller graph for this function:| 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 |
Definition at line 24 of file SurfaceBoundsJsonConverter.cpp.
View newest version in sPHENIX GitHub at line 24 of file SurfaceBoundsJsonConverter.cpp
References Acts::DetrayJsonHelper::maskFromBounds(), and shape().
Referenced by BOOST_AUTO_TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function: