ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::IndexGridNavigationJsonConverter Namespace Reference

Classes

struct  Options
 Configure the conversion through that struct. More...

Functions

nlohmann::json toJson (const GeometryContext &gctx, const RegularCylinderIndexGridNavigationPolicy &policy, const TrackingVolume &volume, const Options &options=Options())
 Convert an IndexGridNavigationPolicy for regular cylinder to Json.
nlohmann::json toJson (const GeometryContext &gctx, const RegularDiscIndexGridNavigationPolicy &policy, const TrackingVolume &volume, const Options &options=Options())
 Convert an IndexGridNavigationPolicy for regular disc to Json.
nlohmann::json toJson (const GeometryContext &gctx, const RegularPlaneIndexGridNavigationPolicy &policy, const TrackingVolume &volume, const Options &options=Options())
 Convert an IndexGridNavigationPolicy for regular plane to Json.
nlohmann::json toJson (const GeometryContext &gctx, const RegularRingIndexGridNavigationPolicy &policy, const TrackingVolume &volume, const Options &options=Options())
 Convert an IndexGridNavigationPolicy for regular ring to Json.
nlohmann::json toJson (const RegularCylinderIndexGridNavigationPolicy &policy)
 Convert an IndexGridNavigationPolicy for regular cylinder to Json.
nlohmann::json toJson (const RegularDiscIndexGridNavigationPolicy &policy)
 Convert an IndexGridNavigationPolicy for regular disc to Json.
nlohmann::json toJson (const RegularPlaneIndexGridNavigationPolicy &policy)
 Convert an IndexGridNavigationPolicy for regular plane to Json.
nlohmann::json toJson (const RegularRingIndexGridNavigationPolicy &policy)
 Convert an IndexGridNavigationPolicy for regular ring to Json.

Function Documentation

◆ toJson() [1/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const GeometryContext & gctx,
const RegularCylinderIndexGridNavigationPolicy & policy,
const TrackingVolume & volume,
const Options & options = Options() )

Convert an IndexGridNavigationPolicy for regular cylinder to Json.

Parameters
gctxThe geometry context
policyThe policy to convert
volumeThe tracking volume holding the surfaces
optionsThe options for the conversion
Returns
The resulting json object

◆ toJson() [2/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const GeometryContext & gctx,
const RegularDiscIndexGridNavigationPolicy & policy,
const TrackingVolume & volume,
const Options & options = Options() )

Convert an IndexGridNavigationPolicy for regular disc to Json.

Parameters
gctxThe geometry context
policyThe policy to convert
volumeThe tracking volume holding the surfaces
optionsThe options for the conversion
Returns
The resulting json object

◆ toJson() [3/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const GeometryContext & gctx,
const RegularPlaneIndexGridNavigationPolicy & policy,
const TrackingVolume & volume,
const Options & options = Options() )

Convert an IndexGridNavigationPolicy for regular plane to Json.

Parameters
gctxThe geometry context
policyThe policy to convert
volumeThe tracking volume holding the surfaces
optionsThe options for the conversion
Returns
The resulting json object

◆ toJson() [4/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const GeometryContext & gctx,
const RegularRingIndexGridNavigationPolicy & policy,
const TrackingVolume & volume,
const Options & options = Options() )

Convert an IndexGridNavigationPolicy for regular ring to Json.

Parameters
gctxThe geometry context
policyThe policy to convert
volumeThe tracking volume holding the surfaces
optionsThe options for the conversion
Returns
The resulting json object

◆ toJson() [5/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const RegularCylinderIndexGridNavigationPolicy & policy)

Convert an IndexGridNavigationPolicy for regular cylinder to Json.

Parameters
policyThe policy to convert
Returns
The resulting json object

◆ toJson() [6/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const RegularDiscIndexGridNavigationPolicy & policy)

Convert an IndexGridNavigationPolicy for regular disc to Json.

Parameters
policyThe policy to convert
Returns
The resulting json object

◆ toJson() [7/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const RegularPlaneIndexGridNavigationPolicy & policy)

Convert an IndexGridNavigationPolicy for regular plane to Json.

Parameters
policyThe policy to convert
Returns
The resulting json object

◆ toJson() [8/8]

nlohmann::json Acts::IndexGridNavigationJsonConverter::toJson ( const RegularRingIndexGridNavigationPolicy & policy)

Convert an IndexGridNavigationPolicy for regular ring to Json.

Parameters
policyThe policy to convert
Returns
The resulting json object