source: trunk/examples/extended/field/field03/README @ 1288

Last change on this file since 1288 was 807, checked in by garnier, 16 years ago

update

File size: 2.6 KB
Line 
1$Id: README,v 1.4 2004/10/27 11:19:13 japost Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                            field03
9                            -------
10
11    Example of tracking in magnetic field where field associated
12    to selected logical volumes varies.
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 
46        A HIT is a record, event per event , of all the
47        informations needed to simulate and analyse the detector response.
48       
49        In this example a CalorHit is defined as a set of 2 informations:
50        - the total energy deposit in the absorber,
51        - the total tracklength of all charged particles in the absorber, 
52       
53        Therefore  the absorber is declared
54        'sensitive detector' (SD), which means they can contribute to the hit.
55
56                               
57 4- PHYSICS DEMO
58 
59        The particle's type and the physic processes which will be available
60        in this example are set in PhysicsList class.
61       
62        The  messenger classes introduce interactive commands . Using these
63        commands the geometry of the detector, the data of the primary
64        particle, etc. can be changed.
65       
66
67 5- HOW TO START ?
68 
69        - compile and link to generate an executable
70                % cd $G4INSTALL/example/extended/field/field03
71                % gmake
72               
73        - execute field03 in 'batch' mode from macro files e.g.
74                % $(G4INSTALL)/bin/$(G4SYSTEM)/field03 field03.in
75               
76        - execute field03 in 'interactive' mode with visualization e.g.
77                % $(G4INSTALL)/bin/$(G4SYSTEM)/field03
78                ....
79                Idle> type your commands
80                ....
Note: See TracBrowser for help on using the repository browser.