Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test03.mac is written in an unsupported language. File is not indexed.
0001 # test03
0002 #
0003 /run/initialize
0004 #
0005 /gps/particle gamma
0006
0007 #rectangle plane source
0008 /gps/pos/type Plane
0009 /gps/pos/shape Rectangle
0010 /gps/pos/centre 0. 2. 1. cm
0011 /gps/pos/halfx 1. cm
0012 /gps/pos/halfy 3. cm
0013
0014 # isotropic angular distri.
0015 /gps/ang/type iso
0016
0017 # power-law energy distr.
0018 /gps/ene/type Pow
0019 /gps/ene/min 2. MeV
0020 /gps/ene/max 10. MeV
0021 /gps/ene/alpha -2.
0022
0023 # commands below are independent of gps
0024 #
0025 /analysis/setFileName test03
0026 /analysis/h1/set 1 100 1 20 MeV
0027 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear
0028 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0029 #
0030 #/control/execute vis.mac
0031 #
0032 /run/printProgress 10000
0033 #
0034 /run/beamOn 100000
0035
0036
0037
0038