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::EigenStepperDefaultExtension > |
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 (const EventContext &ctx, ISFParticle &isp, ISFParticleContainer &, McEventCollection *) override |
virtual StatusCode | simulateVector (const EventContext &ctx, 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 | |
ServiceHandle< IChronoStatSvc > | m_chrono {this, "ChronoStatService", "ChronoStatSvc"} |
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, "RNGService", "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 |
ServiceHandle< ISF::ITruthSvc > | m_truthRecordSvc {this, "TruthRecordService", "ISF_TruthRecordSvc", ""} |
ToolHandle< ActsFatrasWriteHandler > | m_ActsFatrasWriteHandler |
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 68 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedInteractions = ActsFatras::StandardChargedElectroMagneticInteractions |
Definition at line 186 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedPropagator = Acts::Propagator<ChargedStepper, Navigator> |
Definition at line 177 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedSelector = ActsFatras::ChargedSelector |
Definition at line 185 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedSimulation = SingleParticleSimulation< ChargedPropagator, ChargedInteractions, HitSurfaceSelector, ActsFatras::NoDecay> |
Definition at line 188 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::ChargedStepper = Acts::EigenStepper<Acts::EigenStepperDefaultExtension> |
Definition at line 176 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Generator = std::ranlux48 |
Definition at line 172 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Navigator = Acts::Navigator |
Definition at line 174 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralInteractions = ActsFatras::InteractionList<> |
Definition at line 193 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralPropagator = Acts::Propagator<NeutralStepper, Navigator> |
Definition at line 180 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralSelector = ActsFatras::NeutralSelector |
Definition at line 192 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralSimulation = SingleParticleSimulation< NeutralPropagator, NeutralInteractions, ActsFatras::NoSurface, ActsFatras::NoDecay> |
Definition at line 194 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::NeutralStepper = Acts::StraightLineStepper |
Definition at line 179 of file ActsFatrasSimTool.h.
using ISF::ActsFatrasSimTool::Simulation = ActsFatras::Simulation<ChargedSelector, ChargedSimulation, NeutralSelector, NeutralSimulation> |
Definition at line 198 of file ActsFatrasSimTool.h.
ISF::ActsFatrasSimTool::ActsFatrasSimTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 17 of file ActsFatrasSimTool.cxx.
|
virtual |
Definition at line 22 of file ActsFatrasSimTool.cxx.
|
inlineinherited |
wrapper call to start chrono with given tag
Definition at line 98 of file BaseSimulatorTool.h.
|
inlineinherited |
wrapper call to stop chrono with given tag
Definition at line 104 of file BaseSimulatorTool.h.
|
inlineprivate |
Definition at line 291 of file ActsFatrasSimTool.h.
|
virtual |
Definition at line 222 of file ActsFatrasSimTool.cxx.
|
overridevirtual |
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 24 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 217 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 94 of file BaseSimulatorTool.h.
|
inlineprivate |
Definition at line 228 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 215 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 67 of file BaseSimulatorTool.h.
|
inlineoverridevirtual |
Definition at line 219 of file ActsFatrasSimTool.h.
|
overridevirtual |
|
overridevirtual |
Simulation call for vectors of particles.
Reimplemented from ISF::BaseSimulatorTool.
Definition at line 77 of file ActsFatrasSimTool.cxx.
|
inlineoverridevirtualinherited |
|
private |
Definition at line 238 of file ActsFatrasSimTool.h.
|
private |
Definition at line 260 of file ActsFatrasSimTool.h.
|
protectedinherited |
The timing service for general usage.
Definition at line 115 of file BaseSimulatorTool.h.
|
private |
Definition at line 248 of file ActsFatrasSimTool.h.
|
private |
Definition at line 268 of file ActsFatrasSimTool.h.
|
private |
Definition at line 263 of file ActsFatrasSimTool.h.
|
private |
Definition at line 251 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 273 of file ActsFatrasSimTool.h.
|
private |
Definition at line 271 of file ActsFatrasSimTool.h.
|
private |
Definition at line 275 of file ActsFatrasSimTool.h.
|
private |
Definition at line 267 of file ActsFatrasSimTool.h.
|
private |
Definition at line 269 of file ActsFatrasSimTool.h.
|
private |
Definition at line 254 of file ActsFatrasSimTool.h.
|
private |
Definition at line 277 of file ActsFatrasSimTool.h.
|
private |
Definition at line 288 of file ActsFatrasSimTool.h.
|
private |
Definition at line 239 of file ActsFatrasSimTool.h.
|
private |
Definition at line 237 of file ActsFatrasSimTool.h.
|
private |
Definition at line 285 of file ActsFatrasSimTool.h.
|
private |
Definition at line 283 of file ActsFatrasSimTool.h.
|
private |
Definition at line 245 of file ActsFatrasSimTool.h.
|
private |
Definition at line 243 of file ActsFatrasSimTool.h.
|
private |
Definition at line 257 of file ActsFatrasSimTool.h.