Struct Acts::VolumeMaterialMapper::State

struct State

Nested State struct which is used for the mapping prococess.

Public Functions

inline State(const GeometryContext &gctx, const MagneticFieldContext &mctx)

Constructor of the Sate with contexts.

Public Members

std::reference_wrapper<const GeometryContext> geoContext

Reference to the geometry context for the mapping.

std::map<const GeometryIdentifier, Grid2D> grid2D

The 2D material grid for each geometry ID.

std::map<const GeometryIdentifier, Grid3D> grid3D

The 3D material grid for each geometry ID.

std::map<const GeometryIdentifier, Acts::AccumulatedVolumeMaterial> homogeneousGrid

The recorded material per geometry ID.

std::reference_wrapper<const MagneticFieldContext> magFieldContext

Reference to the magnetic field context.

std::map<const GeometryIdentifier, BinUtility> materialBin

The binning for each geometry ID.

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

The surface material of the input tracking geometry.

std::map<const GeometryIdentifier, std::function<Acts::Vector2(Acts::Vector3)>> transform2D

The recorded 2D transform associated the grid for each geometry ID.

std::map<const GeometryIdentifier, std::function<Acts::Vector3(Acts::Vector3)>> transform3D

The recorded 3D transform associated the material grid for each geometry ID.

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

The created volume material from it.