]>
Commit | Line | Data |
---|---|---|
f6afd0e1 | 1 | void VizDB_scan() |
2 | { | |
ad5abc55 | 3 | TEvePointSet *ps = 0; |
4 | TEveStraightLineSet *ls = 0; | |
f6afd0e1 | 5 | |
ad5abc55 | 6 | |
7 | //============================================================================ | |
f6afd0e1 | 8 | // Clusters |
ad5abc55 | 9 | //============================================================================ |
f6afd0e1 | 10 | |
11 | ps = new TEvePointSet(); | |
12 | ps->SetMarkerColor(5); | |
13 | ps->SetMarkerSize(0.2); | |
14 | ps->SetMarkerStyle(2); | |
15 | gEve->InsertVizDBEntry("ITS Clusters", ps); | |
16 | ||
17 | ps = new TEvePointSet(); | |
18 | ps->SetMarkerColor(4); | |
19 | ps->SetMarkerSize(0.2); | |
20 | ps->SetMarkerStyle(2); | |
21 | gEve->InsertVizDBEntry("TPC Clusters", ps); | |
22 | ||
23 | ps = new TEvePointSet(); | |
24 | ps->SetMarkerColor(7); | |
25 | ps->SetMarkerSize(0.5); | |
26 | ps->SetMarkerStyle(4); | |
27 | gEve->InsertVizDBEntry("TRD Clusters", ps); | |
28 | ||
29 | ps = new TEvePointSet(); | |
30 | ps->SetMarkerColor(kOrange); | |
31 | ps->SetMarkerSize(0.5); | |
32 | ps->SetMarkerStyle(4); | |
33 | gEve->InsertVizDBEntry("TOF Clusters", ps); | |
ad5abc55 | 34 | |
35 | //============================================================================ | |
36 | // Primary vertex | |
37 | //============================================================================ | |
38 | ||
39 | // Combined vertex | |
40 | ||
41 | ls = new TEveStraightLineSet; | |
42 | ls->SetMarkerStyle(2); | |
43 | ls->SetMarkerColor(7); | |
44 | ls->SetLineColor(7); | |
45 | ls->SetLineWidth(3); | |
46 | gEve->InsertVizDBEntry("PVTX", ls); | |
47 | ||
48 | ls = new TEveStraightLineSet; | |
49 | ls->SetMarkerStyle(2); | |
50 | ls->SetMarkerColor(7); | |
51 | ls->SetLineColor(7); | |
52 | ls->SetLineWidth(1); | |
53 | gEve->InsertVizDBEntry("PVTX Ellipse", ls); | |
54 | ||
55 | ls = new TEveStraightLineSet; | |
56 | ls->SetMarkerStyle(2); | |
57 | ls->SetMarkerColor(7); | |
58 | ls->SetLineColor(7); | |
59 | ls->SetLineWidth(1); | |
60 | gEve->InsertVizDBEntry("PVTX Box", ls); | |
61 | ||
62 | // SPD vertex | |
63 | ||
64 | ls = new TEveStraightLineSet; | |
65 | ls->SetMarkerStyle(2); | |
66 | ls->SetMarkerColor(6); | |
67 | ls->SetLineColor(6); | |
68 | ls->SetLineWidth(3); | |
69 | gEve->InsertVizDBEntry("PVTX SPD", ls); | |
70 | ||
71 | ls = new TEveStraightLineSet; | |
72 | ls->SetMarkerStyle(2); | |
73 | ls->SetMarkerColor(6); | |
74 | ls->SetLineColor(6); | |
75 | ls->SetLineWidth(1); | |
76 | gEve->InsertVizDBEntry("PVTX Ellipse SPD", ls); | |
77 | ||
78 | ls = new TEveStraightLineSet; | |
79 | ls->SetMarkerStyle(2); | |
80 | ls->SetMarkerColor(6); | |
81 | ls->SetLineColor(6); | |
82 | ls->SetLineWidth(1); | |
83 | gEve->InsertVizDBEntry("PVTX Box SPD", ls); | |
84 | ||
85 | // TPC vertex | |
86 | ||
87 | ls = new TEveStraightLineSet; | |
88 | ls->SetMarkerStyle(2); | |
89 | ls->SetMarkerColor(5); | |
90 | ls->SetLineColor(5); | |
91 | ls->SetLineWidth(3); | |
92 | gEve->InsertVizDBEntry("PVTX TPC", ls); | |
93 | ||
94 | ls = new TEveStraightLineSet; | |
95 | ls->SetMarkerStyle(2); | |
96 | ls->SetMarkerColor(5); | |
97 | ls->SetLineColor(5); | |
98 | ls->SetLineWidth(1); | |
99 | gEve->InsertVizDBEntry("PVTX Ellipse TPC", ls); | |
100 | ||
101 | ls = new TEveStraightLineSet; | |
102 | ls->SetMarkerStyle(2); | |
103 | ls->SetMarkerColor(5); | |
104 | ls->SetLineColor(5); | |
105 | ls->SetLineWidth(1); | |
106 | gEve->InsertVizDBEntry("PVTX Box TPC", ls); | |
f6afd0e1 | 107 | } |