Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test32.mac is written in an unsupported language. File is not indexed.
0001 # test32
0002 #
0003 /run/initialize
0004 #
0005 /gps/verbose 0
0006 /gps/particle geantino
0007
0008 # source
0009 /gps/pos/type Surface
0010 /gps/pos/shape Sphere
0011 /gps/pos/radius 5. cm
0012 #
0013 # biasing the positional theta - phi generator
0014 # it is used only in for sphere, cylinder and ellipsoid surface distribution
0015 # incident surface is a section of the sphere only
0016 #
0017 /gps/hist/type biaspt
0018 /gps/hist/point 0. 0.
0019 /gps/hist/point 0.5 0.
0020 /gps/hist/point 1. 1.
0021 #
0022 /gps/hist/type biaspp
0023 /gps/hist/point 0. 0.
0024 /gps/hist/point 0.75 0.
0025 /gps/hist/point 1. 1.
0026
0027 # angular distribution
0028 /gps/ang/type iso
0029 /gps/ang/surfnorm false
0030 #
0031 # biasing the angular theta
0032 /gps/hist/type biast
0033 /gps/hist/point 0. 0.
0034 /gps/hist/point 0.1 1.
0035 /gps/hist/point 0.5 0.
0036 /gps/hist/point 1. 1.
0037 # biasing the angular phi
0038 /gps/hist/type biasp
0039 /gps/hist/point 0. 0.
0040 /gps/hist/point 0.125 1.
0041 /gps/hist/point 0.375 4.
0042 /gps/hist/point 0.625 0.
0043 /gps/hist/point 0.875 4.
0044 /gps/hist/point 1. 1.
0045
0046 # energy distribution
0047 /gps/ene/type Arb
0048 /gps/ene/diffspec 0
0049 /gps/hist/type arb
0050 /gps/hist/point 0.0 11.
0051 /gps/hist/point 1.0 10.
0052 /gps/hist/point 2.0 9.
0053 /gps/hist/point 3.0 8.
0054 /gps/hist/point 4.0 7.
0055 /gps/hist/point 7.0 4.
0056 /gps/hist/point 8.0 3.
0057 /gps/hist/point 9.0 2.
0058 /gps/hist/point 10.0 1.
0059 /gps/hist/point 11.0 0.
0060 /gps/hist/inter Lin
0061
0062 # commands below are independent of gps
0063 #
0064 /analysis/setFileName test32
0065 /analysis/h1/set 1 100 0 15 MeV
0066 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0067 /analysis/h2/set 2 100 -5 5 cm none linear 100 -5 5 cm none linear #y-z
0068 /analysis/h2/set 3 100 -5 5 cm none linear 100 -5 5 cm none linear #z-x
0069 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0070 /analysis/h2/set 5 120 0 360 deg none linear 60 60 120 deg none linear
0071 #
0072 #/control/execute vis.mac
0073 #
0074 /run/printProgress 10000
0075 #
0076 /run/beamOn 100000