Geant4 Cross Reference |
1 # test02 1 # test02 2 # 2 # 3 /run/initialize 3 /run/initialize 4 # 4 # 5 /gps/particle gamma 5 /gps/particle gamma 6 6 7 # square plane source 7 # square plane 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 #cosine-law distribution 14 #cosine-law distribution 15 /gps/ang/type cos 15 /gps/ang/type cos 16 16 17 # linear energy distr. 17 # linear energy distr. 18 /gps/ene/type Lin 18 /gps/ene/type Lin 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/gradient 1. 21 /gps/ene/gradient 1. 22 /gps/ene/intercept 1. 22 /gps/ene/intercept 1. 23 23 24 # commands below are independent of gps 24 # commands below are independent of gps 25 # 25 # 26 /analysis/setFileName test02 26 /analysis/setFileName test02 27 /analysis/h1/set 1 100 1 20 MeV 27 /analysis/h1/set 1 100 1 20 MeV 28 /analysis/h1/set 3 110 -1.1 1.1 none #cos(the 28 /analysis/h1/set 3 110 -1.1 1.1 none #cos(theta) 29 /analysis/h1/set 4 130 -15 375 deg #phi 29 /analysis/h1/set 4 130 -15 375 deg #phi 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 38 38 39 39