Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # 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 exgps
0031 /analysis/h1/set 1 100 200 800 MeV
0032 /analysis/h2/setX 2 100 -10 10 cm  #y-z
0033 /analysis/h2/setY 2 100 -10 10 cm  #y-z
0034 #
0035 /run/printProgress 10000
0036 #
0037 #/tracking/verbose 1
0038 #
0039 #/control/execute vis.mac
0040 #
0041 /run/beamOn 100000
0042