Import Geant4 9.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:25:56 +02:00
parent 74cad5e589
commit 89a9605df1
4440 changed files with 379508 additions and 189225 deletions
+7 -10
View File
@@ -8,12 +8,10 @@
# Hava A Fun!
# ==================================================================
"""
# $Id: __init__.py,v 1.21 2009/11/20 03:36:51 kmura Exp $
__version__ ='9.3.0'
__date__ = '1/Dec/2009'
# $Id: __init__.py,v 1.23 2010/12/02 08:24:22 kmura Exp $
__version__ ='9.4.0'
__date__ = '17/December/2010'
__author__ = 'K.Murakami (Koichi.Murakami@kek.jp)'
__url__ = 'http://www-geant4.kek.jp/projects/Geant4Py/'
# import submodules
from G4interface import *
@@ -42,9 +40,8 @@ def print_version():
Version : %s
Date : %s
Contact : %s
WWW : %s
=============================================================
""" % ( __version__, __date__, __author__, __url__)
""" % ( __version__, __date__, __author__)
# ==================================================================
# initialize
@@ -236,12 +233,12 @@ import signal
import threading
def _run_abort(signum, frame):
state = gStateManager.GetCurrentState();
state = gStateManager.GetCurrentState()
if(state == G4ApplicationState.G4State_GeomClosed or
state == G4ApplicationState.G4State_EventProc):
print "aborting Run ...";
gRunManager.AbortRun(True);
print "aborting Run ..."
gRunManager.AbortRun(True)
else:
raise KeyboardInterrupt