Struct InteractorResult

Struct Documentation

struct ActsFatras::InteractorResult

Interactor result (and intermediate state).

The result struct does not depend on the template arguments of the Interactor. Defining it independently gives greater flexibility for its usage.

Public Members

std::vector<Particle> generatedParticles

Additional particles generated by interactions.

std::vector<Hit> hits

Hits created by the propagated particle.

bool isAlive = true

Whether the simulation can continue, i.e. particle is still alive.

Particle particle

Propagated particle state.

Particle::Scalar pathInL0 = 0
Particle::Scalar pathInX0 = 0

Accumulated material during the propagation.

The initial particle can already have some passed material. We need the particle to store the full material path but still keep track of the additional accumulated material during simulation.