Struct Acts::SurfaceMaterialMapper::State

struct State

Nested State struct which is used for the mapping prococess.

Public Functions

inline State(const GeometryContext &gctx, const MagneticFieldContext &mctx)
  • gctx[in] The geometry context to use

  • mctx[in] The magnetic field context to use

Public Members

std::map<GeometryIdentifier, AccumulatedSurfaceMaterial> accumulatedMaterial

The accumulated material per geometry ID.

std::reference_wrapper<const GeometryContext> geoContext

Reference to the geometry context for the mapping.

std::map<GeometryIdentifier, std::shared_ptr<const ISurfaceMaterial>> inputSurfaceMaterial

The surface material of the input tracking geometry.

std::reference_wrapper<const MagneticFieldContext> magFieldContext

Reference to the magnetic field context.

std::map<GeometryIdentifier, std::unique_ptr<const ISurfaceMaterial>> surfaceMaterial

The created surface material from it.

std::map<GeometryIdentifier, std::shared_ptr<const IVolumeMaterial>> volumeMaterial

The volume material of the input tracking geometry.