ATLAS Offline Software
|
Single particle simulation with fixed propagator, interactions, and decay. More...
#include <ActsFatrasSimTool.h>
Public Member Functions | |
SingleParticleSimulation (propagator_t &&propagator_, std::shared_ptr< const Acts::Logger > localLogger_) | |
Alternatively construct the simulator with an external logger. More... | |
const Acts::Logger & | logger () const |
Provide access to the local logger instance, e.g. for logging macros. More... | |
template<typename generator_t > | |
Acts::Result< ActsFatras::SimulationResult > | simulate (const Acts::GeometryContext &geoCtx, const Acts::MagneticFieldContext &magCtx, generator_t &generator, const ActsFatras::Particle &particle) const |
Simulate a single particle without secondaries. More... | |
Public Attributes | |
propagator_t | propagator |
How and within which geometry to propagate the particle. More... | |
decay_t | decay |
Decay module. More... | |
interactions_t | interactions |
Interaction list containing the simulated interactions. More... | |
hit_surface_selector_t | selectHitSurface |
Selector for surfaces that should generate hits. More... | |
double | maxStepSize = 3.0 |
parameters for propagator options More... | |
double | maxStep = 1000 |
double | maxRungeKuttaStepTrials = 10000 |
double | pathLimit = 100.0 |
bool | loopProtection = true |
double | loopFraction = 0.5 |
double | targetTolerance = 0.0001 |
double | stepSizeCutOff = 0. |
double | meanEnergyLoss = true |
bool | includeGgradient = true |
double | momentumCutOff = 0. |
std::shared_ptr< const Acts::Logger > | localLogger = nullptr |
Local logger for debug output. More... | |
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 88 of file ActsFatrasSimTool.h.
|
inline |
Alternatively construct the simulator with an external logger.
Definition at line 115 of file ActsFatrasSimTool.h.
|
inline |
Provide access to the local logger instance, e.g. for logging macros.
Definition at line 120 of file ActsFatrasSimTool.h.
|
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 132 of file ActsFatrasSimTool.h.
decay_t ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::decay |
Decay module.
Definition at line 92 of file ActsFatrasSimTool.h.
bool ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::includeGgradient = true |
Definition at line 108 of file ActsFatrasSimTool.h.
interactions_t ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::interactions |
Interaction list containing the simulated interactions.
Definition at line 94 of file ActsFatrasSimTool.h.
std::shared_ptr<const Acts::Logger> ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::localLogger = nullptr |
Local logger for debug output.
Definition at line 112 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::loopFraction = 0.5 |
Definition at line 103 of file ActsFatrasSimTool.h.
bool ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::loopProtection = true |
Definition at line 102 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::maxRungeKuttaStepTrials = 10000 |
Definition at line 100 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::maxStep = 1000 |
Definition at line 99 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::maxStepSize = 3.0 |
parameters for propagator options
Definition at line 98 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::meanEnergyLoss = true |
Definition at line 107 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::momentumCutOff = 0. |
Definition at line 109 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::pathLimit = 100.0 |
Definition at line 101 of file ActsFatrasSimTool.h.
propagator_t ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::propagator |
How and within which geometry to propagate the particle.
Definition at line 90 of file ActsFatrasSimTool.h.
hit_surface_selector_t ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::selectHitSurface |
Selector for surfaces that should generate hits.
Definition at line 96 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::stepSizeCutOff = 0. |
Definition at line 105 of file ActsFatrasSimTool.h.
double ISF::ActsFatrasSimTool::SingleParticleSimulation< propagator_t, interactions_t, hit_surface_selector_t, decay_t >::targetTolerance = 0.0001 |
Definition at line 104 of file ActsFatrasSimTool.h.