EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Kernel/detail/Interactor.hpp>
Classes | |
struct | ParticleNotAlive |
Abort if the particle was killed during a previous interaction. More... | |
Public Types | |
using | result_type = SimulationResult |
Public Member Functions | |
template<typename propagator_state_t , typename stepper_t > | |
void | operator() (propagator_state_t &state, stepper_t &stepper, result_type &result) const |
template<typename propagator_state_t , typename stepper_t > | |
void | operator() (propagator_state_t &, stepper_t &) const |
Pure observer interface. Does not apply to the Fatras simulator. | |
Public Attributes | |
generator_t * | generator = nullptr |
Random number generator used for the simulation. | |
physics_list_t | physics |
Physics list detailing the simulated interactions and processes. | |
hit_surface_selector_t | selectHitSurface |
Selector for surfaces that should generate hits. | |
Particle | particle |
Initial particle state. | |
Fatras interactor plugin for the Acts propagator.
This plugin must be added to the action list of the propagator and is the equivalent to the MaterialInteractor
for the reconstruction. This implements surface-based simulation of particle interactions with matter using a configurable physics lists. The physics lists is called for every surface with valid material.
generator_t | is a random number generator |
physics_list_t | is a simulation physics lists |
hit_surface_selector_t | is a selector of sensitive hit surfaces |
Definition at line 35 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 35 of file Interactor.hpp
using ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::result_type = SimulationResult |
Definition at line 36 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 36 of file Interactor.hpp
|
inline |
Simulate the interaction with a single surface.
propagator_state_t | is propagator state |
stepper_t | is the stepper instance |
state | is the mutable propagator state object |
stepper | is the propagation stepper object |
result | is the mutable result/cache object |
Definition at line 68 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 68 of file Interactor.hpp
References ActsFatras::SimulationResult::generatedParticles, ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::generator, Acts::GeometryObject::geometryId(), Acts::Surface::globalToLocal(), ActsFatras::SimulationResult::hits, ActsFatras::SimulationResult::isAlive, Acts::ISurfaceMaterial::materialSlab(), Acts::Surface::normal(), ActsFatras::SimulationResult::particle, ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::particle, ActsFatras::SimulationResult::pathInL0, ActsFatras::Particle::pathInL0(), ActsFatras::SimulationResult::pathInX0, ActsFatras::Particle::pathInX0(), ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::physics, Acts::MaterialSlab::scaleThickness(), ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface, surface(), Acts::Surface::surfaceMaterial(), Acts::MaterialSlab::thicknessInL0(), and Acts::MaterialSlab::thicknessInX0().
|
inline |
Pure observer interface. Does not apply to the Fatras simulator.
Definition at line 157 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 157 of file Interactor.hpp
generator_t* ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::generator = nullptr |
Random number generator used for the simulation.
Definition at line 51 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 51 of file Interactor.hpp
Referenced by ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
Particle ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::particle |
Initial particle state.
Definition at line 57 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 57 of file Interactor.hpp
Referenced by ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
physics_list_t ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::physics |
Physics list detailing the simulated interactions and processes.
Definition at line 53 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 53 of file Interactor.hpp
Referenced by ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
hit_surface_selector_t ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface |
Selector for surfaces that should generate hits.
Definition at line 55 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 55 of file Interactor.hpp
Referenced by ActsFatras::detail::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().