Geant4 Qt User Interface tutorial


This tutorial is proposed by L. Garnier and is based on Geant4 version 9.6.

Part 1: download / compilation / installation / launch

  • Step 1 : Download Geant4
  • Step 2 : Compilation and Installation (at 25")
  • Step 3 : Example (B1) compilation (at 2’06)
  • Step 4 : Run example (at 2’32)
  • Full video #1

Part 2: user interface demo

  • Step 5 : Qt interface
  • Step 6 : Making movies (at 6’12)
  • Step 7 : Export hight quality pictures (at 8’00)
  • Full video #2

Part 3: customize Qt user interface

  • Step 8 : Save History
  • Step 9 : Add menus (at 35")
  • Step 10 : Add "Vis menu (at 1’48)
  • Step 11 : Add "Viewer menu (at 3’10)
  • Step 12 : Add a button without specify parameters (at 4’15)
  • Step 13 : Stop saving history (at 6’20)
  • Step 14 : Create your gui.mac file (at 6’52)
  • Step 15 : Modify .cc file to load gui.mac (at 8’11)
  • Step 16 : Add a toolbar (at 9’33)
  • Step 17 : Add a new toolbar icon (at 11"36)
  • Full video #3