![]() |
ATLAS Offline Software
|
#include <ActsFatrasSimTool.h>
Classes | |
struct | HitSurfaceSelector |
Simple struct to select surfaces where hits should be generated. More... | |
struct | SingleParticleSimulation |
Single particle simulation with fixed propagator, interactions, and decay. More... | |
Public Types | |
using | Generator = std::ranlux48 |
using | Navigator = Acts::Navigator |
using | ChargedStepper = Acts::EigenStepper< Acts::StepperExtensionList< Acts::DefaultExtension, Acts::DenseEnvironmentExtension > > |
using | ChargedPropagator = Acts::Propagator< ChargedStepper, Navigator > |
using | NeutralStepper = Acts::StraightLineStepper |
using | NeutralPropagator = Acts::Propagator< NeutralStepper, Navigator > |
using | ChargedSelector = ActsFatras::ChargedSelector |
using | ChargedInteractions = ActsFatras::StandardChargedElectroMagneticInteractions |
using | ChargedSimulation = SingleParticleSimulation< ChargedPropagator, ChargedInteractions, HitSurfaceSelector, ActsFatras::NoDecay > |
using | NeutralSelector = ActsFatras::NeutralSelector |
using | NeutralInteractions = ActsFatras::InteractionList<> |
using | NeutralSimulation = SingleParticleSimulation< NeutralPropagator, NeutralInteractions, ActsFatras::NoSurface, ActsFatras::NoDecay > |
using | Simulation = ActsFatras::Simulation< ChargedSelector, ChargedSimulation, NeutralSelector, NeutralSimulation > |
Public Member Functions | |
ActsFatrasSimTool (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual | ~ActsFatrasSimTool () |
virtual StatusCode | initialize () override |
virtual StatusCode | simulate (ISFParticle &isp, ISFParticleContainer &, McEventCollection *) override |
virtual StatusCode | simulateVector (const ISFParticleVector &particles, ISFParticleContainer &secondaries, McEventCollection *mcEventCollection, McEventCollection *shadowTruth=nullptr) override |
Simulation call for vectors of particles. More... | |
virtual StatusCode | setupEvent (const EventContext &) override |
Setup Event chain - in case of a begin-of event action is needed. More... | |
virtual StatusCode | releaseEvent (const EventContext &) override |
Release Event chain - in case of an end-of event action is needed. More... | |
virtual ISF::SimulationFlavor | simFlavor () const override |
virtual Acts::MagneticFieldContext | getMagneticFieldContext (const EventContext &) const |
virtual StatusCode | sysInitialize () override |
Gaudi sysInitialize() methods. More... | |
virtual StatusCode | setupEventST () override |
Setup Event chain - in case of a begin-of event action is needed (called by ISimulationSvc) More... | |
virtual StatusCode | releaseEventST () override |
Release Event chain - in case of an end-of event action is needed (called by ISimulationSvc) More... | |
const ChronoEntity * | chronoStart (const IChronoSvc::ChronoTag &tag) |
wrapper call to start chrono with given tag More... | |
const ChronoEntity * | chronoStop (const IChronoSvc::ChronoTag &tag) |
wrapper call to stop chrono with given tag More... | |
Protected Attributes | |
std::string | m_chronoSvcName {"ChronoStatSvc"} |
Name of the timing service - can be set by declareProperty() More... | |
IChronoStatSvc * | m_chrono {} |
The timing service for general usage. More... | |
Private Member Functions | |
template<class T > | |
StatusCode | retrieveTool (ToolHandle< T > &thandle) |
int | getATLASProcessCode (ActsFatras::ProcessType actspt) |
Private Attributes | |
ServiceHandle< IAthRNGSvc > | m_rngSvc {this, "RNGServec", "AthRNGSvc"} |
ATHRNG::RNGWrapper *m_randomEngine | ATLAS_THREAD_SAFE {} |
Gaudi::Property< std::string > | m_randomEngineName |
ToolHandle< IActsTrackingGeometryTool > | m_trackingGeometryTool |
std::shared_ptr< const Acts::TrackingGeometry > | m_trackingGeometry |
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > | m_fieldCacheCondObjInputKey {this, "AtlasFieldCacheCondObj", "fieldCondObj", "Name of the Magnetic Field conditions object key"} |
std::shared_ptr< const Acts::Logger > | m_logger {nullptr} |
PublicToolHandle< ISF::IParticleFilter > | m_particleFilter |
Gaudi::Property< double > | m_interact_minPt |
Gaudi::Property< bool > | m_meanEnergyLoss {this, "MeanEnergyLoss", true, "Toggle between mean and mode evaluation of energy loss"} |
Gaudi::Property< bool > | m_includeGgradient {this, "IncludeGgradient", true, "Boolean flag for inclusion of d(dEds)d(q/p) into energy loss"} |
Gaudi::Property< double > | m_momentumCutOff {this, "MomentumCutOff", 0., "Cut-off value for the momentum in SI units"} |
Gaudi::Property< double > | m_maxStep |
Gaudi::Property< double > | m_maxRungeKuttaStepTrials |
Gaudi::Property< double > | m_maxStepSize |
Gaudi::Property< double > | m_pathLimit |
Gaudi::Property< bool > | m_loopProtection |
Gaudi::Property< double > | m_loopFraction |
Gaudi::Property< double > | m_tolerance |
Gaudi::Property< double > | m_stepSizeCutOff |
Gaudi::Property< std::map< int, int > > | m_processTypeMap |
Definition at line 65 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedInteractions = ActsFatras::StandardChargedElectroMagneticInteractions |
Definition at line 189 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedPropagator = Acts::Propagator<ChargedStepper, Navigator> |
Definition at line 180 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedSelector = ActsFatras::ChargedSelector |
Definition at line 188 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedSimulation = SingleParticleSimulation< ChargedPropagator, ChargedInteractions, HitSurfaceSelector, ActsFatras::NoDecay> |
Definition at line 191 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedStepper = Acts::EigenStepper<Acts::StepperExtensionList< Acts::DefaultExtension, Acts::DenseEnvironmentExtension > > |
Definition at line 175 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Generator = std::ranlux48 |
Definition at line 171 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Navigator = Acts::Navigator |
Definition at line 173 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralInteractions = ActsFatras::InteractionList<> |
Definition at line 196 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralPropagator = Acts::Propagator<NeutralStepper, Navigator> |
Definition at line 183 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralSelector = ActsFatras::NeutralSelector |
Definition at line 195 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralSimulation = SingleParticleSimulation< NeutralPropagator, NeutralInteractions, ActsFatras::NoSurface, ActsFatras::NoDecay> |
Definition at line 197 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralStepper = Acts::StraightLineStepper |
Definition at line 182 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Simulation = ActsFatras::Simulation<ChargedSelector, ChargedSimulation, NeutralSelector, NeutralSimulation> |
Definition at line 201 of file ActsFatrasSimTool.h.
ISF::ActsFatrasSimTool::ActsFatrasSimTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 16 of file ActsFatrasSimTool.cxx.
|
virtual |
Definition at line 21 of file ActsFatrasSimTool.cxx.
|
inlineinherited |
wrapper call to start chrono with given tag
Definition at line 100 of file BaseSimulatorTool.h.
|
inlineinherited |
wrapper call to stop chrono with given tag
Definition at line 106 of file BaseSimulatorTool.h.
|
inlineprivate |
Definition at line 287 of file ActsFatrasSimTool.h.
|
virtual |
Definition at line 193 of file ActsFatrasSimTool.cxx.
|
overridevirtual |
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 23 of file ActsFatrasSimTool.cxx.
|
inlineoverridevirtual |
Release Event chain - in case of an end-of event action is needed.
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 219 of file ActsFatrasSimTool.h.
|
inlineoverridevirtualinherited |
Release Event chain - in case of an end-of event action is needed (called by ISimulationSvc)
Reimplemented in ISF::FastCaloSimV2Tool.
Definition at line 96 of file BaseSimulatorTool.h.
|
inlineprivate |
Definition at line 230 of file ActsFatrasSimTool.h.
|
inlineoverridevirtual |
Setup Event chain - in case of a begin-of event action is needed.
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 217 of file ActsFatrasSimTool.h.
|
inlineoverridevirtualinherited |
Setup Event chain - in case of a begin-of event action is needed (called by ISimulationSvc)
Reimplemented in ISF::FastCaloSimV2Tool.
Definition at line 69 of file BaseSimulatorTool.h.
|
inlineoverridevirtual |
Definition at line 221 of file ActsFatrasSimTool.h.
|
overridevirtual |
|
overridevirtual |
Simulation call for vectors of particles.
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 72 of file ActsFatrasSimTool.cxx.
|
inlineoverridevirtualinherited |
|
private |
Definition at line 240 of file ActsFatrasSimTool.h.
|
protectedinherited |
The timing service for general usage.
Definition at line 120 of file BaseSimulatorTool.h.
|
protectedinherited |
Name of the timing service - can be set by declareProperty()
Definition at line 117 of file BaseSimulatorTool.h.
|
private |
Definition at line 250 of file ActsFatrasSimTool.h.
|
private |
Definition at line 264 of file ActsFatrasSimTool.h.
|
private |
Definition at line 259 of file ActsFatrasSimTool.h.
|
private |
Definition at line 253 of file ActsFatrasSimTool.h.
|
private |
Definition at line 277 of file ActsFatrasSimTool.h.
|
private |
Definition at line 275 of file ActsFatrasSimTool.h.
|
private |
Definition at line 269 of file ActsFatrasSimTool.h.
|
private |
Definition at line 267 of file ActsFatrasSimTool.h.
|
private |
Definition at line 271 of file ActsFatrasSimTool.h.
|
private |
Definition at line 263 of file ActsFatrasSimTool.h.
|
private |
Definition at line 265 of file ActsFatrasSimTool.h.
|
private |
Definition at line 256 of file ActsFatrasSimTool.h.
|
private |
Definition at line 273 of file ActsFatrasSimTool.h.
|
private |
Definition at line 284 of file ActsFatrasSimTool.h.
|
private |
Definition at line 241 of file ActsFatrasSimTool.h.
|
private |
Definition at line 239 of file ActsFatrasSimTool.h.
|
private |
Definition at line 281 of file ActsFatrasSimTool.h.
|
private |
Definition at line 279 of file ActsFatrasSimTool.h.
|
private |
Definition at line 247 of file ActsFatrasSimTool.h.
|
private |
Definition at line 245 of file ActsFatrasSimTool.h.