Geant4 Cross Reference |
1 # test24 2 # 3 /run/initialize 4 # 5 /gps/particle geantino 6 7 # source 8 /gps/pos/type Volume 9 /gps/pos/shape Sphere 10 /gps/pos/centre 1. 2. 1. cm 11 /gps/pos/radius 2. cm 12 # 13 /gps/hist/type biasz 14 /gps/hist/point 0. 0 15 /gps/hist/point 0.4 5 16 /gps/hist/point 0.6 0 17 /gps/hist/point 1. 2 18 19 # angular distribution 20 /gps/ang/type iso 21 # 22 /gps/hist/type biast 23 /gps/hist/point 0. 0. 24 /gps/hist/point 0.1 1. 25 /gps/hist/point 0.5 0. 26 /gps/hist/point 1. 1. 27 # 28 /gps/hist/type biasp 29 /gps/hist/point 0. 0. 30 /gps/hist/point 0.125 1. 31 /gps/hist/point 0.375 4. 32 /gps/hist/point 0.625 0. 33 /gps/hist/point 0.875 4. 34 /gps/hist/point 1. 1. 35 36 # energy distribution 37 /gps/ene/type Arb 38 /gps/ene/diffspec 0 39 /gps/hist/type arb 40 /gps/hist/point 0.0 11. 41 /gps/hist/point 1.0 10. 42 /gps/hist/point 2.0 9. 43 /gps/hist/point 3.0 8. 44 /gps/hist/point 4.0 7. 45 /gps/hist/point 7.0 4. 46 /gps/hist/point 8.0 3. 47 /gps/hist/point 9.0 2. 48 /gps/hist/point 10.0 1. 49 /gps/hist/point 11.0 0. 50 /gps/hist/inter Lin 51 52 # commands below are independent of gps 53 # 54 /analysis/setFileName test24 55 /analysis/h1/set 1 100 0 15 MeV 56 /analysis/h1/set 2 100 0 10 cm 57 /analysis/h1/set 3 110 -1.1 1.1 none #cos(theta) 58 /analysis/h1/set 4 130 -15 375 deg #phi 59 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y 60 /analysis/h2/set 2 100 -5 5 cm none linear 100 -5 5 cm none linear #y-z 61 /analysis/h2/set 3 100 -5 5 cm none linear 100 -5 5 cm none linear #z-x 62 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 63 /analysis/h2/set 5 120 0 360 deg none linear 90 0 180 deg none linear 64 # 65 #/control/execute vis.mac 66 # 67 /run/printProgress 10000 68 # 69 /run/beamOn 100000