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

Last change on this file was 1342, checked in by garnier, 15 years ago

update ti head

File size: 2.9 KB
RevLine 
[1342]1$Id: README,v 1.5 2010/09/08 11:22:01 vnivanch Exp $
[807]2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 TestEm8
9 -------
10
[1342]11 Example for investigation of ionisation in thin absorbers and gaseous
12 detectors
[807]13
14 1- GEOMETRY DEFINITION
15
[1342]16 The target is a cilinder made of a given material placed inside
17 cilindrical container, which is placed inside the world volume.
[807]18
[1342]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,
[807]31
[1342]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
[807]39
40 2- AN EVENT : THE PRIMARY GENERATOR
41
42 The primary kinematic consists of a single particle which hits the
43 absorber perpendicular to the input face. The type of the particle
[1342]44 and its energy can be set via the G4 build-in commands of ParticleGun
[807]45 A RUN is a set of events.
46
47 3- DETECTOR RESPONSE
48
[1342]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:
[807]55
[1342]56 /testem/setPairEnergy 19 eV
[807]57
58
[1342]59 4- PHYSICS
[807]60
61 The particle's type and the physic processes which will be available
[1342]62 in this example are set in PhysicsList class, which uses Geant4
63 EM physics constructors providing in the physics_list library.
[807]64
[1342]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
70
[807]71 5- HOW TO START ?
72
73 - compile and link to generate an executable
74 % cd TestEm8
75 % gmake
76
77 - execute TestEm8 in 'batch' mode from macro files e.g.
[1342]78 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8 TestEm8.in
[807]79
80 - execute TestEm8 in 'interactive' mode with visualization e.g.
81 % $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm8
82 ....
83 Idle> type your commands
84 ....
85
86
87
88
Note: See TracBrowser for help on using the repository browser.