Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/basic/B2/macros/gui.mac is written in an unsupported language. File is not indexed.

0001 #
0002 # This file permits to customize, with commands,
0003 # the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
0004 # It has no effect with G4UIterminal.
0005 #
0006 # File menu :
0007 /gui/addMenu file File
0008 /gui/addButton file Quit exit
0009 #
0010 # Run menu :
0011 /gui/addMenu run Run
0012 /gui/addButton run "beamOn 1" "/run/beamOn 1"
0013 /gui/addButton run run1 "/control/execute run1.mac"
0014 #
0015 # Gun menu :
0016 /gui/addMenu gun Gun
0017 /gui/addButton gun "50 MeV"  "/gun/energy 50 MeV"
0018 /gui/addButton gun "1 GeV"   "/gun/energy 1 GeV"
0019 /gui/addButton gun "10 GeV"  "/gun/energy 10 GeV"
0020 /gui/addButton gun "e-"      "/gun/particle e-"
0021 /gui/addButton gun "pi0"     "/gun/particle pi0"
0022 /gui/addButton gun "pi+"     "/gun/particle pi+"
0023 /gui/addButton gun "neutron" "/gun/particle neutron"
0024 /gui/addButton gun "proton"  "/gun/particle proton"
0025 #
0026 # Field menu :
0027 /gui/addMenu field Field
0028 /gui/addButton field "off"       "/globalField/setValue 0   0 0 tesla"
0029 /gui/addButton field "0.2 tesla" "/globalField/setValue 0.2 0 0 tesla"
0030 /gui/addButton field "2.0 tesla" "/globalField/setValue 2.0 0 0 tesla"
0031 #
0032 # Viewer menu :
0033 /gui/addMenu viewer Viewer
0034 /gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface"
0035 /gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wireframe"
0036 /gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh"
0037 /gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
0038 /gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
0039 /gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
0040 #