16 #include <TPaveText.h>
17 #include <TPostScript.h>
29 printf(
"reco: gROOT Reset \n");
31 gROOT->SetStyle(
"Plain");
38 gStyle->SetOptStat(101110);
43 gStyle->SetOptFit(0010);
52 gStyle->SetStatX(0.91);
53 gStyle->SetStatY(0.75);
54 gStyle->SetStatW(0.20);
55 gStyle->SetStatH(0.10);
61 Float_t LeftOffset = 0.12;
62 Float_t TopOffset = 0.22;
64 gStyle->SetLineWidth(1);
68 gStyle->SetOptTitle(0);
70 gStyle->SetTitleColor(1);
72 gStyle->SetTitleX(0.15);
73 gStyle->SetTitleH(0.15);
75 gStyle->SetTitleW(0.60);
76 gStyle->SetTitleFont(42);
77 gStyle->SetTitleFontSize(0.07);
79 gStyle->SetPalette(1);
92 gStyle->SetPadTopMargin(TopOffset);
93 gStyle->SetPadBottomMargin(LeftOffset);
94 gStyle->SetPadRightMargin(TopOffset);
95 gStyle->SetPadLeftMargin(LeftOffset);
141 TFile *hfile1 =
new TFile(
"Global_311668.root",
"READ");
151 TPostScript psfile(
"zadcampltest.ps", 111);
155 TCanvas *
c1 =
new TCanvas(
"c1",
"Hcal4test", 200, 10, 700, 900);
166 TH2F *Zzzdepth1hef1 = (TH2F *)hfile1->Get(
"h_mapDepth1_HE");
170 Zzzdepth1hef1->SetXTitle(
"#eta \b");
171 Zzzdepth1hef1->SetYTitle(
"#phi \b");
172 Zzzdepth1hef1->SetZTitle(
"h_mapDepth1_HE \b");
173 Zzzdepth1hef1->Draw(
"COLZ");
176 TH2F *Zzzdepth1hef2 = (TH2F *)hfile1->Get(
"h_mapDepth2_HE");
180 Zzzdepth1hef2->SetXTitle(
"#eta \b");
181 Zzzdepth1hef2->SetYTitle(
"#phi \b");
182 Zzzdepth1hef2->SetZTitle(
"h_mapDepth2_HE \b");
183 Zzzdepth1hef2->Draw(
"COLZ");
186 TH2F *Zzzdepth1hef3 = (TH2F *)hfile1->Get(
"h_mapDepth3_HE");
190 Zzzdepth1hef3->SetXTitle(
"#eta \b");
191 Zzzdepth1hef3->SetYTitle(
"#phi \b");
192 Zzzdepth1hef3->SetZTitle(
"h_mapDepth3_HE \b");
193 Zzzdepth1hef3->Draw(
"COLZ");
196 TH2F *Zzzdepth1hef4 = (TH2F *)hfile1->Get(
"h_mapDepth4_HE");
200 Zzzdepth1hef4->SetXTitle(
"#eta \b");
201 Zzzdepth1hef4->SetYTitle(
"#phi \b");
202 Zzzdepth1hef4->SetZTitle(
"h_mapDepth4_HE \b");
203 Zzzdepth1hef4->Draw(
"COLZ");
206 TH2F *Zzzdepth1hef5 = (TH2F *)hfile1->Get(
"h_mapDepth5_HE");
210 Zzzdepth1hef5->SetXTitle(
"#eta \b");
211 Zzzdepth1hef5->SetYTitle(
"#phi \b");
212 Zzzdepth1hef5->SetZTitle(
"h_mapDepth5_HE \b");
213 Zzzdepth1hef5->Draw(
"COLZ");
216 TH2F *Zzzdepth1hef6 = (TH2F *)hfile1->Get(
"h_mapDepth6_HE");
220 Zzzdepth1hef6->SetXTitle(
"#eta \b");
221 Zzzdepth1hef6->SetYTitle(
"#phi \b");
222 Zzzdepth1hef6->SetZTitle(
"h_mapDepth6_HE \b");
223 Zzzdepth1hef6->Draw(
"COLZ");
226 TH2F *Zzzdepth1hef7 = (TH2F *)hfile1->Get(
"h_mapDepth7_HE");
230 Zzzdepth1hef7->SetXTitle(
"#eta \b");
231 Zzzdepth1hef7->SetYTitle(
"#phi \b");
232 Zzzdepth1hef7->SetZTitle(
"h_mapDepth7_HE \b");
233 Zzzdepth1hef7->Draw(
"COLZ");
236 TH1F *jdjswi8 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HE");
237 gPad->SetLogy(kFALSE);
239 jdjswi8->SetMarkerStyle(20);
240 jdjswi8->SetMarkerSize(0.8);
241 jdjswi8->GetYaxis()->SetLabelSize(0.04);
242 jdjswi8->SetXTitle(
"h_ADCAmpl_HE \b");
243 jdjswi8->SetMarkerColor(2);
244 jdjswi8->SetLineColor(2);
258 TH1F *wqwhef1 = (TH1F *)hfile1->Get(
"h_mapDepth1ADCAmpl_HE");
262 wqwhef1->SetZTitle(
"h_mapDepth1ADCAmpl_HE \b");
263 wqwhef1->Draw(
"COLZ");
266 TH1F *wqwhef2 = (TH1F *)hfile1->Get(
"h_mapDepth2ADCAmpl_HE");
270 wqwhef2->SetZTitle(
"h_mapDepth2ADCAmpl_HE \b");
271 wqwhef2->Draw(
"COLZ");
274 TH1F *wqwhef3 = (TH1F *)hfile1->Get(
"h_mapDepth3ADCAmpl_HE");
278 wqwhef3->SetZTitle(
"h_mapDepth3ADCAmpl_HE \b");
279 wqwhef3->Draw(
"COLZ");
282 TH1F *wqwhef4 = (TH1F *)hfile1->Get(
"h_mapDepth4ADCAmpl_HE");
286 wqwhef4->SetZTitle(
"h_mapDepth4ADCAmpl_HE \b");
287 wqwhef4->Draw(
"COLZ");
290 TH1F *wqwhef5 = (TH1F *)hfile1->Get(
"h_mapDepth5ADCAmpl_HE");
294 wqwhef5->SetZTitle(
"h_mapDepth5ADCAmpl_HE \b");
295 wqwhef5->Draw(
"COLZ");
298 TH1F *wqwhef6 = (TH1F *)hfile1->Get(
"h_mapDepth6ADCAmpl_HE");
302 wqwhef6->SetZTitle(
"h_mapDepth6ADCAmpl_HE \b");
303 wqwhef6->Draw(
"COLZ");
306 TH1F *wqwhef7 = (TH1F *)hfile1->Get(
"h_mapDepth7ADCAmpl_HE");
310 wqwhef7->SetZTitle(
"h_mapDepth7ADCAmpl_HE \b");
311 wqwhef7->Draw(
"COLZ");
324 TH1F *azzdepth1hef1 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLS3");
327 azzdepth1hef1->SetZTitle(
"h_sumADCAmplperLS3 \b");
328 azzdepth1hef1->Draw(
"");
331 TH1F *azzdepth1hef2 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLS4");
334 azzdepth1hef2->SetZTitle(
"h_sumADCAmplperLS3 \b");
335 azzdepth1hef2->Draw(
"");
338 TH1F *azzdepth1hef3 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLS5");
341 azzdepth1hef3->SetZTitle(
"h_sumADCAmplperLS3 \b");
342 azzdepth1hef3->Draw(
"");
345 TH1F *azzdepth1hef4 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLSdepth4HEu");
348 azzdepth1hef4->SetZTitle(
"h_sumADCAmplperLS3 \b");
349 azzdepth1hef4->Draw(
"");
352 TH1F *azzdepth1hef5 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLSdepth5HEu");
355 azzdepth1hef5->SetZTitle(
"h_sumADCAmplperLS3 \b");
356 azzdepth1hef5->Draw(
"");
359 TH1F *azzdepth1hef6 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLSdepth6HEu");
362 azzdepth1hef6->SetZTitle(
"h_sumADCAmplperLS3 \b");
363 azzdepth1hef6->Draw(
"");
366 TH1F *azzdepth1hef7 = (TH1F *)hfile1->Get(
"h_sumADCAmplperLSdepth7HEu");
369 azzdepth1hef7->SetZTitle(
"h_sumADCAmplperLS3 \b");
370 azzdepth1hef7->Draw(
"");
383 TH1F *poqw1 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLS3");
386 poqw1->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
390 TH1F *poqw2 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLS4");
393 poqw2->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
397 TH1F *poqw3 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLS5");
400 poqw3->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
404 TH1F *poqw4 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLSdepth4HEu");
407 poqw4->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
411 TH1F *poqw5 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLSdepth5HEu");
414 poqw5->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
418 TH1F *poqw6 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLSdepth6HEu");
421 poqw6->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
425 TH1F *poqw7 = (TH1F *)hfile1->Get(
"h_sumCutADCAmplperLSdepth7HEu");
428 poqw7->SetZTitle(
"h_sumCutADCAmplperLS3 \b");
442 TH1F *cdew1 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLS3");
445 cdew1->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
449 TH1F *cdew2 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLS4");
452 cdew2->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
456 TH1F *cdew3 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLS5");
459 cdew3->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
463 TH1F *cdew4 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLSdepth4HEu");
466 cdew4->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
470 TH1F *cdew5 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLSdepth5HEu");
473 cdew5->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
477 TH1F *cdew6 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLSdepth6HEu");
480 cdew6->SetZTitle(
"h_sum0ADCAmplperLS3 \b");
484 TH1F *cdew7 = (TH1F *)hfile1->Get(
"h_sum0ADCAmplperLSdepth7HEu");
487 cdew7->SetZTitle(
"h_sum0ADCAmplperLS3 \b");