![]() |
ATLAS Offline Software
|
#include <BaseSimulationG4Svc.h>
Public Member Functions | |
| virtual | ~BaseSimulationG4Svc ()=default |
| Destructor. More... | |
| virtual StatusCode | simulate (ISFParticle &, McEventCollection *, std::shared_ptr< HitCollectionMap >)=0 |
| Simulation call for individual particles. More... | |
| virtual StatusCode | setupEvent (HitCollectionMap &)=0 |
| Setup Event chain - in case of a begin-of event action is needed. More... | |
| virtual StatusCode | releaseEvent (HitCollectionMap &)=0 |
| Release Event chain - in case of an end-of event action is needed. More... | |
| virtual StatusCode | simulateVector (const ISFParticleVector &particles, McEventCollection *mcEventCollection, std::shared_ptr< HitCollectionMap > hitCollections, McEventCollection *) |
| Simulation call for vectors of particles. More... | |
| virtual StatusCode | simulate (ISFParticle &, McEventCollection *) override |
| Simulation call for individual particles. More... | |
| virtual StatusCode | setupEvent () override |
| Setup Event chain - in case of a begin-of event action is needed. More... | |
| virtual StatusCode | releaseEvent () override |
| Release Event chain - in case of an end-of event action is needed. More... | |
| virtual StatusCode | simulateVector (const ISFParticleVector &, McEventCollection *, McEventCollection *) override |
| Simulation call for vectors of particles. More... | |
| BaseSimulationSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard BaseSimulationSvc constructor. More... | |
| virtual StatusCode | sysInitialize () override |
| Gaudi sysInitialize() methods. More... | |
| const std::string & | simSvcDescriptor () override |
| Return the simulation service descriptor. More... | |
| virtual StatusCode | setParticleBroker (IParticleBroker *broker) override |
| Inform the SimulationSvc about the ParticleBroker svc. 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... | |
| const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More... | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More... | |
| ServiceHandle< StoreGateSvc > & | detStore () |
| template<class T > | |
| StatusCode | retrieveTool (ToolHandle< T > &thandle) |
| templated Tool retrieval - gives unique handling & look and feel More... | |
| template<class T > | |
| StatusCode | retrieveTools (ToolHandleArray< T > &thandleArray) |
| templated Tool retrieval - gives unique handling & look and feel More... | |
| template<class T > | |
| StatusCode | recordCollection (T *&coll, const std::string &collName) const |
| templated record collection method, will create a new one if not existing More... | |
| template<class T > | |
| StatusCode | retrieveCollection (T *&coll, const std::string &collName, bool forceBreak=true) const |
| templated retrieve collection method, boolean steers that force break More... | |
Protected Attributes | |
| Gaudi::Property< std::string > | m_simDescr |
| The simulator service descriptor. More... | |
| Gaudi::Property< std::string > | m_screenOutputPrefix |
| Screen output refinement. More... | |
| ServiceHandle< IChronoStatSvc > | m_chrono {this, "ChronoStatService", "ChronoStatSvc"} |
| The timing service for general usage. More... | |
| IParticleBroker * | m_particleBroker {} |
| The particle service used to push particles into the simulation. More... | |
Private Attributes | |
| ServiceHandle< StoreGateSvc > | m_evtStore |
| Handle to StoreGate (event store by default) More... | |
| ServiceHandle< StoreGateSvc > | m_detStore |
| Handle to StoreGate (detector store by default) More... | |
Base class for an ISimulatorSvc which requires a Geant4 UserInfo object
Definition at line 33 of file BaseSimulationG4Svc.h.
|
virtualdefault |
Destructor.
|
inline |
|
inlineinherited |
wrapper call to start chrono with given tag
Definition at line 105 of file BaseSimulationSvc.h.
|
inlineinherited |
wrapper call to stop chrono with given tag
Definition at line 111 of file BaseSimulationSvc.h.
|
inlineinherited |
Definition at line 126 of file BaseSimulationSvc.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 125 of file BaseSimulationSvc.h.
|
inlineinherited |
Definition at line 120 of file BaseSimulationSvc.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 119 of file BaseSimulationSvc.h.
|
inlineinherited |
templated record collection method, will create a new one if not existing
Definition at line 151 of file BaseSimulationSvc.h.
|
inlineoverridevirtual |
Release Event chain - in case of an end-of event action is needed.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 85 of file BaseSimulationG4Svc.h.
|
pure virtual |
Release Event chain - in case of an end-of event action is needed.
Implemented in iGeant4::Geant4SimSvc.
|
inlineinherited |
templated retrieve collection method, boolean steers that force break
Definition at line 165 of file BaseSimulationSvc.h.
|
inlineinherited |
templated Tool retrieval - gives unique handling & look and feel
Definition at line 129 of file BaseSimulationSvc.h.
|
inlineinherited |
templated Tool retrieval - gives unique handling & look and feel
Definition at line 140 of file BaseSimulationSvc.h.
|
inlineoverridevirtualinherited |
Inform the SimulationSvc about the ParticleBroker svc.
Definition at line 78 of file BaseSimulationSvc.h.
|
inlineoverridevirtual |
Setup Event chain - in case of a begin-of event action is needed.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 82 of file BaseSimulationG4Svc.h.
|
pure virtual |
Setup Event chain - in case of a begin-of event action is needed.
Implemented in iGeant4::Geant4SimSvc.
|
inlineoverrideinherited |
|
inlineoverridevirtual |
Simulation call for individual particles.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 77 of file BaseSimulationG4Svc.h.
|
pure virtual |
Simulation call for individual particles.
Implemented in iGeant4::Geant4SimSvc.
|
inlineoverridevirtual |
Simulation call for vectors of particles.
Reimplemented from ISF::BaseSimulationSvc.
Definition at line 88 of file BaseSimulationG4Svc.h.
|
inlinevirtual |
Simulation call for vectors of particles.
Reimplemented in iGeant4::Geant4SimSvc.
Definition at line 52 of file BaseSimulationG4Svc.h.
|
inlineoverridevirtualinherited |
|
protectedinherited |
The timing service for general usage.
Definition at line 203 of file BaseSimulationSvc.h.
|
privateinherited |
Handle to StoreGate (detector store by default)
Definition at line 189 of file BaseSimulationSvc.h.
|
privateinherited |
Handle to StoreGate (event store by default)
Definition at line 185 of file BaseSimulationSvc.h.
|
protectedinherited |
The particle service used to push particles into the simulation.
Definition at line 206 of file BaseSimulationSvc.h.
|
protectedinherited |
Screen output refinement.
Definition at line 199 of file BaseSimulationSvc.h.
|
protectedinherited |
The simulator service descriptor.
Definition at line 195 of file BaseSimulationSvc.h.
1.8.18