1 |
dinardo |
1.2 |
// #########################
|
2 |
|
|
// # MyHistoStyle_Vertex.C #
|
3 |
|
|
// #########################
|
4 |
|
|
|
5 |
dinardo |
1.1 |
{
|
6 |
|
|
// ##################
|
7 |
|
|
// # STYLE SETTINGS #
|
8 |
|
|
// ##################
|
9 |
|
|
gROOT->Reset();
|
10 |
|
|
gROOT->SetStyle("Plain");
|
11 |
|
|
|
12 |
|
|
gStyle->SetOptStat(111110);
|
13 |
|
|
gStyle->SetStatX(0.9);
|
14 |
|
|
gStyle->SetStatY(0.9);
|
15 |
|
|
gStyle->SetStatW(0.2);
|
16 |
|
|
gStyle->SetStatH(0.1);
|
17 |
|
|
|
18 |
|
|
gStyle->SetOptFit(1);
|
19 |
|
|
gStyle->SetOptTitle(false);
|
20 |
|
|
|
21 |
|
|
// ################
|
22 |
|
|
// # FILE READING #
|
23 |
|
|
// ################
|
24 |
dinardo |
1.8 |
TFile* file0 = TFile::Open("MyPixAnalysis_MC_Loose.root");
|
25 |
|
|
TFile* file1 = TFile::Open("MyPixAnalysis_MC_noTP_Loose.root");
|
26 |
|
|
TFile* file2 = TFile::Open("MyPixAnalysis_Data_Loose.root");
|
27 |
dinardo |
1.1 |
|
28 |
dinardo |
1.3 |
// ###################
|
29 |
|
|
// # Histo Variables #
|
30 |
|
|
// ###################
|
31 |
|
|
TH1F* histo0;
|
32 |
|
|
TH1F* histo1;
|
33 |
|
|
TH1F* histo2;
|
34 |
|
|
|
35 |
dinardo |
1.8 |
TH2F* histo02;
|
36 |
|
|
TH2F* histo12;
|
37 |
|
|
TH2F* histo22;
|
38 |
|
|
|
39 |
dinardo |
1.1 |
// ########################################
|
40 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
41 |
|
|
// ########################################
|
42 |
dinardo |
1.3 |
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along X vs DoF");
|
43 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along X vs DoF");
|
44 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along X vs DoF");
|
45 |
dinardo |
1.1 |
|
46 |
|
|
TCanvas* c0 = new TCanvas("c0", "c0");
|
47 |
|
|
|
48 |
|
|
histo0->SetFillColor(kBlue);
|
49 |
|
|
histo0->Draw("bar");
|
50 |
|
|
|
51 |
|
|
histo1->SetMarkerStyle(20);
|
52 |
|
|
histo1->SetMarkerColor(kBlack);
|
53 |
|
|
histo1->Draw("same");
|
54 |
|
|
|
55 |
|
|
histo2->SetMarkerStyle(21);
|
56 |
|
|
histo2->SetMarkerColor(kRed);
|
57 |
|
|
histo2->Draw("same");
|
58 |
|
|
|
59 |
|
|
histo0->SetStats(false);
|
60 |
|
|
histo1->SetStats(false);
|
61 |
|
|
histo2->SetStats(false);
|
62 |
|
|
|
63 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
64 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
65 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
66 |
|
|
leg->AddEntry(histo2,"Data");
|
67 |
|
|
leg->SetFillColor(0);
|
68 |
|
|
leg->SetBorderSize(1);
|
69 |
|
|
leg->Draw();
|
70 |
|
|
|
71 |
|
|
// ###################
|
72 |
|
|
// # UPDATE AND SAVE #
|
73 |
|
|
// ###################
|
74 |
|
|
c0->Update();
|
75 |
|
|
c0->SaveAs("Res_X.png");
|
76 |
|
|
|
77 |
|
|
// ########################################
|
78 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
79 |
|
|
// ########################################
|
80 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Y vs DoF");
|
81 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Y vs DoF");
|
82 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Y vs DoF");
|
83 |
|
|
|
84 |
|
|
TCanvas* c1 = new TCanvas("c1", "c1");
|
85 |
|
|
|
86 |
|
|
histo0->SetFillColor(kBlue);
|
87 |
|
|
histo0->Draw("bar");
|
88 |
|
|
|
89 |
|
|
histo1->SetMarkerStyle(20);
|
90 |
|
|
histo1->SetMarkerColor(kBlack);
|
91 |
|
|
histo1->Draw("same");
|
92 |
|
|
|
93 |
|
|
histo2->SetMarkerStyle(21);
|
94 |
|
|
histo2->SetMarkerColor(kRed);
|
95 |
|
|
histo2->Draw("same");
|
96 |
|
|
|
97 |
|
|
histo0->SetStats(false);
|
98 |
|
|
histo1->SetStats(false);
|
99 |
|
|
histo2->SetStats(false);
|
100 |
|
|
|
101 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
102 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
103 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
104 |
|
|
leg->AddEntry(histo2,"Data");
|
105 |
|
|
leg->SetFillColor(0);
|
106 |
|
|
leg->SetBorderSize(1);
|
107 |
|
|
leg->Draw();
|
108 |
|
|
|
109 |
|
|
// ###################
|
110 |
|
|
// # UPDATE AND SAVE #
|
111 |
|
|
// ###################
|
112 |
|
|
c1->Update();
|
113 |
|
|
c1->SaveAs("Res_Y.png");
|
114 |
|
|
|
115 |
|
|
// ########################################
|
116 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
117 |
|
|
// ########################################
|
118 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Z vs DoF");
|
119 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Z vs DoF");
|
120 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position difference along Z vs DoF");
|
121 |
|
|
|
122 |
|
|
TCanvas* c2 = new TCanvas("c2", "c2");
|
123 |
|
|
|
124 |
|
|
histo0->SetFillColor(kBlue);
|
125 |
|
|
histo0->SetTitleOffset(1.3,"Y");
|
126 |
|
|
histo0->Draw("bar");
|
127 |
|
|
|
128 |
|
|
histo1->SetMarkerStyle(20);
|
129 |
|
|
histo1->SetMarkerColor(kBlack);
|
130 |
|
|
histo1->Draw("same");
|
131 |
|
|
|
132 |
|
|
histo2->SetMarkerStyle(21);
|
133 |
|
|
histo2->SetMarkerColor(kRed);
|
134 |
|
|
histo2->Draw("same");
|
135 |
|
|
|
136 |
|
|
histo0->SetStats(false);
|
137 |
|
|
histo1->SetStats(false);
|
138 |
|
|
histo2->SetStats(false);
|
139 |
|
|
|
140 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
141 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
142 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
143 |
|
|
leg->AddEntry(histo2,"Data");
|
144 |
|
|
leg->SetFillColor(0);
|
145 |
|
|
leg->SetBorderSize(1);
|
146 |
|
|
leg->Draw();
|
147 |
|
|
|
148 |
|
|
// ###################
|
149 |
|
|
// # UPDATE AND SAVE #
|
150 |
|
|
// ###################
|
151 |
|
|
c2->Update();
|
152 |
|
|
c2->SaveAs("Res_Z.png");
|
153 |
|
|
|
154 |
|
|
// ########################################
|
155 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
156 |
|
|
// ########################################
|
157 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along X vs DoF");
|
158 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along X vs DoF");
|
159 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along X vs DoF");
|
160 |
|
|
|
161 |
|
|
TCanvas* c3 = new TCanvas("c3", "c3");
|
162 |
|
|
|
163 |
|
|
histo0->SetFillColor(kBlue);
|
164 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,3.);
|
165 |
|
|
histo0->Draw("bar");
|
166 |
|
|
|
167 |
|
|
histo1->SetMarkerStyle(20);
|
168 |
|
|
histo1->SetMarkerColor(kBlack);
|
169 |
|
|
histo1->Draw("same");
|
170 |
|
|
|
171 |
|
|
histo2->SetMarkerStyle(21);
|
172 |
|
|
histo2->SetMarkerColor(kRed);
|
173 |
|
|
histo2->Draw("same");
|
174 |
|
|
|
175 |
|
|
histo0->SetStats(false);
|
176 |
|
|
histo1->SetStats(false);
|
177 |
|
|
histo2->SetStats(false);
|
178 |
|
|
|
179 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
180 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
181 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
182 |
|
|
leg->AddEntry(histo2,"Data");
|
183 |
|
|
leg->SetFillColor(0);
|
184 |
|
|
leg->SetBorderSize(1);
|
185 |
|
|
leg->Draw();
|
186 |
|
|
|
187 |
|
|
// ###################
|
188 |
|
|
// # UPDATE AND SAVE #
|
189 |
|
|
// ###################
|
190 |
|
|
c3->Update();
|
191 |
|
|
c3->SaveAs("Pull_X.png");
|
192 |
|
|
|
193 |
|
|
// ########################################
|
194 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
195 |
|
|
// ########################################
|
196 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Y vs DoF");
|
197 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Y vs DoF");
|
198 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Y vs DoF");
|
199 |
|
|
|
200 |
|
|
TCanvas* c4 = new TCanvas("c4", "c4");
|
201 |
|
|
|
202 |
|
|
histo0->SetFillColor(kBlue);
|
203 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,3.);
|
204 |
|
|
histo0->Draw("bar");
|
205 |
|
|
|
206 |
|
|
histo1->SetMarkerStyle(20);
|
207 |
|
|
histo1->SetMarkerColor(kBlack);
|
208 |
|
|
histo1->Draw("same");
|
209 |
|
|
|
210 |
|
|
histo2->SetMarkerStyle(21);
|
211 |
|
|
histo2->SetMarkerColor(kRed);
|
212 |
|
|
histo2->Draw("same");
|
213 |
|
|
|
214 |
|
|
histo0->SetStats(false);
|
215 |
|
|
histo1->SetStats(false);
|
216 |
|
|
histo2->SetStats(false);
|
217 |
|
|
|
218 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
219 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
220 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
221 |
|
|
leg->AddEntry(histo2,"Data");
|
222 |
|
|
leg->SetFillColor(0);
|
223 |
|
|
leg->SetBorderSize(1);
|
224 |
|
|
leg->Draw();
|
225 |
|
|
|
226 |
|
|
// ###################
|
227 |
|
|
// # UPDATE AND SAVE #
|
228 |
|
|
// ###################
|
229 |
|
|
c4->Update();
|
230 |
|
|
c4->SaveAs("Pull_Y.png");
|
231 |
|
|
|
232 |
|
|
// ########################################
|
233 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
234 |
|
|
// ########################################
|
235 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Z vs DoF");
|
236 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Z vs DoF");
|
237 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Vertex position pull along Z vs DoF");
|
238 |
|
|
|
239 |
|
|
TCanvas* c5 = new TCanvas("c5", "c5");
|
240 |
|
|
|
241 |
|
|
histo0->SetFillColor(kBlue);
|
242 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,3.);
|
243 |
|
|
histo0->Draw("bar");
|
244 |
|
|
|
245 |
|
|
histo1->SetMarkerStyle(20);
|
246 |
|
|
histo1->SetMarkerColor(kBlack);
|
247 |
|
|
histo1->Draw("same");
|
248 |
|
|
|
249 |
|
|
histo2->SetMarkerStyle(21);
|
250 |
|
|
histo2->SetMarkerColor(kRed);
|
251 |
|
|
histo2->Draw("same");
|
252 |
|
|
|
253 |
|
|
histo0->SetStats(false);
|
254 |
|
|
histo1->SetStats(false);
|
255 |
|
|
histo2->SetStats(false);
|
256 |
|
|
|
257 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
258 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
259 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
260 |
|
|
leg->AddEntry(histo2,"Data");
|
261 |
|
|
leg->SetFillColor(0);
|
262 |
|
|
leg->SetBorderSize(1);
|
263 |
|
|
leg->Draw();
|
264 |
|
|
|
265 |
|
|
// ###################
|
266 |
|
|
// # UPDATE AND SAVE #
|
267 |
|
|
// ###################
|
268 |
|
|
c5->Update();
|
269 |
|
|
c5->SaveAs("Pull_Z.png");
|
270 |
|
|
|
271 |
|
|
// ########################################
|
272 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
273 |
|
|
// ########################################
|
274 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/VxDoF/x_diff_DoF_20");
|
275 |
|
|
histo1 = (TH1F*)file0->Get("MyProcess/VxDoF/x_diff_DoF_10");
|
276 |
|
|
histo2 = (TH1F*)file0->Get("MyProcess/VxDoF/x_diff_DoF_4");
|
277 |
|
|
|
278 |
|
|
TCanvas* c6 = new TCanvas("c6", "c6");
|
279 |
|
|
|
280 |
|
|
histo0->SetLineColor(kBlue);
|
281 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
282 |
dinardo |
1.1 |
histo0->SetXTitle("Res X [\\mum]");
|
283 |
|
|
histo0->SetYTitle("Entries [#]");
|
284 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
285 |
|
|
histo0->Draw();
|
286 |
|
|
|
287 |
|
|
histo1->SetLineColor(kBlack);
|
288 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
289 |
dinardo |
1.1 |
histo1->Draw("same");
|
290 |
|
|
|
291 |
|
|
histo2->SetLineColor(kRed);
|
292 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
293 |
dinardo |
1.1 |
histo2->Draw("same");
|
294 |
|
|
|
295 |
|
|
histo0->SetStats(false);
|
296 |
|
|
histo1->SetStats(false);
|
297 |
|
|
histo2->SetStats(false);
|
298 |
|
|
|
299 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
300 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
301 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
302 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
303 |
|
|
leg->SetFillColor(0);
|
304 |
|
|
leg->SetBorderSize(1);
|
305 |
|
|
leg->Draw();
|
306 |
|
|
|
307 |
|
|
// ###################
|
308 |
|
|
// # UPDATE AND SAVE #
|
309 |
|
|
// ###################
|
310 |
|
|
c6->Update();
|
311 |
|
|
c6->SaveAs("MC_TrkPar_X_DoF.png");
|
312 |
|
|
|
313 |
|
|
// ########################################
|
314 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
315 |
|
|
// ########################################
|
316 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/VxDoF/y_diff_DoF_20");
|
317 |
|
|
histo1 = (TH1F*)file0->Get("MyProcess/VxDoF/y_diff_DoF_10");
|
318 |
|
|
histo2 = (TH1F*)file0->Get("MyProcess/VxDoF/y_diff_DoF_4");
|
319 |
|
|
|
320 |
|
|
TCanvas* c7 = new TCanvas("c7", "c7");
|
321 |
|
|
|
322 |
|
|
histo0->SetLineColor(kBlue);
|
323 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
324 |
dinardo |
1.1 |
histo0->SetXTitle("Res Y [\\mum]");
|
325 |
|
|
histo0->SetYTitle("Entries [#]");
|
326 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
327 |
|
|
histo0->Draw();
|
328 |
|
|
|
329 |
|
|
histo1->SetLineColor(kBlack);
|
330 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
331 |
dinardo |
1.1 |
histo1->Draw("same");
|
332 |
|
|
|
333 |
|
|
histo2->SetLineColor(kRed);
|
334 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
335 |
dinardo |
1.1 |
histo2->Draw("same");
|
336 |
|
|
|
337 |
|
|
histo0->SetStats(false);
|
338 |
|
|
histo1->SetStats(false);
|
339 |
|
|
histo2->SetStats(false);
|
340 |
|
|
|
341 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
342 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
343 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
344 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
345 |
|
|
leg->SetFillColor(0);
|
346 |
|
|
leg->SetBorderSize(1);
|
347 |
|
|
leg->Draw();
|
348 |
|
|
|
349 |
|
|
// ###################
|
350 |
|
|
// # UPDATE AND SAVE #
|
351 |
|
|
// ###################
|
352 |
|
|
c7->Update();
|
353 |
|
|
c7->SaveAs("MC_TrkPar_Y_DoF.png");
|
354 |
|
|
|
355 |
|
|
// ########################################
|
356 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
357 |
|
|
// ########################################
|
358 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/VxDoF/z_diff_DoF_20");
|
359 |
|
|
histo1 = (TH1F*)file0->Get("MyProcess/VxDoF/z_diff_DoF_10");
|
360 |
|
|
histo2 = (TH1F*)file0->Get("MyProcess/VxDoF/z_diff_DoF_4");
|
361 |
|
|
|
362 |
|
|
TCanvas* c8 = new TCanvas("c8", "c8");
|
363 |
|
|
|
364 |
|
|
histo0->SetLineColor(kBlue);
|
365 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
366 |
dinardo |
1.1 |
histo0->SetXTitle("Res Z [cm]");
|
367 |
|
|
histo0->SetYTitle("Entries [#]");
|
368 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
369 |
|
|
histo0->Draw();
|
370 |
|
|
|
371 |
|
|
histo1->SetLineColor(kBlack);
|
372 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
373 |
dinardo |
1.1 |
histo1->Draw("same");
|
374 |
|
|
|
375 |
|
|
histo2->SetLineColor(kRed);
|
376 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
377 |
dinardo |
1.1 |
histo2->Draw("same");
|
378 |
|
|
|
379 |
|
|
histo0->SetStats(false);
|
380 |
|
|
histo1->SetStats(false);
|
381 |
|
|
histo2->SetStats(false);
|
382 |
|
|
|
383 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
384 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
385 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
386 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
387 |
|
|
leg->SetFillColor(0);
|
388 |
|
|
leg->SetBorderSize(1);
|
389 |
|
|
leg->Draw();
|
390 |
|
|
|
391 |
|
|
// ###################
|
392 |
|
|
// # UPDATE AND SAVE #
|
393 |
|
|
// ###################
|
394 |
|
|
c8->Update();
|
395 |
|
|
c8->SaveAs("MC_TrkPar_Z_DoF.png");
|
396 |
|
|
|
397 |
|
|
// ########################################
|
398 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
399 |
|
|
// ########################################
|
400 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/VxDoF/x_diff_DoF_20");
|
401 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/VxDoF/x_diff_DoF_10");
|
402 |
|
|
histo2 = (TH1F*)file1->Get("MyProcess/VxDoF/x_diff_DoF_4");
|
403 |
|
|
|
404 |
|
|
TCanvas* c9 = new TCanvas("c9", "c9");
|
405 |
|
|
|
406 |
|
|
histo0->SetLineColor(kBlue);
|
407 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
408 |
dinardo |
1.1 |
histo0->SetXTitle("Res X [\\mum]");
|
409 |
|
|
histo0->SetYTitle("Entries [#]");
|
410 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
411 |
|
|
histo0->Draw();
|
412 |
|
|
|
413 |
|
|
histo1->SetLineColor(kBlack);
|
414 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
415 |
dinardo |
1.1 |
histo1->Draw("same");
|
416 |
|
|
|
417 |
|
|
histo2->SetLineColor(kRed);
|
418 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
419 |
dinardo |
1.1 |
histo2->Draw("same");
|
420 |
|
|
|
421 |
|
|
histo0->SetStats(false);
|
422 |
|
|
histo1->SetStats(false);
|
423 |
|
|
histo2->SetStats(false);
|
424 |
|
|
|
425 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
426 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
427 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
428 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
429 |
|
|
leg->SetFillColor(0);
|
430 |
|
|
leg->SetBorderSize(1);
|
431 |
|
|
leg->Draw();
|
432 |
|
|
|
433 |
|
|
// ###################
|
434 |
|
|
// # UPDATE AND SAVE #
|
435 |
|
|
// ###################
|
436 |
|
|
c9->Update();
|
437 |
|
|
c9->SaveAs("MC_Reco_X_DoF.png");
|
438 |
|
|
|
439 |
|
|
// ########################################
|
440 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
441 |
|
|
// ########################################
|
442 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/VxDoF/y_diff_DoF_20");
|
443 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/VxDoF/y_diff_DoF_10");
|
444 |
|
|
histo2 = (TH1F*)file1->Get("MyProcess/VxDoF/y_diff_DoF_4");
|
445 |
|
|
|
446 |
|
|
TCanvas* c10 = new TCanvas("c10", "c10");
|
447 |
|
|
|
448 |
|
|
histo0->SetLineColor(kBlue);
|
449 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
450 |
dinardo |
1.1 |
histo0->SetXTitle("Res Y [\\mum]");
|
451 |
|
|
histo0->SetYTitle("Entries [#]");
|
452 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
453 |
|
|
histo0->Draw();
|
454 |
|
|
|
455 |
|
|
histo1->SetLineColor(kBlack);
|
456 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
457 |
dinardo |
1.1 |
histo1->Draw("same");
|
458 |
|
|
|
459 |
|
|
histo2->SetLineColor(kRed);
|
460 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
461 |
dinardo |
1.1 |
histo2->Draw("same");
|
462 |
|
|
|
463 |
|
|
histo0->SetStats(false);
|
464 |
|
|
histo1->SetStats(false);
|
465 |
|
|
histo2->SetStats(false);
|
466 |
|
|
|
467 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
468 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
469 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
470 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
471 |
|
|
leg->SetFillColor(0);
|
472 |
|
|
leg->SetBorderSize(1);
|
473 |
|
|
leg->Draw();
|
474 |
|
|
|
475 |
|
|
// ###################
|
476 |
|
|
// # UPDATE AND SAVE #
|
477 |
|
|
// ###################
|
478 |
|
|
c10->Update();
|
479 |
|
|
c10->SaveAs("MC_Reco_Y_DoF.png");
|
480 |
|
|
|
481 |
|
|
// ########################################
|
482 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
483 |
|
|
// ########################################
|
484 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/VxDoF/z_diff_DoF_20");
|
485 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/VxDoF/z_diff_DoF_10");
|
486 |
|
|
histo2 = (TH1F*)file1->Get("MyProcess/VxDoF/z_diff_DoF_4");
|
487 |
|
|
|
488 |
|
|
TCanvas* c11 = new TCanvas("c11", "c11");
|
489 |
|
|
|
490 |
|
|
histo0->SetLineColor(kBlue);
|
491 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
492 |
dinardo |
1.1 |
histo0->SetXTitle("Res Z [cm]");
|
493 |
|
|
histo0->SetYTitle("Entries [#]");
|
494 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
495 |
|
|
histo0->Draw();
|
496 |
|
|
|
497 |
|
|
histo1->SetLineColor(kBlack);
|
498 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
499 |
dinardo |
1.1 |
histo1->Draw("same");
|
500 |
|
|
|
501 |
|
|
histo2->SetLineColor(kRed);
|
502 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
503 |
dinardo |
1.1 |
histo2->Draw("same");
|
504 |
|
|
|
505 |
|
|
histo0->SetStats(false);
|
506 |
|
|
histo1->SetStats(false);
|
507 |
|
|
histo2->SetStats(false);
|
508 |
|
|
|
509 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
510 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
511 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
512 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
513 |
|
|
leg->SetFillColor(0);
|
514 |
|
|
leg->SetBorderSize(1);
|
515 |
|
|
leg->Draw();
|
516 |
|
|
|
517 |
|
|
// ###################
|
518 |
|
|
// # UPDATE AND SAVE #
|
519 |
|
|
// ###################
|
520 |
|
|
c11->Update();
|
521 |
|
|
c11->SaveAs("MC_Reco_Z_DoF.png");
|
522 |
|
|
|
523 |
|
|
// ########################################
|
524 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
525 |
|
|
// ########################################
|
526 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/VxDoF/x_diff_DoF_20");
|
527 |
|
|
histo1 = (TH1F*)file2->Get("MyProcess/VxDoF/x_diff_DoF_10");
|
528 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/VxDoF/x_diff_DoF_4");
|
529 |
|
|
|
530 |
|
|
TCanvas* c12 = new TCanvas("c12", "c12");
|
531 |
|
|
|
532 |
|
|
histo0->SetLineColor(kBlue);
|
533 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
534 |
dinardo |
1.1 |
histo0->SetXTitle("Res X [\\mum]");
|
535 |
|
|
histo0->SetYTitle("Entries [#]");
|
536 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
537 |
|
|
histo0->Draw();
|
538 |
|
|
|
539 |
|
|
histo1->SetLineColor(kBlack);
|
540 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
541 |
dinardo |
1.1 |
histo1->Draw("same");
|
542 |
|
|
|
543 |
|
|
histo2->SetLineColor(kRed);
|
544 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
545 |
dinardo |
1.1 |
histo2->Draw("same");
|
546 |
|
|
|
547 |
|
|
histo0->SetStats(false);
|
548 |
|
|
histo1->SetStats(false);
|
549 |
|
|
histo2->SetStats(false);
|
550 |
|
|
|
551 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
552 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
553 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
554 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
555 |
|
|
leg->SetFillColor(0);
|
556 |
|
|
leg->SetBorderSize(1);
|
557 |
|
|
leg->Draw();
|
558 |
|
|
|
559 |
|
|
// ###################
|
560 |
|
|
// # UPDATE AND SAVE #
|
561 |
|
|
// ###################
|
562 |
|
|
c12->Update();
|
563 |
|
|
c12->SaveAs("Data_X_DoF.png");
|
564 |
|
|
|
565 |
|
|
// ########################################
|
566 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
567 |
|
|
// ########################################
|
568 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/VxDoF/y_diff_DoF_20");
|
569 |
|
|
histo1 = (TH1F*)file2->Get("MyProcess/VxDoF/y_diff_DoF_10");
|
570 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/VxDoF/y_diff_DoF_4");
|
571 |
|
|
|
572 |
|
|
TCanvas* c13 = new TCanvas("c13", "c13");
|
573 |
|
|
|
574 |
|
|
histo0->SetLineColor(kBlue);
|
575 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
576 |
dinardo |
1.1 |
histo0->SetXTitle("Res Y [\\mum]");
|
577 |
|
|
histo0->SetYTitle("Entries [#]");
|
578 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,550.);
|
579 |
|
|
histo0->Draw();
|
580 |
|
|
|
581 |
|
|
histo1->SetLineColor(kBlack);
|
582 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
583 |
dinardo |
1.1 |
histo1->Draw("same");
|
584 |
|
|
|
585 |
|
|
histo2->SetLineColor(kRed);
|
586 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
587 |
dinardo |
1.1 |
histo2->Draw("same");
|
588 |
|
|
|
589 |
|
|
histo0->SetStats(false);
|
590 |
|
|
histo1->SetStats(false);
|
591 |
|
|
histo2->SetStats(false);
|
592 |
|
|
|
593 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
594 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
595 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
596 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
597 |
|
|
leg->SetFillColor(0);
|
598 |
|
|
leg->SetBorderSize(1);
|
599 |
|
|
leg->Draw();
|
600 |
|
|
|
601 |
|
|
// ###################
|
602 |
|
|
// # UPDATE AND SAVE #
|
603 |
|
|
// ###################
|
604 |
|
|
c12->Update();
|
605 |
|
|
c12->SaveAs("Data_Y_DoF.png");
|
606 |
|
|
|
607 |
|
|
// ########################################
|
608 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
609 |
|
|
// ########################################
|
610 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/VxDoF/z_diff_DoF_20");
|
611 |
|
|
histo1 = (TH1F*)file2->Get("MyProcess/VxDoF/z_diff_DoF_10");
|
612 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/VxDoF/z_diff_DoF_4");
|
613 |
|
|
|
614 |
|
|
TCanvas* c13 = new TCanvas("c13", "c13");
|
615 |
|
|
|
616 |
|
|
histo0->SetLineColor(kBlue);
|
617 |
dinardo |
1.3 |
histo0->SetLineWidth(2.0);
|
618 |
dinardo |
1.1 |
histo0->SetXTitle("Res Z [cm]");
|
619 |
|
|
histo0->SetYTitle("Entries [#]");
|
620 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,950.);
|
621 |
|
|
histo0->Draw();
|
622 |
|
|
|
623 |
|
|
histo1->SetLineColor(kBlack);
|
624 |
dinardo |
1.3 |
histo1->SetLineWidth(2.0);
|
625 |
dinardo |
1.1 |
histo1->Draw("same");
|
626 |
|
|
|
627 |
|
|
histo2->SetLineColor(kRed);
|
628 |
dinardo |
1.3 |
histo2->SetLineWidth(2.0);
|
629 |
dinardo |
1.1 |
histo2->Draw("same");
|
630 |
|
|
|
631 |
|
|
histo0->SetStats(false);
|
632 |
|
|
histo1->SetStats(false);
|
633 |
|
|
histo2->SetStats(false);
|
634 |
|
|
|
635 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.7,0.7,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
636 |
dinardo |
1.1 |
leg->AddEntry(histo0,"DoF 20");
|
637 |
|
|
leg->AddEntry(histo1,"DoF 10");
|
638 |
|
|
leg->AddEntry(histo2,"DoF 4");
|
639 |
|
|
leg->SetFillColor(0);
|
640 |
|
|
leg->SetBorderSize(1);
|
641 |
|
|
leg->Draw();
|
642 |
|
|
|
643 |
|
|
// ###################
|
644 |
|
|
// # UPDATE AND SAVE #
|
645 |
|
|
// ###################
|
646 |
|
|
c13->Update();
|
647 |
|
|
c13->SaveAs("Data_Z_DoF.png");
|
648 |
|
|
|
649 |
|
|
// ########################################
|
650 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
651 |
|
|
// ########################################
|
652 |
dinardo |
1.4 |
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/Purity Efficiency Vertices");
|
653 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/Purity Efficiency Vertices");
|
654 |
|
|
histo2 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/Purity Efficiency Vertices");
|
655 |
dinardo |
1.1 |
|
656 |
|
|
TCanvas* c14 = new TCanvas("c14", "c14");
|
657 |
|
|
|
658 |
|
|
histo0->SetFillColor(kBlue);
|
659 |
|
|
histo0->GetYaxis()->SetRangeUser(0.,1.1);
|
660 |
|
|
histo0->Draw("bar");
|
661 |
|
|
|
662 |
|
|
histo1->SetMarkerStyle(20);
|
663 |
|
|
histo1->SetMarkerColor(kBlack);
|
664 |
|
|
histo1->Draw("same");
|
665 |
|
|
|
666 |
|
|
histo2->SetMarkerStyle(21);
|
667 |
|
|
histo2->SetMarkerColor(kRed);
|
668 |
|
|
histo2->Draw("same");
|
669 |
|
|
|
670 |
|
|
histo0->SetStats(false);
|
671 |
|
|
histo1->SetStats(false);
|
672 |
|
|
histo2->SetStats(false);
|
673 |
|
|
|
674 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.8,0.8,1.0,1.0,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
675 |
dinardo |
1.1 |
leg->AddEntry(histo0,"MC TrkPar");
|
676 |
|
|
leg->AddEntry(histo1,"MC Reco");
|
677 |
|
|
leg->AddEntry(histo2,"Data");
|
678 |
|
|
leg->SetFillColor(0);
|
679 |
|
|
leg->SetBorderSize(1);
|
680 |
|
|
leg->Draw();
|
681 |
|
|
|
682 |
|
|
// ###################
|
683 |
|
|
// # UPDATE AND SAVE #
|
684 |
|
|
// ###################
|
685 |
|
|
c14->Update();
|
686 |
dinardo |
1.4 |
c14->SaveAs("Pur_Eff_Vx.png");
|
687 |
dinardo |
1.1 |
|
688 |
|
|
// ########################################
|
689 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
690 |
|
|
// ########################################
|
691 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices tracks");
|
692 |
|
|
histo1 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices nomatch tracks");
|
693 |
|
|
|
694 |
|
|
TCanvas* c15 = new TCanvas("c15", "c15");
|
695 |
|
|
|
696 |
|
|
histo0->SetFillColor(kBlue);
|
697 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
698 |
|
|
histo0->Draw("bar");
|
699 |
|
|
|
700 |
|
|
histo1->SetFillColor(kRed);
|
701 |
|
|
histo1->Draw("bar,same");
|
702 |
|
|
|
703 |
|
|
histo0->SetStats(false);
|
704 |
|
|
histo1->SetStats(false);
|
705 |
|
|
|
706 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
707 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
708 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
709 |
|
|
leg->SetFillColor(0);
|
710 |
|
|
leg->SetBorderSize(1);
|
711 |
|
|
leg->Draw();
|
712 |
|
|
|
713 |
|
|
// ###################
|
714 |
|
|
// # UPDATE AND SAVE #
|
715 |
|
|
// ###################
|
716 |
|
|
c15->Update();
|
717 |
|
|
c15->SaveAs("MC_TrkPar_Pix_pt.png");
|
718 |
|
|
|
719 |
|
|
// ########################################
|
720 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
721 |
|
|
// ########################################
|
722 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices tracks");
|
723 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices nomatch tracks");
|
724 |
|
|
|
725 |
|
|
TCanvas* c16 = new TCanvas("c16", "c16");
|
726 |
|
|
|
727 |
|
|
histo0->SetFillColor(kBlue);
|
728 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
729 |
|
|
histo0->Draw("bar");
|
730 |
|
|
|
731 |
|
|
histo1->SetFillColor(kRed);
|
732 |
|
|
histo1->Draw("bar,same");
|
733 |
|
|
|
734 |
|
|
histo0->SetStats(false);
|
735 |
|
|
histo1->SetStats(false);
|
736 |
|
|
|
737 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
738 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
739 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
740 |
|
|
leg->SetFillColor(0);
|
741 |
|
|
leg->SetBorderSize(1);
|
742 |
|
|
leg->Draw();
|
743 |
|
|
|
744 |
|
|
// ###################
|
745 |
|
|
// # UPDATE AND SAVE #
|
746 |
|
|
// ###################
|
747 |
|
|
c16->Update();
|
748 |
|
|
c16->SaveAs("MC_Reco_Pix_pt.png");
|
749 |
|
|
|
750 |
|
|
// ########################################
|
751 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
752 |
|
|
// ########################################
|
753 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices tracks");
|
754 |
|
|
histo1 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of pixelvertices nomatch tracks");
|
755 |
|
|
|
756 |
|
|
TCanvas* c17 = new TCanvas("c17", "c17");
|
757 |
|
|
|
758 |
|
|
histo0->SetFillColor(kBlue);
|
759 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
760 |
|
|
histo0->Draw("bar");
|
761 |
|
|
|
762 |
|
|
histo1->SetFillColor(kRed);
|
763 |
|
|
histo1->Draw("bar,same");
|
764 |
|
|
|
765 |
|
|
histo0->SetStats(false);
|
766 |
|
|
histo1->SetStats(false);
|
767 |
|
|
|
768 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
769 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
770 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
771 |
|
|
leg->SetFillColor(0);
|
772 |
|
|
leg->SetBorderSize(1);
|
773 |
|
|
leg->Draw();
|
774 |
|
|
|
775 |
|
|
// ###################
|
776 |
|
|
// # UPDATE AND SAVE #
|
777 |
|
|
// ###################
|
778 |
|
|
c17->Update();
|
779 |
|
|
c17->SaveAs("Data_Pix_pt.png");
|
780 |
|
|
|
781 |
|
|
// ########################################
|
782 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
783 |
|
|
// ########################################
|
784 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of pixelvertices nomatch tracks");
|
785 |
|
|
|
786 |
|
|
TCanvas* c18 = new TCanvas("c18", "c18");
|
787 |
|
|
|
788 |
|
|
histo0->SetFillColor(kBlue);
|
789 |
|
|
histo0->Draw("bar,E");
|
790 |
|
|
|
791 |
|
|
histo0->SetStats(true);
|
792 |
|
|
|
793 |
|
|
// ###################
|
794 |
|
|
// # UPDATE AND SAVE #
|
795 |
|
|
// ###################
|
796 |
|
|
c18->Update();
|
797 |
|
|
c18->SaveAs("MC_TrkPar_Pix_eta.png");
|
798 |
|
|
|
799 |
|
|
// ########################################
|
800 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
801 |
|
|
// ########################################
|
802 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of pixelvertices nomatch tracks");
|
803 |
|
|
|
804 |
|
|
TCanvas* c19 = new TCanvas("c19", "c19");
|
805 |
|
|
|
806 |
|
|
histo0->SetFillColor(kBlue);
|
807 |
|
|
histo0->Draw("bar,E");
|
808 |
|
|
|
809 |
|
|
histo0->SetStats(true);
|
810 |
|
|
|
811 |
|
|
// ###################
|
812 |
|
|
// # UPDATE AND SAVE #
|
813 |
|
|
// ###################
|
814 |
|
|
c19->Update();
|
815 |
|
|
c19->SaveAs("MC_Reco_Pix_eta.png");
|
816 |
|
|
|
817 |
|
|
// ########################################
|
818 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
819 |
|
|
// ########################################
|
820 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of pixelvertices nomatch tracks");
|
821 |
|
|
|
822 |
|
|
TCanvas* c20 = new TCanvas("c20", "c20");
|
823 |
|
|
|
824 |
|
|
histo0->SetFillColor(kBlue);
|
825 |
|
|
histo0->Draw("bar,E");
|
826 |
|
|
|
827 |
|
|
histo0->SetStats(true);
|
828 |
|
|
|
829 |
|
|
// ###################
|
830 |
|
|
// # UPDATE AND SAVE #
|
831 |
|
|
// ###################
|
832 |
|
|
c20->Update();
|
833 |
|
|
c20->SaveAs("Data_Pix_eta.png");
|
834 |
|
|
|
835 |
|
|
// ########################################
|
836 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
837 |
|
|
// ########################################
|
838 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices tracks");
|
839 |
|
|
histo1 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices nomatch tracks");
|
840 |
|
|
|
841 |
|
|
TCanvas* c21 = new TCanvas("c21", "c21");
|
842 |
|
|
|
843 |
|
|
histo0->SetFillColor(kBlue);
|
844 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
845 |
|
|
histo0->Draw("bar");
|
846 |
|
|
|
847 |
|
|
histo1->SetFillColor(kRed);
|
848 |
|
|
histo1->Draw("bar,same");
|
849 |
|
|
|
850 |
|
|
histo0->SetStats(false);
|
851 |
|
|
histo1->SetStats(false);
|
852 |
|
|
|
853 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
854 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
855 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
856 |
|
|
leg->SetFillColor(0);
|
857 |
|
|
leg->SetBorderSize(1);
|
858 |
|
|
leg->Draw();
|
859 |
|
|
|
860 |
|
|
// ###################
|
861 |
|
|
// # UPDATE AND SAVE #
|
862 |
|
|
// ###################
|
863 |
|
|
c21->Update();
|
864 |
|
|
c21->SaveAs("MC_TrkPar_Trk_pt.png");
|
865 |
|
|
|
866 |
|
|
// ########################################
|
867 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
868 |
|
|
// ########################################
|
869 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices tracks");
|
870 |
|
|
histo1 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices nomatch tracks");
|
871 |
|
|
|
872 |
|
|
TCanvas* c22 = new TCanvas("c22", "c22");
|
873 |
|
|
|
874 |
|
|
histo0->SetFillColor(kBlue);
|
875 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
876 |
|
|
histo0->Draw("bar");
|
877 |
|
|
|
878 |
|
|
histo1->SetFillColor(kRed);
|
879 |
|
|
histo1->Draw("bar,same");
|
880 |
|
|
|
881 |
|
|
histo0->SetStats(false);
|
882 |
|
|
histo1->SetStats(false);
|
883 |
|
|
|
884 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
885 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
886 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
887 |
|
|
leg->SetFillColor(0);
|
888 |
|
|
leg->SetBorderSize(1);
|
889 |
|
|
leg->Draw();
|
890 |
|
|
|
891 |
|
|
// ###################
|
892 |
|
|
// # UPDATE AND SAVE #
|
893 |
|
|
// ###################
|
894 |
|
|
c22->Update();
|
895 |
|
|
c22->SaveAs("MC_Reco_Trk_pt.png");
|
896 |
|
|
|
897 |
|
|
// ########################################
|
898 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
899 |
|
|
// ########################################
|
900 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices tracks");
|
901 |
|
|
histo1 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/pt distribution of trackervertices nomatch tracks");
|
902 |
|
|
|
903 |
|
|
TCanvas* c23 = new TCanvas("c23", "c23");
|
904 |
|
|
|
905 |
|
|
histo0->SetFillColor(kBlue);
|
906 |
|
|
histo0->SetTitleOffset(1.4,"Y");
|
907 |
|
|
histo0->Draw("bar");
|
908 |
|
|
|
909 |
|
|
histo1->SetFillColor(kRed);
|
910 |
|
|
histo1->Draw("bar,same");
|
911 |
|
|
|
912 |
|
|
histo0->SetStats(false);
|
913 |
|
|
histo1->SetStats(false);
|
914 |
|
|
|
915 |
dinardo |
1.7 |
TLegend* leg = new TLegend(0.6,0.6,0.9,0.9,"CMS Preliminary, #sqrt{s} = 7 TeV");
|
916 |
dinardo |
1.1 |
leg->AddEntry(histo0,"All Tracks");
|
917 |
|
|
leg->AddEntry(histo1,"Non Matched Tracks");
|
918 |
|
|
leg->SetFillColor(0);
|
919 |
|
|
leg->SetBorderSize(1);
|
920 |
|
|
leg->Draw();
|
921 |
|
|
|
922 |
|
|
// ###################
|
923 |
|
|
// # UPDATE AND SAVE #
|
924 |
|
|
// ###################
|
925 |
|
|
c23->Update();
|
926 |
|
|
c23->SaveAs("Data_Trk_pt.png");
|
927 |
|
|
|
928 |
|
|
// ########################################
|
929 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
930 |
|
|
// ########################################
|
931 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of trackervertices nomatch tracks");
|
932 |
|
|
|
933 |
|
|
TCanvas* c24 = new TCanvas("c24", "c24");
|
934 |
|
|
|
935 |
|
|
histo0->SetFillColor(kBlue);
|
936 |
|
|
histo0->Draw("bar,E");
|
937 |
|
|
|
938 |
|
|
histo0->SetStats(true);
|
939 |
|
|
|
940 |
|
|
// ###################
|
941 |
|
|
// # UPDATE AND SAVE #
|
942 |
|
|
// ###################
|
943 |
|
|
c24->Update();
|
944 |
|
|
c24->SaveAs("MC_TrkPar_Trk_eta.png");
|
945 |
|
|
|
946 |
|
|
// ########################################
|
947 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
948 |
|
|
// ########################################
|
949 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of trackervertices nomatch tracks");
|
950 |
|
|
|
951 |
|
|
TCanvas* c25 = new TCanvas("c25", "c25");
|
952 |
|
|
|
953 |
|
|
histo0->SetFillColor(kBlue);
|
954 |
|
|
histo0->Draw("bar,E");
|
955 |
|
|
|
956 |
|
|
histo0->SetStats(true);
|
957 |
|
|
|
958 |
|
|
// ###################
|
959 |
|
|
// # UPDATE AND SAVE #
|
960 |
|
|
// ###################
|
961 |
|
|
c25->Update();
|
962 |
|
|
c25->SaveAs("MC_Reco_Trk_eta.png");
|
963 |
|
|
|
964 |
|
|
// ########################################
|
965 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
966 |
|
|
// ########################################
|
967 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/CommonPxTkPlots/eta distribution of trackervertices nomatch tracks");
|
968 |
|
|
|
969 |
|
|
TCanvas* c26 = new TCanvas("c26", "c26");
|
970 |
|
|
|
971 |
|
|
histo0->SetFillColor(kBlue);
|
972 |
|
|
histo0->Draw("bar,E");
|
973 |
|
|
|
974 |
|
|
histo0->SetStats(true);
|
975 |
|
|
|
976 |
|
|
// ###################
|
977 |
|
|
// # UPDATE AND SAVE #
|
978 |
|
|
// ###################
|
979 |
|
|
c26->Update();
|
980 |
|
|
c26->SaveAs("Data_Trk_eta.png");
|
981 |
dinardo |
1.8 |
|
982 |
|
|
// ########################################
|
983 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
984 |
|
|
// ########################################
|
985 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/NoMatchedVx/pt distribution of tracks of nomatched trackervertices");
|
986 |
|
|
|
987 |
|
|
TCanvas* c27 = new TCanvas("c27", "c27");
|
988 |
|
|
|
989 |
|
|
histo0->SetFillColor(kBlue);
|
990 |
|
|
histo0->SetTitleOffset(1.3,"Y");
|
991 |
|
|
histo0->Draw("bar,E");
|
992 |
|
|
|
993 |
|
|
histo0->SetStats(true);
|
994 |
|
|
|
995 |
|
|
// ###################
|
996 |
|
|
// # UPDATE AND SAVE #
|
997 |
|
|
// ###################
|
998 |
|
|
c27->Update();
|
999 |
|
|
c27->SaveAs("MC_TrkPar_Nomatch_pt.png");
|
1000 |
|
|
|
1001 |
|
|
// ########################################
|
1002 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1003 |
|
|
// ########################################
|
1004 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/NoMatchedVx/pt distribution of tracks of nomatched trackervertices");
|
1005 |
|
|
|
1006 |
|
|
TCanvas* c28 = new TCanvas("c28", "c28");
|
1007 |
|
|
|
1008 |
|
|
histo0->SetFillColor(kBlue);
|
1009 |
|
|
histo0->SetTitleOffset(1.3,"Y");
|
1010 |
|
|
histo0->Draw("bar,E");
|
1011 |
|
|
|
1012 |
|
|
histo0->SetStats(true);
|
1013 |
|
|
|
1014 |
|
|
// ###################
|
1015 |
|
|
// # UPDATE AND SAVE #
|
1016 |
|
|
// ###################
|
1017 |
|
|
c28->Update();
|
1018 |
|
|
c28->SaveAs("MC_Reco_Nomatch_pt.png");
|
1019 |
|
|
|
1020 |
|
|
// ########################################
|
1021 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1022 |
|
|
// ########################################
|
1023 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/NoMatchedVx/pt distribution of tracks of nomatched trackervertices");
|
1024 |
|
|
|
1025 |
|
|
TCanvas* c29 = new TCanvas("c29", "c29");
|
1026 |
|
|
|
1027 |
|
|
histo0->SetFillColor(kBlue);
|
1028 |
|
|
histo0->SetTitleOffset(1.3,"Y");
|
1029 |
|
|
histo0->Draw("bar,E");
|
1030 |
|
|
|
1031 |
|
|
histo0->SetStats(true);
|
1032 |
|
|
|
1033 |
|
|
// ###################
|
1034 |
|
|
// # UPDATE AND SAVE #
|
1035 |
|
|
// ###################
|
1036 |
|
|
c29->Update();
|
1037 |
|
|
c29->SaveAs("Data_Nomatch_pt.png");
|
1038 |
|
|
|
1039 |
|
|
// ########################################
|
1040 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1041 |
|
|
// ########################################
|
1042 |
|
|
histo0 = (TH1F*)file0->Get("MyProcess/PixelVertices/NoMatchedVx/eta distribution of tracks of nomatched trackervertices");
|
1043 |
|
|
|
1044 |
|
|
TCanvas* c30 = new TCanvas("c30", "c30");
|
1045 |
|
|
|
1046 |
|
|
histo0->SetFillColor(kBlue);
|
1047 |
|
|
histo0->SetTitleOffset(1.2,"Y");
|
1048 |
|
|
histo0->Draw("bar,E");
|
1049 |
|
|
|
1050 |
|
|
histo0->SetStats(true);
|
1051 |
|
|
|
1052 |
|
|
// ###################
|
1053 |
|
|
// # UPDATE AND SAVE #
|
1054 |
|
|
// ###################
|
1055 |
|
|
c30->Update();
|
1056 |
|
|
c30->SaveAs("MC_TrkPar_Nomatch_eta.png");
|
1057 |
|
|
|
1058 |
|
|
// ########################################
|
1059 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1060 |
|
|
// ########################################
|
1061 |
|
|
histo0 = (TH1F*)file1->Get("MyProcess/PixelVertices/NoMatchedVx/eta distribution of tracks of nomatched trackervertices");
|
1062 |
|
|
|
1063 |
|
|
TCanvas* c31 = new TCanvas("c31", "c31");
|
1064 |
|
|
|
1065 |
|
|
histo0->SetFillColor(kBlue);
|
1066 |
|
|
histo0->SetTitleOffset(1.2,"Y");
|
1067 |
|
|
histo0->Draw("bar,E");
|
1068 |
|
|
|
1069 |
|
|
histo0->SetStats(true);
|
1070 |
|
|
|
1071 |
|
|
// ###################
|
1072 |
|
|
// # UPDATE AND SAVE #
|
1073 |
|
|
// ###################
|
1074 |
|
|
c31->Update();
|
1075 |
|
|
c31->SaveAs("MC_Reco_Nomatch_eta.png");
|
1076 |
|
|
|
1077 |
|
|
// ########################################
|
1078 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1079 |
|
|
// ########################################
|
1080 |
|
|
histo0 = (TH1F*)file2->Get("MyProcess/PixelVertices/NoMatchedVx/eta distribution of tracks of nomatched trackervertices");
|
1081 |
|
|
|
1082 |
|
|
TCanvas* c32 = new TCanvas("c32", "c32");
|
1083 |
|
|
|
1084 |
|
|
histo0->SetFillColor(kBlue);
|
1085 |
|
|
histo0->SetTitleOffset(1.2,"Y");
|
1086 |
|
|
histo0->Draw("bar,E");
|
1087 |
|
|
|
1088 |
|
|
histo0->SetStats(true);
|
1089 |
|
|
|
1090 |
|
|
// ###################
|
1091 |
|
|
// # UPDATE AND SAVE #
|
1092 |
|
|
// ###################
|
1093 |
|
|
c32->Update();
|
1094 |
|
|
c32->SaveAs("Data_Nomatch_eta.png");
|
1095 |
|
|
|
1096 |
|
|
// ########################################
|
1097 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1098 |
|
|
// ########################################
|
1099 |
|
|
histo02 = (TH2F*)file0->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixelvertices");
|
1100 |
|
|
|
1101 |
|
|
TCanvas* c33 = new TCanvas("c33", "c33");
|
1102 |
|
|
|
1103 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1104 |
|
|
histo02->Draw("gcolz");
|
1105 |
|
|
|
1106 |
|
|
histo02->SetStats(true);
|
1107 |
|
|
|
1108 |
|
|
// ###################
|
1109 |
|
|
// # UPDATE AND SAVE #
|
1110 |
|
|
// ###################
|
1111 |
|
|
c33->Update();
|
1112 |
|
|
c33->SaveAs("MC_TrkPar_Nomatch_vs_pixelvx.png");
|
1113 |
|
|
|
1114 |
|
|
// ########################################
|
1115 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1116 |
|
|
// ########################################
|
1117 |
|
|
histo02 = (TH2F*)file1->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixelvertices");
|
1118 |
|
|
|
1119 |
|
|
TCanvas* c34 = new TCanvas("c34", "c34");
|
1120 |
|
|
|
1121 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1122 |
|
|
histo02->Draw("gcolz");
|
1123 |
|
|
|
1124 |
|
|
histo02->SetStats(true);
|
1125 |
|
|
|
1126 |
|
|
// ###################
|
1127 |
|
|
// # UPDATE AND SAVE #
|
1128 |
|
|
// ###################
|
1129 |
|
|
c34->Update();
|
1130 |
|
|
c34->SaveAs("MC_Reco_Nomatch_vs_pixelvx.png");
|
1131 |
|
|
|
1132 |
|
|
// ########################################
|
1133 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1134 |
|
|
// ########################################
|
1135 |
|
|
histo02 = (TH2F*)file2->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixelvertices");
|
1136 |
|
|
|
1137 |
|
|
TCanvas* c35 = new TCanvas("c35", "c35");
|
1138 |
|
|
|
1139 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1140 |
|
|
histo02->Draw("gcolz");
|
1141 |
|
|
|
1142 |
|
|
histo02->SetStats(true);
|
1143 |
|
|
|
1144 |
|
|
// ###################
|
1145 |
|
|
// # UPDATE AND SAVE #
|
1146 |
|
|
// ###################
|
1147 |
|
|
c35->Update();
|
1148 |
|
|
c35->SaveAs("Data_Nomatch_vs_pixelvx.png");
|
1149 |
|
|
|
1150 |
|
|
// ########################################
|
1151 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1152 |
|
|
// ########################################
|
1153 |
|
|
histo02 = (TH2F*)file0->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixeltracks");
|
1154 |
|
|
|
1155 |
|
|
TCanvas* c36 = new TCanvas("c36", "c36");
|
1156 |
|
|
|
1157 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1158 |
|
|
histo02->Draw("gcolz");
|
1159 |
|
|
|
1160 |
|
|
histo02->SetStats(true);
|
1161 |
|
|
|
1162 |
|
|
// ###################
|
1163 |
|
|
// # UPDATE AND SAVE #
|
1164 |
|
|
// ###################
|
1165 |
|
|
c36->Update();
|
1166 |
|
|
c36->SaveAs("MC_TrkPar_Nomatch_vs_pixeltk.png");
|
1167 |
|
|
|
1168 |
|
|
// ########################################
|
1169 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1170 |
|
|
// ########################################
|
1171 |
|
|
histo02 = (TH2F*)file1->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixeltracks");
|
1172 |
|
|
|
1173 |
|
|
TCanvas* c37 = new TCanvas("c37", "c37");
|
1174 |
|
|
|
1175 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1176 |
|
|
histo02->Draw("gcolz");
|
1177 |
|
|
|
1178 |
|
|
histo02->SetStats(true);
|
1179 |
|
|
|
1180 |
|
|
// ###################
|
1181 |
|
|
// # UPDATE AND SAVE #
|
1182 |
|
|
// ###################
|
1183 |
|
|
c37->Update();
|
1184 |
|
|
c37->SaveAs("MC_Reco_Nomatch_vs_pixeltk.png");
|
1185 |
|
|
|
1186 |
|
|
// ########################################
|
1187 |
|
|
// # CHANGE CHARACTERISTICS OF ALL HISTOs #
|
1188 |
|
|
// ########################################
|
1189 |
|
|
histo02 = (TH2F*)file2->Get("MyProcess/PixelVertices/NoMatchedVx/Nomatched trackervertices vs pixeltracks");
|
1190 |
|
|
|
1191 |
|
|
TCanvas* c38 = new TCanvas("c38", "c38");
|
1192 |
|
|
|
1193 |
|
|
histo02->GetXaxis()->SetRangeUser(0.5,9.5);
|
1194 |
|
|
histo02->Draw("gcolz");
|
1195 |
|
|
|
1196 |
|
|
histo02->SetStats(true);
|
1197 |
|
|
|
1198 |
|
|
// ###################
|
1199 |
|
|
// # UPDATE AND SAVE #
|
1200 |
|
|
// ###################
|
1201 |
|
|
c38->Update();
|
1202 |
|
|
c38->SaveAs("Data_Nomatch_vs_pixeltk.png");
|
1203 |
dinardo |
1.1 |
}
|