Geant4 Cross Reference |
1 # test18 1 # test18 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 User 18 /gps/ene/type User 19 /gps/hist/type energy 19 /gps/hist/type energy 20 /gps/hist/point 1.0 0. 20 /gps/hist/point 1.0 0. 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 24 25 # commands below are independent of gps 25 # commands below are independent of gps 26 # 26 # 27 /analysis/setFileName test18 27 /analysis/setFileName test18 28 /analysis/h1/set 1 100 0 15 MeV 28 /analysis/h1/set 1 100 0 15 MeV 29 /analysis/h2/set 1 100 -5 5 cm none linear 100 29 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y 30 /analysis/h2/set 4 120 0 360 deg none linear 1 30 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 31 # 31 # 32 #/control/execute vis.mac 32 #/control/execute vis.mac 33 # 33 # 34 /run/printProgress 10000 34 /run/printProgress 10000 35 # 35 # 36 /run/beamOn 100000 36 /run/beamOn 100000