diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 17:26:02 +0000 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-11-20 17:26:02 +0000 |
| commit | d0533d03d0c85f2f993f1793a6b9ea2af3391207 (patch) | |
| tree | 682c2fefe2d113319f21c07bded00fed5245e19b /src/G4Interface.cxx | |
| parent | 738c2f88939a041fbc8b6b9cfa3c547b86bc6e42 (diff) | |
| download | G4BeamTest-d0533d03d0c85f2f993f1793a6b9ea2af3391207.tar.gz G4BeamTest-d0533d03d0c85f2f993f1793a6b9ea2af3391207.zip | |
Tue 20 Nov 17:26:02 GMT 2018
Diffstat (limited to 'src/G4Interface.cxx')
| -rw-r--r-- | src/G4Interface.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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 <icetray/I3Logging.h> */ @@ -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; |
