ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Fatras/include/ActsFatras/Kernel/Interactor.hpp>
Classes | |
struct | ParticleNotAlive |
Abort if the particle was killed during a previous interaction. More... | |
Public Types | |
using | result_type = InteractorResult |
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 65 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 65 of file Interactor.hpp
using ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::result_type = InteractorResult |
Definition at line 66 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 66 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 98 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 98 of file Interactor.hpp
References ActsFatras::InteractorResult::generatedParticles, ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::generator, Acts::GeometryObject::geoID(), Acts::Surface::globalToLocal(), ActsFatras::InteractorResult::hits, ActsFatras::InteractorResult::isAlive, local, Acts::ISurfaceMaterial::materialProperties(), CLHEP::normal(), Acts::Surface::normal(), ActsFatras::InteractorResult::particle, ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::particle, ActsFatras::InteractorResult::pathInL0, ActsFatras::Particle::pathInL0(), ActsFatras::InteractorResult::pathInX0, ActsFatras::Particle::pathInX0(), ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::physics, Acts::MaterialProperties::scaleThickness(), ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface, ActsFatras::Particle::setMaterialPassed(), surface(), Acts::Surface::surfaceMaterial(), Acts::MaterialProperties::thicknessInL0(), and Acts::MaterialProperties::thicknessInX0().
|
inline |
Pure observer interface. Does not apply to the Fatras simulator.
Definition at line 182 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 182 of file Interactor.hpp
generator_t* ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::generator = nullptr |
Random number generator used for the simulation.
Definition at line 81 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 81 of file Interactor.hpp
Referenced by ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
Particle ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::particle |
Initial particle state.
Definition at line 87 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 87 of file Interactor.hpp
Referenced by emcalc_gui.MainWindow::cb_select_particle(), emcalc_gui.MainWindow::cb_show_plot(), and ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
physics_list_t ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::physics |
Physics list detailing the simulated interactions and processes.
Definition at line 83 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 83 of file Interactor.hpp
Referenced by ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().
hit_surface_selector_t ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface |
Selector for surfaces that should generate hits.
Definition at line 85 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 85 of file Interactor.hpp
Referenced by ActsFatras::Interactor< generator_t, physics_list_t, hit_surface_selector_t >::operator()().