Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # test36
0002 #
0003 /run/initialize
0004 #
0005 /gps/particle geantino
0006 
0007 # source
0008 /gps/pos/type Volume
0009 /gps/pos/shape Cylinder
0010 /gps/pos/centre 2. 2. 2. cm
0011 /gps/pos/radius 2.5 cm
0012 /gps/pos/halfz 4. cm
0013 
0014 # angular distribution
0015 /gps/ang/type iso
0016 
0017 # energy distribution
0018 /gps/ene/type Arb
0019 /gps/hist/file ./macros/spectrum.dat
0020 /gps/hist/inter Lin
0021 
0022 # commands below are independent of gps
0023 #
0024 /analysis/setFileName test36a
0025 /analysis/h1/set 1 110 0 110 MeV
0026 /analysis/h2/set 1 100 -8 8 cm none linear 100 -8 8 cm none linear #x-y
0027 /analysis/h2/set 2 100 -8 8 cm none linear 100 -8 8 cm none linear #y-z
0028 /analysis/h2/set 4 120 0 360 deg none linear 100 -1 1 none none linear
0029 # 
0030 ###/control/execute vis.mac
0031 #
0032 /run/printProgress 10000
0033 #
0034 /run/beamOn 100000
0035 
0036 /analysis/setFileName test36b
0037 /analysis/h1/set 1 110 0 110 MeV
0038 #
0039 /gps/ene/biasAlpha -1.
0040 #
0041 /run/beamOn 100000