File MaterialInteraction.hpp

namespace Acts


This file is foreseen for the Geometry module to replace Extent


using RecordedMaterialTrack = std::pair<std::pair<Acts::Vector3, Acts::Vector3>, RecordedMaterial>

And recorded material track.

  • this is start: position, start momentum and the Recorded material

struct MaterialInteraction
#include <Acts/Material/MaterialInteraction.hpp>

The Material interaction struct It records the surface and the passed material This is only nessecary recorded when configured.

Public Members

double deltaP = 0.0

The momentum change due to the interaction.

Vector3 direction = Vector3(0., 0., 0)

The particle direction at the interaction.

Vector3 intersection = Vector3(0., 0., 0)

The position where the interaction occured.

GeometryIdentifier intersectionID

The ID where the interaction occured.

MaterialSlab materialSlab

The effective, passed material properties including the path correction.

double pathCorrection = 1.

The path correction factor due to non-zero incidence on the surface.

Vector3 position = Vector3(0., 0., 0)

The particle position at the interaction.

double sigmaPhi2 = 0.0

Expected phi variance due to the interactions.

double sigmaQoP2 = 0.0

Expected q/p variance due to the interactions.

double sigmaTheta2 = 0.0

Expected theta variance due to the interactions.

const Surface *surface = nullptr

The surface where the interaction occured.

double time = 0.0

The particle time at the interaction.

bool updatedVolumeStep = false

Update the volume step to implment the proper step size.

const TrackingVolume *volume = nullptr

The volume where the interaction occured.

struct RecordedMaterial
#include <Acts/Material/MaterialInteraction.hpp>

Simple result struct to be returned It mainly acts as an internal state which is created for every propagation/extrapolation step.

Public Members

double materialInL0 = 0.

The accumulated materialInL0.

std::vector<MaterialInteraction> materialInteractions

This one is only filled when recordInteractions is switched on.

double materialInX0 = 0.