Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SurfaceJsonConverter.hpp File Reference
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Plugins/Json/ActsJson.hpp"
#include "Acts/Plugins/Json/AlgebraJsonConverter.hpp"
#include "Acts/Plugins/Json/SurfaceBoundsJsonConverter.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <nlohmann/json.hpp>
+ Include dependency graph for SurfaceJsonConverter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Acts::SurfaceJsonConverter::Options
 

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::SurfaceJsonConverter
 

Functions

void Acts::to_json (nlohmann::json &j, const SurfaceAndMaterialWithContext &surface)
 Conversion of a pair of surface and material used for the material mapping.
 
void Acts::to_json (nlohmann::json &j, const Surface &surface)
 
void Acts::to_json (nlohmann::json &j, const std::shared_ptr< const Surface > &surface)
 
void Acts::toJson (nlohmann::json &j, const std::shared_ptr< const Surface > &surface, const Acts::GeometryContext &gctx)
 
std::shared_ptr< SurfaceActs::surfaceFromJson (const nlohmann::json &j)
 
template<typename surface_t , typename bounds_t >
std::shared_ptr< surface_t > Acts::surfaceFromJsonT (const nlohmann::json &j)
 
nlohmann::json Acts::SurfaceJsonConverter::toJson (const GeometryContext &gctx, const Surface &surface, const Options &options=Options{})
 
nlohmann::json Acts::SurfaceJsonConverter::toJsonDetray (const GeometryContext &gctx, const Surface &surface, const Options &options=Options{})
 
std::shared_ptr< SurfaceActs::SurfaceJsonConverter::fromJson (const nlohmann::json &jSurface)
 The Surface converter from json.