Geant4 Cross Reference |
1 # test38 1 # test38 2 # 2 # 3 /control/verbose 2 3 /control/verbose 2 4 /run/initialize 4 /run/initialize 5 # 5 # 6 /gps/particle geantino 6 /gps/particle geantino 7 7 8 # source 8 # source 9 /gps/pos/type Plane 9 /gps/pos/type Plane 10 /gps/pos/shape Square 10 /gps/pos/shape Square 11 /gps/pos/centre 1. 2. 1. cm 11 /gps/pos/centre 1. 2. 1. cm 12 /gps/pos/halfx 2. cm 12 /gps/pos/halfx 2. cm 13 /gps/pos/halfy 2. cm 13 /gps/pos/halfy 2. cm 14 14 15 # angular distribution 15 # angular distribution 16 /gps/ang/type cos 16 /gps/ang/type cos 17 17 18 # energy distribution 18 # energy distribution 19 /gps/ene/type Arb 19 /gps/ene/type Arb 20 /gps/hist/file ./macros/spectrum.dat 20 /gps/hist/file ./macros/spectrum.dat 21 /gps/hist/inter Exp 21 /gps/hist/inter Exp 22 22 23 # commands below are independent of gps 23 # commands below are independent of gps 24 # 24 # 25 /analysis/setFileName test38 25 /analysis/setFileName test38 26 /analysis/h1/set 1 110 0 110 MeV 26 /analysis/h1/set 1 110 0 110 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 #x-y 28 /analysis/h2/set 2 100 -5 5 cm none linear 100 28 /analysis/h2/set 2 100 -5 5 cm none linear 100 -5 5 cm none linear #y-z 29 /analysis/h2/set 4 120 0 360 deg none linear 1 29 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear 30 # 30 # 31 ###/control/execute vis.mac 31 ###/control/execute vis.mac 32 # 32 # 33 /run/printProgress 10000 33 /run/printProgress 10000 34 # 34 # 35 /run/beamOn 100000 35 /run/beamOn 100000