Geant4 Cross Reference |
1 # test03 1 # test03 2 # 2 # 3 /run/initialize 3 /run/initialize 4 # 4 # 5 /gps/particle gamma 5 /gps/particle gamma 6 6 7 #rectangle plane source 7 #rectangle plane source 8 /gps/pos/type Plane 8 /gps/pos/type Plane 9 /gps/pos/shape Rectangle 9 /gps/pos/shape Rectangle 10 /gps/pos/centre 0. 2. 1. cm 10 /gps/pos/centre 0. 2. 1. cm 11 /gps/pos/halfx 1. cm 11 /gps/pos/halfx 1. cm 12 /gps/pos/halfy 3. cm 12 /gps/pos/halfy 3. cm 13 13 14 # isotropic angular distri. 14 # isotropic angular distri. 15 /gps/ang/type iso 15 /gps/ang/type iso 16 16 17 # power-law energy distr. 17 # power-law energy distr. 18 /gps/ene/type Pow 18 /gps/ene/type Pow 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/alpha -2. 21 /gps/ene/alpha -2. 22 22 23 # commands below are independent of gps 23 # commands below are independent of gps 24 # 24 # 25 /analysis/setFileName test03 25 /analysis/setFileName test03 26 /analysis/h1/set 1 100 1 20 MeV 26 /analysis/h1/set 1 100 1 20 MeV 27 /analysis/h2/set 1 100 -5 5 cm none linear 100 27 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear 28 /analysis/h2/set 4 120 0 360 deg none linear 1 28 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 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 35 35 36 36 37 37 38 38