From d0533d03d0c85f2f993f1793a6b9ea2af3391207 Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 20 Nov 2018 17:26:02 +0000 Subject: Tue 20 Nov 17:26:02 GMT 2018 --- src/G4Interface.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/G4Interface.cxx') diff --git a/src/G4Interface.cxx b/src/G4Interface.cxx index 75d6f78..e552173 100644 --- a/src/G4Interface.cxx +++ b/src/G4Interface.cxx @@ -5,7 +5,9 @@ #include "G4BeamTestPhysicsList.h" #include "G4BeamTestUserTrackingAction.h" #include "G4BeamTestUserSteppingAction.h" +#include "G4BeamTestUserStackingAction.h" #include "G4BeamTestPrimaryGeneratorAction.h" +#include "G4BeamTestEventAction.h" #include "G4BeamTestRunAction.h" /* #include */ @@ -165,6 +167,12 @@ void G4Interface::Initialize() G4cout << "Init UserSteppingAction ..." << G4endl; runManager_.SetUserAction(new G4BeamTestUserSteppingAction()); + G4cout << "Init UserStackingAction ..." << G4endl; + runManager_.SetUserAction(new G4BeamTestUserStackingAction()); + + G4cout << "Init G4BeamTestEventAction ..." << G4endl; + runManager_.SetUserAction(new G4BeamTestEventAction()); + // Initialize G4 kernel /* log_debug("Init run manager ..."); */ G4cout << "Init run manager ..." << G4endl; -- cgit v1.2.3