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.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]
1 -------------------------------------------------------------------
2
3 =========================================================
4 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
5 =========================================================
6
7 TestEm10
8 --------
9
10 Test for investigation of transition radiation.
11 Default setup for "TestEm10.in" and "TestEm10.large_N.in" is the simplified
12 setup for ALICE XTR test beam (~2004), defined in DetectorSimpleALICE class.
13
14
15 1- GEOMETRY DEFINITION
16
17 The geometry setup includes "radiator" and "absorber" volumes
18 of a box shape.
19
20 The "radiator" material is defined as a mixture of a gas and foil material
21 and the "absorber" contains a gas material.
22
23 Several geometry setups are defined in the classes
24 DetectorSetupX,
25 where SetupX = ALICE06, Bari05, Barr90, Construction, Harris73, Messenger, SimpleALICE, Watase86
26
27 The default setup, SimpleALICE, can be changed via UI command:
28 /XTRdetector/setup setup
29 where setup = simpleALICE, alice06, bari05, harris73, watase86, barr90
30
31 2- PRIMARY GENERATOR
32
33 The primary kinematic consists of a single particle which hits the
34 absorber perpendicular to the input face. The type of the particle
35 and its energy are set in the PrimaryGeneratorAction class, and can
36 be changed via the G4 build-in commands of G4ParticleGun class (see
37 the macros provided with this example).
38
39 3- DETECTOR RESPONSE
40
41 In this example the total energy deposited in the "absorber" volume
42 is accounted in SensitevDetector class, and a spectrum of XTR gamma
43 particles, all secondary gamma particles and all secondary e-
44 particleas is accounted in StackingAction class.
45
46 4- PHYSICS
47
48 The particle's type and the physic processes which will be available
49 in this example are set in PhysicsList class.
50 The trasition radiation process is defined in the
51 TransitionRadiationPhysics builder.
52
53 The transition radiator models can be changed simply with:
54
55 Idle> /emphyslist/setXTRModel modelName
56
57 See macro files "*.mac" for different setups providede with the example.
58
59 5 - HISTOGRAMS
60
61 Testem10 produces several histo which are saved as testem10.root by default.
62 Content of these histo:
63 1: Energy deposit in absorber
64 2: XTR Gamma spectrum
65 3: Secondary Gamma spectrum
66 4: Secondary e- spectrum
67 5: Energy deposit in absorber with the same histogram parameters
68 as in the previous version of this example (Geant4 version <=10.2)
69
70 The histograms are managed by G4AnalysisManager class and its Messenger.
71 The histos can be individually activated with the command :
72 /analysis/h1/set id nbBins valMin valMax unit
73 where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..)
74
75 One can control the name of the histograms file with the command:
76 /analysis/setFileName name (default testem1)
77
78 It is possible to choose the format of the histogram file : root (default),
79 hdf5, xml, csv, by changing the default file type in HistoManager.cc
80
81 It is also possible to print selected histograms on an ascii file:
82 /analysis/h1/setAscii id
83 All selected histos will be written on a file name.ascii (default testem1)
84
85 6- HOW TO START ?
86
87 - execute TestEm10 in 'batch' mode from macro files e.g.
88 % TestEm10 TestEm10.in [TestEm10.large_N.in]
89
90 - execute TestEm10 in 'interactive' mode with visualization e.g.
91 % TestEm10
92 ....
93 Idle> type your commands
94 ....
95
96 7- MACROS
97 alice06.mac: ALICE simplified 2006 test beam setup
98 bari05.mac: setup of Bari INFN group (M. Bridgida et al, NIM A550 (2005) 157-168 (fig. 8))
99 barr90.mac: NIM A294 (1990) 465-472 (fig. 11) setup
100 harris73.mac: NIM 107 (1973) 413-422 (fig. 3b) setup
101 salice.mac: ALICE simplified 2006 test beam setup with disabled
102 ionisation and multiple scattering
103 watase86.mac: NIM A248 (1986) 379-388 (fig. 7) setup