Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # test33 : focused beam
0002 #
0003 /run/initialize
0004 #
0005 /gps/verbose 0
0006 /gps/particle geantino
0007 #
0008 # the incident surface is in the y-z plane
0009 /gps/pos/type Plane
0010 /gps/pos/rot1 0 1 0
0011 /gps/pos/rot2 0 0 1
0012 #
0013 # the incident surface is a disc of 10 cm
0014 /gps/pos/shape Circle 
0015 /gps/pos/centre -10. 0. 0. cm
0016 /gps/pos/radius 10. cm
0017 
0018 # set the focusing point, default is (0, 0, 0)
0019 /gps/ang/type focused
0020 /gps/ang/focuspoint 10 -5 0 cm
0021 #
0022 # the beam energy is in gaussian profile centered at 400 MeV
0023 /gps/ene/type Gauss
0024 /gps/ene/mono 400 MeV
0025 /gps/ene/sigma 50. MeV
0026 
0027 #
0028 # commands below are independent of gps
0029 #
0030 /analysis/setFileName test33
0031 /analysis/h1/set 1 100 200 800 MeV
0032 /analysis/h2/set 2 100 -10 10 cm none linear 100 -10 10 cm none linear #y-z
0033 #
0034 /run/printProgress 10000
0035 #
0036 #/control/execute vis.mac
0037 #
0038 /run/beamOn 100000