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

Functions

static actsvg::svg::object xy (const ProtoIndexedSurfaceGrid &pIndexGrid, const std::string &identification)
 Convert into an ActsPlugins::Svg::object with an XY view.
static actsvg::svg::object xy (const ProtoSurface &pSurface, const std::string &identification)
 Convert into an ActsPlugins::Svg::object with an x-y view.
static actsvg::svg::object zphi (const ProtoIndexedSurfaceGrid &pIndexGrid, const std::string &identification)
 Fake zphi method, delegate to xy.
static actsvg::svg::object zphi (const ProtoSurface &pSurface, const std::string &identification)
 Convert into an ActsPlugins::Svg::object with an z-phi view.
static actsvg::svg::object zr (const ProtoSurface &pSurface, const std::string &identification)
 Convert into an ActsPlugins::Svg::object with an z-r view.
static actsvg::svg::object zrphi (const ProtoSurface &pSurface, const std::string &identification)
 Convert into an ActsPlugins::Svg::object with an z-rphi view.

Function Documentation

◆ xy() [1/2]

actsvg::svg::object ActsPlugins::Svg::View::xy ( const ProtoIndexedSurfaceGrid & pIndexGrid,
const std::string & identification )
static

Convert into an ActsPlugins::Svg::object with an XY view.

Parameters
pIndexGridis the proto object
identificationis the to be translated id_ for actsvg
Returns
an svg object that can be written out directly

◆ xy() [2/2]

actsvg::svg::object ActsPlugins::Svg::View::xy ( const ProtoSurface & pSurface,
const std::string & identification )
static

Convert into an ActsPlugins::Svg::object with an x-y view.

Parameters
pSurfaceis the proto object
identificationis the to be translated id_ for actsvg
Returns
an svg object that can be written out directly to disc

◆ zphi() [1/2]

actsvg::svg::object ActsPlugins::Svg::View::zphi ( const ProtoIndexedSurfaceGrid & pIndexGrid,
const std::string & identification )
static

Fake zphi method, delegate to xy.

Parameters
pIndexGridis the proto object
identificationis the to be translated id_ for actsvg
Note
this works, because the actual display at the end is 2D in an x-y plane and the parameters are appropriately defined
Returns
an svg object that can be written out directly

◆ zphi() [2/2]

actsvg::svg::object ActsPlugins::Svg::View::zphi ( const ProtoSurface & pSurface,
const std::string & identification )
static

Convert into an ActsPlugins::Svg::object with an z-phi view.

Parameters
pSurfaceis the proto object
identificationis the to be translated id_ for actsvg
Returns
an svg object that can be written out directly to disc

◆ zr()

actsvg::svg::object ActsPlugins::Svg::View::zr ( const ProtoSurface & pSurface,
const std::string & identification )
static

Convert into an ActsPlugins::Svg::object with an z-r view.

Parameters
pSurfaceis the proto object
identificationis the to be translated id_ for actsvg
Returns
an svg object that can be written out directly to disc

◆ zrphi()

actsvg::svg::object ActsPlugins::Svg::View::zrphi ( const ProtoSurface & pSurface,
const std::string & identification )
static

Convert into an ActsPlugins::Svg::object with an z-rphi view.

Parameters
pSurfaceis the proto object
identificationis the to be translated id_ for actsvg
Note
it captures the radii[0u] element for plotting
Returns
an svg object that can be written out directly to disc