source: trunk/examples/advanced/Rich/README @ 1288

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

update

File size: 4.2 KB
Line 
1
2   ==============================================================
3        Geant4 - an Object-oriented Toolkit for Simulation HEP
4   ==============================================================       
5
6                        Rich Detector for LHCb
7                   ----------------------------------
8
9This example is intended to simulate the TestBeam Setup of the Rich detector
10at the LHCb to test the performance of the aerogel radiator.
11The goal of the Rich is the proper identification of charged particles
12in a momentum range of 1-150 GeV/c and to assist in the separation of
13signal and background.
14
15
161. GEOMETRY DEFINITION
17-----------------------------
18
19It consists on 2 detector; RICH1, RICH2 which have to cover
20the full LHCb momentum range:
21
22        RICH1: Aerogel          2 to 10 GeV/c
23               C4F10            < 70 GeV/c
24
25        RICH2: CF4              < 150 GeV/c
26
27
28The geometry (defined inside RichDetectorConstruction class) consists of
294 Hpd, a target containing the aerogel and a spherical mirror.
30The TestbeamSetUp is related to changes in teils, distances between elements
31of the testbeam and types. All the possible configurations are considered
32by a loop inside the MaterialParameters class.
33
34
352. AN EVENT: THE PRIMARY GENERATOR
36-------------------------------------
37
38The primary kinematic consists of a single charge particle (normally pions)
39which is sent towards the target producing a rain of photons reflected and
40focused by the spherical mirrors and recolected after in the Hpd.
41
42The aim of the testbeam is to perform resolutions measurements with
43and without the aerogel to probe the improvement of its use. Comparisons
44between simulation and data are performed to determine the angle defined
45between the simmetry axis of the system (axis z) and the distance to the
46interaction point of the produced photons in the Hpd.
47
48The information related to type of particles to be sent, their energy
49and directions is included inside the PrimaryGeneratorAction class.
50These parameters can be changed interactively using an extern macro
51(run1.mac). It is recomended the use of such macro for changes because
52it avoids further compilations.
53
54A RUN is a set of events.
55
56
573. VISUALIZATION
58--------------------
59
60The Visualization manager is set in the main().
61The Initialisation of the drawing is already defined in run1.mac.
62The example is prepared to use any other visualization packages which
63can be defined in such macro or inside RichTbVis0.mac. Before running
64the events, the visualization must be initialized by:
65
66> /control/execute/RichTbVis0.mac
67
68The detector has longitudinal view of the geometry as default.
69
70The tracks are drawn at the end of event, and erased at the end of the run.
71
72
734. PHYSICS DEMO
74----------------
75
76The particles type and physics processes which will be available in
77this example are set in PhysicsList class.
78
79In addition a built-in interactive command (process/inactivate proname)
80allows to activate/inactivatethe processes one by one.
81
825. HOW TO START?
83-----------------
84
85- compile and link to generate an executable
86        % cd geant4/examples/advanced/Rich/
87        % gmake
88
89- execute the program in 'batch' mode from macro files
90        %  RichTbSim run1.mac
91
92- execute tests in 'interactive mode'
93        %  RichTbSim
94           .....
95
96        Idle> type your commands
97           .....
98        Idle> exit
99
100
1016. HISTOGRAMS
102---------------
103
104This example produces 7 histograms (saved as rich.his generated automatically
105during the running time) which illustrate the final state of the most important
106information of the example:
107
108 histo1  --> Number of Photon Hits per Track
109 histo2  --> Number of Photons before Mirror
110 histo3  --> WaveLength of Photons before Mirror
111 histo4  --> WaveLength of Photons after Mirror
112 histo5  --> Cherekov Angle at roduction all angles
113 histo6  --> Z of the Photon Emission Point
114 histo7  --> Cherenkov Ring Radius
115
116See their definition on AnalysisManager.
117
118Note that histograms are disabled via the flag G4ANALYSIS_USE in GNUmakefile. 
119
120
1217. Using the PI implementation of the AIDA histograms:
122------------------------------------------------------
123
124In order to setup the proper environmental variables, needed for
125running AIDA / PI , run the script:
126
127 --- For c-shell  :     source setupAidaPi.csh
128
129 --- For bash-shell :   . setupAidaPi.sh
130
131Notice that you need g++ 3.2 or 3.23.
132 
Note: See TracBrowser for help on using the repository browser.