Warning, /geant4/examples/advanced/gorad/gps_focus.mac is written in an unsupported language. File is not indexed.
0001 #######################################################
0002 #
0003 # Sample macro file to set General Particle Source
0004 # shooting protons from the sphere inward to the center
0005 #
0006 #######################################################
0007
0008 /gps/pos/shape Sphere
0009 /gps/pos/centre 0.0 0.0 0.0 m
0010 /gps/pos/radius 2.5 m
0011 /gps/pos/type Surface
0012 /gps/number 1
0013 /gps/particle proton
0014 /gps/ene/type Mono
0015 /gps/ene/mono 100.0 MeV
0016 /gps/ang/type focused
0017 /gps/ang/focuspoint 0. 0. 0. m
0018