Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Kernel/Simulation.hpp>
Public Member Functions | |
SingleParticleSimulation (propagator_t &&propagator_, std::unique_ptr< const Acts::Logger > _logger) | |
Alternatively construct the simulator with an external logger. | |
template<typename generator_t > | |
Acts::Result< SimulationResult > | 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. | |
decay_t | decay |
Decay module. | |
interactions_t | interactions |
Interaction list containing the simulated interactions. | |
hit_surface_selector_t | selectHitSurface |
Selector for surfaces that should generate hits. | |
std::unique_ptr< const Acts::Logger > | logger |
Logger for debug output. | |
Single particle simulation with fixed propagator, interactions, and decay.
generator_t | random number generator |
interactions_t | interaction list |
hit_surface_selector_t | selector for hit surfaces |
decay_t | decay module |
Definition at line 44 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 44 of file Simulation.hpp
|
inline |
Alternatively construct the simulator with an external logger.
Definition at line 57 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 57 of file Simulation.hpp
|
inline |
Simulate a single particle without secondaries.
generator_t | is the type of the random number generator |
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 |
Definition at line 71 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 71 of file Simulation.hpp
References testing::internal::posix::Abort(), ActsFatras::Particle::boundParameters(), ActsFatras::Particle::curvilinearParameters(), ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::decay, Fatras::Test::generator, ActsFatras::Particle::hasReferenceSurface(), ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::interactions, testing::internal::move(), ckf::options, particle, ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::propagator, ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::selectHitSurface, and value.
decay_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::decay |
Decay module.
Definition at line 48 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 48 of file Simulation.hpp
Referenced by ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::simulate().
interactions_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::interactions |
Interaction list containing the simulated interactions.
Definition at line 50 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 50 of file Simulation.hpp
Referenced by ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::simulate().
std::unique_ptr<const Acts::Logger> ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::logger |
Logger for debug output.
Definition at line 54 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 54 of file Simulation.hpp
propagator_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::propagator |
How and within which geometry to propagate the particle.
Definition at line 46 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 46 of file Simulation.hpp
Referenced by ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::simulate().
hit_surface_selector_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::selectHitSurface |
Selector for surfaces that should generate hits.
Definition at line 52 of file Simulation.hpp.
View newest version in sPHENIX GitHub at line 52 of file Simulation.hpp
Referenced by ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::simulate().