source: trunk/source/geometry/magneticfield/test/field02/README@ 1202

Last change on this file since 1202 was 1199, checked in by garnier, 16 years ago

nvx fichiers dans CVS

File size: 4.9 KB
Line 
1$Id: README,v 1.2 2007/05/15 17:46:43 japost Exp $
2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 field02 (based on field01)
9 -------------------------
10
11 Test for investigation of tracking in electric field
12 and field dependent electromagnetic processes.
13
14
15 1- GEOMETRY DEFINITION
16
17 The "absorber" is a solid made of a given material.
18
19 Three parameters define the absorber :
20 - the material of the absorber,
21 - the thickness of an absorber,
22 - the transverse size of the absorber (the input face is a square).
23
24 The volume "World" contains the "absorber".
25 In this test the parameters of the "World" can be changed , too.
26
27 In addition a transverse uniform magnetic field can be applied.
28
29 The default geometry is constructed in DetectorConstruction class,
30 but all the parameters can be changed via
31 the commands defined in the DetectorMessenger class.
32
33 2- AN EVENT : THE PRIMARY GENERATOR
34
35 The primary kinematic consists of a single particle which hits the
36 absorber perpendicular to the input face. The type of the particle
37 and its energy are set in the PrimaryGeneratorAction class, and can
38 be changed via the G4 build-in commands of ParticleGun class (see
39 the macros provided with this example).
40
41 A RUN is a set of events.
42
43 3- DETECTOR RESPONSE
44
45 A HIT is a record, event per event , of all the
46 informations needed to simulate and analyse the detector response.
47
48 Therefore the absorber is declared
49 'sensitive detector' (SD), which means they can contribute to the hit.
50
51 At the end of a run, from the histogram(s), one can study
52 different physics quantities such as :
53 - angle distribution,
54 - energy deposit,
55 - transmission/backscattering,
56 - ...
57
58 The test contains 10 built-in histograms, which can be activated by
59 interactive commands (see the macros runxx.mac for details).
60 The histograms/plots are in printed form in the corresponding
61 resultxx (for GEANT4) and outxx (for GEANT3) files, and they are
62 saved as geant4.plotxx and geant3.plotxx histogram files, too.
63
64 The histogram files can be viewed using PAW e.g with the commands
65
66 paw> h/file 1 geant4.plot01 or g4.p11
67 paw> option stat
68 paw> h/pl 1
69
70
71
72 4- PHYSICS DEMO
73
74 The particle's type and the physic processes which will be available
75 in this example are set in PhysicsList class.
76
77 The messenger classes introduce interactive commands . Using these
78 commands the geometry of the detector, the data of the primary
79 particle, the limits of the histograms , etc. can be changed.
80
81
82 5- HOW TO START ?
83
84 - compile and link to generate an executable
85 % cd $G4INSTALL/example/extended/field/field01
86 % gmake
87
88 - execute field01 in 'batch' mode from macro files e.g.
89 % $(G4INSTALL)/bin/$(G4SYSTEM)/field01 run11.mac
90
91 - execute field01 in 'interactive' mode with visualization e.g.
92 % $(G4INSTALL)/bin/$(G4SYSTEM)/field01
93 ....
94 Idle> type your commands
95 ....
96
97 6- GEANT4/GEANT3/exp.data comparison
98
99 A GEANT4/GEANT3/exp. data comparison is given here for a few cases.
100
101 The GEANT4 results can be found in the results/ directory, the resultxx
102 output was obtained with the runxx.mac macro.
103
104 The relevant part of the GEANT3 code is in the geant3/ directory
105 together with the runxx.dat input files. The outputs of the GEANT3 runs
106 geant3/results subdirectory.
107
108 In order to make an executable of GEANT3 the gmakeB command should be
109 used in the geant3/ subdirectory.To run this executable with a given
110 input file the input file name should be given when it is being asked
111 by the program.(see geant3/README)
112
113 The expdata/ directory contains some information
114 on the experimental data.
115
116
117 List of the built-in histograms
118 -------------------------------
119
120 1. number of (tracking) steps/event
121 2. energy deposit distribution in the absorber (in MeV)
122 3. angle distribution of the primary particle at the exit
123 of the absorber (deg)
124 4. distribution of the lateral displacement at exit(mm)
125 5. kinetic energy of the transmitted primaries (MeV)
126 6. angle distribution of the backscattered primaries (deg)
127 7. kinetic energy of the backscattered primary particles (MeV)
128 8. kinetic energy of the charged secondary particles (MeV)
129 9. z distribution of the secondary charged vertices (mm)
130 10. kinetic energy of the photons escaping the absorber (MeV)
131
Note: See TracBrowser for help on using the repository browser.