[807] | 1 | $Id: README,v 1.5.2.1 2008/05/05 09:23:47 gcosmo Exp $ |
---|
| 2 | ------------------------------------------------------------------- |
---|
| 3 | |
---|
| 4 | ========================================================= |
---|
| 5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
| 6 | ========================================================= |
---|
| 7 | |
---|
| 8 | field02 |
---|
| 9 | ------- |
---|
| 10 | |
---|
| 11 | Test for investigation of tracking in electric field |
---|
| 12 | and field dependent electromagnetic processes. |
---|
| 13 | |
---|
| 14 | 1- FIELD DEFINITION |
---|
| 15 | The field is a constant electric field. |
---|
| 16 | |
---|
| 17 | Technical note: in order to use any electric field, it is |
---|
| 18 | necessary to create the objects for its equation of motion, |
---|
| 19 | the stepper and driver for the integration, and the |
---|
| 20 | chord finder. |
---|
| 21 | |
---|
| 22 | The class that does these is F02ElectricFieldSetup. |
---|
| 23 | |
---|
| 24 | 1- GEOMETRY DEFINITION |
---|
| 25 | |
---|
| 26 | The "absorber" is a solid made of a given material. |
---|
| 27 | |
---|
| 28 | Three parameters define the absorber : |
---|
| 29 | - the material of the absorber, |
---|
| 30 | - the thickness of an absorber, |
---|
| 31 | - the transverse size of the absorber (the input face is a square). |
---|
| 32 | |
---|
| 33 | The volume "World" contains the "absorber". |
---|
| 34 | In this test the parameters of the "World" can be changed , too. |
---|
| 35 | |
---|
| 36 | In addition a transverse uniform electric field can be applied. |
---|
| 37 | |
---|
| 38 | The default geometry is constructed in DetectorConstruction class, |
---|
| 39 | but all the parameters can be changed via |
---|
| 40 | the commands defined in the DetectorMessenger class. |
---|
| 41 | |
---|
| 42 | 2- AN EVENT : THE PRIMARY GENERATOR |
---|
| 43 | |
---|
| 44 | The primary kinematic consists of a single particle which hits the |
---|
| 45 | absorber perpendicular to the input face. The type of the particle |
---|
| 46 | and its energy are set in the PrimaryGeneratorAction class, and can |
---|
| 47 | be changed via the G4 build-in commands of ParticleGun class (see |
---|
| 48 | the macros provided with this example). |
---|
| 49 | |
---|
| 50 | A RUN is a set of events. |
---|
| 51 | |
---|
| 52 | 3- DETECTOR RESPONSE |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | A HIT is a record, event per event , of all the |
---|
| 56 | informations needed to simulate and analyse the detector response. |
---|
| 57 | |
---|
| 58 | In this example a CalorHit is defined as a set of 2 informations: |
---|
| 59 | - the total energy deposit in the absorber, |
---|
| 60 | - the total tracklength of all charged particles in the absorber, |
---|
| 61 | |
---|
| 62 | Therefore the absorber is declared |
---|
| 63 | 'sensitive detector' (SD), which means they can contribute to the hit. |
---|
| 64 | |
---|
| 65 | 4- PHYSICS DEMO |
---|
| 66 | |
---|
| 67 | The particle's type and the physic processes which will be available |
---|
| 68 | in this example are set in PhysicsList class. |
---|
| 69 | |
---|
| 70 | The messenger classes introduce interactive commands . Using these |
---|
| 71 | commands the geometry of the detector, the data of the primary |
---|
| 72 | particle, etc. can be changed. |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | 5- HOW TO START ? |
---|
| 76 | |
---|
| 77 | - compile and link to generate an executable |
---|
| 78 | % cd $G4INSTALL/example/extended/field/field02 |
---|
| 79 | % gmake |
---|
| 80 | |
---|
| 81 | - execute field02 in 'batch' mode from macro file e.g. |
---|
| 82 | % $(G4INSTALL)/bin/$(G4SYSTEM)/field02 field02.in |
---|
| 83 | |
---|
| 84 | - execute field02 in 'interactive' mode with visualization e.g. |
---|
| 85 | % $(G4INSTALL)/bin/$(G4SYSTEM)/field02 |
---|
| 86 | .... |
---|
| 87 | Idle> type your commands |
---|
| 88 | .... |
---|