Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is a simple example to generate 100k single 4.56 GeV electrons isotropically over a fixed range in theta and uniformly in phi:

Wiki Markup
{no format}
/generator/select gps
/gps/particle e-
/gps/position 0 0 0 cm
/gps/energy 1 GeV
/gps/ang/type iso
/gps/ang/mintheta 170 deg
/gps/ang/maxtheta 180 deg
/gps/ang/minphi 0 deg
/gps/ang/maxphi 360 deg

/run/beamOn 100000