1#ifndef GAUDIKERNEL_IG4SVC_H
2#define GAUDIKERNEL_IG4SVC_H
5#include "GaudiKernel/IService.h"
11class G4VUserDetectorConstruction;
12class G4VUserPhysicsList;
14class G4UserEventAction;
15class G4VUserPrimaryGeneratorAction;
16class G4UserStackingAction;
17class G4UserTrackingAction;
18class G4UserSteppingAction;
21static const InterfaceID IID_IG4Svc(
"IG4Svc", 1 , 0);
30class IG4Svc :
virtual public IService {
36 virtual G4UImanager*
uiMgr() = 0;
56 static const InterfaceID&
interfaceID() {
return IID_IG4Svc; }
virtual void SetUserInitialization(G4VUserDetectorConstruction *)=0
static const InterfaceID & interfaceID()
Retrieve interface ID.
virtual void StartUISession()=0
virtual G4RunManager * runMgr()=0
virtual void SetUserInitialization(G4VUserPhysicsList *)=0
virtual void SetUserAction(G4UserEventAction *)=0
virtual void SetUserAction(G4UserRunAction *)=0
virtual void SetUserAction(G4UserStackingAction *)=0
virtual void SetUserAction(G4VUserPrimaryGeneratorAction *)=0
virtual void SetUserAction(G4UserTrackingAction *)=0
virtual const G4Run * GetCurrentRun() const =0
virtual const G4Event * GetCurrentEvent() const =0
virtual void SetUserAction(G4UserSteppingAction *)=0
virtual G4UImanager * uiMgr()=0