00001 # GPS accelerator source
00002 #
00003 # Description:
00004 # - A proton beam
00005 # - Centered at -500 0 0 cm
00006 # - gaussian lateral profile: 1d gaussian profile (sigma 1 cm, with a 5 cm central plateau)
00007 # - generation surface: normal to the emission direction (y-z plane)
00008 # - gaussian energy spectrum: centered at 400 MeV, sigma 4 MeV
00009 # - angular distribution: beam1d
00010 # - directed towards the spacecraft
00011 # - slightly defocused: 5 degrees
00012
00013 # Particle type
00014 /gps/particle proton
00015
00016 # Energy:
00017 /gps/ene/type Gauss
00018 /gps/ene/mono 400. MeV
00019 /gps/ene/sigma 4. MeV
00020
00021 # Position
00022 /gps/pos/type Beam
00023 /gps/pos/shape Circle
00024 /gps/pos/centre -500. 0. 0. cm
00025 /gps/pos/radius 5. cm
00026 /gps/pos/sigma_r 1. cm
00027 # The source Circle surface is in the y-z plane
00028 /gps/pos/rot1 0 0 1
00029 /gps/pos/rot2 0 1 0
00030
00031 # Angular distribution:
00032 /gps/ang/rot1 0 0 1
00033 /gps/ang/rot2 0 1 0
00034 /gps/ang/type beam1d
00035 /gps/ang/sigma_r 5. deg
00036 #