ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::AxisJsonConverter Namespace Reference

Functions

nlohmann::json toJson (const IAxis &ia)
 Convert an axis to json.
nlohmann::json toJsonDetray (const IAxis &ia)
 Convert an axis to json - detray style.

Function Documentation

◆ toJson()

nlohmann::json Acts::AxisJsonConverter::toJson ( const IAxis & ia)

Convert an axis to json.

Parameters
iathe axis
Returns
a json object to represent the axis

◆ toJsonDetray()

nlohmann::json Acts::AxisJsonConverter::toJsonDetray ( const IAxis & ia)

Convert an axis to json - detray style.

Parameters
iathe axis
Returns
a json object to represent the axis in detray json