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
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/python
# ==================================================================
# python script for Geant4Py test
#
#
# ==================================================================
import test12
a= test12.AClass()
a.ival=10
b= test12.AClass()
b.ival=20
c= test12.AClass()
c.ival=30
v= test12.AVector()
v.push_back(a)
v.push_back(b)
v.push_back(c)
print "*** size of vector= ", len(v)
x=v[0]
print ""
print "*** a vs v[0]"
a.Print()
x.Print()
print ""
print "*** dump vector..."
test12.PrintVector(v)