12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Geant4</strong> <strong>User's</strong> <strong>Guide</strong> <strong>for</strong><strong>Application</strong> <strong>Developers</strong>5.6. Physics Table ............................................................................................................ 1875.6.1. General Concepts ............................................................................................. 1875.6.2. Material-Cuts Couple ........................................................................................ 1875.6.3. File I/O <strong>for</strong> the Physics Table ............................................................................ 1875.6.4. Building the Physics Table ................................................................................ 1885.7. User Limits ............................................................................................................... 1885.7.1. General Concepts ............................................................................................. 1885.7.2. Processes co-working with G4UserLimits ............................................................. 1885.8. Track Error Propagation .............................................................................................. 1895.8.1. Physics ........................................................................................................... 1895.8.2. Trajectory state ................................................................................................ 1895.8.3. Trajectory state error ........................................................................................ 1915.8.4. Targets ........................................................................................................... 1915.8.5. Managing the track propagation .......................................................................... 1925.8.6. Limiting the step ............................................................................................. 1936. User Actions ........................................................................................................................ 1956.1. Mandatory User Actions and Initializations ..................................................................... 1956.2. Optional User Actions ................................................................................................. 1986.2.1. Usage of User Actions ...................................................................................... 1986.2.2. Killing Tracks in User Actions and Energy Conservation ......................................... 2026.3. User In<strong>for</strong>mation Classes ............................................................................................. 2026.3.1. G4VUserEventIn<strong>for</strong>mation ................................................................................. 2036.3.2. G4VUserTrackIn<strong>for</strong>mation ................................................................................. 2036.3.3. G4VUserPrimaryVertexIn<strong>for</strong>mation and G4VUserPrimaryTrackIn<strong>for</strong>mation ................ 2036.3.4. G4VUserRegionIn<strong>for</strong>mation ............................................................................... 2047. Communication and Control ................................................................................................... 2057.1. Built-in Commands ..................................................................................................... 2057.2. User Interface - Defining New Commands ...................................................................... 2057.2.1. G4UImessenger ............................................................................................... 2057.2.2. G4UIcommand and its derived classes ................................................................. 2067.2.3. An example messenger ..................................................................................... 2107.2.4. How to control the output of G4cout/G4cerr ......................................................... 2128. Visualization ........................................................................................................................ 2148.1. Introduction to Visualization ........................................................................................ 2148.1.1. What Can be Visualized .................................................................................... 2148.1.2. You have a Choice of Visualization Drivers .......................................................... 2148.1.3. Choose the Driver that Meets Your Needs ............................................................ 2158.1.4. Controlling Visualization ................................................................................... 2168.1.5. Visualization Details ......................................................................................... 2168.2. Adding Visualization to Your Executable ....................................................................... 2178.2.1. Installing Visualization Drivers ........................................................................... 2178.2.2. How to Realize Visualization Drivers in an Executable ........................................... 2178.2.3. A Sample Set-up File ....................................................................................... 2188.2.4. Visualization Manager ...................................................................................... 2198.2.5. How to Write the main() Function ................................................................... 2198.3. The Visualization Drivers ............................................................................................ 2218.3.1. Availability of drivers on the supported systems .................................................... 2228.3.2. OpenGL ......................................................................................................... 2228.3.3. Qt ................................................................................................................. 2238.3.4. OpenInventor .................................................................................................. 2238.3.5. HepRepFile ..................................................................................................... 2248.3.6. HepRepXML .................................................................................................. 2258.3.7. DAWN .......................................................................................................... 2278.3.8. Remote Visualization with the DAWN-Network Driver ........................................... 2278.3.9. VRML ........................................................................................................... 2298.3.10. RayTracer ..................................................................................................... 2308.3.11. gMocren ....................................................................................................... 2318.3.12. Visualization of detector geometry tree ............................................................... 232vii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!