ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::Svg::TrackingGeometryConverter Namespace Reference

Classes

struct  Options
 Nested Options struct for the writing configuration. More...
struct  State
 State object to collect geometry-wise information. More...

Functions

std::vector< actsvg::svg::object > convert (const Acts::GeometryContext &gctx, const Acts::TrackingGeometry &tGeometry, const Options &cOptions)
 Write svg files per tracking geometry.
void convert (const Acts::GeometryContext &gctx, const Acts::TrackingVolume &tVolume, const Options &cOptions, State &cState)
 Recursivele conversion of volumes.

Function Documentation

◆ convert() [1/2]

std::vector< actsvg::svg::object > ActsPlugins::Svg::TrackingGeometryConverter::convert ( const Acts::GeometryContext & gctx,
const Acts::TrackingGeometry & tGeometry,
const Options & cOptions )

Write svg files per tracking geometry.

Parameters
gctxthe geometry context
tGeometrythe tracking geometry
cOptionsthe conversion options
Returns
a vector of svg objects

◆ convert() [2/2]

void ActsPlugins::Svg::TrackingGeometryConverter::convert ( const Acts::GeometryContext & gctx,
const Acts::TrackingVolume & tVolume,
const Options & cOptions,
State & cState )

Recursivele conversion of volumes.

Parameters
gctxthe geometry context
tVolumethe tracking volume
cOptionsthe conversion options
cState[in,out] the conversion state collecting the input