Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test27.mac is written in an unsupported language. File is not indexed.
0001 # test27
0002 #
0003 /run/initialize
0004 #
0005 /gps/particle e-
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 user
0016 /gps/hist/type theta
0017 /gps/hist/point 0. 0.
0018 /gps/hist/point 0.25 1.
0019 /gps/hist/point 1. 0.
0020
0021 # energy distribution
0022 /gps/ene/type Arb
0023 /gps/hist/type arb
0024 /gps/ene/emspec 0
0025 /gps/hist/point 0. 0.
0026 /gps/hist/point 0.1 1.
0027 /gps/hist/point 0.2 2.
0028 /gps/hist/point 0.3 3.
0029 /gps/hist/point 0.4 2.
0030 /gps/hist/point 0.5 1.
0031 /gps/hist/point 0.6 1.
0032 /gps/hist/point 0.7 2.
0033 /gps/hist/point 0.8 3.
0034 /gps/hist/point 0.9 4.
0035 /gps/hist/point 1.0 5.
0036 /gps/hist/inter Lin
0037
0038 # commands below are independent of gps
0039 #
0040 /analysis/setFileName test27
0041 /analysis/h1/set 1 100 0 2 MeV
0042 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0043 /analysis/h2/set 5 120 0 360 deg none linear 90 0 180 deg none linear
0044 #
0045 #/control/execute vis.mac
0046 #
0047 /run/printProgress 10000
0048 #
0049 /run/beamOn 100000