Analysis Software
Documentation for sPHENIX simulation software
|
Functions | |
template<typename grid_type > | |
nlohmann::json | toJson (const grid_type &grid) |
Templated grid conversion to json. | |
template<typename axis_generator_type > | |
auto | fromJson (const nlohmann::json &jGrid, const axis_generator_type &aGenerator) |
Templated grid conversion from json. | |
auto Acts::GridJsonConverter::fromJson | ( | const nlohmann::json & | jGrid, |
const axis_generator_type & | aGenerator | ||
) |
Templated grid conversion from json.
axis_generator_type | the type of the axis generator which determines the grid type |
jGrid | the json object to represent the grid |
aGenerator | the axis generator |
Definition at line 87 of file GridJsonConverter.hpp.
View newest version in sPHENIX GitHub at line 87 of file GridJsonConverter.hpp
References grid(), physmon_ckf_tracking::u, and Acts::Test::values.
nlohmann::json Acts::GridJsonConverter::toJson | ( | const grid_type & | grid | ) |
Templated grid conversion to json.
grid_type | the type of the grid |
grid | the grid object |
Definition at line 40 of file GridJsonConverter.hpp.
View newest version in sPHENIX GitHub at line 40 of file GridJsonConverter.hpp
References Acts::AxisJsonConverter::toJson(), and physmon_ckf_tracking::u.
Referenced by Acts::IndexedSurfacesJsonConverter::convertImpl().