29 printf(
"reco: gROOT Reset \n");
31 gROOT->SetStyle(
"Plain");
37 gStyle->SetOptStat(1110000);
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);
124 TFile *hfile1 =
new TFile(
"Global_RBX_325001.root",
"READ");
129 TPostScript psfile(
"zadcamplitude.ps", 111);
133 TCanvas *
c1 =
new TCanvas(
"c1",
"Hcal4test", 200, 10, 700, 900);
143 TH2F *twoddepth1hb1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl_HB");
144 TH2F *twoddepth1hb0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HB");
145 twoddepth1hb1->Sumw2();
146 twoddepth1hb0->Sumw2();
148 TH2F *Cdepth1hbff = (TH2F *)twoddepth1hb1->Clone(
"Cdepth1hbff");
149 Cdepth1hbff->Divide(twoddepth1hb1, twoddepth1hb0, 1, 1,
"B");
150 Cdepth1hbff->Sumw2();
154 TH2F *twoedepth1hb1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl225_HB");
155 TH2F *twoedepth1hb0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HB");
156 twoedepth1hb1->Sumw2();
157 twoedepth1hb0->Sumw2();
159 TH2F *Cdepth1hbfz225 = (TH2F *)twoedepth1hb1->Clone(
"Cdepth1hbfz225");
160 Cdepth1hbfz225->Divide(twoedepth1hb1, twoedepth1hb0, 1, 1,
"B");
161 Cdepth1hbfz225->Sumw2();
166 Cdepth1hbfz225->SetMarkerStyle(20);
167 Cdepth1hbfz225->SetMarkerSize(0.4);
169 Cdepth1hbfz225->GetZaxis()->SetLabelSize(0.08);
170 Cdepth1hbfz225->SetXTitle(
"#eta \b");
171 Cdepth1hbfz225->SetYTitle(
"#phi \b");
172 Cdepth1hbfz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HB Depth1 \b");
173 Cdepth1hbfz225->SetMarkerColor(2);
174 Cdepth1hbfz225->SetLineColor(2);
175 Cdepth1hbfz225->SetMaximum(1.000);
176 Cdepth1hbfz225->SetMinimum(0.00001);
178 Cdepth1hbfz225->Draw(
"COLZ");
184 TH1F *adepth1hb = (TH1F *)hfile1->Get(
"h_ADCAmplZoom_HB");
187 adepth1hb->SetMarkerStyle(20);
188 adepth1hb->SetMarkerSize(0.8);
189 adepth1hb->GetYaxis()->SetLabelSize(0.04);
190 adepth1hb->SetXTitle(
"ADCAmpl in each event & cell HB \b");
191 adepth1hb->SetMarkerColor(2);
192 adepth1hb->SetLineColor(2);
198 TH2F *Diffe_Depth1hb = (TH2F *)Cdepth1hbff->Clone(
"Diffe_Depth1hb");
199 for (
int i = 1;
i <= Cdepth1hbff->GetXaxis()->GetNbins();
i++) {
200 for (
int j = 1;
j <= Cdepth1hbff->GetYaxis()->GetNbins();
j++) {
202 double ccc1 = Cdepth1hbff->GetBinContent(
i,
j);
203 Diffe_Depth1hb->SetBinContent(
i,
j, 0.);
208 Diffe_Depth1hb->SetBinContent(
i,
j, ccc1);
214 Diffe_Depth1hb->SetMarkerStyle(20);
215 Diffe_Depth1hb->SetMarkerSize(0.4);
216 Diffe_Depth1hb->GetZaxis()->SetLabelSize(0.08);
218 Diffe_Depth1hb->SetXTitle(
"#eta \b");
219 Diffe_Depth1hb->SetYTitle(
"#phi \b");
220 Diffe_Depth1hb->SetZTitle(
"<ADCAmpl> - HB Depth1 \b");
221 Diffe_Depth1hb->SetMarkerColor(2);
222 Diffe_Depth1hb->SetLineColor(2);
225 Diffe_Depth1hb->Draw(
"COLZ");
229 TH1F *diffADCAmpl_Depth1hb =
new TH1F(
"diffADCAmpl_Depth1hb",
"", 250, 0., 1000.);
230 TH2F *Cdepth1hbfw = (TH2F *)Cdepth1hbff->Clone(
"Cdepth1hbfw");
232 for (
int i = 1;
i <= Cdepth1hbfw->GetXaxis()->GetNbins();
i++) {
233 for (
int j = 1;
j <= Cdepth1hbfw->GetYaxis()->GetNbins();
j++) {
234 if (Cdepth1hbfw->GetBinContent(
i,
j) != 0) {
235 double ccc1 = Cdepth1hbfw->GetBinContent(
i,
j);
236 diffADCAmpl_Depth1hb->Fill(ccc1);
241 diffADCAmpl_Depth1hb->SetMarkerStyle(20);
242 diffADCAmpl_Depth1hb->SetMarkerSize(0.4);
243 diffADCAmpl_Depth1hb->GetYaxis()->SetLabelSize(0.04);
244 diffADCAmpl_Depth1hb->SetXTitle(
"<ADCAmpl> in each cell \b");
245 diffADCAmpl_Depth1hb->SetMarkerColor(2);
246 diffADCAmpl_Depth1hb->SetLineColor(2);
247 diffADCAmpl_Depth1hb->Draw(
"");
251 delete twoddepth1hb0;
252 delete twoddepth1hb1;
254 delete Cdepth1hbfz225;
256 delete diffADCAmpl_Depth1hb;
257 delete Diffe_Depth1hb;
267 TH2F *twoddepth2hb1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl_HB");
268 TH2F *twoddepth2hb0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HB");
269 twoddepth2hb1->Sumw2();
270 twoddepth2hb0->Sumw2();
272 TH2F *Cdepth2hbff = (TH2F *)twoddepth2hb1->Clone(
"Cdepth2hbff");
273 Cdepth2hbff->Divide(twoddepth2hb1, twoddepth2hb0, 1, 1,
"B");
274 Cdepth2hbff->Sumw2();
277 TH2F *twoedepth2hb1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl225_HB");
278 TH2F *twoedepth2hb0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HB");
279 twoedepth2hb1->Sumw2();
280 twoedepth2hb0->Sumw2();
282 TH2F *Cdepth2hbfz225 = (TH2F *)twoedepth2hb1->Clone(
"Cdepth2hbfz225");
283 Cdepth2hbfz225->Divide(twoedepth2hb1, twoedepth2hb0, 1, 1,
"B");
284 Cdepth2hbfz225->Sumw2();
289 Cdepth2hbfz225->SetMarkerStyle(20);
290 Cdepth2hbfz225->SetMarkerSize(0.4);
292 Cdepth2hbfz225->GetZaxis()->SetLabelSize(0.08);
293 Cdepth2hbfz225->SetXTitle(
"#eta \b");
294 Cdepth2hbfz225->SetYTitle(
"#phi \b");
295 Cdepth2hbfz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HB Depth2 \b");
296 Cdepth2hbfz225->SetMarkerColor(2);
297 Cdepth2hbfz225->SetLineColor(2);
298 Cdepth2hbfz225->SetMaximum(1.000);
299 Cdepth2hbfz225->SetMinimum(0.00001);
301 Cdepth2hbfz225->Draw(
"COLZ");
306 TH1F *adepth2hb = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HB");
310 adepth2hb->SetMarkerStyle(20);
311 adepth2hb->SetMarkerSize(0.8);
312 adepth2hb->GetYaxis()->SetLabelSize(0.04);
313 adepth2hb->SetXTitle(
"ADCAmpl in each event & cell HB \b");
314 adepth2hb->SetMarkerColor(2);
315 adepth2hb->SetLineColor(2);
321 TH2F *Diffe_Depth2hb = (TH2F *)Cdepth2hbff->Clone(
"Diffe_Depth2hb");
322 for (
int i = 1;
i <= Cdepth2hbff->GetXaxis()->GetNbins();
i++) {
323 for (
int j = 1;
j <= Cdepth2hbff->GetYaxis()->GetNbins();
j++) {
325 double ccc1 = Cdepth2hbff->GetBinContent(
i,
j);
326 Diffe_Depth2hb->SetBinContent(
i,
j, 0.);
328 Diffe_Depth2hb->SetBinContent(
i,
j, ccc1);
334 Diffe_Depth2hb->SetMarkerStyle(20);
335 Diffe_Depth2hb->SetMarkerSize(0.4);
336 Diffe_Depth2hb->GetZaxis()->SetLabelSize(0.08);
338 Diffe_Depth2hb->SetXTitle(
"#eta \b");
339 Diffe_Depth2hb->SetYTitle(
"#phi \b");
340 Diffe_Depth2hb->SetZTitle(
"<ADCAmpl> smalle 508 - HB Depth2hb \b");
341 Diffe_Depth2hb->SetMarkerColor(2);
342 Diffe_Depth2hb->SetLineColor(2);
345 Diffe_Depth2hb->Draw(
"COLZ");
349 TH1F *diffADCAmpl_Depth2hb =
new TH1F(
"diffADCAmpl_Depth2hb",
"", 250, 0., 1000.);
350 TH2F *Cdepth2hbfw = (TH2F *)Cdepth2hbff->Clone(
"diffADCAmpl_Depth2hb");
352 for (
int i = 1;
i <= Cdepth2hbfw->GetXaxis()->GetNbins();
i++) {
353 for (
int j = 1;
j <= Cdepth2hbfw->GetYaxis()->GetNbins();
j++) {
354 if (Cdepth2hbfw->GetBinContent(
i,
j) != 0) {
355 double ccc1 = Cdepth2hbfw->GetBinContent(
i,
j);
356 diffADCAmpl_Depth2hb->Fill(ccc1);
361 diffADCAmpl_Depth2hb->SetMarkerStyle(20);
362 diffADCAmpl_Depth2hb->SetMarkerSize(0.4);
363 diffADCAmpl_Depth2hb->GetYaxis()->SetLabelSize(0.04);
364 diffADCAmpl_Depth2hb->SetXTitle(
"<ADCAmpl> in each cell \b");
365 diffADCAmpl_Depth2hb->SetMarkerColor(2);
366 diffADCAmpl_Depth2hb->SetLineColor(2);
367 diffADCAmpl_Depth2hb->Draw(
"");
371 delete twoddepth2hb0;
372 delete twoddepth2hb1;
374 delete Cdepth2hbfz225;
376 delete diffADCAmpl_Depth2hb;
377 delete Diffe_Depth2hb;
387 TH2F *twoddepth1he1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl_HE");
388 TH2F *twoddepth1he0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HE");
389 twoddepth1he1->Sumw2();
390 twoddepth1he0->Sumw2();
392 TH2F *Cdepth1heff = (TH2F *)twoddepth1he1->Clone(
"Cdepth1heff");
393 Cdepth1heff->Divide(twoddepth1he1, twoddepth1he0, 1, 1,
"B");
394 Cdepth1heff->Sumw2();
397 TH2F *twoedepth1he1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl225_HE");
398 TH2F *twoedepth1he0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HE");
399 twoedepth1he1->Sumw2();
400 twoedepth1he0->Sumw2();
402 TH2F *Cdepth1hefz225 = (TH2F *)twoedepth1he1->Clone(
"Cdepth1hefz225");
403 Cdepth1hefz225->Divide(twoedepth1he1, twoedepth1he0, 1, 1,
"B");
404 Cdepth1hefz225->Sumw2();
409 Cdepth1hefz225->SetMarkerStyle(20);
410 Cdepth1hefz225->SetMarkerSize(0.4);
412 Cdepth1hefz225->GetZaxis()->SetLabelSize(0.08);
413 Cdepth1hefz225->SetXTitle(
"#eta \b");
414 Cdepth1hefz225->SetYTitle(
"#phi \b");
415 Cdepth1hefz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HE Depth1 \b");
416 Cdepth1hefz225->SetMarkerColor(2);
417 Cdepth1hefz225->SetLineColor(2);
418 Cdepth1hefz225->SetMaximum(1.000);
419 Cdepth1hefz225->SetMinimum(0.00001);
421 Cdepth1hefz225->Draw(
"COLZ");
426 TH1F *adepth1he = (TH1F *)hfile1->Get(
"h_ADCAmpl345_HE");
430 adepth1he->SetMarkerStyle(20);
431 adepth1he->SetMarkerSize(0.8);
432 adepth1he->GetYaxis()->SetLabelSize(0.04);
433 adepth1he->SetXTitle(
"ADCAmpl in each event & cell HE \b");
434 adepth1he->SetMarkerColor(2);
435 adepth1he->SetLineColor(2);
441 TH2F *Diffe_Depth1he = (TH2F *)Cdepth1heff->Clone(
"Diffe_Depth1he");
442 for (
int i = 1;
i <= Cdepth1heff->GetXaxis()->GetNbins();
i++) {
443 for (
int j = 1;
j <= Cdepth1heff->GetYaxis()->GetNbins();
j++) {
445 double ccc1 = Cdepth1heff->GetBinContent(
i,
j);
447 Diffe_Depth1he->SetBinContent(
i,
j, 0.);
448 if (ccc1 < 20000000.)
449 Diffe_Depth1he->SetBinContent(
i,
j, ccc1);
455 Diffe_Depth1he->SetMarkerStyle(20);
456 Diffe_Depth1he->SetMarkerSize(0.4);
457 Diffe_Depth1he->GetZaxis()->SetLabelSize(0.08);
459 Diffe_Depth1he->SetXTitle(
"#eta \b");
460 Diffe_Depth1he->SetYTitle(
"#phi \b");
461 Diffe_Depth1he->SetZTitle(
"<ADCAmpl> smalle 20000008 - HE Depth1he \b");
462 Diffe_Depth1he->SetMarkerColor(2);
463 Diffe_Depth1he->SetLineColor(2);
466 Diffe_Depth1he->Draw(
"COLZ");
470 TH1F *diffADCAmpl_Depth1he =
new TH1F(
"diffADCAmpl_Depth1he",
"", 100, 0., 5000.);
471 TH2F *Cdepth1hefw = (TH2F *)Cdepth1heff->Clone(
"diffADCAmpl_Depth1he");
473 for (
int i = 1;
i <= Cdepth1hefw->GetXaxis()->GetNbins();
i++) {
474 for (
int j = 1;
j <= Cdepth1hefw->GetYaxis()->GetNbins();
j++) {
475 if (Cdepth1hefw->GetBinContent(
i,
j) != 0) {
476 double ccc1 = Cdepth1hefw->GetBinContent(
i,
j);
477 diffADCAmpl_Depth1he->Fill(ccc1);
482 diffADCAmpl_Depth1he->SetMarkerStyle(20);
483 diffADCAmpl_Depth1he->SetMarkerSize(0.4);
484 diffADCAmpl_Depth1he->GetYaxis()->SetLabelSize(0.04);
485 diffADCAmpl_Depth1he->SetXTitle(
"<ADCAmpl> in each cell \b");
486 diffADCAmpl_Depth1he->SetMarkerColor(2);
487 diffADCAmpl_Depth1he->SetLineColor(2);
488 diffADCAmpl_Depth1he->Draw(
"");
492 delete twoddepth1he0;
493 delete twoddepth1he1;
495 delete Cdepth1hefz225;
497 delete diffADCAmpl_Depth1he;
498 delete Diffe_Depth1he;
508 TH2F *twoddepth2he1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl_HE");
509 TH2F *twoddepth2he0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HE");
510 twoddepth2he1->Sumw2();
511 twoddepth2he0->Sumw2();
513 TH2F *Cdepth2heff = (TH2F *)twoddepth2he1->Clone(
"Cdepth2heff");
514 Cdepth2heff->Divide(twoddepth2he1, twoddepth2he0, 1, 1,
"B");
515 Cdepth2heff->Sumw2();
518 TH2F *twoedepth2he1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl225_HE");
519 TH2F *twoedepth2he0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HE");
520 twoedepth2he1->Sumw2();
521 twoedepth2he0->Sumw2();
523 TH2F *Cdepth2hefz225 = (TH2F *)twoedepth2he1->Clone(
"Cdepth2hefz225");
524 Cdepth2hefz225->Divide(twoedepth2he1, twoedepth2he0, 1, 1,
"B");
525 Cdepth2hefz225->Sumw2();
530 Cdepth2hefz225->SetMarkerStyle(20);
531 Cdepth2hefz225->SetMarkerSize(0.4);
533 Cdepth2hefz225->GetZaxis()->SetLabelSize(0.08);
534 Cdepth2hefz225->SetXTitle(
"#eta \b");
535 Cdepth2hefz225->SetYTitle(
"#phi \b");
536 Cdepth2hefz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HE Depth2 \b");
537 Cdepth2hefz225->SetMarkerColor(2);
538 Cdepth2hefz225->SetLineColor(2);
539 Cdepth2hefz225->SetMaximum(1.000);
540 Cdepth2hefz225->SetMinimum(0.00001);
542 Cdepth2hefz225->Draw(
"COLZ");
546 TH1F *adepth2he = (TH1F *)hfile1->Get(
"h_ADCAmpl_HE");
551 adepth2he->SetMarkerStyle(20);
552 adepth2he->SetMarkerSize(0.8);
553 adepth2he->GetYaxis()->SetLabelSize(0.04);
554 adepth2he->SetXTitle(
"ADCAmpl in each event & cell HE \b");
555 adepth2he->SetMarkerColor(2);
556 adepth2he->SetLineColor(2);
562 TH2F *Diffe_Depth2he = (TH2F *)Cdepth2heff->Clone(
"Diffe_Depth2he");
563 for (
int i = 1;
i <= Cdepth2heff->GetXaxis()->GetNbins();
i++) {
564 for (
int j = 1;
j <= Cdepth2heff->GetYaxis()->GetNbins();
j++) {
566 double ccc1 = Cdepth2heff->GetBinContent(
i,
j);
567 Diffe_Depth2he->SetBinContent(
i,
j, 0.);
568 if (ccc1 < 20000000.)
569 Diffe_Depth2he->SetBinContent(
i,
j, ccc1);
575 Diffe_Depth2he->SetMarkerStyle(20);
576 Diffe_Depth2he->SetMarkerSize(0.4);
577 Diffe_Depth2he->GetZaxis()->SetLabelSize(0.08);
579 Diffe_Depth2he->SetXTitle(
"#eta \b");
580 Diffe_Depth2he->SetYTitle(
"#phi \b");
581 Diffe_Depth2he->SetZTitle(
"<ADCAmpl> smalle 20000000 - HE Depth2he \b");
582 Diffe_Depth2he->SetMarkerColor(2);
583 Diffe_Depth2he->SetLineColor(2);
586 Diffe_Depth2he->Draw(
"COLZ");
590 TH1F *diffADCAmpl_Depth2he =
new TH1F(
"diffADCAmpl_Depth2he",
"", 100, 0., 5000.);
591 TH2F *Cdepth2hefw = (TH2F *)Cdepth2heff->Clone(
"diffADCAmpl_Depth2he");
593 for (
int i = 1;
i <= Cdepth2hefw->GetXaxis()->GetNbins();
i++) {
594 for (
int j = 1;
j <= Cdepth2hefw->GetYaxis()->GetNbins();
j++) {
595 if (Cdepth2hefw->GetBinContent(
i,
j) != 0) {
596 double ccc1 = Cdepth2hefw->GetBinContent(
i,
j);
597 diffADCAmpl_Depth2he->Fill(ccc1);
602 diffADCAmpl_Depth2he->SetMarkerStyle(20);
603 diffADCAmpl_Depth2he->SetMarkerSize(0.4);
604 diffADCAmpl_Depth2he->GetYaxis()->SetLabelSize(0.04);
605 diffADCAmpl_Depth2he->SetXTitle(
"<ADCAmpl> in each cell \b");
606 diffADCAmpl_Depth2he->SetMarkerColor(2);
607 diffADCAmpl_Depth2he->SetLineColor(2);
608 diffADCAmpl_Depth2he->Draw(
"");
612 delete twoddepth2he0;
613 delete twoddepth2he1;
615 delete Cdepth2hefz225;
617 delete diffADCAmpl_Depth2he;
618 delete Diffe_Depth2he;
628 TH2F *twoddepth3he1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl_HE");
629 TH2F *twoddepth3he0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HE");
630 twoddepth3he1->Sumw2();
631 twoddepth3he0->Sumw2();
633 TH2F *Cdepth3heff = (TH2F *)twoddepth3he1->Clone(
"Cdepth3heff");
634 Cdepth3heff->Divide(twoddepth3he1, twoddepth3he0, 1, 1,
"B");
635 Cdepth3heff->Sumw2();
638 TH2F *twoedepth3he1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl225_HE");
639 TH2F *twoedepth3he0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HE");
640 twoedepth3he1->Sumw2();
641 twoedepth3he0->Sumw2();
643 TH2F *Cdepth3hefz225 = (TH2F *)twoedepth3he1->Clone(
"Cdepth3hefz225");
644 Cdepth3hefz225->Divide(twoedepth3he1, twoedepth3he0, 1, 1,
"B");
645 Cdepth3hefz225->Sumw2();
650 Cdepth3hefz225->SetMarkerStyle(20);
651 Cdepth3hefz225->SetMarkerSize(0.4);
653 Cdepth3hefz225->GetZaxis()->SetLabelSize(0.08);
654 Cdepth3hefz225->SetXTitle(
"#eta \b");
655 Cdepth3hefz225->SetYTitle(
"#phi \b");
656 Cdepth3hefz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HE Depth1 \b");
657 Cdepth3hefz225->SetMarkerColor(2);
658 Cdepth3hefz225->SetLineColor(2);
659 Cdepth3hefz225->SetMaximum(1.000);
660 Cdepth3hefz225->SetMinimum(0.00001);
662 Cdepth3hefz225->Draw(
"COLZ");
667 TH1F *adepth3he = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HE");
671 adepth3he->SetMarkerStyle(20);
672 adepth3he->SetMarkerSize(0.8);
673 adepth3he->GetYaxis()->SetLabelSize(0.04);
674 adepth3he->SetXTitle(
"ADCAmpl in each event & cell HE \b");
675 adepth3he->SetMarkerColor(2);
676 adepth3he->SetLineColor(2);
682 TH2F *Diffe_Depth3he = (TH2F *)Cdepth3heff->Clone(
"Diffe_Depth3he");
683 for (
int i = 1;
i <= Cdepth3heff->GetXaxis()->GetNbins();
i++) {
684 for (
int j = 1;
j <= Cdepth3heff->GetYaxis()->GetNbins();
j++) {
686 double ccc1 = Cdepth3heff->GetBinContent(
i,
j);
687 Diffe_Depth3he->SetBinContent(
i,
j, 0.);
688 if (ccc1 < 20000000.)
689 Diffe_Depth3he->SetBinContent(
i,
j, ccc1);
695 Diffe_Depth3he->SetMarkerStyle(20);
696 Diffe_Depth3he->SetMarkerSize(0.4);
697 Diffe_Depth3he->GetZaxis()->SetLabelSize(0.08);
699 Diffe_Depth3he->SetXTitle(
"#eta \b");
700 Diffe_Depth3he->SetYTitle(
"#phi \b");
701 Diffe_Depth3he->SetZTitle(
"<ADCAmpl>smalle 20000000 - HE Depth3he \b");
702 Diffe_Depth3he->SetMarkerColor(2);
703 Diffe_Depth3he->SetLineColor(2);
706 Diffe_Depth3he->Draw(
"COLZ");
710 TH1F *diffADCAmpl_Depth3he =
new TH1F(
"diffADCAmpl_Depth3he",
"", 100, 0., 5000.);
711 TH2F *Cdepth3hefw = (TH2F *)Cdepth3heff->Clone(
"diffADCAmpl_Depth3he");
713 for (
int i = 1;
i <= Cdepth3hefw->GetXaxis()->GetNbins();
i++) {
714 for (
int j = 1;
j <= Cdepth3hefw->GetYaxis()->GetNbins();
j++) {
715 if (Cdepth3hefw->GetBinContent(
i,
j) != 0) {
716 double ccc1 = Cdepth3hefw->GetBinContent(
i,
j);
717 diffADCAmpl_Depth3he->Fill(ccc1);
722 diffADCAmpl_Depth3he->SetMarkerStyle(20);
723 diffADCAmpl_Depth3he->SetMarkerSize(0.4);
724 diffADCAmpl_Depth3he->GetYaxis()->SetLabelSize(0.04);
725 diffADCAmpl_Depth3he->SetXTitle(
"<ADCAmpl> in each cell \b");
726 diffADCAmpl_Depth3he->SetMarkerColor(2);
727 diffADCAmpl_Depth3he->SetLineColor(2);
728 diffADCAmpl_Depth3he->Draw(
"");
732 delete twoddepth3he0;
733 delete twoddepth3he1;
735 delete Cdepth3hefz225;
737 delete diffADCAmpl_Depth3he;
738 delete Diffe_Depth3he;
748 TH2F *twoddepth1hf1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl_HF");
749 TH2F *twoddepth1hf0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HF");
750 twoddepth1hf1->Sumw2();
751 twoddepth1hf0->Sumw2();
753 TH2F *Cdepth1hfff = (TH2F *)twoddepth1hf1->Clone(
"Cdepth1hfff");
754 Cdepth1hfff->Divide(twoddepth1hf1, twoddepth1hf0, 1, 1,
"B");
755 Cdepth1hfff->Sumw2();
758 TH2F *twoedepth1hf1 = (TH2F *)hfile1->Get(
"h_mapDepth1ADCAmpl225_HF");
759 TH2F *twoedepth1hf0 = (TH2F *)hfile1->Get(
"h_mapDepth1_HF");
760 twoedepth1hf1->Sumw2();
761 twoedepth1hf0->Sumw2();
763 TH2F *Cdepth1hffz225 = (TH2F *)twoedepth1hf1->Clone(
"Cdepth1hffz225");
764 Cdepth1hffz225->Divide(twoedepth1hf1, twoedepth1hf0, 1, 1,
"B");
765 Cdepth1hffz225->Sumw2();
770 Cdepth1hffz225->SetMarkerStyle(20);
771 Cdepth1hffz225->SetMarkerSize(0.4);
773 Cdepth1hffz225->GetZaxis()->SetLabelSize(0.08);
774 Cdepth1hffz225->SetXTitle(
"#eta \b");
775 Cdepth1hffz225->SetYTitle(
"#phi \b");
776 Cdepth1hffz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HF Depth1 \b");
777 Cdepth1hffz225->SetMarkerColor(2);
778 Cdepth1hffz225->SetLineColor(2);
779 Cdepth1hffz225->SetMaximum(1.000);
780 Cdepth1hffz225->SetMinimum(0.00001);
782 Cdepth1hffz225->Draw(
"COLZ");
786 TH1F *adepth1hf = (TH1F *)hfile1->Get(
"h_ADCAmpl_HF");
791 adepth1hf->SetMarkerStyle(20);
792 adepth1hf->SetMarkerSize(0.8);
793 adepth1hf->GetYaxis()->SetLabelSize(0.04);
794 adepth1hf->SetXTitle(
"ADCAmpl in each event & cell HF \b");
795 adepth1hf->SetMarkerColor(2);
796 adepth1hf->SetLineColor(2);
802 TH2F *Diffe_Depth1hf = (TH2F *)Cdepth1hfff->Clone(
"Diffe_Depth1hf");
803 for (
int i = 1;
i <= Cdepth1hfff->GetXaxis()->GetNbins();
i++) {
804 for (
int j = 1;
j <= Cdepth1hfff->GetYaxis()->GetNbins();
j++) {
806 double ccc1 = Cdepth1hfff->GetBinContent(
i,
j);
807 Diffe_Depth1hf->SetBinContent(
i,
j, 0.);
808 if (ccc1 < 20000000.)
809 Diffe_Depth1hf->SetBinContent(
i,
j, ccc1);
815 Diffe_Depth1hf->SetMarkerStyle(20);
816 Diffe_Depth1hf->SetMarkerSize(0.4);
817 Diffe_Depth1hf->GetZaxis()->SetLabelSize(0.08);
819 Diffe_Depth1hf->SetXTitle(
"#eta \b");
820 Diffe_Depth1hf->SetYTitle(
"#phi \b");
821 Diffe_Depth1hf->SetZTitle(
"<ADCAmpl> smalle 20000000 - HF Depth1hf \b");
822 Diffe_Depth1hf->SetMarkerColor(2);
823 Diffe_Depth1hf->SetLineColor(2);
826 Diffe_Depth1hf->Draw(
"COLZ");
829 TH1F *diffADCAmpl_Depth1hf =
new TH1F(
"diffADCAmpl_Depth1hf",
"", 100, 0., 300.);
831 TH2F *Cdepth1hffw = (TH2F *)Cdepth1hfff->Clone(
"diffADCAmpl_Depth1hf");
833 for (
int i = 1;
i <= Cdepth1hffw->GetXaxis()->GetNbins();
i++) {
834 for (
int j = 1;
j <= Cdepth1hffw->GetYaxis()->GetNbins();
j++) {
835 if (Cdepth1hffw->GetBinContent(
i,
j) != 0) {
836 double ccc1 = Cdepth1hffw->GetBinContent(
i,
j);
837 diffADCAmpl_Depth1hf->Fill(ccc1);
842 diffADCAmpl_Depth1hf->SetMarkerStyle(20);
843 diffADCAmpl_Depth1hf->SetMarkerSize(0.4);
844 diffADCAmpl_Depth1hf->GetYaxis()->SetLabelSize(0.04);
845 diffADCAmpl_Depth1hf->SetXTitle(
"<ADCAmpl> in each cell \b");
846 diffADCAmpl_Depth1hf->SetMarkerColor(2);
847 diffADCAmpl_Depth1hf->SetLineColor(2);
848 diffADCAmpl_Depth1hf->Draw(
"");
852 delete twoddepth1hf0;
853 delete twoddepth1hf1;
855 delete Cdepth1hffz225;
857 delete diffADCAmpl_Depth1hf;
858 delete Diffe_Depth1hf;
868 TH2F *twoddepth2hf1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl_HF");
869 TH2F *twoddepth2hf0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HF");
870 twoddepth2hf1->Sumw2();
871 twoddepth2hf0->Sumw2();
873 TH2F *Cdepth2hfff = (TH2F *)twoddepth2hf1->Clone(
"Cdepth2hfff");
874 Cdepth2hfff->Divide(twoddepth2hf1, twoddepth2hf0, 1, 1,
"B");
875 Cdepth2hfff->Sumw2();
878 TH2F *twoedepth2hf1 = (TH2F *)hfile1->Get(
"h_mapDepth2ADCAmpl225_HF");
879 TH2F *twoedepth2hf0 = (TH2F *)hfile1->Get(
"h_mapDepth2_HF");
880 twoedepth2hf1->Sumw2();
881 twoedepth2hf0->Sumw2();
883 TH2F *Cdepth2hffz225 = (TH2F *)twoedepth2hf1->Clone(
"Cdepth2hffz225");
884 Cdepth2hffz225->Divide(twoedepth2hf1, twoedepth2hf0, 1, 1,
"B");
885 Cdepth2hffz225->Sumw2();
890 Cdepth2hffz225->SetMarkerStyle(20);
891 Cdepth2hffz225->SetMarkerSize(0.4);
893 Cdepth2hffz225->GetZaxis()->SetLabelSize(0.08);
894 Cdepth2hffz225->SetXTitle(
"#eta \b");
895 Cdepth2hffz225->SetYTitle(
"#phi \b");
896 Cdepth2hffz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HF Depth2 \b");
897 Cdepth2hffz225->SetMarkerColor(2);
898 Cdepth2hffz225->SetLineColor(2);
899 Cdepth2hffz225->SetMaximum(1.000);
900 Cdepth2hffz225->SetMinimum(0.00001);
902 Cdepth2hffz225->Draw(
"COLZ");
907 TH1F *adepth2hf = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HF");
911 adepth2hf->SetMarkerStyle(20);
912 adepth2hf->SetMarkerSize(0.8);
913 adepth2hf->GetYaxis()->SetLabelSize(0.04);
914 adepth2hf->SetXTitle(
"ADCAmpl in each event & cell HF \b");
915 adepth2hf->SetMarkerColor(2);
916 adepth2hf->SetLineColor(2);
922 TH2F *Diffe_Depth2hf = (TH2F *)Cdepth2hfff->Clone(
"Diffe_Depth2hf");
923 for (
int i = 1;
i <= Cdepth2hfff->GetXaxis()->GetNbins();
i++) {
924 for (
int j = 1;
j <= Cdepth2hfff->GetYaxis()->GetNbins();
j++) {
926 double ccc1 = Cdepth2hfff->GetBinContent(
i,
j);
927 Diffe_Depth2hf->SetBinContent(
i,
j, 0.);
928 if (ccc1 < 20000000.)
929 Diffe_Depth2hf->SetBinContent(
i,
j, ccc1);
935 Diffe_Depth2hf->SetMarkerStyle(20);
936 Diffe_Depth2hf->SetMarkerSize(0.4);
937 Diffe_Depth2hf->GetZaxis()->SetLabelSize(0.08);
939 Diffe_Depth2hf->SetXTitle(
"#eta \b");
940 Diffe_Depth2hf->SetYTitle(
"#phi \b");
941 Diffe_Depth2hf->SetZTitle(
"<ADCAmpl> smalle 20000000 - HF Depth2hf \b");
942 Diffe_Depth2hf->SetMarkerColor(2);
943 Diffe_Depth2hf->SetLineColor(2);
946 Diffe_Depth2hf->Draw(
"COLZ");
949 TH1F *diffADCAmpl_Depth2hf =
new TH1F(
"diffADCAmpl_Depth2hf",
"", 100, 0., 300.);
951 TH2F *Cdepth2hffw = (TH2F *)Cdepth2hfff->Clone(
"diffADCAmpl_Depth2hf");
953 for (
int i = 1;
i <= Cdepth2hffw->GetXaxis()->GetNbins();
i++) {
954 for (
int j = 1;
j <= Cdepth2hffw->GetYaxis()->GetNbins();
j++) {
955 if (Cdepth2hffw->GetBinContent(
i,
j) != 0) {
956 double ccc1 = Cdepth2hffw->GetBinContent(
i,
j);
957 diffADCAmpl_Depth2hf->Fill(ccc1);
962 diffADCAmpl_Depth2hf->SetMarkerStyle(20);
963 diffADCAmpl_Depth2hf->SetMarkerSize(0.4);
964 diffADCAmpl_Depth2hf->GetYaxis()->SetLabelSize(0.04);
965 diffADCAmpl_Depth2hf->SetXTitle(
"<ADCAmpl> in each cell \b");
966 diffADCAmpl_Depth2hf->SetMarkerColor(2);
967 diffADCAmpl_Depth2hf->SetLineColor(2);
968 diffADCAmpl_Depth2hf->Draw(
"");
972 delete twoddepth2hf0;
973 delete twoddepth2hf1;
975 delete Cdepth2hffz225;
977 delete diffADCAmpl_Depth2hf;
978 delete Diffe_Depth2hf;
988 TH2F *twoddepth4ho1 = (TH2F *)hfile1->Get(
"h_mapDepth4ADCAmpl_HO");
989 TH2F *twoddepth4ho0 = (TH2F *)hfile1->Get(
"h_mapDepth4_HO");
990 twoddepth4ho1->Sumw2();
991 twoddepth4ho0->Sumw2();
993 TH2F *Cdepth4hoff = (TH2F *)twoddepth4ho1->Clone(
"Cdepth4hoff");
994 Cdepth4hoff->Divide(twoddepth4ho1, twoddepth4ho0, 1, 1,
"B");
995 Cdepth4hoff->Sumw2();
998 TH2F *twoedepth4ho1 = (TH2F *)hfile1->Get(
"h_mapDepth4ADCAmpl225_HO");
999 TH2F *twoedepth4ho0 = (TH2F *)hfile1->Get(
"h_mapDepth4_HO");
1000 twoedepth4ho1->Sumw2();
1001 twoedepth4ho0->Sumw2();
1003 TH2F *Cdepth4hofz225 = (TH2F *)twoedepth4ho1->Clone(
"Cdepth4hofz225");
1004 Cdepth4hofz225->Divide(twoedepth4ho1, twoedepth4ho0, 1, 1,
"B");
1005 Cdepth4hofz225->Sumw2();
1007 for (
int i = 1;
i <= Cdepth4hofz225->GetXaxis()->GetNbins();
i++) {
1008 for (
int j = 1;
j <= Cdepth4hofz225->GetYaxis()->GetNbins();
j++) {
1009 double ccc1 = Cdepth4hofz225->GetBinContent(
i,
j);
1016 Cdepth4hofz225->SetMarkerStyle(20);
1017 Cdepth4hofz225->SetMarkerSize(0.4);
1019 Cdepth4hofz225->GetZaxis()->SetLabelSize(0.08);
1020 Cdepth4hofz225->SetXTitle(
"#eta \b");
1021 Cdepth4hofz225->SetYTitle(
"#phi \b");
1022 Cdepth4hofz225->SetZTitle(
"Rate for ADCAmpl in each event & cell - HO Depth4 \b");
1023 Cdepth4hofz225->SetMarkerColor(2);
1024 Cdepth4hofz225->SetLineColor(2);
1025 Cdepth4hofz225->SetMaximum(1.000);
1026 Cdepth4hofz225->SetMinimum(0.1);
1028 Cdepth4hofz225->Draw(
"COLZ");
1032 TH1F *adepth4ho = (TH1F *)hfile1->Get(
"h_ADCAmpl_HO");
1037 adepth4ho->SetMarkerStyle(20);
1038 adepth4ho->SetMarkerSize(0.8);
1039 adepth4ho->GetYaxis()->SetLabelSize(0.04);
1040 adepth4ho->SetXTitle(
"ADCAmpl in each event & cell HO \b");
1041 adepth4ho->SetMarkerColor(2);
1042 adepth4ho->SetLineColor(2);
1043 adepth4ho->Draw(
"");
1048 TH2F *Diffe_Depth4ho = (TH2F *)Cdepth4hoff->Clone(
"Diffe_Depth4ho");
1049 for (
int i = 1;
i <= Cdepth4hoff->GetXaxis()->GetNbins();
i++) {
1050 for (
int j = 1;
j <= Cdepth4hoff->GetYaxis()->GetNbins();
j++) {
1052 double ccc1 = Cdepth4hoff->GetBinContent(
i,
j);
1053 Diffe_Depth4ho->SetBinContent(
i,
j, 0.);
1057 if (ccc1 > 160. || ccc1 < 250.)
1058 Diffe_Depth4ho->SetBinContent(
i,
j, ccc1);
1067 Diffe_Depth4ho->SetMarkerStyle(20);
1068 Diffe_Depth4ho->SetMarkerSize(0.4);
1069 Diffe_Depth4ho->GetZaxis()->SetLabelSize(0.08);
1071 Diffe_Depth4ho->SetXTitle(
"#eta \b");
1072 Diffe_Depth4ho->SetYTitle(
"#phi \b");
1073 Diffe_Depth4ho->SetZTitle(
"<ADCAmpl> smalle 20000000 - HO Depth4ho \b");
1074 Diffe_Depth4ho->SetMarkerColor(2);
1075 Diffe_Depth4ho->SetLineColor(2);
1078 Diffe_Depth4ho->Draw(
"COLZ");
1082 TH1F *diffADCAmpl_Depth4ho =
new TH1F(
"diffADCAmpl_Depth4ho",
"", 250, 0., 1000.);
1087 for (
int i = 1;
i <= Cdepth4hoff->GetXaxis()->GetNbins();
i++) {
1088 for (
int j = 1;
j <= Cdepth4hoff->GetYaxis()->GetNbins();
j++) {
1089 if (Cdepth4hoff->GetBinContent(
i,
j) != 0) {
1090 double ccc1 = Cdepth4hoff->GetBinContent(
i,
j);
1091 diffADCAmpl_Depth4ho->Fill(ccc1);
1096 diffADCAmpl_Depth4ho->SetMarkerStyle(20);
1097 diffADCAmpl_Depth4ho->SetMarkerSize(0.4);
1098 diffADCAmpl_Depth4ho->GetYaxis()->SetLabelSize(0.04);
1099 diffADCAmpl_Depth4ho->SetXTitle(
"<ADCAmpl> in each cell \b");
1100 diffADCAmpl_Depth4ho->SetMarkerColor(2);
1101 diffADCAmpl_Depth4ho->SetLineColor(2);
1102 diffADCAmpl_Depth4ho->SetMinimum(0.8);
1103 diffADCAmpl_Depth4ho->Draw(
"");
1107 delete twoddepth4ho0;
1108 delete twoddepth4ho1;
1110 delete Cdepth4hofz225;
1112 delete diffADCAmpl_Depth4ho;
1113 delete Diffe_Depth4ho;
1139 TH1F *aaaaaa0 = (TH1F *)hfile1->Get(
"h_ADCAmplZoom_HB");
1142 aaaaaa0->SetMarkerStyle(20);
1143 aaaaaa0->SetMarkerSize(0.8);
1144 aaaaaa0->GetYaxis()->SetLabelSize(0.04);
1145 aaaaaa0->SetXTitle(
"h_ADCAmplZoom_HB \b");
1146 aaaaaa0->SetMarkerColor(2);
1147 aaaaaa0->SetLineColor(2);
1151 TH1F *aaaaaa3 = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HB");
1154 aaaaaa3->SetMarkerStyle(20);
1155 aaaaaa3->SetMarkerSize(0.8);
1156 aaaaaa3->GetYaxis()->SetLabelSize(0.04);
1157 aaaaaa3->SetXTitle(
"ADCAmpl in each event & cell HB \b");
1158 aaaaaa3->SetMarkerColor(2);
1159 aaaaaa3->SetLineColor(2);
1163 TH1F *aaaaaa5 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HB");
1166 aaaaaa5->SetMarkerStyle(20);
1167 aaaaaa5->SetMarkerSize(0.8);
1168 aaaaaa5->GetYaxis()->SetLabelSize(0.04);
1169 aaaaaa5->SetXTitle(
"ADCAmpl in each event & cell HB \b");
1170 aaaaaa5->SetMarkerColor(2);
1171 aaaaaa5->SetLineColor(2);
1175 TH1F *aaaaaa1 = (TH1F *)hfile1->Get(
"h_AmplitudeHBrest");
1178 aaaaaa1->SetMarkerStyle(20);
1179 aaaaaa1->SetMarkerSize(0.8);
1180 aaaaaa1->GetYaxis()->SetLabelSize(0.04);
1181 aaaaaa1->SetXTitle(
"h_AmplitudeHBrest \b");
1182 aaaaaa1->SetMarkerColor(2);
1183 aaaaaa1->SetLineColor(2);
1187 TH1F *aaaaaa2 = (TH1F *)hfile1->Get(
"h_AmplitudeHBrest1");
1190 aaaaaa2->SetMarkerStyle(20);
1191 aaaaaa2->SetMarkerSize(0.8);
1192 aaaaaa2->GetYaxis()->SetLabelSize(0.04);
1193 aaaaaa2->SetXTitle(
"h_AmplitudeHBrest1 \b");
1194 aaaaaa2->SetMarkerColor(2);
1195 aaaaaa2->SetLineColor(2);
1199 TH1F *aaaaaa4 = (TH1F *)hfile1->Get(
"h_AmplitudeHBrest6");
1202 aaaaaa4->SetMarkerStyle(20);
1203 aaaaaa4->SetMarkerSize(0.8);
1204 aaaaaa4->GetYaxis()->SetLabelSize(0.04);
1205 aaaaaa4->SetXTitle(
"h_AmplitudeHBrest6 \b");
1206 aaaaaa4->SetMarkerColor(2);
1207 aaaaaa4->SetLineColor(2);
1234 TH1F *aaaaab0 = (TH1F *)hfile1->Get(
"h_ADCAmpl345_HE");
1237 aaaaab0->SetMarkerStyle(20);
1238 aaaaab0->SetMarkerSize(0.8);
1239 aaaaab0->GetYaxis()->SetLabelSize(0.04);
1240 aaaaab0->SetXTitle(
"h_ADCAmpl345_HE \b");
1241 aaaaab0->SetMarkerColor(2);
1242 aaaaab0->SetLineColor(2);
1246 TH1F *aaaaab3 = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HE");
1249 aaaaab3->SetMarkerStyle(20);
1250 aaaaab3->SetMarkerSize(0.8);
1251 aaaaab3->GetYaxis()->SetLabelSize(0.04);
1252 aaaaab3->SetXTitle(
"for amplmaxts 1TS w/ max HE \b");
1253 aaaaab3->SetMarkerColor(2);
1254 aaaaab3->SetLineColor(2);
1256 TH1F *aaaaab4 = (TH1F *)hfile1->Get(
"h_ADCAmpl345Zoom1_HE");
1259 aaaaab4->SetMarkerStyle(20);
1260 aaaaab4->SetMarkerSize(0.8);
1261 aaaaab4->GetYaxis()->SetLabelSize(0.04);
1262 aaaaab4->SetMarkerColor(4);
1263 aaaaab4->SetLineColor(4);
1264 aaaaab4->Draw(
"Same");
1267 TH1F *aaaaab5 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HE");
1270 aaaaab5->SetMarkerStyle(20);
1271 aaaaab5->SetMarkerSize(0.8);
1272 aaaaab5->GetYaxis()->SetLabelSize(0.04);
1273 aaaaab5->SetXTitle(
"ADCAmpl in each event & cell HE \b");
1274 aaaaab5->SetMarkerColor(2);
1275 aaaaab5->SetLineColor(2);
1279 TH1F *aaaaab1 = (TH1F *)hfile1->Get(
"h_ADCAmplrest_HE");
1283 aaaaab1->SetMarkerStyle(20);
1284 aaaaab1->SetMarkerSize(0.8);
1285 aaaaab1->GetYaxis()->SetLabelSize(0.04);
1286 aaaaab1->SetXTitle(
"h_ADCAmplrest_HE \b");
1287 aaaaab1->SetMarkerColor(2);
1288 aaaaab1->SetLineColor(2);
1292 TH1F *aaaaab2 = (TH1F *)hfile1->Get(
"h_ADCAmplrest1_HE");
1296 aaaaab2->SetMarkerStyle(20);
1297 aaaaab2->SetMarkerSize(0.8);
1298 aaaaab2->GetYaxis()->SetLabelSize(0.04);
1299 aaaaab2->SetXTitle(
"h_ADCAmplrest1_HE \b");
1300 aaaaab2->SetMarkerColor(2);
1301 aaaaab2->SetLineColor(2);
1305 TH1F *aaaaab6 = (TH1F *)hfile1->Get(
"h_ADCAmplrest6_HE");
1309 aaaaab6->SetMarkerStyle(20);
1310 aaaaab6->SetMarkerSize(0.8);
1311 aaaaab6->GetYaxis()->SetLabelSize(0.04);
1312 aaaaab6->SetXTitle(
"h_ADCAmplrest6_HE \b");
1313 aaaaab6->SetMarkerColor(2);
1314 aaaaab6->SetLineColor(2);
1335 TH1F *aaaaac0 = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HF");
1338 aaaaac0->SetMarkerStyle(20);
1339 aaaaac0->SetMarkerSize(0.8);
1340 aaaaac0->GetYaxis()->SetLabelSize(0.04);
1341 aaaaac0->SetXTitle(
"h_ADCAmplZoom1_HF \b");
1342 aaaaac0->SetMarkerColor(2);
1343 aaaaac0->SetLineColor(2);
1347 TH1F *aaaaac3 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HF");
1350 aaaaac3->SetMarkerStyle(20);
1351 aaaaac3->SetMarkerSize(0.8);
1352 aaaaac3->GetYaxis()->SetLabelSize(0.04);
1353 aaaaac3->SetXTitle(
"h_ADCAmpl_HF \b");
1354 aaaaac3->SetMarkerColor(2);
1355 aaaaac3->SetLineColor(2);
1359 TH1F *aaaaac5 = (TH1F *)hfile1->Get(
"h_ADCAmplrest1_HF");
1362 aaaaac5->SetMarkerStyle(20);
1363 aaaaac5->SetMarkerSize(0.8);
1364 aaaaac5->GetYaxis()->SetLabelSize(0.04);
1365 aaaaac5->SetXTitle(
"h_ADCAmplrest1_HF \b");
1366 aaaaac5->SetMarkerColor(2);
1367 aaaaac5->SetLineColor(2);
1371 TH1F *aaaaac1 = (TH1F *)hfile1->Get(
"h_ADCAmplrest6_HF");
1374 aaaaac1->SetMarkerStyle(20);
1375 aaaaac1->SetMarkerSize(0.8);
1376 aaaaac1->GetYaxis()->SetLabelSize(0.04);
1377 aaaaac1->SetXTitle(
"h_ADCAmplrest6_HF \b");
1378 aaaaac1->SetMarkerColor(2);
1379 aaaaac1->SetLineColor(2);
1400 TH1F *aaaaad0 = (TH1F *)hfile1->Get(
"h_ADCAmplrest1_HO");
1403 aaaaad0->SetMarkerStyle(20);
1404 aaaaad0->SetMarkerSize(0.8);
1405 aaaaad0->GetYaxis()->SetLabelSize(0.04);
1406 aaaaad0->SetXTitle(
"h_ADCAmplrest1_HO \b");
1407 aaaaad0->SetMarkerColor(2);
1408 aaaaad0->SetLineColor(2);
1412 TH1F *aaaaad3 = (TH1F *)hfile1->Get(
"h_ADCAmplrest6_HO");
1415 aaaaad3->SetMarkerStyle(20);
1416 aaaaad3->SetMarkerSize(0.8);
1417 aaaaad3->GetYaxis()->SetLabelSize(0.04);
1418 aaaaad3->SetXTitle(
"h_ADCAmplrest6_HO \b");
1419 aaaaad3->SetMarkerColor(2);
1420 aaaaad3->SetLineColor(2);
1424 TH1F *aaaaad5 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HO");
1427 aaaaad5->SetMarkerStyle(20);
1428 aaaaad5->SetMarkerSize(0.8);
1429 aaaaad5->GetYaxis()->SetLabelSize(0.04);
1430 aaaaad5->SetXTitle(
"h_ADCAmpl_HO \b");
1431 aaaaad5->SetMarkerColor(2);
1432 aaaaad5->SetLineColor(2);
1436 TH1F *aaaaad1 = (TH1F *)hfile1->Get(
"h_ADCAmplZoom1_HO");
1439 aaaaad1->SetMarkerStyle(20);
1440 aaaaad1->SetMarkerSize(0.8);
1441 aaaaad1->GetYaxis()->SetLabelSize(0.04);
1442 aaaaad1->SetXTitle(
"h_ADCAmplZoom1_HO \b");
1443 aaaaad1->SetMarkerColor(2);
1444 aaaaad1->SetLineColor(2);
1448 TH1F *aaaaad2 = (TH1F *)hfile1->Get(
"h_ADCAmpl_HO_copy");
1451 aaaaad2->SetMarkerStyle(20);
1452 aaaaad2->SetMarkerSize(0.8);
1453 aaaaad2->GetYaxis()->SetLabelSize(0.04);
1454 aaaaad2->SetXTitle(
"h_ADCAmpl_HO_copy \b");
1455 aaaaad2->SetMarkerColor(2);
1456 aaaaad2->SetLineColor(2);
1467 TH1F *
time = (TH1F *)hfile1->Get(
"h_tdc_HE_time");
1468 TH1F *
time0 = (TH1F *)hfile1->Get(
"h_tdc_HE_time0");
1469 TH1F *timer = (TH1F *)
time->Clone(
"timer");
1474 TH1F *timet = (TH1F *)hfile1->Get(
"h_tdc_HE_tdc");
1478 time->SetMarkerStyle(20);
1479 time->SetMarkerSize(0.4);
1480 time->GetYaxis()->SetLabelSize(0.04);
1481 time->SetXTitle(
"time50 weighted by A HE \b");
1482 time->SetMarkerColor(2);
1483 time->SetLineColor(2);
1486 time0->SetMarkerStyle(20);
1487 time0->SetMarkerSize(0.4);
1488 time0->GetYaxis()->SetLabelSize(0.04);
1489 time0->SetXTitle(
"time50 HE \b");
1490 time0->SetMarkerColor(2);
1491 time0->SetLineColor(2);
1494 timer->SetMarkerStyle(20);
1495 timer->SetMarkerSize(0.4);
1496 timer->GetYaxis()->SetLabelSize(0.04);
1497 timer->SetXTitle(
"shape HE \b");
1498 timer->SetMarkerColor(2);
1499 timer->SetLineColor(0);
1500 timer->SetMinimum(0.);
1501 timer->SetMaximum(50000.);
1505 timet->SetMarkerStyle(20);
1506 timet->SetMarkerSize(0.4);
1507 timet->GetYaxis()->SetLabelSize(0.04);
1508 timet->SetXTitle(
"initial tdc HE \b");
1509 timet->SetMarkerColor(2);
1510 timet->SetLineColor(2);
1521 TH1F *ampldefault = (TH1F *)hfile1->Get(
"h_tdc_HE_ampldefault");
1522 TH1F *ampldefault50 = (TH1F *)hfile1->Get(
"h_tdc_HE_ampldefault50");
1523 TH1F *ampldefault63 = (TH1F *)hfile1->Get(
"h_tdc_HE_ampldefault63");
1527 ampldefault->SetMarkerStyle(20);
1528 ampldefault->SetMarkerSize(0.4);
1529 ampldefault->GetYaxis()->SetLabelSize(0.04);
1530 ampldefault->SetXTitle(
"A_TS HE \b");
1531 ampldefault->SetMarkerColor(2);
1532 ampldefault->SetLineColor(2);
1534 ampldefault->Draw(
"");
1539 ampldefault50->SetMarkerStyle(20);
1540 ampldefault50->SetMarkerSize(0.4);
1541 ampldefault50->GetYaxis()->SetLabelSize(0.04);
1542 ampldefault50->SetXTitle(
"A_TS_50 HE \b");
1543 ampldefault50->SetMarkerColor(2);
1544 ampldefault50->SetLineColor(2);
1546 ampldefault50->Draw(
"");
1551 ampldefault63->SetMarkerStyle(20);
1552 ampldefault63->SetMarkerSize(0.4);
1553 ampldefault63->GetYaxis()->SetLabelSize(0.04);
1554 ampldefault63->SetXTitle(
"A_TS_63 HE \b");
1555 ampldefault63->SetMarkerColor(2);
1556 ampldefault63->SetLineColor(2);
1558 ampldefault63->Draw(
"");
1568 TH1F *timeVSampldefault = (TH1F *)hfile1->Get(
"h_tdc_HE_timeVSampldefault");
1572 timeVSampldefault->SetMarkerStyle(20);
1573 timeVSampldefault->SetMarkerSize(0.4);
1574 timeVSampldefault->GetYaxis()->SetLabelSize(0.04);
1575 timeVSampldefault->SetXTitle(
"timeVStampldefault HE \b");
1576 timeVSampldefault->SetMarkerColor(2);
1577 timeVSampldefault->SetLineColor(2);
1578 timeVSampldefault->Draw(
"box");
1587 TH1F *shape = (TH1F *)hfile1->Get(
"h_shape_good_channels_HE");
1588 TH1F *shape0 = (TH1F *)hfile1->Get(
"h_shape0_good_channels_HE");
1589 TH1F *shaper = (TH1F *)shape->Clone(
"shaper");
1592 shaper->Divide(shape, shape0, 1, 1,
"B");
1597 shape->SetMarkerStyle(20);
1598 shape->SetMarkerSize(0.4);
1599 shape->GetYaxis()->SetLabelSize(0.04);
1600 shape->SetXTitle(
"TS weighted by A good HE \b");
1601 shape->SetMarkerColor(2);
1602 shape->SetLineColor(2);
1605 shape0->SetMarkerStyle(20);
1606 shape0->SetMarkerSize(0.4);
1607 shape0->GetYaxis()->SetLabelSize(0.04);
1608 shape0->SetXTitle(
"TS good HE \b");
1609 shape0->SetMarkerColor(2);
1610 shape0->SetLineColor(2);
1613 shaper->SetMarkerStyle(20);
1614 shaper->SetMarkerSize(0.4);
1615 shaper->GetYaxis()->SetLabelSize(0.04);
1616 shaper->SetXTitle(
"shape good HE per event, per channel\b");
1617 shaper->SetMarkerColor(2);
1618 shaper->SetLineColor(2);
1621 TH1F *badsh = (TH1F *)hfile1->Get(
"h_shape_bad_channels_HE");
1622 TH1F *badsh0 = (TH1F *)hfile1->Get(
"h_shape0_bad_channels_HE");
1623 TH1F *badshr = (TH1F *)badsh->Clone(
"badshr");
1626 badshr->Divide(badsh, badsh0, 1, 1,
"B");
1631 badsh->SetMarkerStyle(20);
1632 badsh->SetMarkerSize(0.4);
1633 badsh->GetYaxis()->SetLabelSize(0.04);
1634 badsh->SetXTitle(
"TS weighted by A bad HE \b");
1635 badsh->SetMarkerColor(2);
1636 badsh->SetLineColor(2);
1639 badsh0->SetMarkerStyle(20);
1640 badsh0->SetMarkerSize(0.4);
1641 badsh0->GetYaxis()->SetLabelSize(0.04);
1642 badsh0->SetXTitle(
"TS bad HE \b");
1643 badsh0->SetMarkerColor(2);
1644 badsh0->SetLineColor(2);
1647 badshr->SetMarkerStyle(20);
1648 badshr->SetMarkerSize(0.4);
1649 badshr->GetYaxis()->SetLabelSize(0.04);
1650 badshr->SetXTitle(
"shape bad HE per event, per channel\b");
1651 badshr->SetMarkerColor(2);
1652 badshr->SetLineColor(2);
1663 TH1F *timeHFt = (TH1F *)hfile1->Get(
"h_tdc_HF_tdc");
1664 TH1F *timeHF = (TH1F *)hfile1->Get(
"h_tdc_HF_time");
1665 TH1F *timeHF0 = (TH1F *)hfile1->Get(
"h_tdc_HF_time0");
1666 TH1F *timeHFr = (TH1F *)timeHF->Clone(
"timeHFr");
1669 timeHFr->Divide(timeHF, timeHF0, 1, 1,
"B");
1674 timeHF->SetMarkerStyle(20);
1675 timeHF->SetMarkerSize(0.4);
1676 timeHF->GetYaxis()->SetLabelSize(0.04);
1677 timeHF->SetXTitle(
"time50 weighted by A HF \b");
1678 timeHF->SetMarkerColor(2);
1679 timeHF->SetLineColor(0);
1682 timeHF0->SetMarkerStyle(20);
1683 timeHF0->SetMarkerSize(0.4);
1684 timeHF0->GetYaxis()->SetLabelSize(0.04);
1685 timeHF0->SetXTitle(
"time50 HF \b");
1686 timeHF0->SetMarkerColor(2);
1687 timeHF0->SetLineColor(0);
1690 timeHFr->SetMarkerStyle(20);
1691 timeHFr->SetMarkerSize(0.4);
1692 timeHFr->GetYaxis()->SetLabelSize(0.04);
1693 timeHFr->SetXTitle(
"shape HF \b");
1694 timeHFr->SetMarkerColor(2);
1695 timeHFr->SetLineColor(0);
1696 timeHFr->SetMinimum(0.);
1697 timeHFr->SetMaximum(1000.);
1701 timeHFt->SetMarkerStyle(20);
1702 timeHFt->SetMarkerSize(0.4);
1703 timeHFt->GetYaxis()->SetLabelSize(0.04);
1704 timeHFt->SetXTitle(
"initial tdc HF \b");
1705 timeHFt->SetMarkerColor(2);
1706 timeHFt->SetLineColor(2);
1717 TH1F *ampldefaultHF = (TH1F *)hfile1->Get(
"h_tdc_HF_ampldefault");
1718 TH1F *ampldefaultHF50 = (TH1F *)hfile1->Get(
"h_tdc_HF_ampldefault50");
1719 TH1F *ampldefaultHF63 = (TH1F *)hfile1->Get(
"h_tdc_HF_ampldefault63");
1723 ampldefaultHF->SetMarkerStyle(20);
1724 ampldefaultHF->SetMarkerSize(0.4);
1725 ampldefaultHF->GetYaxis()->SetLabelSize(0.04);
1726 ampldefaultHF->SetXTitle(
"A_TS HF \b");
1727 ampldefaultHF->SetMarkerColor(2);
1728 ampldefaultHF->SetLineColor(2);
1730 ampldefaultHF->Draw(
"");
1735 ampldefaultHF50->SetMarkerStyle(20);
1736 ampldefaultHF50->SetMarkerSize(0.4);
1737 ampldefaultHF50->GetYaxis()->SetLabelSize(0.04);
1738 ampldefaultHF50->SetXTitle(
"A_TS_50 HF \b");
1739 ampldefaultHF50->SetMarkerColor(2);
1740 ampldefaultHF50->SetLineColor(2);
1742 ampldefaultHF50->Draw(
"");
1747 ampldefaultHF63->SetMarkerStyle(20);
1748 ampldefaultHF63->SetMarkerSize(0.4);
1749 ampldefaultHF63->GetYaxis()->SetLabelSize(0.04);
1750 ampldefaultHF63->SetXTitle(
"A_TS_63 HF \b");
1751 ampldefaultHF63->SetMarkerColor(2);
1752 ampldefaultHF63->SetLineColor(2);
1754 ampldefaultHF63->Draw(
"");
1764 TH1F *timeHFVSampldefault = (TH1F *)hfile1->Get(
"h_tdc_HF_timeVSampldefault");
1768 timeHFVSampldefault->SetMarkerStyle(20);
1769 timeHFVSampldefault->SetMarkerSize(0.4);
1770 timeHFVSampldefault->GetYaxis()->SetLabelSize(0.04);
1771 timeHFVSampldefault->SetXTitle(
"timeVStampldefault HF \b");
1772 timeHFVSampldefault->SetMarkerColor(2);
1773 timeHFVSampldefault->SetLineColor(2);
1774 timeHFVSampldefault->Draw(
"box");
1783 TH1F *shapeHF = (TH1F *)hfile1->Get(
"h_shape_good_channels_HF");
1784 TH1F *shapeHF0 = (TH1F *)hfile1->Get(
"h_shape0_good_channels_HF");
1785 TH1F *shapeHFr = (TH1F *)shapeHF->Clone(
"shapeHFr");
1788 shapeHFr->Divide(shapeHF, shapeHF0, 1, 1,
"B");
1793 shapeHF->SetMarkerStyle(20);
1794 shapeHF->SetMarkerSize(0.4);
1795 shapeHF->GetYaxis()->SetLabelSize(0.04);
1796 shapeHF->SetXTitle(
"TS weighted by A good HF \b");
1797 shapeHF->SetMarkerColor(2);
1798 shapeHF->SetLineColor(2);
1801 shapeHF0->SetMarkerStyle(20);
1802 shapeHF0->SetMarkerSize(0.4);
1803 shapeHF0->GetYaxis()->SetLabelSize(0.04);
1804 shapeHF0->SetXTitle(
"TS good HF \b");
1805 shapeHF0->SetMarkerColor(2);
1806 shapeHF0->SetLineColor(2);
1809 shapeHFr->SetMarkerStyle(20);
1810 shapeHFr->SetMarkerSize(0.4);
1811 shapeHFr->GetYaxis()->SetLabelSize(0.04);
1812 shapeHFr->SetXTitle(
"shape good HF per event, per channel\b");
1813 shapeHFr->SetMarkerColor(2);
1814 shapeHFr->SetLineColor(2);
1817 TH1F *badshHF = (TH1F *)hfile1->Get(
"h_shape_bad_channels_HF");
1818 TH1F *badshHF0 = (TH1F *)hfile1->Get(
"h_shape0_bad_channels_HF");
1819 TH1F *badshHFr = (TH1F *)badshHF->Clone(
"badshHFr");
1822 badshHFr->Divide(badshHF, badshHF0, 1, 1,
"B");
1827 badshHF->SetMarkerStyle(20);
1828 badshHF->SetMarkerSize(0.4);
1829 badshHF->GetYaxis()->SetLabelSize(0.04);
1830 badshHF->SetXTitle(
"TS weighted by A bad HF \b");
1831 badshHF->SetMarkerColor(2);
1832 badshHF->SetLineColor(2);
1835 badshHF0->SetMarkerStyle(20);
1836 badshHF0->SetMarkerSize(0.4);
1837 badshHF0->GetYaxis()->SetLabelSize(0.04);
1838 badshHF0->SetXTitle(
"TS bad HF \b");
1839 badshHF0->SetMarkerColor(2);
1840 badshHF0->SetLineColor(2);
1843 badshHFr->SetMarkerStyle(20);
1844 badshHFr->SetMarkerSize(0.4);
1845 badshHFr->GetYaxis()->SetLabelSize(0.04);
1846 badshHFr->SetXTitle(
"shape bad HF per event, per channel\b");
1847 badshHFr->SetMarkerColor(2);
1848 badshHFr->SetLineColor(2);
const boost::posix_time::ptime time0