Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts-fatras/blob/master/Core/include/Fatras/Kernel/Interactor.hpp>
Classes | |
struct | this_result |
Public Types | |
using | PhysicsList_t = physics_list_t |
typedef this_result | result_type |
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 |
Public Attributes | |
generator_t * | generator = nullptr |
The random generator to be spawnper event. | |
sensitive_selector_t | sensitiveSelector |
The slector for sensitive surfaces. | |
physics_list_t | physicsList |
The physics list provided for this call. | |
particle_t | initialParticle |
Simple result struct to be returned. | |
hit_creator_t | hitCreator |
The hit creator helper class. | |
The Fatras Interactor
This is the Fatras plugin to the ACTS Propagator, it replaces the MaterialInteractor of the reconstruction
generator_t | Type of the random generator |
particle_t | is Type of the particle |
hit_t | Type of the simulated hit |
hit_creator_t | Type of the hit creator (does thruth association) |
sensitive_selector_t | The Selector type to identify sensitive surfaces |
physics_list_t | Type of Extendable physics list that is called |
decay_list_t | Type of Extendable decay list that is called |
The physics list plays a central role in this DetectorInteractor it is called on each process that is defined at compile time if a process triggers an abort, this will be forwarded to the propagation cache.
Definition at line 51 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 51 of file Interactor.hpp
using Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::PhysicsList_t = physics_list_t |
Definition at line 52 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 52 of file Interactor.hpp
typedef this_result Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::result_type |
Definition at line 86 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 86 of file Interactor.hpp
|
inline |
Interaction with detector material for the ActionList of the Propagator
It checks if the cache has a current surface, in which case the action is performed according to the physics list content.
Eventual particles produced in electromagnetic or hadronic interactions are stored in the result struct and can thus be retrieved by the caller
propagator_state_t | is the type of Propagtor state |
stepper_t | the type of the Stepper for the access to the state |
state | is the mutable propagator state object |
stepper | is the propagation stepper object |
result | is the mutable result cache object |
return value is void as it is a standard actor in the propagation
< todo calculate from delta time
Definition at line 106 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 106 of file Interactor.hpp
References Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::generator, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::hitCreator, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::this_result::initialized, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::initialParticle, testing::internal::move(), Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::this_result::outgoing, merge_hashes::p, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::this_result::particle, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::physicsList, position, Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::sensitiveSelector, and Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::this_result::simulatedHits.
|
inline |
Pure observer interface This does not apply to the Fatras simulator
Definition at line 168 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 168 of file Interactor.hpp
generator_t* Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::generator = nullptr |
The random generator to be spawnper event.
Definition at line 55 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 55 of file Interactor.hpp
Referenced by Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()().
hit_creator_t Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::hitCreator |
The hit creator helper class.
Definition at line 67 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 67 of file Interactor.hpp
Referenced by Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()().
particle_t Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::initialParticle |
Simple result struct to be returned.
Definition at line 64 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 64 of file Interactor.hpp
Referenced by Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()().
physics_list_t Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::physicsList |
The physics list provided for this call.
Definition at line 61 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 61 of file Interactor.hpp
Referenced by Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()().
sensitive_selector_t Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::sensitiveSelector |
The slector for sensitive surfaces.
Definition at line 58 of file Interactor.hpp.
View newest version in sPHENIX GitHub at line 58 of file Interactor.hpp
Referenced by Fatras::Interactor< generator_t, particle_t, hit_t, hit_creator_t, sensitive_selector_t, physics_list_t >::operator()().