Import Geant4 8.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:44:26 +02:00
parent 8a51e0bc40
commit 216a75eeb1
8717 changed files with 360418 additions and 141343 deletions
+41
View File
@@ -0,0 +1,41 @@
#!/usr/bin/python
# ==================================================================
# python script for Geant4Py test
#
#
# ==================================================================
import test05
print "AClass(2,3.)"
a= test05.AClass(2,3.)
print "a.i=", a.i
print ""
print "func2(10)=", test05.func2(10)
print "func2(10,100)=", test05.func2(10, 100)
print ""
print "func3(1)=", test05.func3(1)
print "func3(1.)=", test05.func3(1.)
print ""
print "AMethod()=", a.AMethod()
print "AMethod(1)=", a.AMethod(1)
print "AMethod(1,2.)=", a.AMethod(1,2.)
print ""
print "BMethod()=", a.BMethod()
print "BMethod(1.)=", a.BMethod(1.)
print ""
print "CMethod(1)=", a.CMethod(1)
print "CMethod(1,10.)=", a.CMethod(1,10.)
print "CMethod(1,10.,100.)=", a.CMethod(1,10.,100.)
print ""
print "*** ERRORS!! ***"
a.AMethod(1,2,3) # error