2# This file permits to customize, with commands,
3# the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
4# It has no effect with G4UIterminal.
6# Process vis.mac (and draw geometry)
8/control/execute vis.mac
12/gui/addButton file Quit exit
16/gui/addButton run "beamOn 1" "/run/beamOn 1"
20/gui/addButton gun "511 keV" "/gun/energy 511 keV"
21/gui/addButton gun "5 MeV" "/gun/energy 5 MeV"
22/gui/addButton gun "50 MeV" "/gun/energy 50 MeV"
23/gui/addButton gun "e-" "/gun/particle e-"
24/gui/addButton gun "pi0" "/gun/particle pi0"
25/gui/addButton gun "pi+" "/gun/particle pi+"
26/gui/addButton gun "neutron" "/gun/particle neutron"
27/gui/addButton gun "proton" "/gun/particle proton"