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[ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /examples/extended/optical/OpNovice/gui.mac (Version 11.3.0) and /examples/extended/optical/OpNovice/gui.mac (Version 10.0.p4)


  1 #                                                   1 #
  2 # This file permits to customize, with command      2 # This file permits to customize, with commands,
  3 # the menu bar of the G4UIXm, G4UIQt, G4UIWin3      3 # the menu bar of the G4UIXm, G4UIQt, G4UIWin32 sessions.
  4 # It has no effect with G4UIterminal.               4 # It has no effect with G4UIterminal.
  5 #                                                   5 #
                                                   >>   6 # Process vis.mac (and draw geometry)
                                                   >>   7 #
                                                   >>   8 /control/execute vis.mac
                                                   >>   9 #
                                                   >>  10 # Add icons of general interest
                                                   >>  11 #
                                                   >>  12 /control/execute icons.mac
                                                   >>  13 #
  6 # File menu :                                      14 # File menu :
  7 /gui/addMenu file File                             15 /gui/addMenu file File
  8 /gui/addButton file Quit exit                      16 /gui/addButton file Quit exit
  9 #                                                  17 #
 10 # Run menu :                                       18 # Run menu :
 11 /gui/addMenu run Run                               19 /gui/addMenu run Run
 12 /gui/addButton run "beamOn 1" "/run/beamOn 1"      20 /gui/addButton run "beamOn 1" "/run/beamOn 1"
                                                   >>  21 #/gui/addButton run run1 "/control/execute run1.mac"
                                                   >>  22 #/gui/addButton run run2 "/control/execute run2.mac"
 13 #                                                  23 #
 14 # Gun menu :                                       24 # Gun menu :
 15 /gui/addMenu gun Gun                               25 /gui/addMenu gun Gun
 16 /gui/addButton gun "500 keV"   "/gun/energy 50 << 
 17 /gui/addButton gun "1 MeV"   "/gun/energy 1 Me << 
 18 /gui/addButton gun "50 MeV"  "/gun/energy 50 M     26 /gui/addButton gun "50 MeV"  "/gun/energy 50 MeV"
 19 /gui/addButton gun "opticalphoton"      "/gun/ <<  27 /gui/addButton gun "1 GeV"   "/gun/energy 1 GeV"
                                                   >>  28 /gui/addButton gun "10 GeV"  "/gun/energy 10 GeV"
 20 /gui/addButton gun "e-"      "/gun/particle e-     29 /gui/addButton gun "e-"      "/gun/particle e-"
 21 /gui/addButton gun "pi0"     "/gun/particle pi     30 /gui/addButton gun "pi0"     "/gun/particle pi0"
 22 /gui/addButton gun "pi+"     "/gun/particle pi     31 /gui/addButton gun "pi+"     "/gun/particle pi+"
 23 /gui/addButton gun "neutron" "/gun/particle ne     32 /gui/addButton gun "neutron" "/gun/particle neutron"
 24 /gui/addButton gun "proton"  "/gun/particle pr     33 /gui/addButton gun "proton"  "/gun/particle proton"
 25 #                                                  34 #
 26                                                <<  35 # Field menu :
                                                   >>  36 #/gui/addMenu field Field
                                                   >>  37 #/gui/addButton field "off"       "/B2/det/setField 0.2 tesla"
                                                   >>  38 #/gui/addButton field "0.2 tesla" "/B2/det/setField 0.2 tesla"
                                                   >>  39 #/gui/addButton field "2.0 tesla" "/B2/det/setField 2.0 tesla"
                                                   >>  40 #
 27 # Viewer menu :                                    41 # Viewer menu :
 28 /gui/addMenu viewer Viewer                         42 /gui/addMenu viewer Viewer
 29 /gui/addButton viewer "Set style surface" "/vi     43 /gui/addButton viewer "Set style surface" "/vis/viewer/set/style surface"
 30 /gui/addButton viewer "Set style wireframe" "/     44 /gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wireframe"
 31 /gui/addButton viewer "Refresh viewer" "/vis/v     45 /gui/addButton viewer "Refresh viewer" "/vis/viewer/refresh"
 32 /gui/addButton viewer "Update viewer (interact     46 /gui/addButton viewer "Update viewer (interaction or end-of-file)" "/vis/viewer/update"
 33 /gui/addButton viewer "Flush viewer (= refresh     47 /gui/addButton viewer "Flush viewer (= refresh + update)" "/vis/viewer/flush"
 34 /gui/addButton viewer "Update scene" "/vis/sce     48 /gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
 35 #                                                  49 #
                                                   >>  50 # User defined icon :
                                                   >>  51 /gui/addIcon "Run beam on" user_icon "/run/beamOn 1" run.png