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

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

nvx fichiers dans CVS

File size: 5.2 KB
Line 
1$Id: README,v 1.1 2001/10/11 07:18:17 grichine Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                            field03 (based on field01) 
9                            -------------------------
10
11    Test for investigation of tracking in magnetic field which is set different
12                        depending of selected logical volume
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        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        The histograms/plots are in printed form in the corresponding
68        resultxx (for GEANT4) and outxx (for GEANT3) files, and they are
69        saved as geant4.plotxx and geant3.plotxx histogram files, too.
70
71        The histogram files can be viewed using PAW e.g with the commands
72
73                paw> h/file 1 geant4.plot01 or g4.p11
74                paw> option stat
75                paw> h/pl 1
76
77
78                               
79 4- PHYSICS DEMO
80 
81        The particle's type and the physic processes which will be available
82        in this example are set in PhysicsList class.
83       
84        The  messenger classes introduce interactive commands . Using these
85        commands the geometry of the detector, the data of the primary
86        particle, the limits of the histograms , etc. can be changed.
87       
88
89 5- HOW TO START ?
90 
91        - compile and link to generate an executable
92                % cd $G4INSTALL/example/extended/field/field01
93                % gmake
94               
95        - execute field01 in 'batch' mode from macro files e.g.
96                % $(G4INSTALL)/bin/$(G4SYSTEM)/field01   run11.mac
97               
98        - execute field01 in 'interactive' mode with visualization e.g.
99                % $(G4INSTALL)/bin/$(G4SYSTEM)/field01
100                ....
101                Idle> type your commands
102                ....
103               
104 6- GEANT4/GEANT3/exp.data comparison
105
106        A GEANT4/GEANT3/exp. data comparison is given here for a few cases.
107       
108        The GEANT4 results can be found in the results/ directory, the resultxx
109        output was obtained with the runxx.mac macro.
110
111        The relevant part of the GEANT3 code is in the geant3/ directory
112        together with the runxx.dat input files. The outputs of the GEANT3 runs
113        geant3/results subdirectory.
114       
115        In order to make an executable of GEANT3 the gmakeB command should be
116        used in the geant3/ subdirectory.To run this executable with a given
117        input file the input file name should be given when it is being asked
118        by the program.(see geant3/README)
119               
120        The expdata/  directory contains some information
121        on the experimental data.
122         
123       
124 List of the built-in histograms
125 -------------------------------
126
127        1.   number of (tracking) steps/event
128        2.   energy deposit distribution in the absorber (in MeV)
129        3.   angle distribution of the primary particle at the exit
130             of the absorber (deg)
131        4.   distribution of the lateral displacement at exit(mm)
132        5.   kinetic energy of the transmitted primaries (MeV)
133        6.   angle distribution of the backscattered primaries (deg)
134        7.   kinetic energy of the backscattered primary particles (MeV)
135        8.   kinetic energy of the charged secondary particles (MeV)
136        9.   z distribution of the secondary charged vertices (mm)
137       10.   kinetic energy of the photons escaping the absorber (MeV)
138       
Note: See TracBrowser for help on using the repository browser.