|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::SUCCESS;
27 return StatusCode::SUCCESS;
32 return m_simulatorTool->setupEventST();
37 return m_simulatorTool->releaseEventST();
43 const EventContext& ctx = Gaudi::Hive::currentContext();
45 ATH_CHECK(m_simulatorTool->simulate(ctx, isp, secondaries, mcEventCollection));
46 return StatusCode::SUCCESS;
52 const EventContext& ctx = Gaudi::Hive::currentContext();
54 ATH_CHECK (m_simulatorTool->simulateVector(ctx,
particles,secondaries, mcEventCollection, shadowTruth));
55 return StatusCode::SUCCESS;
std::list< ISF::ISFParticle * > ISFParticleContainer
generic ISFParticle container (not necessarily a std::list!)
virtual StatusCode simulateVector(const ISF::ISFParticleVector &particles, McEventCollection *mcEventCollection, McEventCollection *shadowTruth=nullptr) override
Simulation Call for vector of ISF particles.
Geant4SimSvc()
Default constructor.
virtual StatusCode finalize() override
framework methods
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< ISF::ISFParticle * > ISFParticleVector
ISFParticle vector.
AthROOTErrorHandlerSvc * svc
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
virtual StatusCode setupEvent() override
Setup Event chain - in case of a begin-of event action is needed.
virtual ~Geant4SimSvc()
Destructor.
virtual StatusCode releaseEvent() override
Release Event chain - in case of an end-of event action is needed.
virtual StatusCode initialize() override
Athena algorithm's interface methods.
virtual StatusCode simulate(ISF::ISFParticle &isp, McEventCollection *mcEventCollection) override
Simulation Call