Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/eventgenerator/exgps/macros/test23.mac is written in an unsupported language. File is not indexed.

0001 # test23
0002 #
0003 /run/initialize
0004 #
0005 /gps/particle alpha
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 /gps/hist/type biasx
0015 /gps/hist/point 0. 0.
0016 /gps/hist/point 0.2 1.
0017 /gps/hist/point 0.8 0.
0018 /gps/hist/point 1. 1.
0019 #
0020 /gps/hist/type biasy
0021 /gps/hist/point 0. 0.
0022 /gps/hist/point 0.2 1.
0023 /gps/hist/point 0.8 0.
0024 /gps/hist/point 1. 1.
0025 
0026 # angular distribution
0027 /gps/ang/type user
0028 #
0029 /gps/hist/type theta
0030 /gps/hist/point 0. 0.
0031 /gps/hist/point 1. 1.
0032 /gps/hist/point 2. 5.
0033 /gps/hist/point 2.5 1.
0034 #
0035 /gps/hist/type phi
0036 /gps/hist/point 0. 0.
0037 /gps/hist/point 1. 0.1
0038 /gps/hist/point 3. 4.
0039 /gps/hist/point 5. 6.
0040 /gps/hist/point 6.25 1.
0041 
0042 # energy distribution
0043 /gps/ene/type Epn
0044 /gps/hist/type epn
0045 /gps/hist/point 0.0 0.
0046 /gps/hist/point 1.0 5.
0047 /gps/hist/point 2.0 2.
0048 /gps/hist/point 3.0 1.
0049 /gps/hist/point 4.0 1.
0050 /gps/hist/point 5.0 4.
0051 /gps/hist/point 6.0 5.
0052 /gps/hist/point 7.0 5.
0053 /gps/hist/point 8.0 1.
0054 /gps/hist/point 9.0 1.
0055 /gps/hist/point 10. 1.
0056 
0057 
0058 # commands below are independent of gps
0059 #
0060 /analysis/setFileName test23
0061 /analysis/h1/set 1 100 0 15 MeV
0062 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0063 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0064 /analysis/h2/set 5 120 0 360 deg none linear  90 0 180 deg none linear
0065 #
0066 #/control/execute vis.mac
0067 #
0068 /run/printProgress 10000
0069 #
0070 /run/beamOn 100000