Geant4 Cross Reference |
1 # 2 # This file permits to customize, with command 3 # the menu bar of the G4UIXm, G4UIQt, G4UIWin3 4 # It has no effect with G4UIterminal. 5 # 6 # File menu : 7 /gui/addMenu file File 8 /gui/addButton file Quit exit 9 # 10 # Run menu : 11 /gui/addMenu run Run 12 /gui/addButton run "beamOn 1" "/run/beamOn 1" 13 /gui/addButton run "beamOn 10" "/run/beamOn 10 14 #/gui/addButton run run1 "/control/execute run 15 #/gui/addButton run run2 "/control/execute run 16 # 17 # Gun menu : 18 /gui/addMenu gun Gun 19 /gui/addButton gun "50 MeV" "/gun/energy 50 M 20 /gui/addButton gun "1 GeV" "/gun/energy 1 Ge 21 /gui/addButton gun "10 GeV" "/gun/energy 10 G 22 /gui/addButton gun "e-" "/gun/particle e- 23 /gui/addButton gun "pi0" "/gun/particle pi 24 /gui/addButton gun "pi+" "/gun/particle pi 25 /gui/addButton gun "neutron" "/gun/particle ne 26 /gui/addButton gun "proton" "/gun/particle pr 27 # 28 # Field menu : 29 #/gui/addMenu field Field 30 #/gui/addButton field "off" "/B2/det/set 31 #/gui/addButton field "0.2 tesla" "/B2/det/set 32 #/gui/addButton field "2.0 tesla" "/B2/det/set 33 # 34 # Viewer menu : 35 /gui/addMenu viewer Viewer 36 /gui/addButton viewer "Set style surface" "/vi 37 /gui/addButton viewer "Set style wireframe" "/ 38 /gui/addButton viewer "Refresh viewer" "/vis/v 39 /gui/addButton viewer "Update viewer (interact 40 /gui/addButton viewer "Flush viewer (= refresh 41 /gui/addButton viewer "Update scene" "/vis/sce 42 #