]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EVE/macros/VizDB_scan.C
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / EVE / macros / VizDB_scan.C
... / ...
CommitLineData
1void VizDB_scan()
2{
3
4 TEvePointSet *ps = 0;
5 TEveStraightLineSet *ls = 0;
6 TEveTrackList *tl = 0;
7
8 //============================================================================
9 // Hits
10 //============================================================================
11
12 ps = new TEvePointSet();
13 ps->SetMarkerColor(2);
14 ps->SetMarkerSize(0.5);
15 ps->SetMarkerStyle(2);
16 gEve->InsertVizDBEntry("Hits", ps);
17
18 ps = new TEvePointSet();
19 ps->SetMarkerColor(2);
20 ps->SetMarkerSize(0.5);
21 ps->SetMarkerStyle(2);
22 gEve->InsertVizDBEntry("SIM Hits ITS", ps);
23
24 ps = new TEvePointSet();
25 ps->SetMarkerColor(3);
26 ps->SetMarkerSize(0.5);
27 ps->SetMarkerStyle(2);
28 gEve->InsertVizDBEntry("SIM Hits TPC", ps);
29
30 ps = new TEvePointSet();
31 ps->SetMarkerColor(3);
32 ps->SetMarkerSize(0.5);
33 ps->SetMarkerStyle(4);
34 gEve->InsertVizDBEntry("SIM Hits T0", ps);
35
36 ps = new TEvePointSet();
37 ps->SetMarkerColor(2);
38 ps->SetMarkerSize(0.5);
39 ps->SetMarkerStyle(4);
40 gEve->InsertVizDBEntry("SIM Hits FMD", ps);
41
42 ps = new TEvePointSet();
43 ps->SetMarkerColor(2);
44 ps->SetMarkerSize(.5);
45 ps->SetMarkerStyle(4);
46 gEve->InsertVizDBEntry("SIM Hits ACORDE", ps);
47
48 ps = new TEvePointSet();
49 ps->SetMarkerColor(2);
50 ps->SetMarkerSize(.5);
51 ps->SetMarkerStyle(4);
52 gEve->InsertVizDBEntry("SIM Hits EMCAL", ps);
53
54 ps = new TEvePointSet();
55 ps->SetMarkerColor(2);
56 ps->SetMarkerSize(.5);
57 ps->SetMarkerStyle(4);
58 gEve->InsertVizDBEntry("SIM Hits PMD", ps);
59
60 ps = new TEvePointSet();
61 ps->SetMarkerColor(2);
62 ps->SetMarkerSize(.5);
63 ps->SetMarkerStyle(4);
64 gEve->InsertVizDBEntry("SIM Hits TOF", ps);
65
66 ps = new TEvePointSet();
67 ps->SetMarkerColor(7);
68 ps->SetMarkerSize(.5);
69 ps->SetMarkerStyle(4);
70 gEve->InsertVizDBEntry("SIM Hits TRD", ps);
71
72 ps = new TEvePointSet();
73 ps->SetMarkerColor(2);
74 ps->SetMarkerSize(.5);
75 ps->SetMarkerStyle(4);
76 gEve->InsertVizDBEntry("SIM Hits VZERO", ps);
77
78 //============================================================================
79 // Clusters
80 //============================================================================
81
82 ps = new TEvePointSet();
83 ps->SetMarkerColor(2);
84 ps->SetMarkerSize(0.5);
85 ps->SetMarkerStyle(2);
86 gEve->InsertVizDBEntry("Clusters", ps);
87
88 ps = new TEvePointSet();
89 ps->SetMarkerColor(kBlue);
90 ps->SetMarkerSize(0.2);
91 ps->SetMarkerStyle(2);
92 gEve->InsertVizDBEntry("REC Clusters ITS", ps);
93
94 ps = new TEvePointSet();
95 ps->SetMarkerColor(kBlue);
96 ps->SetMarkerSize(0.2);
97 ps->SetMarkerStyle(2);
98 gEve->InsertVizDBEntry("REC Clusters TPC", ps);
99
100 ps = new TEvePointSet();
101 ps->SetMarkerColor(7);
102 ps->SetMarkerSize(0.5);
103 ps->SetMarkerStyle(4);
104 gEve->InsertVizDBEntry("REC Clusters TRD", ps);
105
106 ps = new TEvePointSet();
107 ps->SetMarkerColor(kOrange+9);
108 ps->SetMarkerSize(0.5);
109 ps->SetMarkerStyle(4);
110 gEve->InsertVizDBEntry("REC Clusters TOF", ps);
111
112 ps = new TEvePointSet();
113 ps->SetMarkerColor(4);
114 ps->SetMarkerSize(0.2);
115 ps->SetMarkerStyle(2);
116 gEve->InsertVizDBEntry("REC Clusters HMPID", ps);
117
118 ps = new TEvePointSet();
119 ps->SetMarkerColor(4);
120 ps->SetMarkerSize(0.5);
121 ps->SetMarkerStyle(2);
122 gEve->InsertVizDBEntry("REC Clusters PHOS", ps);
123
124 //============================================================================
125 // Primary vertex
126 //============================================================================
127
128 // Combined vertex
129
130 ls = new TEveStraightLineSet;
131 ls->SetMarkerStyle(2);
132 ls->SetMarkerColor(7);
133 ls->SetLineColor(7);
134 ls->SetLineWidth(3);
135 gEve->InsertVizDBEntry("REC PVTX", ls);
136
137 ls = new TEveStraightLineSet;
138 ls->SetMarkerStyle(2);
139 ls->SetMarkerColor(7);
140 ls->SetLineColor(7);
141 ls->SetLineWidth(1);
142 gEve->InsertVizDBEntry("REC PVTX Ellipse", ls);
143
144 ls = new TEveStraightLineSet;
145 ls->SetMarkerStyle(2);
146 ls->SetMarkerColor(7);
147 ls->SetLineColor(7);
148 ls->SetLineWidth(1);
149 gEve->InsertVizDBEntry("REC PVTX Box", ls);
150
151 // SPD vertex
152
153 ls = new TEveStraightLineSet;
154 ls->SetMarkerStyle(2);
155 ls->SetMarkerColor(6);
156 ls->SetLineColor(6);
157 ls->SetLineWidth(3);
158 gEve->InsertVizDBEntry("REC PVTX SPD", ls);
159
160 ls = new TEveStraightLineSet;
161 ls->SetMarkerStyle(2);
162 ls->SetMarkerColor(6);
163 ls->SetLineColor(6);
164 ls->SetLineWidth(1);
165 gEve->InsertVizDBEntry("REC PVTX Ellipse SPD", ls);
166
167 ls = new TEveStraightLineSet;
168 ls->SetMarkerStyle(2);
169 ls->SetMarkerColor(6);
170 ls->SetLineColor(6);
171 ls->SetLineWidth(1);
172 gEve->InsertVizDBEntry("REC PVTX Box SPD", ls);
173
174 // TPC vertex
175
176 ls = new TEveStraightLineSet;
177 ls->SetMarkerStyle(2);
178 ls->SetMarkerColor(5);
179 ls->SetLineColor(5);
180 ls->SetLineWidth(3);
181 gEve->InsertVizDBEntry("REC PVTX TPC", ls);
182
183 ls = new TEveStraightLineSet;
184 ls->SetMarkerStyle(2);
185 ls->SetMarkerColor(5);
186 ls->SetLineColor(5);
187 ls->SetLineWidth(1);
188 gEve->InsertVizDBEntry("REC PVTX Ellipse TPC", ls);
189
190 ls = new TEveStraightLineSet;
191 ls->SetMarkerStyle(2);
192 ls->SetMarkerColor(5);
193 ls->SetLineColor(5);
194 ls->SetLineWidth(1);
195 gEve->InsertVizDBEntry("REC PVTX Box TPC", ls);
196
197
198 //============================================================================
199 // Tracks
200 //============================================================================
201
202 tl = new TEveTrackList("ESD Tracks");
203 tl->SetLineStyle(6);
204 tl->SetMainColor(1);
205 tl->SetLineWidth(1);
206 gEve->InsertVizDBEntry("REC Tracks", tl);
207
208 tl = new TEveTrackList("ESD Tracks MI");
209 tl->SetLineStyle(6);
210 tl->SetMainColor(1);
211 tl->SetLineWidth(1);
212 gEve->InsertVizDBEntry("REC Tracks MI", tl);
213
214
215 // esd_tracks_by_category()
216
217 tl = new TEveTrackList("Sigma < 3");
218 tl->SetLineStyle(6);
219 tl->SetLineColor(1);
220 tl->SetLineWidth(1);
221 gEve->InsertVizDBEntry("REC Tracks ByCat 0", tl);
222
223 tl = new TEveTrackList("3 < Sigma < 5");
224 tl->SetLineStyle(6);
225 tl->SetLineColor(1);
226 tl->SetLineWidth(1);
227 gEve->InsertVizDBEntry("REC Tracks ByCat 1", tl);
228
229 tl = new TEveTrackList("5 < Sigma");
230 tl->SetLineStyle(6);
231 tl->SetLineColor(1);
232 tl->SetLineWidth(1);
233 gEve->InsertVizDBEntry("REC Tracks ByCat 2", tl);
234
235 tl = new TEveTrackList("no ITS refit; Sigma < 5");
236 tl->SetLineStyle(6);
237 tl->SetLineColor(1);
238 tl->SetLineWidth(1);
239 gEve->InsertVizDBEntry("REC Tracks ByCat 3", tl);
240
241 tl = new TEveTrackList("no ITS refit; Sigma > 5");
242 tl->SetLineStyle(6);
243 tl->SetLineColor(1);
244 tl->SetLineWidth(1);
245 gEve->InsertVizDBEntry("REC Tracks ByCat 4", tl);
246
247 tl = new TEveTrackList("no TPC refit");
248 tl->SetLineStyle(6);
249 tl->SetLineColor(1);
250 tl->SetLineWidth(1);
251 gEve->InsertVizDBEntry("REC Tracks ByCat 5", tl);
252
253 tl = new TEveTrackList("ITS stand-alone");
254 tl->SetLineStyle(6);
255 tl->SetLineColor(1);
256 tl->SetLineWidth(1);
257 gEve->InsertVizDBEntry("REC Tracks ByCat 6", tl);
258
259
260 // esd_tracks_by_anal_cuts()
261
262 tl = new TEveTrackList("Passed");
263 tl->SetLineStyle(6);
264 tl->SetMainColor(1);
265 tl->SetLineWidth(1);
266 gEve->InsertVizDBEntry("REC Tracks ByAnCuts Passed", tl);
267
268 tl = new TEveTrackList("Rejected");
269 tl->SetLineStyle(6);
270 tl->SetMainColor(1);
271 tl->SetLineWidth(1);
272 gEve->InsertVizDBEntry("REC Tracks ByAnCuts Rejected", tl);
273
274
275 //============================================================================
276 // SPD tracklets
277 //============================================================================
278
279 tl = new TEveTrackList("Good");
280 tl->SetLineStyle(6);
281 tl->SetMainColor(1);
282 tl->SetLineWidth(1);
283 gEve->InsertVizDBEntry("REC Tracklet Good", tl);
284
285 tl = new TEveTrackList("Bad");
286 tl->SetLineStyle(6);
287 tl->SetMainColor(1);
288 tl->SetLineWidth(1);
289 gEve->InsertVizDBEntry("REC Tracklet Bad", tl);
290}