Geant4 Cross Reference |
1 # test17 1 # test17 2 # 2 # 3 /run/initialize 3 /run/initialize 4 # 4 # 5 /gps/particle geantino 5 /gps/particle geantino 6 6 7 # source 7 # source 8 /gps/pos/type Volume 8 /gps/pos/type Volume 9 /gps/pos/shape Sphere 9 /gps/pos/shape Sphere 10 /gps/pos/centre 0. 0. 5. cm 10 /gps/pos/centre 0. 0. 5. cm 11 /gps/pos/radius 5 cm 11 /gps/pos/radius 5 cm 12 /gps/pos/confine Sphere_phys 12 /gps/pos/confine Sphere_phys 13 # confine to physical volume "Sphere_phys" 13 # confine to physical volume "Sphere_phys" 14 14 15 # angular distribution 15 # angular distribution 16 /gps/ang/type iso 16 /gps/ang/type iso 17 17 18 # energy distribution 18 # energy distribution 19 /gps/ene/type Exp 19 /gps/ene/type Exp 20 /gps/ene/min 2. MeV 20 /gps/ene/min 2. MeV 21 /gps/ene/max 10. MeV 21 /gps/ene/max 10. MeV 22 /gps/ene/ezero 1. 22 /gps/ene/ezero 1. 23 23 24 # commands below are independent of gps 24 # commands below are independent of gps 25 # 25 # 26 /analysis/setFileName test17 26 /analysis/setFileName test17 27 /analysis/h1/set 1 100 1 15 MeV 27 /analysis/h1/set 1 100 1 15 MeV 28 /analysis/h1/set 2 100 0 10 cm 28 /analysis/h1/set 2 100 0 10 cm 29 /analysis/h1/set 3 110 -1.1 1.1 none #cos(the 29 /analysis/h1/set 3 110 -1.1 1.1 none #cos(theta) 30 /analysis/h1/set 4 130 -15 375 deg #phi 30 /analysis/h1/set 4 130 -15 375 deg #phi 31 /analysis/h2/set 1 100 -10 10 cm none linear 1 31 /analysis/h2/set 1 100 -10 10 cm none linear 100 -10 10 cm none linear #x-y 32 /analysis/h2/set 2 100 -10 10 cm none linear 1 32 /analysis/h2/set 2 100 -10 10 cm none linear 100 -10 10 cm none linear #y-z 33 /analysis/h2/set 3 100 -10 10 cm none linear 1 33 /analysis/h2/set 3 100 -10 10 cm none linear 100 -10 10 cm none linear #z-x 34 /analysis/h2/set 4 120 0 360 deg none linear 1 34 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 35 # 35 # 36 #/control/execute vis.mac 36 #/control/execute vis.mac 37 # 37 # 38 /run/printProgress 10000 38 /run/printProgress 10000 39 # 39 # 40 /run/beamOn 100000 40 /run/beamOn 100000