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

Go to the source code of this file.

Classes

struct  Acts::PortalJsonConverter::Options
 

Namespaces

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

Functions

nlohmann::json Acts::PortalJsonConverter::toJson (const GeometryContext &gctx, const Experimental::Portal &portal, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const Options &options=Options{})
 Convert to json format.
 
std::vector< nlohmann::json > Acts::PortalJsonConverter::toJsonDetray (const GeometryContext &gctx, const Experimental::Portal &portal, std::size_t ip, const Experimental::DetectorVolume &volume, const OrientedSurfaces &orientedSurfaces, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const Options &options=Options{})
 Convert to json format - dedicated Detray function.
 
nlohmann::json Acts::PortalJsonConverter::toJson (const Experimental::DetectorVolumeUpdator &updator, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes)
 convert to json format
 
std::shared_ptr
< Experimental::Portal > 
Acts::PortalJsonConverter::fromJson (const GeometryContext &gctx, const nlohmann::json &jPortal, const std::vector< std::shared_ptr< Experimental::DetectorVolume >> &detectorVolumes)
 convert from json format