Download Geant4 User's Guide for Toolkit Developers

Transcript
Design and Function
of Geant4 Categories
• G4EventManager - This class controls an event. It must be a singleton and should be constructed by
G4RunManager.
• G4VPrimaryGenerator - the abstract base class of all of primary generators. This class has only one pure
virtual method, GeneratePrimaryVertex(), which takes a G4Event object, generates a primary vertex and associates primary particles with the vertex.
Booch diagrams for classes related to the event and event generator classes are shown in Figure 2.1 and Figure 2.2.
Figure 2.1. Event
Figure 2.2. Event Generator
[Status of this chapter]
27.06.05 design philosophy section added (from Geant4 general paper) by D.H. Wright
Dec. 2006 Conversion from latex to Docbook verson by K. Amako
2.4. Tracking
The tracking category manages the contribution of the processes to the evolution of a track's state and provides
information in sensitive volumes for hits and digitization.
3