-
Notifications
You must be signed in to change notification settings - Fork 1
/
gui.mac
50 lines (50 loc) · 2.02 KB
/
gui.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# This file permits to customize, with commands,
# the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
# It has no effect with G4UIterminal.
#
# File :
/gui/addMenu g4file G4File
/gui/addButton g4file Continue continue
/gui/addButton g4file Exit "exit"
#
# Run menu :
/gui/addMenu run Run
/gui/addButton run "beamOn 1" "/run/beamOn 1"
/gui/addButton run "beamOn 100" "/run/beamOn 100"
/gui/addButton run run_input.mac "/control/execute run_input.mac"
/gui/addButton run run_gamma.mac "/control/execute run_gamma.mac"
#/gui/addButton run run2 "/control/execute run2.mac"
#
# Gun menu :
/gui/addMenu gun Gun
#/gui/addButton gun "50 MeV" "/gun/energy 50 MeV"
#/gui/addButton gun "1 GeV" "/gun/energy 1 GeV"
#/gui/addButton gun "10 GeV" "/gun/energy 10 GeV"
/gui/addButton gun "e-" "/gun/particle e-"
/gui/addButton gun "e+" "/gun/particle e+"
/gui/addButton gun "gamma" "/gun/particle gamma"
#/gui/addButton gun "pi0" "/gun/particle pi0"
#/gui/addButton gun "pi+" "/gun/particle pi+"
#/gui/addButton gun "neutron" "/gun/particle neutron"
#/gui/addButton gun "proton" "/gun/particle proton"
#
# Vis menu :
#/gui/addMenu vis Vis
#/gui/addButton vis DAWNFILE "/control/execute visTutor/exN03Vis0.mac"
#/gui/addButton vis OpenInventor "/control/execute visTutor/exN03Vis5.mac"
#/gui/addButton vis TimeSlicing "/control/execute visTutor/exN03Vis12.mac"
#/gui/addButton vis EmShower "/control/execute visTutor/exN03Vis13.mac"
#
# Viewer menu :
/gui/addMenu viewer Viewer
/gui/addButton run "Reset" "/control/execute vis.mac"
/gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh"
#/gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface"
#/gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wire"
/gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
/gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
/gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
#
# To limit the output flow in the "dump" widget :
#/N03/event/printModulo 100