Geant4 Cross Reference |
1 # test21 1 # test21 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 Plane 8 /gps/pos/type Plane 9 /gps/pos/shape Square 9 /gps/pos/shape Square 10 /gps/pos/centre 1. 2. 1. cm 10 /gps/pos/centre 1. 2. 1. cm 11 /gps/pos/halfx 2. cm 11 /gps/pos/halfx 2. cm 12 /gps/pos/halfy 2. cm 12 /gps/pos/halfy 2. cm 13 13 14 # angular distribution 14 # angular distribution 15 /gps/ang/type cos 15 /gps/ang/type cos 16 16 17 # energy distribution 17 # energy distribution 18 /gps/ene/type Arb 18 /gps/ene/type Arb 19 /gps/hist/type arb 19 /gps/hist/type arb 20 /gps/hist/point 1.0 2 20 /gps/hist/point 1.0 2 21 /gps/hist/point 2.0 5. 21 /gps/hist/point 2.0 5. 22 /gps/hist/point 7.0 1. 22 /gps/hist/point 7.0 1. 23 /gps/hist/point 10. 1. 23 /gps/hist/point 10. 1. 24 /gps/hist/inter Exp 24 /gps/hist/inter Exp 25 25 26 # commands below are independent of gps 26 # commands below are independent of gps 27 # 27 # 28 /analysis/setFileName test21 28 /analysis/setFileName test21 29 /analysis/h1/set 1 100 0 15 MeV 29 /analysis/h1/set 1 100 0 15 MeV 30 /analysis/h2/set 1 100 -5 5 cm none linear 100 30 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y 31 /analysis/h2/set 4 120 0 360 deg none linear 1 31 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 32 # 32 # 33 #/control/execute vis.mac 33 #/control/execute vis.mac 34 # 34 # 35 /run/printProgress 10000 35 /run/printProgress 10000 36 # 36 # 37 /run/beamOn 100000 37 /run/beamOn 100000