|
ACTS
Experiment-independent tracking
|
Single particle simulation with fixed propagator, interactions, and decay. More...
#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 |
| Simulate a single particle without secondaries. | |
Public Attributes | |
| decay_t | decay |
| Decay module. | |
| interactions_t | interactions |
| Interaction list containing the simulated interactions. | |
| std::unique_ptr< const Acts::Logger > | logger |
| Logger for debug output. | |
| double | maxStepSize = std::numeric_limits<double>::max() |
| Absolute maximum step size. | |
| double | pathLimit = std::numeric_limits<double>::max() |
| Absolute maximum path length. | |
| propagator_t | propagator |
| How and within which geometry to propagate the particle. | |
| hit_surface_selector_t | selectHitSurface |
| Selector for surfaces that should generate hits. | |
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 |
| ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::SingleParticleSimulation | ( | propagator_t && | propagator_, |
| std::unique_ptr< const Acts::Logger > | _logger ) |
Alternatively construct the simulator with an external logger.
| propagator_ | Propagator to use for particle simulation |
| _logger | Logger instance for debug output |
| Acts::Result< SimulationResult > ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::simulate | ( | const Acts::GeometryContext & | geoCtx, |
| const Acts::MagneticFieldContext & | magCtx, | ||
| generator_t & | generator, | ||
| const Particle & | particle ) const |
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 |
| decay_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::decay |
Decay module.
| interactions_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::interactions |
Interaction list containing the simulated interactions.
| std::unique_ptr<const Acts::Logger> ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::logger |
Logger for debug output.
| double ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::maxStepSize = std::numeric_limits<double>::max() |
Absolute maximum step size.
| double ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::pathLimit = std::numeric_limits<double>::max() |
Absolute maximum path length.
| propagator_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::propagator |
How and within which geometry to propagate the particle.
| hit_surface_selector_t ActsFatras::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::selectHitSurface |
Selector for surfaces that should generate hits.