Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test21.mac is written in an unsupported language. File is not indexed.
0001 # test21
0002 #
0003 /run/initialize
0004 #
0005 /gps/particle geantino
0006
0007 # source
0008 /gps/pos/type Plane
0009 /gps/pos/shape Square
0010 /gps/pos/centre 1. 2. 1. cm
0011 /gps/pos/halfx 2. cm
0012 /gps/pos/halfy 2. cm
0013
0014 # angular distribution
0015 /gps/ang/type cos
0016
0017 # energy distribution
0018 /gps/ene/type Arb
0019 /gps/hist/type arb
0020 /gps/hist/point 1.0 2
0021 /gps/hist/point 2.0 5.
0022 /gps/hist/point 7.0 1.
0023 /gps/hist/point 10. 1.
0024 /gps/hist/inter Exp
0025
0026 # commands below are independent of gps
0027 #
0028 /analysis/setFileName test21
0029 /analysis/h1/set 1 100 0 15 MeV
0030 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0031 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0032 #
0033 #/control/execute vis.mac
0034 #
0035 /run/printProgress 10000
0036 #
0037 /run/beamOn 100000