Geant4 Cross Reference |
1 # test32 2 # 3 /run/initialize 4 # 5 /gps/verbose 0 6 /gps/particle geantino 7 8 # source 9 /gps/pos/type Surface 10 /gps/pos/shape Sphere 11 /gps/pos/radius 5. cm 12 # 13 # biasing the positional theta - phi generator 14 # it is used only in for sphere, cylinder and ellipsoid surface distribution 15 # incident surface is a section of the sphere only 16 # 17 /gps/hist/type biaspt 18 /gps/hist/point 0. 0. 19 /gps/hist/point 0.5 0. 20 /gps/hist/point 1. 1. 21 # 22 /gps/hist/type biaspp 23 /gps/hist/point 0. 0. 24 /gps/hist/point 0.75 0. 25 /gps/hist/point 1. 1. 26 27 # angular distribution 28 /gps/ang/type iso 29 /gps/ang/surfnorm false 30 # 31 # biasing the angular theta 32 /gps/hist/type biast 33 /gps/hist/point 0. 0. 34 /gps/hist/point 0.1 1. 35 /gps/hist/point 0.5 0. 36 /gps/hist/point 1. 1. 37 # biasing the angular phi 38 /gps/hist/type biasp 39 /gps/hist/point 0. 0. 40 /gps/hist/point 0.125 1. 41 /gps/hist/point 0.375 4. 42 /gps/hist/point 0.625 0. 43 /gps/hist/point 0.875 4. 44 /gps/hist/point 1. 1. 45 46 # energy distribution 47 /gps/ene/type Arb 48 /gps/ene/diffspec 0 49 /gps/hist/type arb 50 /gps/hist/point 0.0 11. 51 /gps/hist/point 1.0 10. 52 /gps/hist/point 2.0 9. 53 /gps/hist/point 3.0 8. 54 /gps/hist/point 4.0 7. 55 /gps/hist/point 7.0 4. 56 /gps/hist/point 8.0 3. 57 /gps/hist/point 9.0 2. 58 /gps/hist/point 10.0 1. 59 /gps/hist/point 11.0 0. 60 /gps/hist/inter Lin 61 62 # commands below are independent of gps 63 # 64 /analysis/setFileName test32 65 /analysis/h1/set 1 100 0 15 MeV 66 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y 67 /analysis/h2/set 2 100 -5 5 cm none linear 100 -5 5 cm none linear #y-z 68 /analysis/h2/set 3 100 -5 5 cm none linear 100 -5 5 cm none linear #z-x 69 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 70 /analysis/h2/set 5 120 0 360 deg none linear 60 60 120 deg none linear 71 # 72 #/control/execute vis.mac 73 # 74 /run/printProgress 10000 75 # 76 /run/beamOn 100000