Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # test18
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 
0017 # energy distribution
0018 /gps/ene/type User
0019 /gps/hist/type energy
0020 /gps/hist/point 1.0 0.
0021 /gps/hist/point 2.0 5.
0022 /gps/hist/point 7.0 1.
0023 /gps/hist/point 10. 1.
0024 
0025 # commands below are independent of gps
0026 #
0027 /analysis/setFileName test18
0028 /analysis/h1/set 1 100 0 15 MeV
0029 /analysis/h2/set 1 100 -5 5 cm none linear 100 -5 5 cm none linear #x-y
0030 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0031 #
0032 #/control/execute vis.mac
0033 #
0034 /run/printProgress 10000
0035 #
0036 /run/beamOn 100000