Download Geant4 User`s Guide - For Toolkit Developers

Transcript
Contents
1 Introduction
1.1 Scope of this manual . . . . . . . . . . . . . . . . . . . . . . .
1.2 How to use this manual . . . . . . . . . . . . . . . . . . . . . .
1.3 Status of this chapter . . . . . . . . . . . . . . . . . . . . . . .
4
4
4
5
2 User requirements document
2.1 Source of User Requirement Document . . . . . . . . . . . . .
5
5
3 Object-oriented Analysis and Design of Geant4 Categories
3.1 Run and Event Categories . . . . . . . . . . . . . . . . . . . .
3.2 Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1 Design Philosophy . . . . . . . . . . . . . . . . . . . .
3.2.2 Class Design . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3 Tracking Algorithm . . . . . . . . . . . . . . . . . . . .
3.2.4 Interaction with Physics Processes . . . . . . . . . . .
3.2.5 Ordering of Methods of Physics Processes . . . . . . .
3.2.6 Status of Tracking section . . . . . . . . . . . . . . . .
3.3 Physics Processes . . . . . . . . . . . . . . . . . . . . . . . . .
3.3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Hit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6 Electromagnetic Fields . . . . . . . . . . . . . . . . . . . . . .
3.7 Particles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8 Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.9 Global Usage . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.9.1 The ”global” class category . . . . . . . . . . . . . . .
3.9.2 The design . . . . . . . . . . . . . . . . . . . . . . . . .
3.9.3 Status of this section . . . . . . . . . . . . . . . . . . .
3.10 Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.10.1 Visualization Manager . . . . . . . . . . . . . . . . . .
3.10.2 Visualization drivers . . . . . . . . . . . . . . . . . . .
3.10.3 Modeling sub-category . . . . . . . . . . . . . . . . . .
3.10.4 View parameters . . . . . . . . . . . . . . . . . . . . .
3.11 User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
6
7
7
8
10
12
15
16
16
16
16
16
22
23
25
26
26
27
30
30
30
30
31
31
32
4 Guide to extend Geant4 class functionality
33
4.1 Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.1 What can be extended ? . . . . . . . . . . . . . . . . . 33
4.1.2 Adding a new type of Solid . . . . . . . . . . . . . . . 33
2