![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts-fatras/blob/master/Core/include/Fatras/Kernel/Simulator.hpp>
Collaboration diagram for Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >:Public Types | |
| using | PhysicsList_t = typename charged_interactor_t::PhysicsList_t |
Public Member Functions | |
| Simulator (charged_propagator_t chpropagator, neutral_propagator_t npropagator) | |
| const Acts::Logger & | logger () const |
| Private access to the logging instance. | |
| template<typename context_t , typename generator_t , typename event_collection_t , typename hit_collection_t > | |
| void | operator() (context_t &fatrasContext, generator_t &fatrasGenerator, event_collection_t &fatrasEvent, hit_collection_t &fatrasHits) const |
| call operator to the simulator | |
Public Attributes | |
| charged_propagator_t | chargedPropagator |
| charged_selector_t | chargedSelector |
| PhysicsList_t | physicsList |
| neutral_propagator_t | neutralPropagator |
| neutral_selector_t | neutralSelector |
| VoidDetector | detector |
| std::shared_ptr< const Acts::Logger > | mlogger = nullptr |
| bool | debug = false |
Fatras simulator.
This is called from a Fatras steering algorithm Per call, the generator is provided which is then used to create a Acts propagator plugin.
| charged_propagator_t | Type of the propagator for charged particles |
| charged_selector_t | Type of the slector (list) for charged particles |
| charged_interactor_t | Type of the dresser for chargerd particles |
| neutral_propagator_t | Type of the propagator for neutral particles |
| neutral_selector_t | Type of the slector (list) for neutral particles |
| neutral_interactor_t | Type of the dresser for neutral particles |
Definition at line 41 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 41 of file Simulator.hpp
| using Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::PhysicsList_t = typename charged_interactor_t::PhysicsList_t |
Definition at line 48 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 48 of file Simulator.hpp
|
inline |
Definition at line 43 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 43 of file Simulator.hpp
|
inline |
Private access to the logging instance.
Definition at line 63 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 63 of file Simulator.hpp
|
inline |
call operator to the simulator
| context_t | Type pf the context object |
| generator_t | Type of the generator object |
| event_collection_t | Type of the event collection |
| hit_collection_t | Type of the hit collection, needs insert() |
| fatrasContext | is the event-bound context |
| fatrasGenerator | is the event-bound random generator |
| fatrasEvent | is the truth event collection |
| fatrasHits | is the hit collection |
Definition at line 78 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 78 of file Simulator.hpp
References ACTS_INFO, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::chargedPropagator, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::chargedSelector, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::debug, i, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::neutralPropagator, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::neutralSelector, particle, Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::physicsList, and start.
| charged_propagator_t Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::chargedPropagator |
Definition at line 49 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 49 of file Simulator.hpp
| charged_selector_t Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::chargedSelector |
Definition at line 50 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 50 of file Simulator.hpp
| bool Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::debug = false |
Definition at line 60 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 60 of file Simulator.hpp
| VoidDetector Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::detector |
Definition at line 56 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 56 of file Simulator.hpp
| std::shared_ptr<const Acts::Logger> Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::mlogger = nullptr |
Definition at line 58 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 58 of file Simulator.hpp
| neutral_propagator_t Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::neutralPropagator |
Definition at line 53 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 53 of file Simulator.hpp
| neutral_selector_t Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::neutralSelector |
Definition at line 54 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 54 of file Simulator.hpp
| PhysicsList_t Fatras::Simulator< charged_propagator_t, charged_selector_t, charged_interactor_t, neutral_propagator_t, neutral_selector_t, neutral_interactor_t >::physicsList |
Definition at line 51 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 51 of file Simulator.hpp