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

Go to the source code of this file.

Classes

struct  Acts::DetectorVolumeJsonConverter::Options
 

Namespaces

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

Functions

nlohmann::json Acts::DetectorVolumeJsonConverter::toJson (const GeometryContext &gctx, const Experimental::DetectorVolume &volume, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const std::vector< const Experimental::Portal * > &portals={}, const Options &options=Options{})
 Convert to json format.
 
nlohmann::json Acts::DetectorVolumeJsonConverter::toJsonDetray (const GeometryContext &gctx, const Experimental::DetectorVolume &volume, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const Options &options=Options{})
 Convert to json detray format.
 
std::shared_ptr
< Experimental::DetectorVolume > 
Acts::DetectorVolumeJsonConverter::fromJson (const GeometryContext &gctx, const nlohmann::json &jVolume)
 convert from json format