Files
geant4/examples/advanced/gorad/gps_focus.mac
2020-12-04 12:30:43 +01:00

19 lines
463 B
Plaintext

#######################################################
#
# Sample macro file to set General Particle Source
# shooting protons from the sphere inward to the center
#
#######################################################
/gps/pos/shape Sphere
/gps/pos/centre 0.0 0.0 0.0 m
/gps/pos/radius 2.5 m
/gps/pos/type Surface
/gps/number 1
/gps/particle proton
/gps/ene/type Mono
/gps/ene/mono 100.0 MeV
/gps/ang/type focused
/gps/ang/focuspoint 0. 0. 0. m