 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_GEANT4SIMSVC_H
6 #define ISF_GEANT4SIMSVC_H 1
12 #include "GaudiKernel/ServiceHandle.h"
13 #include "GaudiKernel/ToolHandle.h"
48 std::shared_ptr<HitCollectionMap>)
override;
53 McEventCollection* mcEventCollection, std::shared_ptr<HitCollectionMap> hitCollections,
66 PublicToolHandle<ISF::ISimulatorTool> m_simulatorTool{
this,
"SimulatorTool",
75 #endif //> !ISF_Geant4SimSvc_H
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
virtual StatusCode simulate(ISFParticle &, McEventCollection *, std::shared_ptr< HitCollectionMap >)=0
Simulation call for individual particles.
Small wrapper around hit collection map to facilitate accessing the hit collection.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Geant4SimSvc()
Default constructor.
virtual StatusCode simulateVector(const ISFParticleVector &particles, McEventCollection *mcEventCollection, std::shared_ptr< HitCollectionMap > hitCollections, McEventCollection *)
Simulation call for vectors of particles.
virtual StatusCode releaseEvent() override
Release Event chain - in case of an end-of event action is needed.
virtual StatusCode setupEvent() override
Setup Event chain - in case of a begin-of event action is needed.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< ISF::ISFParticle * > ISFParticleVector
ISFParticle vector.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Define macros for attributes used to control the static checker.