Template Class PhysicsList

Nested Relationships

Class Documentation

template<typename ...processes_t>
class ActsFatras::PhysicsList

Combined set of physics processes and interactions for the simulation.

The physics processes are extendable by the user to be able to accomodate the specific requirements. While the set of available physics processes must be configured at compile-time, within that set processes can be selectively disabled at run-time. By default all processes are applied.

Public Functions

void disable(std::size_t i)

Disable a specific process by index.

template<typename process_t>
void disable()

Disable a specific process by type.

Warning

Disables only the first of multiple processes of the same type.

template<size_t I>
std::tuple_element_t<I, std::tuple<processes_t...>> &get()

Access a specific process by index.

template<typename process_t>
process_t &get()

Access a specific process by type.

template<typename generator_t>
bool operator()(generator_t &generator, const Acts::MaterialProperties &slab, Particle &particle, std::vector<Particle> &generated) const

Run the physics list for a given material and particle.

Return

Break condition, i.e. whether a process stoped the propagation

Parameters
  • [in] generator: is the random number generator

  • [in] slab: is the passed material

  • [inout] particle: is the particle being updated

  • [out] generated: is the container of generated particles

Template Parameters
  • generator_t: must be a RandomNumberEngine