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