Geant4 Cross Reference |
1 # test15 1 # test15 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 Surface 8 /gps/pos/type Surface 9 /gps/pos/shape Cylinder 9 /gps/pos/shape Cylinder 10 /gps/pos/centre 2. 2. 2. cm 10 /gps/pos/centre 2. 2. 2. cm 11 /gps/pos/radius 2. cm 11 /gps/pos/radius 2. cm 12 /gps/pos/halfz 4. cm 12 /gps/pos/halfz 4. cm 13 /gps/pos/rot2 0. 1. -0.57735 13 /gps/pos/rot2 0. 1. -0.57735 14 14 15 # angular distribution 15 # angular distribution 16 /gps/ang/type iso 16 /gps/ang/type iso 17 17 18 # energy distribution 18 # energy distribution 19 /gps/ene/type Brem 19 /gps/ene/type Brem 20 /gps/ene/min 1. MeV 20 /gps/ene/min 1. MeV 21 /gps/ene/max 20. MeV 21 /gps/ene/max 20. MeV 22 /gps/ene/temp 2e11 22 /gps/ene/temp 2e11 23 23 24 # commands below are independent of gps 24 # commands below are independent of gps 25 # 25 # 26 /analysis/setFileName test15 26 /analysis/setFileName test15 27 /analysis/h1/set 1 100 0 25 MeV 27 /analysis/h1/set 1 100 0 25 MeV 28 /analysis/h2/setX 4 120 0 360 deg << 28 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 29 /analysis/h2/setY 4 100 -1 1 none << 30 # 29 # 31 #/control/execute vis.mac 30 #/control/execute vis.mac 32 # 31 # 33 /run/printProgress 10000 32 /run/printProgress 10000 34 # 33 # 35 /run/beamOn 100000 34 /run/beamOn 100000