k4SimGeant4
Loading...
Searching...
No Matches
ISimG4Svc.h
Go to the documentation of this file.
1#ifndef SIMG4INTERFACE_ISIMG4SVC_H
2#define SIMG4INTERFACE_ISIMG4SVC_H
3
4// Gaudi
5#include "GaudiKernel/IService.h"
6
7// Geant
8class G4Event;
9
17class ISimG4Svc : virtual public IService {
18public:
24 virtual StatusCode processEvent(G4Event& aEvent) = 0;
29 virtual StatusCode retrieveEvent(G4Event*& aEvent) = 0;
33 virtual StatusCode terminateEvent() = 0;
34};
35#endif /* SIMG4INTERFACE_ISIMG4SVC_H */
Interface to the main Geant simulation service.
Definition ISimG4Svc.h:17
virtual StatusCode retrieveEvent(G4Event *&aEvent)=0
Retrieve the processed event.
DeclareInterfaceID(ISimG4Svc, 1, 0)
virtual StatusCode processEvent(G4Event &aEvent)=0
Simulate the event with Geant.
virtual StatusCode terminateEvent()=0
Terminate the event simulation.