Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::AxisJsonConverter Namespace Reference

Functions

nlohmann::json toJson (const IAxis &ia)
 Convert an axis to json.
 

Function Documentation

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

Convert an axis to json.

Parameters
iathe axis
Returns
a json object to represent the axis

Definition at line 13 of file GridJsonConverter.cpp.

View newest version in sPHENIX GitHub at line 13 of file GridJsonConverter.cpp

References Acts::IAxis::getBinEdges(), Acts::IAxis::getBoundaryType(), Acts::IAxis::getMax(), Acts::IAxis::getMin(), Acts::IAxis::getNBins(), and Acts::IAxis::isEquidistant().

Referenced by Acts::GridJsonConverter::toJson().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: