Geant4 Cross Reference |
1 # test10 1 # test10 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 2. 2. 2. cm 10 /gps/pos/centre 2. 2. 2. cm 11 /gps/pos/radius 2.5 cm 11 /gps/pos/radius 2.5 cm 12 12 13 # angular distribution 13 # angular distribution 14 /gps/ang/type iso 14 /gps/ang/type iso 15 15 16 # energy distribution 16 # energy distribution 17 /gps/ene/type Lin 17 /gps/ene/type Lin 18 /gps/ene/min 2. MeV 18 /gps/ene/min 2. MeV 19 /gps/ene/max 10. MeV 19 /gps/ene/max 10. MeV 20 /gps/ene/gradient 1. 20 /gps/ene/gradient 1. 21 /gps/ene/intercept 0. 21 /gps/ene/intercept 0. 22 22 23 # commands below are independent of gps 23 # commands below are independent of gps 24 # 24 # 25 /analysis/setFileName test10 25 /analysis/setFileName test10 26 /analysis/h1/set 1 100 1 15 MeV 26 /analysis/h1/set 1 100 1 15 MeV 27 /analysis/h1/set 2 100 0 10 cm 27 /analysis/h1/set 2 100 0 10 cm 28 /analysis/h1/set 3 110 -1.1 1.1 none #cos(the 28 /analysis/h1/set 3 110 -1.1 1.1 none #cos(theta) 29 /analysis/h1/set 4 130 -15 375 deg #phi 29 /analysis/h1/set 4 130 -15 375 deg #phi 30 /analysis/h2/setX 4 120 0 360 deg << 30 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 31 /analysis/h2/setY 4 100 -1 1 none << 32 # 31 # 33 #/control/execute vis.mac 32 #/control/execute vis.mac 34 # 33 # 35 /run/printProgress 10000 34 /run/printProgress 10000 36 # 35 # 37 /run/beamOn 100000 36 /run/beamOn 100000