# G4GeneralParticleSource
# electron source

# particle and energy definition
/gps/particle mu-
/gps/ene/mono 4 GeV
#/gps/ene/type User
#/gps/hist/type energy
#/gps/ene/type Arb
#/gps/hist/type arb
#/gps/hist/point 0.5 0.1392
#/gps/hist/point 0.7 0.1720
#/gps/hist/point 0.9 0.1653
#/gps/hist/point 1.1 0.1435
#/gps/hist/point 1.3 0.1174
#/gps/hist/point 1.5 0.0890
#/gps/hist/point 1.7 0.0652
#/gps/hist/point 1.9 0.0476
#/gps/hist/point 2.1 0.0349
#/gps/hist/point 2.3 0.0261
#/gps/hist/inter Exp

# source positioning
/gps/pos/type Plane
/gps/pos/shape Circle
/gps/pos/radius 2.5 mm
/gps/pos/rot2 0 0 1 # sets the x-y plane of source in the global x-z plane.
/gps/pos/centre 0. 1.875 0. mm

# angular distribution
/gps/ang/type iso
/gps/ang/mintheta   0.0 deg
/gps/ang/maxtheta   90.0 deg

/run/beamOn 10
