Changeset 1342 for trunk/examples/extended/electromagnetic/TestEm8/README
- Timestamp:
- Nov 5, 2010, 4:08:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm8/README
r807 r1342 1 $Id: README,v 1. 4 2003/11/24 18:09:22vnivanch Exp $1 $Id: README,v 1.5 2010/09/08 11:22:01 vnivanch Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 9 9 ------- 10 10 11 Test for investigation of ionisation in thin absorbers, transition 12 and synchrotron radiations. 13 11 Example for investigation of ionisation in thin absorbers and gaseous 12 detectors 14 13 15 14 1- GEOMETRY DEFINITION 16 15 17 The "absorber" is a tube made of a given material. 16 The target is a cilinder made of a given material placed inside 17 cilindrical container, which is placed inside the world volume. 18 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. 19 Following parameters define the geometry: 20 - the material of the target, 21 - the thickness of the target, 22 - the radius of the target, 23 - the material of the container, 24 - the thickness of the container, 25 - the material of the world. 26 27 The list of materials used in gaseous detectors are built inside 28 the DetectorConstruction class, also NIST materials are availabe. 29 The default geometry is provided but all parameters can be changed via 30 UI commands defined in the DetectorMessenger class, for example, 26 31 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 /testem/setGasMat XeCH4C3H8 33 /testem/setWindowMat G4_MYLAR 34 /testem/setWorldMat G4_AIR 35 /testem/setGasThick 10 cm 36 /testem/setGasRad 20 cm 37 /testem/setWindowThick 50 um 38 32 39 33 40 2- AN EVENT : THE PRIMARY GENERATOR … … 35 42 The primary kinematic consists of a single particle which hits the 36 43 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 44 and its energy can be set via the G4 build-in commands of ParticleGun 41 45 A RUN is a set of events. 42 46 43 47 3- DETECTOR RESPONSE 44 48 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). 49 The TargetSD class sending information about each step inside the target 50 to the HistoManager class scoring of energy deposition in the detector. 51 Additionally at each step of a particle inside the target the number of 52 ionisation clusters is sampled using G4ElectronIonPair helper class. The 53 parameter of transformation of energy into ionisation clusters can be 54 set via UI command: 67 55 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 56 /testem/setPairEnergy 19 eV 74 57 75 58 76 4- PHYSICS DEMO59 4- PHYSICS 77 60 78 61 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 62 in this example are set in PhysicsList class, which uses Geant4 63 EM physics constructors providing in the physics_list library. 64 65 The messenger classes introduce interactive commands. In particular, 66 PAI ionisation model can be added using G4EmConfurator helper class, 67 which is invokated by the UI command 68 69 /testem/phys/addPhysics pai 85 70 86 71 5- HOW TO START ? … … 91 76 92 77 - execute TestEm8 in 'batch' mode from macro files e.g. 93 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8 run11.mac78 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8 TestEm8.in 94 79 95 80 - execute TestEm8 in 'interactive' mode with visualization e.g.
Note: See TracChangeset
for help on using the changeset viewer.