From Pawel Debski: more modes for VizDB.
[u/mrichter/AliRoot.git] / EVE / macros / VizDB_scan.C
CommitLineData
f6afd0e1 1void VizDB_scan()
2{
ad5abc55 3 TEvePointSet *ps = 0;
4 TEveStraightLineSet *ls = 0;
f6afd0e1 5
9dcd42ea 6 //============================================================================
7 // Hits
8 //============================================================================
9
10 ps = new TEvePointSet();
11 ps->SetMarkerColor(2);
12 ps->SetMarkerSize(0.5);
13 ps->SetMarkerStyle(2);
14 gEve->InsertVizDBEntry("Hits", ps);
15
16 ps = new TEvePointSet();
17 ps->SetMarkerColor(2);
18 ps->SetMarkerSize(0.5);
19 ps->SetMarkerStyle(2);
20 gEve->InsertVizDBEntry("SIM Hits ITS", ps);
21
22 ps = new TEvePointSet();
23 ps->SetMarkerColor(3);
24 ps->SetMarkerSize(0.5);
25 ps->SetMarkerStyle(2);
26 gEve->InsertVizDBEntry("SIM Hits TPC", ps);
27
28 ps = new TEvePointSet();
29 ps->SetMarkerColor(3);
30 ps->SetMarkerSize(0.5);
31 ps->SetMarkerStyle(4);
32 gEve->InsertVizDBEntry("SIM Hits T0", ps);
33
34 ps = new TEvePointSet();
35 ps->SetMarkerColor(2);
36 ps->SetMarkerSize(0.5);
37 ps->SetMarkerStyle(4);
38 gEve->InsertVizDBEntry("SIM Hits FMD", ps);
39
199f125c 40 ps = new TEvePointSet();
41 ps->SetMarkerColor(2);
42 ps->SetMarkerSize(.5);
43 ps->SetMarkerStyle(4);
44 gEve->InsertVizDBEntry("SIM Hits ACORDE", ps);
45
46 ps = new TEvePointSet();
47 ps->SetMarkerColor(2);
48 ps->SetMarkerSize(.5);
49 ps->SetMarkerStyle(4);
50 gEve->InsertVizDBEntry("SIM Hits EMCAL", ps);
51
52 ps = new TEvePointSet();
53 ps->SetMarkerColor(2);
54 ps->SetMarkerSize(.5);
55 ps->SetMarkerStyle(4);
56 gEve->InsertVizDBEntry("SIM Hits PMD", ps);
57
58 ps = new TEvePointSet();
59 ps->SetMarkerColor(2);
60 ps->SetMarkerSize(.5);
61 ps->SetMarkerStyle(4);
62 gEve->InsertVizDBEntry("SIM Hits TOF", ps);
63
64 ps = new TEvePointSet();
65 ps->SetMarkerColor(7);
66 ps->SetMarkerSize(.5);
67 ps->SetMarkerStyle(4);
68 gEve->InsertVizDBEntry("SIM Hits TRD", ps);
69
70 ps = new TEvePointSet();
71 ps->SetMarkerColor(2);
72 ps->SetMarkerSize(.5);
73 ps->SetMarkerStyle(4);
74 gEve->InsertVizDBEntry("SIM Hits VZERO", ps);
ad5abc55 75
76 //============================================================================
f6afd0e1 77 // Clusters
ad5abc55 78 //============================================================================
f6afd0e1 79
80 ps = new TEvePointSet();
9dcd42ea 81 ps->SetMarkerColor(2);
82 ps->SetMarkerSize(0.5);
83 ps->SetMarkerStyle(2);
84 gEve->InsertVizDBEntry("Clusters", ps);
85
86 ps = new TEvePointSet();
f6afd0e1 87 ps->SetMarkerColor(5);
88 ps->SetMarkerSize(0.2);
89 ps->SetMarkerStyle(2);
9dcd42ea 90 gEve->InsertVizDBEntry("REC Clusters ITS", ps);
f6afd0e1 91
92 ps = new TEvePointSet();
93 ps->SetMarkerColor(4);
94 ps->SetMarkerSize(0.2);
95 ps->SetMarkerStyle(2);
9dcd42ea 96 gEve->InsertVizDBEntry("REC Clusters TPC", ps);
f6afd0e1 97
98 ps = new TEvePointSet();
99 ps->SetMarkerColor(7);
100 ps->SetMarkerSize(0.5);
101 ps->SetMarkerStyle(4);
9dcd42ea 102 gEve->InsertVizDBEntry("REC Clusters TRD", ps);
f6afd0e1 103
104 ps = new TEvePointSet();
105 ps->SetMarkerColor(kOrange);
106 ps->SetMarkerSize(0.5);
107 ps->SetMarkerStyle(4);
9dcd42ea 108 gEve->InsertVizDBEntry("REC Clusters TOF", ps);
109
199f125c 110 ps = new TEvePointSet();
111 ps->SetMarkerColor(4);
112 ps->SetMarkerSize(0.2);
113 ps->SetMarkerStyle(2);
114 gEve->InsertVizDBEntry("REC Clusters HMPID", ps);
115
116 ps = new TEvePointSet();
117 ps->SetMarkerColor(4);
118 ps->SetMarkerSize(0.5);
119 ps->SetMarkerStyle(2);
120 gEve->InsertVizDBEntry("REC Clusters PHOS", ps);
121
ad5abc55 122
123 //============================================================================
124 // Primary vertex
125 //============================================================================
126
127 // Combined vertex
128
129 ls = new TEveStraightLineSet;
130 ls->SetMarkerStyle(2);
131 ls->SetMarkerColor(7);
132 ls->SetLineColor(7);
133 ls->SetLineWidth(3);
134 gEve->InsertVizDBEntry("PVTX", ls);
135
136 ls = new TEveStraightLineSet;
137 ls->SetMarkerStyle(2);
138 ls->SetMarkerColor(7);
139 ls->SetLineColor(7);
140 ls->SetLineWidth(1);
141 gEve->InsertVizDBEntry("PVTX Ellipse", ls);
142
143 ls = new TEveStraightLineSet;
144 ls->SetMarkerStyle(2);
145 ls->SetMarkerColor(7);
146 ls->SetLineColor(7);
147 ls->SetLineWidth(1);
148 gEve->InsertVizDBEntry("PVTX Box", ls);
149
150 // SPD vertex
151
152 ls = new TEveStraightLineSet;
153 ls->SetMarkerStyle(2);
154 ls->SetMarkerColor(6);
155 ls->SetLineColor(6);
156 ls->SetLineWidth(3);
157 gEve->InsertVizDBEntry("PVTX SPD", ls);
158
159 ls = new TEveStraightLineSet;
160 ls->SetMarkerStyle(2);
161 ls->SetMarkerColor(6);
162 ls->SetLineColor(6);
163 ls->SetLineWidth(1);
164 gEve->InsertVizDBEntry("PVTX Ellipse SPD", ls);
165
166 ls = new TEveStraightLineSet;
167 ls->SetMarkerStyle(2);
168 ls->SetMarkerColor(6);
169 ls->SetLineColor(6);
170 ls->SetLineWidth(1);
171 gEve->InsertVizDBEntry("PVTX Box SPD", ls);
172
173 // TPC vertex
174
175 ls = new TEveStraightLineSet;
176 ls->SetMarkerStyle(2);
177 ls->SetMarkerColor(5);
178 ls->SetLineColor(5);
179 ls->SetLineWidth(3);
180 gEve->InsertVizDBEntry("PVTX TPC", ls);
181
182 ls = new TEveStraightLineSet;
183 ls->SetMarkerStyle(2);
184 ls->SetMarkerColor(5);
185 ls->SetLineColor(5);
186 ls->SetLineWidth(1);
187 gEve->InsertVizDBEntry("PVTX Ellipse TPC", ls);
188
189 ls = new TEveStraightLineSet;
190 ls->SetMarkerStyle(2);
191 ls->SetMarkerColor(5);
192 ls->SetLineColor(5);
193 ls->SetLineWidth(1);
194 gEve->InsertVizDBEntry("PVTX Box TPC", ls);
f6afd0e1 195}