# # This file permits to customize, with commands, # the menu bar of the G4UIXm, G4UIWin32 sessions. # It has no effect with G4UIterminal. # # - written by Doojin Kim # # File : /gui/addMenu file File /gui/addButton file Continue continue /gui/addButton file Exit "exit" # # Run menu : /gui/addMenu run Run /gui/addButton run "beamOn 1" "/run/beamOn 1" /gui/addButton run "beamOn 10" "/run/beamOn 10" /gui/addButton run "beamOn 100" "/run/beamOn 100" # # Gun menu : /gui/addMenu gun Gun /gui/addButton gun "100 MeV" "/gun/energy 100 MeV" /gui/addButton gun "1 GeV" "/gun/energy 1 GeV" /gui/addButton gun "5 GeV" "/gun/energy 5 GeV" /gui/addButton gun "10 GeV" "/gun/energy 10 GeV" /gui/addButton gun "e-" "/gun/particle e-" /gui/addButton gun "gamma" "/gun/particle gamma" /gui/addButton gun "mu-" "/gun/particle mu-" /gui/addButton gun "Derection (0,0,1)" "/gun/direction 0 0 1" /gui/addButton gun "Derection (0,1,1)" "/gun/direction 0 1 1" /gui/addButton gun "Derection (1,0,1)" "/gun/direction 1 0 1" # # Visibility menu : /gui/addMenu visibility Visibility /gui/addButton visibility "Default" "/visibility/visibility 7" /gui/addButton visibility "Primary Only" "/visibility/visibility 1" /gui/addButton visibility "Secondaries Only" "/visibility/visibility 2" /gui/addButton visibility "e- Only" "/visibility/visibility 3" /gui/addButton visibility "Gammas Only" "/visibility/visibility 5" /gui/addButton visibility "Optical Photons" "/visibility/visibility 6" # # Viewer menu : /gui/addMenu viewer Viewer /gui/addButton viewer "Default Angle" "/vis/viewer/set/viewpointThetaPhi -45 45" /gui/addButton viewer "Front" "/vis/viewer/set/viewpointThetaPhi 0 90" /gui/addButton viewer "Side" "/vis/viewer/set/viewpointThetaPhi 90 0" /gui/addButton viewer "Zoom in(x2)" "/vis/viewer/zoom 2" /gui/addButton viewer "Zoom out(x0.5)" "/vis/viewer/zoom 0.5" /gui/addButton viewer "Left(Right)" "/vis/viewer/pan 5 0 cm" /gui/addButton viewer "Right(Left)" "/vis/viewer/pan -5 0 cm" /gui/addButton viewer "Up(Down)" "/vis/viewer/pan 0 -5 cm" /gui/addButton viewer "Down(Up)" "/vis/viewer/pan 0 5 cm" /gui/addButton viewer "Refresh" "/vis/viewer/refresh" # # To limit the output flow in the "dump" widget :