25 #if !defined(__CINT__) || defined(__MAKECINT__)
30 #include <Riostream.h>
32 #include <TGraphErrors.h>
34 #include <TFileMerger.h>
35 #include <TMultiGraph.h>
40 #include <TGridCollection.h>
42 #include <TGridResult.h>
43 #include <TClonesArray.h>
44 #include <TObjString.h>
48 #include "AliEMCALGeometry.h"
52 void QAplots(TString fCalorimeter =
"EMCAL", TString period =
"LHC11h", TString pass =
"pass1_HLT", TString trigger=
"default")
56 if (trigger==
"default") file =
"/scratch/alicehp2/germain/QA/"+period+
"/"+ pass +
"/runlistMB.txt" ;
57 else file =
"/scratch/alicehp2/germain/QA/"+period+
"/"+ pass +
"/runlistEMC.txt" ;
59 pFile = fopen(file.Data(),
"r");
61 cout <<
" fcalo: " << fCalorimeter <<
"; period: " << period <<
"; pass: " << pass <<
" trigger "<<trigger<< endl;
73 ncols = fscanf(pFile,
"%d %d ",&p,&q);
82 const Int_t nRun = nlines ;
84 for(Int_t i = 0 ; i < nRun ; i++) {
85 base =
"/scratch/alicehp2/germain/QA/";
92 infile = base +
".root" ;
93 TFile *f = TFile::Open(infile);
95 DrawRun(RunId[i],period,pass,trigger,f);
100 void QAplots(Int_t run, TString period =
"LHC11h", TString pass=
"pass1_HLT", TString trigger=
"default")
103 base =
"/scratch/alicehp2/germain/QA/";
110 infile = base +
".root" ;
111 TFile *f = TFile::Open(infile);
113 DrawRun(run,period,pass,trigger,f);
117 void DrawOccupancy(Int_t run , TString period =
"LHC11h", TString pass=
"pass1_HLT",
118 TString trigger=
"default", TFile *f =0x0)
120 TH2D *hEnergyMap =
new TH2D(
"hEnergyMap",
"",96,-48,48,120,-0,120);
121 TH2D *hOccupancyMap =
new TH2D(
"hOccupancyMap",
"",96,-48,48,120,-0,120);
122 TH2D *hEnergyMapReal =
new TH2D(
"hEnergyMapReal",
"",96,-48,48,120,-0,120);
123 TH2D *hOccupancyMapReal =
new TH2D(
"hOccupancyMapReal",
"",96,-48,48,120,-0,120);
124 hEnergyMapReal->SetXTitle(
"eta (bin)");
125 hEnergyMapReal->SetYTitle(
"phi (bin)");
126 hEnergyMapReal->SetZTitle(
"E(GeV)/event");
127 hEnergyMapReal->GetZaxis()->SetLabelSize(0.02);
128 hOccupancyMapReal->SetXTitle(
"eta (bin)");
129 hOccupancyMapReal->SetZTitle(
"entries/evt");
130 hOccupancyMapReal->GetZaxis()->SetLabelSize(0.02);
131 hOccupancyMapReal->SetXTitle(
"eta (bin)");
132 hEnergyMap->SetXTitle(
"eta (bin)");
133 hEnergyMap->SetYTitle(
"phi (bin)");
134 hOccupancyMap->SetXTitle(
"eta (bin)");
135 hOccupancyMap->SetYTitle(
"phi (bin)");
137 gStyle->SetPalette(1);
138 gStyle->SetOptStat(0);
140 AliEMCALGeometry *geom =
new AliEMCALGeometry(
"EMCAL_COMPLETEv1",
"EMCAL");
141 Int_t nSupMod, nModule, nIphi, nIeta, nModulo, iRCU;
142 Int_t iphi, ieta,jj,kk;
144 Int_t bineta, binphi;
145 Int_t realbineta, realbinphi;
147 Double_t eta, phi, glob[3];
161 Int_t mask[1] = {2222222};
163 TH2F *hCellAmplitude;
167 TString base =
"/scratch/alicehp2/germain/QA/";
178 TString direct =
"CaloQA_";
180 TDirectoryFile *dir = (TDirectoryFile *)f->Get(direct);
181 TList *outputList = (TList*)dir->Get(direct);
183 hNEvents =(TH1F *)outputList->FindObject(
"hNEvents");
184 Events = hNEvents->GetEntries();
185 hCellAmplitude =(TH2F *)outputList->FindObject(
"EMCAL_hAmpId");
191 if ( trigger==
"EMC7") Eth=20.;
194 for(Int_t i = 0; i < 11520 ; i++)
202 for (Int_t j = 1; j <= hCellAmplitude->GetNbinsX(); j++)
204 Double_t E = hCellAmplitude->GetXaxis()->GetBinCenter(j);
205 Double_t N = hCellAmplitude->GetBinContent(j, i+1);
207 if (E < 0.07)
continue;
220 if(NsumH > 100) Ratio = Nsum/NsumH ;
224 if(n!=0) {
if(mask[n]<=mask[n-1]) cout<<
"not sorted list !!"<<endl;}
225 if(i==mask[n]){n++ ;
continue; }
231 geom->GetCellIndex(absId, nSupMod, nModule, nIphi, nIeta);
232 geom->GetCellPhiEtaIndexInSModule(nSupMod,nModule,nIphi,nIeta, iphi,ieta);
234 realbinphi = 120-(nSupMod/2)*24 -iphi -1;
237 if (nSupMod%2==0) realbineta= 48-ieta -1;
238 if (nSupMod%2==1) realbineta= -ieta -1;
242 binphi = 96 - (nSupMod/2)*24 +iphi;
243 if (nSupMod%2==1) bineta=ieta;
248 if (nSupMod%2==0) bineta=ieta-48;
250 hEnergyMapReal->Fill(realbineta,realbinphi,Esum/(Double_t)Events);
251 hOccupancyMapReal->Fill(realbineta,realbinphi,Nsum/(Double_t)Events);
255 cout<<
"N events : "<<Events<<endl;
257 TString Energy ; Energy = base +
"MapEnergy.pdf";
258 TString Entries ; Entries = base +
"MapEntries.pdf";
259 TCanvas *c1 =
new TCanvas(
"c1",
"energymap",800,800);
263 c1->SetRightMargin(0.14);
264 TString
title =
"run ";
266 title +=
" Summed energy map";
267 if(trigger==
"EMC7") title +=
" EMC ";
268 hEnergyMapReal->SetTitle(title);
269 if(trigger==
"EMC7"){
270 hEnergyMapReal->SetMinimum(0.001);
271 hEnergyMapReal->SetMaximum(0.05);
273 hEnergyMapReal->SetMinimum(0.005);
274 hEnergyMapReal->SetMaximum(0.02);
276 hEnergyMapReal->Draw(
"colz");
281 TCanvas *c2 =
new TCanvas(
"c2",
"occupancy",800,800);
286 c2->SetRightMargin(0.14);
287 TString title2 =
"run ";
289 title2 +=
" Occupancy map";
290 if(trigger==
"EMC7") title2 +=
" EMC ";
292 hOccupancyMapReal->SetTitle(title2);
294 if(trigger==
"EMC7"){
295 hOccupancyMapReal->SetMinimum(0.01);
296 hOccupancyMapReal->SetMaximum(0.5);}
298 hOccupancyMapReal->SetMinimum(0.01);
299 hOccupancyMapReal->SetMaximum(0.1);
301 hOccupancyMapReal->Draw(
"colz");
304 c2->SaveAs(Entries2);
307 void DrawRun(
const Int_t run = 167713, TString period =
"LHC11h",
308 TString pass=
"pass1_HLT", TString trigger=
"default", TFile *f =0x0)
310 gStyle->SetPalette(1);
311 TString base =
"/scratch/alicehp2/germain/QA/";
316 TString outfilename ;
317 TString outfilename2 ;
323 TString direct =
"CaloQA_";
327 TDirectoryFile *dir = (TDirectoryFile *)f->Get(direct);
328 TList *outputList = (TList*)dir->Get(direct);
331 if (trigger ==
"EMC7"){ sprintf(legend,
"Run %i EMC ",run);}
332 else sprintf(legend,
"Run %i ",run);
336 hClusterTimeEnergy =(TH2F *)outputList->FindObject(
"EMCAL_hClusterTimeEnergy");
338 TString title3 =
" Time Vs Energy";
340 hClusterTimeEnergy->SetStats(kFALSE);
341 hClusterTimeEnergy->SetTitle(title3);
343 hClusterVsTrack =(TH2F *)outputList->FindObject(
"EMCAL_hCaloTrackMNClusters");
344 hClusterVsTrack->SetStats(kFALSE);
345 TString title3 =
" N cluster Vs N track";
347 hClusterVsTrack->SetTitle(title3);
350 hClusterEVsTrack =(TH2F *)outputList->FindObject(
"EMCAL_hCaloTrackMEClusters");
351 hClusterEVsTrack->SetStats(kFALSE);
352 hClusterEVsTrack->SetTitle(legend);
353 TString title3 =
" Sum E cluster Vs N track";
355 hClusterEVsTrack->SetTitle(title3);
358 hClusterEVsV0S =(TH2F *)outputList->FindObject(
"EMCAL_hCaloV0SEClusters");
359 hClusterEVsV0S->SetStats(kFALSE);
360 TString title3 =
" Sum E cluster Vs V0 signal";
362 hClusterEVsV0S->SetTitle(title3);
365 hNCellsPerClusterMod0 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod0");
366 hNCellsPerClusterMod0->SetStats(kFALSE);
368 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 0",run);}
369 else {sprintf(legend2,
"Run %i Mod 0",run);}
372 hNCellsPerClusterMod0->SetTitle(legend2);
374 hNCellsPerClusterMod1 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod1");
375 hNCellsPerClusterMod1->SetStats(kFALSE);
376 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 1",run);}
377 else {sprintf(legend2,
"Run %i Mod 1",run);}
380 hNCellsPerClusterMod1->SetTitle(legend2);
382 hNCellsPerClusterMod2 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod2");
383 hNCellsPerClusterMod2->SetStats(kFALSE);
384 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 2",run);}
385 else {sprintf(legend2,
"Run %i Mod 2",run);}
387 hNCellsPerClusterMod2->SetTitle(legend2);
389 hNCellsPerClusterMod3 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod3");
390 hNCellsPerClusterMod3->SetStats(kFALSE);
391 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 3",run);}
392 else {sprintf(legend2,
"Run %i Mod 3",run);}
394 hNCellsPerClusterMod3->SetTitle(legend2);
397 hNCellsPerClusterMod4 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod4");
398 hNCellsPerClusterMod4->SetStats(kFALSE);
399 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 4",run);}
400 else {sprintf(legend2,
"Run %i Mod 4",run);}
402 hNCellsPerClusterMod4->SetTitle(legend2);
404 hNCellsPerClusterMod5 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod5");
405 hNCellsPerClusterMod5->SetStats(kFALSE);
406 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 5",run);}
407 else {sprintf(legend2,
"Run %i Mod 5",run);}
408 hNCellsPerClusterMod5->SetTitle(legend2);
410 hNCellsPerClusterMod6 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod6");
411 hNCellsPerClusterMod6->SetStats(kFALSE);
412 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 6",run);}
413 else {sprintf(legend2,
"Run %i Mod 6",run);}
414 hNCellsPerClusterMod6->SetTitle(legend2);
416 hNCellsPerClusterMod7 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod7");
417 hNCellsPerClusterMod7->SetStats(kFALSE);
418 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 7",run);}
419 else {sprintf(legend2,
"Run %i Mod 7",run);}
420 hNCellsPerClusterMod7->SetTitle(legend2);
422 hNCellsPerClusterMod8 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod8");
423 hNCellsPerClusterMod8->SetStats(kFALSE);
424 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 8",run);}
425 else {sprintf(legend2,
"Run %i Mod 8",run);}
426 hNCellsPerClusterMod8->SetTitle(legend2);
428 hNCellsPerClusterMod9 =(TH2F *)outputList->FindObject(
"EMCAL_hNCellsPerCluster_Mod9");
429 hNCellsPerClusterMod9->SetStats(kFALSE);
430 if(trigger==
"EMC7"){sprintf(legend2,
"Run %i EMC Mod 9",run);}
431 else {sprintf(legend2,
"Run %i Mod 9",run);}
432 hNCellsPerClusterMod9->SetTitle(legend2);
434 TCanvas * c31 =
new TCanvas(
"Time Vs E ",
"Time Vs E", 600, 600);
436 c31->SetFillColor(0);
437 c31->SetBorderSize(0);
438 c31->SetFrameBorderMode(0);
440 hClusterTimeEnergy->SetYTitle(
"EMCAL ToF(ns)");
441 hClusterTimeEnergy->GetYaxis()->SetTitleOffset(1.2);
442 hClusterTimeEnergy->GetYaxis()->SetLabelSize(0.03);
444 hClusterTimeEnergy->GetZaxis()->SetLabelSize(0.02);
445 hClusterTimeEnergy->GetZaxis()->SetTitleSize(0.03);
446 hClusterTimeEnergy->GetZaxis()->SetTitleOffset(0.03);
447 hClusterTimeEnergy->SetAxisRange(0.,50.);
448 hClusterTimeEnergy->Draw(
"colz");
451 outfilename = base +
"TimeRun.pdf" ;
452 outfilename2 = base +
"TimeRun.gif" ;
454 c31->SaveAs(outfilename);
455 c31->SaveAs(outfilename2);
458 TCanvas * c32 =
new TCanvas(
" Cluster Vs Track ",
"Cluster vs Track", 600, 600);
460 c32->SetFillColor(0);
461 c32->SetBorderSize(0);
462 c32->SetFrameBorderMode(0);
466 hClusterVsTrack->GetYaxis()->SetTitleOffset(1.2);
467 hClusterVsTrack->GetYaxis()->SetLabelSize(0.03);
469 hClusterVsTrack->GetZaxis()->SetLabelSize(0.02);
470 hClusterVsTrack->GetZaxis()->SetTitleSize(0.03);
471 hClusterVsTrack->GetZaxis()->SetTitleOffset(0.03);
472 hClusterVsTrack->SetAxisRange(0.,1200.);
473 hClusterVsTrack->Draw(
"colz");
476 outfilename = base +
"CaloTrackMult.pdf";
478 outfilename2 = base +
"CaloTrackMult.gif";
480 c32->SaveAs(outfilename);
482 c32->SaveAs(outfilename2);
485 TCanvas * c33 =
new TCanvas(
" Cluster E Vs Track ",
"Cluster E vs Track", 600, 600);
487 c33->SetFillColor(0);
488 c33->SetBorderSize(0);
489 c33->SetFrameBorderMode(0);
492 hClusterEVsTrack->GetYaxis()->SetTitleOffset(1.2);
493 hClusterEVsTrack->GetYaxis()->SetLabelSize(0.03);
495 hClusterEVsTrack->GetZaxis()->SetLabelSize(0.02);
496 hClusterEVsTrack->GetZaxis()->SetTitleSize(0.03);
497 hClusterEVsTrack->GetZaxis()->SetTitleOffset(0.03);
498 hClusterEVsTrack->SetAxisRange(0.,1200.);
499 hClusterEVsTrack->Draw(
"colz");
502 outfilename = base +
"CaloETrackMult.pdf";
503 outfilename2 = base +
"CaloETrackMult.gif";
505 c33->SaveAs(outfilename);
507 c33->SaveAs(outfilename2);
509 TCanvas * c34 =
new TCanvas(
" Cluster E Vs V0 ",
"Cluster E vs V0", 600, 600);
511 c34->SetFillColor(0);
512 c34->SetBorderSize(0);
513 c34->SetFrameBorderMode(0);
517 hClusterEVsV0S->GetYaxis()->SetTitleOffset(1.2);
518 hClusterEVsV0S->GetYaxis()->SetLabelSize(0.03);
520 hClusterEVsV0S->GetZaxis()->SetLabelSize(0.02);
521 hClusterEVsV0S->GetZaxis()->SetTitleSize(0.03);
522 hClusterEVsV0S->GetZaxis()->SetTitleOffset(0.03);
523 hClusterEVsV0S->GetYaxis()->SetRangeUser(0.,50.);
524 hClusterEVsV0S->Draw(
"colz");
528 outfilename = base +
"CaloEVsV0s.pdf";
529 outfilename2 = base +
"CaloEVsV0s.gif";
531 c34->SaveAs(outfilename);
532 c34->SaveAs(outfilename2);
538 TCanvas * c35 =
new TCanvas(
" Cells per Cluster 0 ",
"Cells per Cluster 0", 1000, 1200);
540 c35->SetFillColor(0);
541 c35->SetBorderSize(0);
542 c35->SetFrameBorderMode(0);
548 hNCellsPerClusterMod0->GetYaxis()->SetTitleOffset(1.2);
549 hNCellsPerClusterMod0->GetYaxis()->SetLabelSize(0.03);
551 hNCellsPerClusterMod0->GetZaxis()->SetLabelSize(0.05);
552 hNCellsPerClusterMod0->GetZaxis()->SetTitleSize(0.4);
553 hNCellsPerClusterMod0->GetZaxis()->SetTitleOffset(0.03);
554 hNCellsPerClusterMod0->GetYaxis()->SetRangeUser(0.,30.);
555 hNCellsPerClusterMod0->GetXaxis()->SetRangeUser(0.,20.);
556 hNCellsPerClusterMod0->Draw(
"colz");
560 hNCellsPerClusterMod1->GetYaxis()->SetTitleOffset(1.2);
561 hNCellsPerClusterMod1->GetYaxis()->SetLabelSize(0.03);
563 hNCellsPerClusterMod1->GetZaxis()->SetLabelSize(0.05);
564 hNCellsPerClusterMod1->GetZaxis()->SetTitleSize(0.2);
565 hNCellsPerClusterMod1->GetZaxis()->SetTitleOffset(0.03);
566 hNCellsPerClusterMod1->GetYaxis()->SetRangeUser(0.,30.);
567 hNCellsPerClusterMod1->GetXaxis()->SetRangeUser(0.,20.);
568 hNCellsPerClusterMod1->Draw(
"colz");
573 hNCellsPerClusterMod2->GetYaxis()->SetTitleOffset(1.2);
574 hNCellsPerClusterMod2->GetYaxis()->SetLabelSize(0.03);
576 hNCellsPerClusterMod2->GetZaxis()->SetLabelSize(0.05);
577 hNCellsPerClusterMod2->GetZaxis()->SetTitleSize(0.04);
578 hNCellsPerClusterMod2->GetZaxis()->SetTitleOffset(0.03);
579 hNCellsPerClusterMod2->GetYaxis()->SetRangeUser(0.,30.);
580 hNCellsPerClusterMod2->GetXaxis()->SetRangeUser(0.,20.);
581 hNCellsPerClusterMod2->Draw(
"colz");
585 hNCellsPerClusterMod3->GetYaxis()->SetTitleOffset(1.2);
586 hNCellsPerClusterMod3->GetYaxis()->SetLabelSize(0.03);
587 hNCellsPerClusterMod3->GetZaxis()->SetLabelSize(0.05);
588 hNCellsPerClusterMod3->GetZaxis()->SetTitleSize(0.04);
589 hNCellsPerClusterMod3->GetZaxis()->SetTitleOffset(0.03);
590 hNCellsPerClusterMod3->GetYaxis()->SetRangeUser(0.,30.);
591 hNCellsPerClusterMod3->GetXaxis()->SetRangeUser(0.,20.);
592 hNCellsPerClusterMod3->Draw(
"colz");
597 hNCellsPerClusterMod4->GetYaxis()->SetTitleOffset(1.2);
598 hNCellsPerClusterMod4->GetYaxis()->SetLabelSize(0.03);
599 hNCellsPerClusterMod4->GetZaxis()->SetLabelSize(0.05);
600 hNCellsPerClusterMod4->GetZaxis()->SetTitleSize(0.04);
601 hNCellsPerClusterMod4->GetZaxis()->SetTitleOffset(0.03);
602 hNCellsPerClusterMod4->GetYaxis()->SetRangeUser(0.,30.);
603 hNCellsPerClusterMod4->GetXaxis()->SetRangeUser(0.,20.);
604 hNCellsPerClusterMod4->Draw(
"colz");
611 hNCellsPerClusterMod5->GetYaxis()->SetTitleOffset(1.2);
612 hNCellsPerClusterMod5->GetYaxis()->SetLabelSize(0.03);
613 hNCellsPerClusterMod5->GetZaxis()->SetLabelSize(0.05);
614 hNCellsPerClusterMod5->GetZaxis()->SetTitleSize(0.04);
615 hNCellsPerClusterMod5->GetZaxis()->SetTitleOffset(0.03);
616 hNCellsPerClusterMod5->GetYaxis()->SetRangeUser(0.,30.);
617 hNCellsPerClusterMod5->GetXaxis()->SetRangeUser(0.,20.);
618 hNCellsPerClusterMod5->Draw(
"colz");
624 hNCellsPerClusterMod6->GetYaxis()->SetTitleOffset(1.2);
625 hNCellsPerClusterMod6->GetYaxis()->SetLabelSize(0.03);
626 hNCellsPerClusterMod6->GetZaxis()->SetLabelSize(0.05);
627 hNCellsPerClusterMod6->GetZaxis()->SetTitleSize(0.04);
628 hNCellsPerClusterMod6->GetZaxis()->SetTitleOffset(0.03);
629 hNCellsPerClusterMod6->GetYaxis()->SetRangeUser(0.,30.);
630 hNCellsPerClusterMod6->GetXaxis()->SetRangeUser(0.,20.);
631 hNCellsPerClusterMod6->Draw(
"colz");
636 hNCellsPerClusterMod7->GetYaxis()->SetTitleOffset(1.2);
637 hNCellsPerClusterMod7->GetYaxis()->SetLabelSize(0.03);
638 hNCellsPerClusterMod7->GetZaxis()->SetLabelSize(0.05);
639 hNCellsPerClusterMod7->GetZaxis()->SetTitleSize(0.04);
640 hNCellsPerClusterMod7->GetZaxis()->SetTitleOffset(0.03);
641 hNCellsPerClusterMod7->GetYaxis()->SetRangeUser(0.,30.);
642 hNCellsPerClusterMod7->GetXaxis()->SetRangeUser(0.,20.);
643 hNCellsPerClusterMod7->Draw(
"colz");
649 hNCellsPerClusterMod8->GetYaxis()->SetTitleOffset(1.2);
650 hNCellsPerClusterMod8->GetYaxis()->SetLabelSize(0.03);
651 hNCellsPerClusterMod8->GetZaxis()->SetLabelSize(0.05);
652 hNCellsPerClusterMod8->GetZaxis()->SetTitleSize(0.04);
653 hNCellsPerClusterMod8->GetZaxis()->SetTitleOffset(0.03);
654 hNCellsPerClusterMod8->GetYaxis()->SetRangeUser(0.,30.);
655 hNCellsPerClusterMod8->GetXaxis()->SetRangeUser(0.,20.);
656 hNCellsPerClusterMod8->Draw(
"colz");
661 hNCellsPerClusterMod9->GetYaxis()->SetTitleOffset(1.2);
662 hNCellsPerClusterMod9->GetYaxis()->SetLabelSize(0.03);
663 hNCellsPerClusterMod9->GetZaxis()->SetLabelSize(0.05);
664 hNCellsPerClusterMod9->GetZaxis()->SetTitleSize(0.04);
665 hNCellsPerClusterMod9->GetZaxis()->SetTitleOffset(0.03);
666 hNCellsPerClusterMod9->GetYaxis()->SetRangeUser(0.,30.);
667 hNCellsPerClusterMod9->GetXaxis()->SetRangeUser(0.,20.);
668 hNCellsPerClusterMod9->Draw(
"colz");
670 outfilename = base +
"CellsperCluster.pdf";
671 outfilename2 = base +
"CellsperCluster.gif";
674 c35->SaveAs(outfilename);
675 c35->SaveAs(outfilename2);
void QAplots(TString fCalorimeter="EMCAL", TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default")
void DrawOccupancy(Int_t run, TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default", TFile *f=0x0)
void DrawRun(const Int_t run=167713, TString period="LHC11h", TString pass="pass1_HLT", TString trigger="default", TFile *f=0x0)