Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test26.mac is written in an unsupported language. File is not indexed.
0001 # test26
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 /gps/ang/mintheta 1. rad
0017 /gps/ang/maxtheta 2. rad
0018 /gps/ang/minphi 1.5 rad
0019 /gps/ang/maxphi 3. rad
0020
0021 # energy distribution
0022 /gps/ene/type Lin
0023 /gps/ene/min 2. MeV
0024 /gps/ene/max 10. MeV
0025 /gps/ene/gradient 1.
0026 /gps/ene/intercept 1.
0027 #
0028 /gps/hist/type biase
0029 /gps/hist/point 0. 0.
0030 /gps/hist/point 0.25 1.
0031 /gps/hist/point 0.5 2.
0032 /gps/hist/point 0.75 1.
0033 /gps/hist/point 1. 0.1
0034 #/gps/number 3
0035
0036 # commands below are independent of gps
0037 #
0038 /analysis/setFileName test26
0039 /analysis/h1/set 1 100 0 15 MeV
0040 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0041 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0042 /analysis/h2/set 5 120 0 360 deg none linear 90 0 180 deg none linear
0043 #
0044 #/control/execute vis.mac
0045 #
0046 /run/printProgress 10000
0047 #
0048 /run/beamOn 100000