-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.mac
62 lines (60 loc) · 2.5 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
51
52
53
54
55
56
57
58
59
60
61
62
#
# This file permits to customize, with commands,
# the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
# It has no effect with G4UIterminal.
#
# File menu :
/gui/addMenu file File
/gui/addButton file Quit 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 "beamOn 1000" "/run/beamOn 1000"
/gui/addButton run "beamOn 10000" "/run/beamOn 10000"
/gui/addButton run "beamOn 100000" "/run/beamOn 100000"
/gui/addButton run "beamOn 1000000" "/run/beamOn 1000000"
#
# GPS menu :
/gui/addMenu gps GPS
/gui/addButton gps "Point Source" "/gps/pos/type Point"
/gui/addButton gps "Emit Isotropically" "/gps/ang/type iso"
/gui/addButton gps "e-" "/gps/particle e-"
/gui/addButton gps "e+" "/gps/particle e+"
/gui/addButton gps "proton" "/gps/particle proton"
/gui/addButton gps "gamma" "/gps/particle gamma"
/gui/addButton gps "100 keV" "/gps/energy 100 keV"
/gui/addButton gps "200 keV" "/gps/energy 200 keV"
/gui/addButton gps "300 keV" "/gps/energy 300 keV"
/gui/addButton gps "400 keV" "/gps/energy 400 keV"
/gui/addButton gps "500 keV" "/gps/energy 500 keV"
/gui/addButton gps "600 keV" "/gps/energy 600 keV"
/gui/addButton gps "700 keV" "/gps/energy 700 keV"
/gui/addButton gps "800 keV" "/gps/energy 800 keV"
/gui/addButton gps "900 keV" "/gps/energy 900 keV"
/gui/addButton gps "1000 keV" "/gps/energy 1000 keV"
/gui/addButton gps "1100 keV" "/gps/energy 1100 keV"
/gui/addButton gps "1200 keV" "/gps/energy 1200 keV"
/gui/addButton gps "1300 keV" "/gps/energy 1300 keV"
/gui/addButton gps "1400 keV" "/gps/energy 1400 keV"
/gui/addButton gps "1500 keV" "/gps/energy 1500 keV"
#
/gui/addMenu pos Positions
/gui/addButton pos "f=50 mm" "/gps/pos/centre 0 0 50 mm"
/gui/addButton pos "f=55 mm" "/gps/pos/centre 0 0 55 mm"
/gui/addButton pos "f=60 mm" "/gps/pos/centre 0 0 60 mm"
/gui/addButton pos "f=65 mm" "/gps/pos/centre 0 0 65 mm"
/gui/addButton pos "f=70 mm" "/gps/pos/centre 0 0 70 mm"
/gui/addButton pos "g=20 mm" "/ICESPICE/Detector/Position -20"
/gui/addButton pos "g=25 mm" "/ICESPICE/Detector/Position -25"
/gui/addButton pos "g=30 mm" "/ICESPICE/Detector/Position -30"
/gui/addButton pos "g=35 mm" "/ICESPICE/Detector/Position -35"
/gui/addButton pos "g=40 mm" "/ICESPICE/Detector/Position -40"
/gui/addButton pos "g=45 mm" "/ICESPICE/Detector/Position -45"
/gui/addButton pos "g=50 mm" "/ICESPICE/Detector/Position -50"
#
#
# To limit the output flow in the "dump" widget :
/run/printProgress 100
#