ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Fatras/include/ActsFatras/Kernel/Simulator.hpp>
Public Member Functions | |
ParticleSimulator (propagator_t &&propagator_, Acts::Logging::Level lvl) | |
Construct the simulator with the underlying propagator. | |
const Acts::Logger & | logger () const |
Provide access to the local logger instance, e.g. for logging macros. | |
template<typename generator_t > | |
Acts::Result< InteractorResult > | simulate (const Acts::GeometryContext &geoCtx, const Acts::MagneticFieldContext &magCtx, generator_t &generator, const Particle &particle) const |
Public Attributes | |
propagator_t | propagator |
How and within which geometry to propagate the particle. | |
physics_list_t | physics |
What should be simulated. Will be copied to the per-call interactor. | |
hit_surface_selector_t | selectHitSurface |
Where hits are registiered. Will be copied to the per-call interactor. | |
std::shared_ptr< const Acts::Logger > | localLogger = nullptr |
Local logger for debug output. | |
Single particle simulator with a fixed propagator and physics list.
propagator_t | is the type of the underlying propagator |
physics_list_t | is the type of the simulated physics list |
hit_surface_selector_t | is the type that selects hit surfaces |
Definition at line 42 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 42 of file Simulator.hpp
|
inline |
Construct the simulator with the underlying propagator.
Definition at line 53 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 53 of file Simulator.hpp
|
inline |
Provide access to the local logger instance, e.g. for logging macros.
Definition at line 58 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 58 of file Simulator.hpp
References ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::localLogger.
|
inline |
Simulate a single particle without secondaries.
geoCtx | is the geometry context to access surface geometries |
magCtx | is the magnetic field context to access field values |
generator | is the random number generator |
particle | is the initial particle state |
generator_t | is the type of the random number generator |
Definition at line 70 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 70 of file Simulator.hpp
References ActsFatras::Particle::absMomentum(), ActsFatras::Particle::charge(), Acts::Logging::DEBUG, Acts::Test::generator(), ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::localLogger, ActsFatras::Particle::mass(), particle, ActsFatras::Particle::pdg(), ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::physics, ActsFatras::Particle::position(), ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::propagator, ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface, start(), ActsFatras::Particle::time(), and ActsFatras::Particle::unitDirection().
std::shared_ptr<const Acts::Logger> ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::localLogger = nullptr |
Local logger for debug output.
Definition at line 50 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 50 of file Simulator.hpp
Referenced by ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::logger(), and ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::simulate().
physics_list_t ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::physics |
What should be simulated. Will be copied to the per-call interactor.
Definition at line 46 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 46 of file Simulator.hpp
Referenced by ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::simulate().
propagator_t ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::propagator |
How and within which geometry to propagate the particle.
Definition at line 44 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 44 of file Simulator.hpp
Referenced by ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::simulate().
hit_surface_selector_t ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::selectHitSurface |
Where hits are registiered. Will be copied to the per-call interactor.
Definition at line 48 of file Simulator.hpp.
View newest version in sPHENIX GitHub at line 48 of file Simulator.hpp
Referenced by ActsFatras::ParticleSimulator< propagator_t, physics_list_t, hit_surface_selector_t >::simulate().