Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::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 GeometryContext &gctx, const TrackingGeometry &tGeometry, const Options &cOptions)
 
void convert (const GeometryContext &gctx, const TrackingVolume &tVolume, const Options &cOptions, State &cState)
 

Function Documentation

std::vector< actsvg::svg::object > Acts::Svg::TrackingGeometryConverter::convert ( const GeometryContext &  gctx,
const 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

Definition at line 15 of file TrackingGeometrySvgConverter.cpp.

View newest version in sPHENIX GitHub at line 15 of file TrackingGeometrySvgConverter.cpp

References Acts::Svg::DetectorConverter::convert(), Acts::Svg::TrackingGeometryConverter::State::finalViews, Acts::Svg::group(), Acts::TrackingGeometry::highestTrackingVolume(), Acts::Svg::TrackingGeometryConverter::Options::prefix, Acts::Svg::TrackingGeometryConverter::State::xyCrossSection, and Acts::Svg::TrackingGeometryConverter::State::zrCrossSection.

Referenced by BOOST_AUTO_TEST_CASE(), Acts::Svg::TrackingGeometryProjections::convert(), and ActsExamples::SvgTrackingGeometryWriter::write().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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