Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorJsonConverter.hpp File Reference
+ Include dependency graph for DetectorJsonConverter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Acts::DetectorJsonConverter::Options
 

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::Experimental
 
namespace  Acts::DetectorJsonConverter
 

Functions

nlohmann::json Acts::DetectorJsonConverter::toJson (const GeometryContext &gctx, const Experimental::Detector &detector, const Options &options=Options{})
 Convert to json format.
 
nlohmann::json Acts::DetectorJsonConverter::toJsonDetray (const GeometryContext &gctx, const Experimental::Detector &detector, const Options &options=Options{})
 Convert to detray json format.
 
std::shared_ptr
< Experimental::Detector > 
Acts::DetectorJsonConverter::fromJson (const GeometryContext &gctx, const nlohmann::json &jDetector)
 convert from json format