source: trunk/examples/extended/electromagnetic/TestEm8/README@ 812

Last change on this file since 812 was 807, checked in by garnier, 17 years ago

update

File size: 3.3 KB
Line 
1$Id: README,v 1.4 2003/11/24 18:09:22 vnivanch Exp $
2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 TestEm8
9 -------
10
11 Test for investigation of ionisation in thin absorbers, transition
12 and synchrotron radiations.
13
14
15 1- GEOMETRY DEFINITION
16
17 The "absorber" is a tube 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 Here we test G4PAIionisation , G4IonisationByLogicalVolume and
46 transition radiation processes
47
48 A HIT is a record, event per event , of all the
49 informations needed to simulate and analyse the detector response.
50
51 In this example a CalorHit is defined as a set of 2 informations:
52 - the total energy deposit in the absorber,
53 - the total tracklength of all charged particles in the absorber,
54
55 Therefore the absorber is declared
56 'sensitive detector' (SD), which means they can contribute to the hit.
57
58 At the end of a run, from the histogram(s), one can study
59 different physics quantities such as :
60 - angle distribution,
61 - energy deposit,
62 - transmission/backscattering,
63 - ...
64
65 The test contains 10 built-in histograms, which can be activated by
66 interactive commands (see the macros runxx.mac for details).
67
68 The histogram files can be viewed using PAW e.g with the commands
69
70 paw> h/file 1 geant4.plot01 or g4.p11
71 paw> option stat
72 paw> h/pl 1
73
74
75
76 4- PHYSICS DEMO
77
78 The particle's type and the physic processes which will be available
79 in this example are set in PhysicsList class.
80
81 The messenger classes introduce interactive commands . Using these
82 commands the geometry of the detector, the data of the primary
83 particle, the limits of the histograms , etc. can be changed.
84
85
86 5- HOW TO START ?
87
88 - compile and link to generate an executable
89 % cd TestEm8
90 % gmake
91
92 - execute TestEm8 in 'batch' mode from macro files e.g.
93 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8 run11.mac
94
95 - execute TestEm8 in 'interactive' mode with visualization e.g.
96 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8
97 ....
98 Idle> type your commands
99 ....
100
101
102
103
Note: See TracBrowser for help on using the repository browser.