void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:42:51 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,1500,800); gStyle->SetOptStat(0); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); // ------------>Primitives in pad: c_1 TPad *c_1 = new TPad("c_1", "c_1",0.01,0.51,0.3233333,0.99); c_1->Draw(); c_1->cd(); c_1->Range(-7.500001,-18746.23,67.5,168716.1); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L172 = new TH1D("h_SL1L172","Occupancy removing noisy cells",60,0,60); h_SL1L172->SetBinContent(1,80432.86); h_SL1L172->SetBinContent(2,80137.15); h_SL1L172->SetBinContent(3,77904.29); h_SL1L172->SetBinContent(4,78375.72); h_SL1L172->SetBinContent(5,77050); h_SL1L172->SetBinContent(6,79447.15); h_SL1L172->SetBinContent(7,77627.15); h_SL1L172->SetBinContent(8,78817.15); h_SL1L172->SetBinContent(9,75831.43); h_SL1L172->SetBinContent(10,70627.15); h_SL1L172->SetBinContent(11,67710); h_SL1L172->SetBinContent(12,66278.57); h_SL1L172->SetBinContent(13,67250); h_SL1L172->SetBinContent(14,70764.29); h_SL1L172->SetBinContent(15,72122.86); h_SL1L172->SetBinContent(16,66968.57); h_SL1L172->SetBinContent(17,68321.43); h_SL1L172->SetBinContent(18,71745.72); h_SL1L172->SetBinContent(19,73840); h_SL1L172->SetBinContent(20,73967.15); h_SL1L172->SetBinContent(21,77201.43); h_SL1L172->SetBinContent(22,77884.29); h_SL1L172->SetBinContent(23,77671.43); h_SL1L172->SetBinContent(24,77621.43); h_SL1L172->SetBinContent(25,78895.72); h_SL1L172->SetBinContent(26,72110); h_SL1L172->SetBinContent(27,73460); h_SL1L172->SetBinContent(28,75530); h_SL1L172->SetBinContent(29,76407.15); h_SL1L172->SetBinContent(30,76448.57); h_SL1L172->SetBinContent(31,76601.43); h_SL1L172->SetBinContent(32,79708.57); h_SL1L172->SetBinContent(33,110488.6); h_SL1L172->SetBinContent(34,121315.7); h_SL1L172->SetBinContent(35,125715.7); h_SL1L172->SetBinContent(36,127552.9); h_SL1L172->SetBinContent(37,130408.6); h_SL1L172->SetBinContent(38,122128.6); h_SL1L172->SetBinContent(39,100614.3); h_SL1L172->SetBinContent(40,72261.43); h_SL1L172->SetBinContent(41,69451.43); h_SL1L172->SetBinContent(42,68932.86); h_SL1L172->SetBinContent(43,67358.57); h_SL1L172->SetBinContent(44,66165.72); h_SL1L172->SetBinContent(45,63871.43); h_SL1L172->SetBinContent(46,62791.43); h_SL1L172->SetBinContent(47,62801.43); h_SL1L172->SetBinContent(48,61274.29); h_SL1L172->SetBinContent(49,60407.14); h_SL1L172->SetBinContent(50,60960); h_SL1L172->SetBinContent(51,58791.43); h_SL1L172->SetBinContent(52,57887.14); h_SL1L172->SetBinContent(53,57465.71); h_SL1L172->SetBinContent(54,56707.14); h_SL1L172->SetBinContent(55,57137.14); h_SL1L172->SetBinContent(56,55015.71); h_SL1L172->SetBinContent(57,54277.14); h_SL1L172->SetBinContent(58,53068.57); h_SL1L172->SetBinContent(59,53745.71); h_SL1L172->SetMaximum(149969.9); h_SL1L172->SetEntries(60); h_SL1L172->SetDirectory(0); h_SL1L172->SetStats(0); h_SL1L172->SetLineWidth(2); h_SL1L172->GetXaxis()->SetTitle("Cell"); h_SL1L172->GetXaxis()->SetLabelFont(42); h_SL1L172->GetXaxis()->SetLabelSize(0.035); h_SL1L172->GetXaxis()->SetTitleSize(0.035); h_SL1L172->GetXaxis()->SetTitleFont(42); h_SL1L172->GetYaxis()->SetTitle("Hz per wire"); h_SL1L172->GetYaxis()->SetLabelFont(42); h_SL1L172->GetYaxis()->SetLabelSize(0.035); h_SL1L172->GetYaxis()->SetTitleSize(0.035); h_SL1L172->GetYaxis()->SetTitleOffset(1.45); h_SL1L172->GetYaxis()->SetTitleFont(42); h_SL1L172->GetZaxis()->SetLabelFont(42); h_SL1L172->GetZaxis()->SetLabelSize(0.035); h_SL1L172->GetZaxis()->SetTitleSize(0.035); h_SL1L172->GetZaxis()->SetTitleFont(42); h_SL1L172->Draw("hist, "); TH1D *h_SL1L273 = new TH1D("h_SL1L273","Occupancy removing noisy cells",60,0,60); h_SL1L273->SetBinContent(1,12.85714); h_SL1L273->SetBinContent(2,7.142858); h_SL1L273->SetBinContent(3,8.571428); h_SL1L273->SetBinContent(4,17.14286); h_SL1L273->SetBinContent(8,1.428571); h_SL1L273->SetBinContent(9,11.42857); h_SL1L273->SetBinContent(10,5.714286); h_SL1L273->SetBinContent(11,7.142858); h_SL1L273->SetBinContent(12,11.42857); h_SL1L273->SetBinContent(13,5.714286); h_SL1L273->SetBinContent(15,4.285714); h_SL1L273->SetBinContent(16,12.85714); h_SL1L273->SetBinContent(17,8.571428); h_SL1L273->SetBinContent(18,7.142858); h_SL1L273->SetBinContent(19,5.714286); h_SL1L273->SetBinContent(20,5.714286); h_SL1L273->SetBinContent(21,1.428571); h_SL1L273->SetBinContent(22,2.857143); h_SL1L273->SetBinContent(23,1.428571); h_SL1L273->SetBinContent(24,2.857143); h_SL1L273->SetBinContent(28,1.428571); h_SL1L273->SetBinContent(29,11.42857); h_SL1L273->SetBinContent(30,10); h_SL1L273->SetBinContent(31,10); h_SL1L273->SetBinContent(32,11.42857); h_SL1L273->SetBinContent(36,1.428571); h_SL1L273->SetBinContent(41,4.285714); h_SL1L273->SetBinContent(42,2.857143); h_SL1L273->SetBinContent(43,4.285714); h_SL1L273->SetBinContent(44,2.857143); h_SL1L273->SetBinContent(45,4.285714); h_SL1L273->SetBinContent(48,2.857143); h_SL1L273->SetBinContent(49,357.1429); h_SL1L273->SetBinContent(50,1.428571); h_SL1L273->SetBinContent(51,1.428571); h_SL1L273->SetBinContent(52,1.428571); h_SL1L273->SetBinContent(53,1.428571); h_SL1L273->SetBinContent(54,2.857143); h_SL1L273->SetBinContent(55,1.428571); h_SL1L273->SetBinContent(56,4.285714); h_SL1L273->SetBinContent(57,8.571428); h_SL1L273->SetBinContent(58,5.714286); h_SL1L273->SetBinContent(59,7.142858); h_SL1L273->SetMaximum(149969.9); h_SL1L273->SetEntries(60); h_SL1L273->SetDirectory(0); h_SL1L273->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L273->SetLineColor(ci); h_SL1L273->SetLineWidth(2); h_SL1L273->GetXaxis()->SetTitle("Cell"); h_SL1L273->GetXaxis()->SetLabelFont(42); h_SL1L273->GetXaxis()->SetLabelSize(0.035); h_SL1L273->GetXaxis()->SetTitleSize(0.035); h_SL1L273->GetXaxis()->SetTitleFont(42); h_SL1L273->GetYaxis()->SetTitle("Hz per wire"); h_SL1L273->GetYaxis()->SetLabelFont(42); h_SL1L273->GetYaxis()->SetLabelSize(0.035); h_SL1L273->GetYaxis()->SetTitleSize(0.035); h_SL1L273->GetYaxis()->SetTitleOffset(1.45); h_SL1L273->GetYaxis()->SetTitleFont(42); h_SL1L273->GetZaxis()->SetLabelFont(42); h_SL1L273->GetZaxis()->SetLabelSize(0.035); h_SL1L273->GetZaxis()->SetTitleSize(0.035); h_SL1L273->GetZaxis()->SetTitleFont(42); h_SL1L273->Draw("hist, same"); TH1D *h_SL1L374 = new TH1D("h_SL1L374","Occupancy removing noisy cells",60,0,60); h_SL1L374->SetBinContent(1,10); h_SL1L374->SetBinContent(2,7.142858); h_SL1L374->SetBinContent(3,7.142858); h_SL1L374->SetBinContent(4,8.571428); h_SL1L374->SetBinContent(5,5.714286); h_SL1L374->SetBinContent(6,5.714286); h_SL1L374->SetBinContent(7,10); h_SL1L374->SetBinContent(8,5.714286); h_SL1L374->SetBinContent(9,11.42857); h_SL1L374->SetBinContent(10,8.571428); h_SL1L374->SetBinContent(11,8.571428); h_SL1L374->SetBinContent(12,14.28572); h_SL1L374->SetBinContent(13,7.142858); h_SL1L374->SetBinContent(14,5.714286); h_SL1L374->SetBinContent(15,8.571428); h_SL1L374->SetBinContent(16,7.142858); h_SL1L374->SetBinContent(17,10); h_SL1L374->SetBinContent(18,5.714286); h_SL1L374->SetBinContent(19,4.285714); h_SL1L374->SetBinContent(20,10); h_SL1L374->SetBinContent(21,1.428571); h_SL1L374->SetBinContent(22,2.857143); h_SL1L374->SetBinContent(23,1.428571); h_SL1L374->SetBinContent(24,2.857143); h_SL1L374->SetBinContent(25,1.428571); h_SL1L374->SetBinContent(26,1.428571); h_SL1L374->SetBinContent(28,1.428571); h_SL1L374->SetBinContent(29,15.71429); h_SL1L374->SetBinContent(30,5.714286); h_SL1L374->SetBinContent(31,8.571428); h_SL1L374->SetBinContent(32,17.14286); h_SL1L374->SetBinContent(37,2.857143); h_SL1L374->SetBinContent(38,1.428571); h_SL1L374->SetBinContent(39,2.857143); h_SL1L374->SetBinContent(40,4.285714); h_SL1L374->SetBinContent(45,7.142858); h_SL1L374->SetBinContent(46,4.285714); h_SL1L374->SetBinContent(47,5.714286); h_SL1L374->SetBinContent(48,5.714286); h_SL1L374->SetBinContent(49,7.142858); h_SL1L374->SetBinContent(50,8.571428); h_SL1L374->SetBinContent(51,7.142858); h_SL1L374->SetBinContent(52,5.714286); h_SL1L374->SetBinContent(53,5.714286); h_SL1L374->SetBinContent(56,4.285714); h_SL1L374->SetBinContent(57,1.428571); h_SL1L374->SetBinContent(59,1.428571); h_SL1L374->SetMaximum(149969.9); h_SL1L374->SetEntries(60); h_SL1L374->SetDirectory(0); h_SL1L374->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L374->SetLineColor(ci); h_SL1L374->SetLineWidth(2); h_SL1L374->GetXaxis()->SetTitle("Cell"); h_SL1L374->GetXaxis()->SetLabelFont(42); h_SL1L374->GetXaxis()->SetLabelSize(0.035); h_SL1L374->GetXaxis()->SetTitleSize(0.035); h_SL1L374->GetXaxis()->SetTitleFont(42); h_SL1L374->GetYaxis()->SetTitle("Hz per wire"); h_SL1L374->GetYaxis()->SetLabelFont(42); h_SL1L374->GetYaxis()->SetLabelSize(0.035); h_SL1L374->GetYaxis()->SetTitleSize(0.035); h_SL1L374->GetYaxis()->SetTitleOffset(1.45); h_SL1L374->GetYaxis()->SetTitleFont(42); h_SL1L374->GetZaxis()->SetLabelFont(42); h_SL1L374->GetZaxis()->SetLabelSize(0.035); h_SL1L374->GetZaxis()->SetTitleSize(0.035); h_SL1L374->GetZaxis()->SetTitleFont(42); h_SL1L374->Draw("hist, same"); TH1D *h_SL1L475 = new TH1D("h_SL1L475","Occupancy removing noisy cells",60,0,60); h_SL1L475->SetBinContent(2,72834.29); h_SL1L475->SetBinContent(3,69875.72); h_SL1L475->SetBinContent(4,70685.72); h_SL1L475->SetBinContent(5,68378.57); h_SL1L475->SetBinContent(6,70358.57); h_SL1L475->SetBinContent(7,69891.43); h_SL1L475->SetBinContent(8,69755.72); h_SL1L475->SetBinContent(9,68881.43); h_SL1L475->SetBinContent(10,65995.72); h_SL1L475->SetBinContent(11,61300); h_SL1L475->SetBinContent(12,60182.86); h_SL1L475->SetBinContent(13,59995.71); h_SL1L475->SetBinContent(14,63557.14); h_SL1L475->SetBinContent(15,64395.71); h_SL1L475->SetBinContent(16,62315.71); h_SL1L475->SetBinContent(17,60431.43); h_SL1L475->SetBinContent(18,61940); h_SL1L475->SetBinContent(19,65132.86); h_SL1L475->SetBinContent(20,66210); h_SL1L475->SetBinContent(21,68422.86); h_SL1L475->SetBinContent(22,70100); h_SL1L475->SetBinContent(23,69517.14); h_SL1L475->SetBinContent(24,70588.57); h_SL1L475->SetBinContent(25,70821.43); h_SL1L475->SetBinContent(26,68970); h_SL1L475->SetBinContent(27,65691.43); h_SL1L475->SetBinContent(28,66127.14); h_SL1L475->SetBinContent(29,69288.57); h_SL1L475->SetBinContent(30,69331.43); h_SL1L475->SetBinContent(31,69648.57); h_SL1L475->SetBinContent(32,71255.72); h_SL1L475->SetBinContent(33,84740); h_SL1L475->SetBinContent(34,113530); h_SL1L475->SetBinContent(35,117055.7); h_SL1L475->SetBinContent(36,120652.9); h_SL1L475->SetBinContent(37,120247.1); h_SL1L475->SetBinContent(38,118914.3); h_SL1L475->SetBinContent(39,108624.3); h_SL1L475->SetBinContent(40,75024.29); h_SL1L475->SetBinContent(41,64990); h_SL1L475->SetBinContent(42,62980); h_SL1L475->SetBinContent(43,61090); h_SL1L475->SetBinContent(44,60745.71); h_SL1L475->SetBinContent(45,58772.86); h_SL1L475->SetBinContent(46,58552.86); h_SL1L475->SetBinContent(47,56985.71); h_SL1L475->SetBinContent(48,56604.29); h_SL1L475->SetBinContent(49,54530); h_SL1L475->SetBinContent(50,55042.86); h_SL1L475->SetBinContent(51,54262.86); h_SL1L475->SetBinContent(52,51941.43); h_SL1L475->SetBinContent(53,52047.14); h_SL1L475->SetBinContent(54,50968.57); h_SL1L475->SetBinContent(55,12.85714); h_SL1L475->SetBinContent(56,51761.43); h_SL1L475->SetBinContent(57,49761.43); h_SL1L475->SetBinContent(58,49105.71); h_SL1L475->SetBinContent(59,47297.14); h_SL1L475->SetMaximum(149969.9); h_SL1L475->SetEntries(60); h_SL1L475->SetDirectory(0); h_SL1L475->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L475->SetLineColor(ci); h_SL1L475->SetLineWidth(2); h_SL1L475->GetXaxis()->SetTitle("Cell"); h_SL1L475->GetXaxis()->SetLabelFont(42); h_SL1L475->GetXaxis()->SetLabelSize(0.035); h_SL1L475->GetXaxis()->SetTitleSize(0.035); h_SL1L475->GetXaxis()->SetTitleFont(42); h_SL1L475->GetYaxis()->SetTitle("Hz per wire"); h_SL1L475->GetYaxis()->SetLabelFont(42); h_SL1L475->GetYaxis()->SetLabelSize(0.035); h_SL1L475->GetYaxis()->SetTitleSize(0.035); h_SL1L475->GetYaxis()->SetTitleOffset(1.45); h_SL1L475->GetYaxis()->SetTitleFont(42); h_SL1L475->GetZaxis()->SetLabelFont(42); h_SL1L475->GetZaxis()->SetLabelSize(0.035); h_SL1L475->GetZaxis()->SetTitleSize(0.035); h_SL1L475->GetZaxis()->SetTitleFont(42); h_SL1L475->Draw("hist, same"); TPaveText *pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_1->Modified(); c->cd(); // ------------>Primitives in pad: c_2 TPad *c_2 = new TPad("c_2", "c_2",0.3433333,0.51,0.6566667,0.99); c_2->Draw(); c_2->cd(); c_2->Range(-7.500001,-4.3125,67.5,38.8125); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L176 = new TH1D("h_SL2L176","Occupancy removing noisy cells",60,0,60); h_SL2L176->SetBinContent(9,8.571428); h_SL2L176->SetBinContent(10,4.285714); h_SL2L176->SetBinContent(11,5.714286); h_SL2L176->SetBinContent(12,10); h_SL2L176->SetBinContent(13,4.285714); h_SL2L176->SetBinContent(14,4.285714); h_SL2L176->SetBinContent(15,4.285714); h_SL2L176->SetBinContent(16,4.285714); h_SL2L176->SetBinContent(17,2.857143); h_SL2L176->SetBinContent(18,1.428571); h_SL2L176->SetBinContent(19,4.285714); h_SL2L176->SetBinContent(20,5.714286); h_SL2L176->SetBinContent(21,7.142858); h_SL2L176->SetBinContent(22,5.714286); h_SL2L176->SetBinContent(23,7.142858); h_SL2L176->SetBinContent(24,7.142858); h_SL2L176->SetBinContent(25,17.14286); h_SL2L176->SetBinContent(26,14.28572); h_SL2L176->SetBinContent(27,10); h_SL2L176->SetBinContent(28,17.14286); h_SL2L176->SetBinContent(29,17.14286); h_SL2L176->SetBinContent(30,14.28572); h_SL2L176->SetBinContent(31,8.571428); h_SL2L176->SetBinContent(32,11.42857); h_SL2L176->SetBinContent(33,18.57143); h_SL2L176->SetBinContent(34,17.14286); h_SL2L176->SetBinContent(35,14.28572); h_SL2L176->SetBinContent(36,17.14286); h_SL2L176->SetBinContent(37,2.857143); h_SL2L176->SetBinContent(38,1.428571); h_SL2L176->SetBinContent(39,4.285714); h_SL2L176->SetBinContent(40,2.857143); h_SL2L176->SetBinContent(41,17.14286); h_SL2L176->SetBinContent(42,22.85714); h_SL2L176->SetBinContent(43,21.42857); h_SL2L176->SetBinContent(44,20); h_SL2L176->SetBinContent(49,8.571428); h_SL2L176->SetBinContent(50,7.142858); h_SL2L176->SetBinContent(51,5.714286); h_SL2L176->SetBinContent(52,10); h_SL2L176->SetBinContent(53,30); h_SL2L176->SetBinContent(54,21.42857); h_SL2L176->SetBinContent(55,27.14286); h_SL2L176->SetBinContent(56,17.14286); h_SL2L176->SetBinContent(57,2.857143); h_SL2L176->SetMaximum(34.5); h_SL2L176->SetEntries(60); h_SL2L176->SetDirectory(0); h_SL2L176->SetStats(0); h_SL2L176->SetLineWidth(2); h_SL2L176->GetXaxis()->SetTitle("Cell"); h_SL2L176->GetXaxis()->SetLabelFont(42); h_SL2L176->GetXaxis()->SetLabelSize(0.035); h_SL2L176->GetXaxis()->SetTitleSize(0.035); h_SL2L176->GetXaxis()->SetTitleFont(42); h_SL2L176->GetYaxis()->SetTitle("Hz per wire"); h_SL2L176->GetYaxis()->SetLabelFont(42); h_SL2L176->GetYaxis()->SetLabelSize(0.035); h_SL2L176->GetYaxis()->SetTitleSize(0.035); h_SL2L176->GetYaxis()->SetTitleOffset(1.45); h_SL2L176->GetYaxis()->SetTitleFont(42); h_SL2L176->GetZaxis()->SetLabelFont(42); h_SL2L176->GetZaxis()->SetLabelSize(0.035); h_SL2L176->GetZaxis()->SetTitleSize(0.035); h_SL2L176->GetZaxis()->SetTitleFont(42); h_SL2L176->Draw("hist, "); TH1D *h_SL2L277 = new TH1D("h_SL2L277","Occupancy removing noisy cells",60,0,60); h_SL2L277->SetBinContent(1,8.571428); h_SL2L277->SetBinContent(2,7.142858); h_SL2L277->SetBinContent(3,8.571428); h_SL2L277->SetBinContent(4,5.714286); h_SL2L277->SetBinContent(5,8.571428); h_SL2L277->SetBinContent(6,5.714286); h_SL2L277->SetBinContent(7,1.428571); h_SL2L277->SetBinContent(8,5.714286); h_SL2L277->SetBinContent(9,2.857143); h_SL2L277->SetBinContent(10,4.285714); h_SL2L277->SetBinContent(11,1.428571); h_SL2L277->SetBinContent(12,2.857143); h_SL2L277->SetBinContent(17,1.428571); h_SL2L277->SetBinContent(29,5.714286); h_SL2L277->SetBinContent(30,5.714286); h_SL2L277->SetBinContent(31,11.42857); h_SL2L277->SetBinContent(32,8.571428); h_SL2L277->SetBinContent(33,4.285714); h_SL2L277->SetBinContent(34,2.857143); h_SL2L277->SetBinContent(35,1.428571); h_SL2L277->SetBinContent(36,2.857143); h_SL2L277->SetBinContent(37,4.285714); h_SL2L277->SetBinContent(38,2.857143); h_SL2L277->SetBinContent(39,1.428571); h_SL2L277->SetBinContent(40,1.428571); h_SL2L277->SetBinContent(41,1.428571); h_SL2L277->SetBinContent(42,1.428571); h_SL2L277->SetBinContent(44,1.428571); h_SL2L277->SetBinContent(49,12.85714); h_SL2L277->SetBinContent(50,14.28572); h_SL2L277->SetBinContent(51,12.85714); h_SL2L277->SetBinContent(52,11.42857); h_SL2L277->SetMaximum(34.5); h_SL2L277->SetEntries(60); h_SL2L277->SetDirectory(0); h_SL2L277->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L277->SetLineColor(ci); h_SL2L277->SetLineWidth(2); h_SL2L277->GetXaxis()->SetTitle("Cell"); h_SL2L277->GetXaxis()->SetLabelFont(42); h_SL2L277->GetXaxis()->SetLabelSize(0.035); h_SL2L277->GetXaxis()->SetTitleSize(0.035); h_SL2L277->GetXaxis()->SetTitleFont(42); h_SL2L277->GetYaxis()->SetTitle("Hz per wire"); h_SL2L277->GetYaxis()->SetLabelFont(42); h_SL2L277->GetYaxis()->SetLabelSize(0.035); h_SL2L277->GetYaxis()->SetTitleSize(0.035); h_SL2L277->GetYaxis()->SetTitleOffset(1.45); h_SL2L277->GetYaxis()->SetTitleFont(42); h_SL2L277->GetZaxis()->SetLabelFont(42); h_SL2L277->GetZaxis()->SetLabelSize(0.035); h_SL2L277->GetZaxis()->SetTitleSize(0.035); h_SL2L277->GetZaxis()->SetTitleFont(42); h_SL2L277->Draw("hist, same"); TH1D *h_SL2L378 = new TH1D("h_SL2L378","Occupancy removing noisy cells",60,0,60); h_SL2L378->SetBinContent(5,1.428571); h_SL2L378->SetBinContent(6,2.857143); h_SL2L378->SetBinContent(7,1.428571); h_SL2L378->SetBinContent(8,2.857143); h_SL2L378->SetBinContent(17,7.142858); h_SL2L378->SetBinContent(18,5.714286); h_SL2L378->SetBinContent(19,4.285714); h_SL2L378->SetBinContent(20,7.142858); h_SL2L378->SetBinContent(21,7.142858); h_SL2L378->SetBinContent(22,7.142858); h_SL2L378->SetBinContent(23,2.857143); h_SL2L378->SetBinContent(24,5.714286); h_SL2L378->SetBinContent(25,1.428571); h_SL2L378->SetBinContent(26,2.857143); h_SL2L378->SetBinContent(27,2.857143); h_SL2L378->SetBinContent(28,2.857143); h_SL2L378->SetBinContent(29,11.42857); h_SL2L378->SetBinContent(30,10); h_SL2L378->SetBinContent(31,15.71429); h_SL2L378->SetBinContent(32,12.85714); h_SL2L378->SetBinContent(33,2.857143); h_SL2L378->SetBinContent(34,2.857143); h_SL2L378->SetBinContent(35,1.428571); h_SL2L378->SetBinContent(36,1.428571); h_SL2L378->SetBinContent(41,10); h_SL2L378->SetBinContent(42,7.142858); h_SL2L378->SetBinContent(43,7.142858); h_SL2L378->SetBinContent(44,10); h_SL2L378->SetBinContent(53,4.285714); h_SL2L378->SetBinContent(54,4.285714); h_SL2L378->SetBinContent(55,7.142858); h_SL2L378->SetBinContent(56,4.285714); h_SL2L378->SetBinContent(57,25.71429); h_SL2L378->SetMaximum(34.5); h_SL2L378->SetEntries(60); h_SL2L378->SetDirectory(0); h_SL2L378->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L378->SetLineColor(ci); h_SL2L378->SetLineWidth(2); h_SL2L378->GetXaxis()->SetTitle("Cell"); h_SL2L378->GetXaxis()->SetLabelFont(42); h_SL2L378->GetXaxis()->SetLabelSize(0.035); h_SL2L378->GetXaxis()->SetTitleSize(0.035); h_SL2L378->GetXaxis()->SetTitleFont(42); h_SL2L378->GetYaxis()->SetTitle("Hz per wire"); h_SL2L378->GetYaxis()->SetLabelFont(42); h_SL2L378->GetYaxis()->SetLabelSize(0.035); h_SL2L378->GetYaxis()->SetTitleSize(0.035); h_SL2L378->GetYaxis()->SetTitleOffset(1.45); h_SL2L378->GetYaxis()->SetTitleFont(42); h_SL2L378->GetZaxis()->SetLabelFont(42); h_SL2L378->GetZaxis()->SetLabelSize(0.035); h_SL2L378->GetZaxis()->SetTitleSize(0.035); h_SL2L378->GetZaxis()->SetTitleFont(42); h_SL2L378->Draw("hist, same"); TH1D *h_SL2L479 = new TH1D("h_SL2L479","Occupancy removing noisy cells",60,0,60); h_SL2L479->SetBinContent(2,2.857143); h_SL2L479->SetBinContent(3,1.428571); h_SL2L479->SetBinContent(4,2.857143); h_SL2L479->SetBinContent(5,8.571428); h_SL2L479->SetBinContent(6,2.857143); h_SL2L479->SetBinContent(7,8.571428); h_SL2L479->SetBinContent(8,12.85714); h_SL2L479->SetBinContent(17,4.285714); h_SL2L479->SetBinContent(18,7.142858); h_SL2L479->SetBinContent(19,5.714286); h_SL2L479->SetBinContent(20,5.714286); h_SL2L479->SetBinContent(21,5.714286); h_SL2L479->SetBinContent(22,5.714286); h_SL2L479->SetBinContent(23,5.714286); h_SL2L479->SetBinContent(24,4.285714); h_SL2L479->SetBinContent(25,24.28572); h_SL2L479->SetBinContent(26,20); h_SL2L479->SetBinContent(27,21.42857); h_SL2L479->SetBinContent(28,25.71429); h_SL2L479->SetBinContent(29,10); h_SL2L479->SetBinContent(30,14.28572); h_SL2L479->SetBinContent(31,7.142858); h_SL2L479->SetBinContent(32,11.42857); h_SL2L479->SetBinContent(33,5.714286); h_SL2L479->SetBinContent(34,1.428571); h_SL2L479->SetBinContent(35,2.857143); h_SL2L479->SetBinContent(36,5.714286); h_SL2L479->SetBinContent(41,4.285714); h_SL2L479->SetBinContent(42,1.428571); h_SL2L479->SetBinContent(43,2.857143); h_SL2L479->SetBinContent(44,4.285714); h_SL2L479->SetBinContent(45,4.285714); h_SL2L479->SetBinContent(46,5.714286); h_SL2L479->SetBinContent(47,5.714286); h_SL2L479->SetBinContent(48,4.285714); h_SL2L479->SetBinContent(49,14.28572); h_SL2L479->SetBinContent(50,5.714286); h_SL2L479->SetBinContent(51,8.571428); h_SL2L479->SetBinContent(52,11.42857); h_SL2L479->SetBinContent(53,10); h_SL2L479->SetBinContent(54,8.571428); h_SL2L479->SetBinContent(55,12.85714); h_SL2L479->SetBinContent(56,8.571428); h_SL2L479->SetBinContent(57,8.571428); h_SL2L479->SetMaximum(34.5); h_SL2L479->SetEntries(60); h_SL2L479->SetDirectory(0); h_SL2L479->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L479->SetLineColor(ci); h_SL2L479->SetLineWidth(2); h_SL2L479->GetXaxis()->SetTitle("Cell"); h_SL2L479->GetXaxis()->SetLabelFont(42); h_SL2L479->GetXaxis()->SetLabelSize(0.035); h_SL2L479->GetXaxis()->SetTitleSize(0.035); h_SL2L479->GetXaxis()->SetTitleFont(42); h_SL2L479->GetYaxis()->SetTitle("Hz per wire"); h_SL2L479->GetYaxis()->SetLabelFont(42); h_SL2L479->GetYaxis()->SetLabelSize(0.035); h_SL2L479->GetYaxis()->SetTitleSize(0.035); h_SL2L479->GetYaxis()->SetTitleOffset(1.45); h_SL2L479->GetYaxis()->SetTitleFont(42); h_SL2L479->GetZaxis()->SetLabelFont(42); h_SL2L479->GetZaxis()->SetLabelSize(0.035); h_SL2L479->GetZaxis()->SetTitleSize(0.035); h_SL2L479->GetZaxis()->SetTitleFont(42); h_SL2L479->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_2->Modified(); c->cd(); // ------------>Primitives in pad: c_3 TPad *c_3 = new TPad("c_3", "c_3",0.6766667,0.51,0.99,0.99); c_3->Draw(); c_3->cd(); c_3->Range(-7.500001,-2.669643,67.5,24.02679); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L180 = new TH1D("h_SL3L180","Occupancy removing noisy cells",60,0,60); h_SL3L180->SetBinContent(1,2.857143); h_SL3L180->SetBinContent(2,2.857143); h_SL3L180->SetBinContent(4,1.428571); h_SL3L180->SetBinContent(5,5.714286); h_SL3L180->SetBinContent(6,5.714286); h_SL3L180->SetBinContent(7,4.285714); h_SL3L180->SetBinContent(8,7.142858); h_SL3L180->SetBinContent(13,8.571428); h_SL3L180->SetBinContent(14,7.142858); h_SL3L180->SetBinContent(15,7.142858); h_SL3L180->SetBinContent(16,5.714286); h_SL3L180->SetBinContent(17,5.714286); h_SL3L180->SetBinContent(18,5.714286); h_SL3L180->SetBinContent(19,5.714286); h_SL3L180->SetBinContent(20,5.714286); h_SL3L180->SetBinContent(23,1.428571); h_SL3L180->SetBinContent(29,2.857143); h_SL3L180->SetBinContent(30,2.857143); h_SL3L180->SetBinContent(31,4.285714); h_SL3L180->SetBinContent(32,4.285714); h_SL3L180->SetBinContent(41,2.857143); h_SL3L180->SetBinContent(42,2.857143); h_SL3L180->SetBinContent(43,2.857143); h_SL3L180->SetBinContent(44,2.857143); h_SL3L180->SetBinContent(53,1.428571); h_SL3L180->SetBinContent(54,1.428571); h_SL3L180->SetBinContent(55,1.428571); h_SL3L180->SetBinContent(56,2.857143); h_SL3L180->SetMaximum(21.35714); h_SL3L180->SetEntries(60); h_SL3L180->SetDirectory(0); h_SL3L180->SetStats(0); h_SL3L180->SetLineWidth(2); h_SL3L180->GetXaxis()->SetTitle("Cell"); h_SL3L180->GetXaxis()->SetLabelFont(42); h_SL3L180->GetXaxis()->SetLabelSize(0.035); h_SL3L180->GetXaxis()->SetTitleSize(0.035); h_SL3L180->GetXaxis()->SetTitleFont(42); h_SL3L180->GetYaxis()->SetTitle("Hz per wire"); h_SL3L180->GetYaxis()->SetLabelFont(42); h_SL3L180->GetYaxis()->SetLabelSize(0.035); h_SL3L180->GetYaxis()->SetTitleSize(0.035); h_SL3L180->GetYaxis()->SetTitleOffset(1.45); h_SL3L180->GetYaxis()->SetTitleFont(42); h_SL3L180->GetZaxis()->SetLabelFont(42); h_SL3L180->GetZaxis()->SetLabelSize(0.035); h_SL3L180->GetZaxis()->SetTitleSize(0.035); h_SL3L180->GetZaxis()->SetTitleFont(42); h_SL3L180->Draw("hist, "); TH1D *h_SL3L281 = new TH1D("h_SL3L281","Occupancy removing noisy cells",60,0,60); h_SL3L281->SetBinContent(1,5.714286); h_SL3L281->SetBinContent(2,4.285714); h_SL3L281->SetBinContent(4,5.714286); h_SL3L281->SetBinContent(5,1.428571); h_SL3L281->SetBinContent(8,1.428571); h_SL3L281->SetBinContent(9,2.857143); h_SL3L281->SetBinContent(10,2.857143); h_SL3L281->SetBinContent(11,5.714286); h_SL3L281->SetBinContent(12,2.857143); h_SL3L281->SetBinContent(13,10); h_SL3L281->SetBinContent(14,7.142858); h_SL3L281->SetBinContent(15,11.42857); h_SL3L281->SetBinContent(16,10); h_SL3L281->SetBinContent(17,4.285714); h_SL3L281->SetBinContent(18,1.428571); h_SL3L281->SetBinContent(19,4.285714); h_SL3L281->SetBinContent(20,4.285714); h_SL3L281->SetBinContent(21,11.42857); h_SL3L281->SetBinContent(22,8.571428); h_SL3L281->SetBinContent(23,7.142858); h_SL3L281->SetBinContent(24,7.142858); h_SL3L281->SetBinContent(25,4.285714); h_SL3L281->SetBinContent(26,4.285714); h_SL3L281->SetBinContent(27,7.142858); h_SL3L281->SetBinContent(28,4.285714); h_SL3L281->SetBinContent(33,2.857143); h_SL3L281->SetBinContent(34,2.857143); h_SL3L281->SetBinContent(35,2.857143); h_SL3L281->SetBinContent(36,1.428571); h_SL3L281->SetBinContent(37,7.142858); h_SL3L281->SetBinContent(38,4.285714); h_SL3L281->SetBinContent(39,4.285714); h_SL3L281->SetBinContent(40,7.142858); h_SL3L281->SetBinContent(41,1.428571); h_SL3L281->SetBinContent(45,4.285714); h_SL3L281->SetBinContent(46,5.714286); h_SL3L281->SetBinContent(47,7.142858); h_SL3L281->SetBinContent(48,5.714286); h_SL3L281->SetBinContent(49,7.142858); h_SL3L281->SetBinContent(50,2.857143); h_SL3L281->SetBinContent(51,4.285714); h_SL3L281->SetBinContent(52,4.285714); h_SL3L281->SetBinContent(53,14.28572); h_SL3L281->SetBinContent(54,7.142858); h_SL3L281->SetBinContent(55,5.714286); h_SL3L281->SetBinContent(56,8.571428); h_SL3L281->SetBinContent(57,2.857143); h_SL3L281->SetBinContent(58,5.714286); h_SL3L281->SetBinContent(59,4.285714); h_SL3L281->SetMaximum(21.35714); h_SL3L281->SetEntries(60); h_SL3L281->SetDirectory(0); h_SL3L281->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L281->SetLineColor(ci); h_SL3L281->SetLineWidth(2); h_SL3L281->GetXaxis()->SetTitle("Cell"); h_SL3L281->GetXaxis()->SetLabelFont(42); h_SL3L281->GetXaxis()->SetLabelSize(0.035); h_SL3L281->GetXaxis()->SetTitleSize(0.035); h_SL3L281->GetXaxis()->SetTitleFont(42); h_SL3L281->GetYaxis()->SetTitle("Hz per wire"); h_SL3L281->GetYaxis()->SetLabelFont(42); h_SL3L281->GetYaxis()->SetLabelSize(0.035); h_SL3L281->GetYaxis()->SetTitleSize(0.035); h_SL3L281->GetYaxis()->SetTitleOffset(1.45); h_SL3L281->GetYaxis()->SetTitleFont(42); h_SL3L281->GetZaxis()->SetLabelFont(42); h_SL3L281->GetZaxis()->SetLabelSize(0.035); h_SL3L281->GetZaxis()->SetTitleSize(0.035); h_SL3L281->GetZaxis()->SetTitleFont(42); h_SL3L281->Draw("hist, same"); TH1D *h_SL3L382 = new TH1D("h_SL3L382","Occupancy removing noisy cells",60,0,60); h_SL3L382->SetBinContent(1,2.857143); h_SL3L382->SetBinContent(2,2.857143); h_SL3L382->SetBinContent(3,2.857143); h_SL3L382->SetBinContent(4,4.285714); h_SL3L382->SetBinContent(5,2.857143); h_SL3L382->SetBinContent(6,2.857143); h_SL3L382->SetBinContent(7,2.857143); h_SL3L382->SetBinContent(8,5.714286); h_SL3L382->SetBinContent(13,2.857143); h_SL3L382->SetBinContent(16,2.857143); h_SL3L382->SetBinContent(17,2.857143); h_SL3L382->SetBinContent(18,2.857143); h_SL3L382->SetBinContent(19,2.857143); h_SL3L382->SetBinContent(20,1.428571); h_SL3L382->SetBinContent(21,7.142858); h_SL3L382->SetBinContent(24,4.285714); h_SL3L382->SetBinContent(31,1.428571); h_SL3L382->SetBinContent(37,2.857143); h_SL3L382->SetBinContent(40,2.857143); h_SL3L382->SetBinContent(41,1.428571); h_SL3L382->SetBinContent(44,2.857143); h_SL3L382->SetBinContent(49,1.428571); h_SL3L382->SetBinContent(50,1.428571); h_SL3L382->SetBinContent(51,1.428571); h_SL3L382->SetBinContent(53,4.285714); h_SL3L382->SetBinContent(54,1.428571); h_SL3L382->SetBinContent(55,1.428571); h_SL3L382->SetBinContent(56,2.857143); h_SL3L382->SetMaximum(21.35714); h_SL3L382->SetEntries(60); h_SL3L382->SetDirectory(0); h_SL3L382->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L382->SetLineColor(ci); h_SL3L382->SetLineWidth(2); h_SL3L382->GetXaxis()->SetTitle("Cell"); h_SL3L382->GetXaxis()->SetLabelFont(42); h_SL3L382->GetXaxis()->SetLabelSize(0.035); h_SL3L382->GetXaxis()->SetTitleSize(0.035); h_SL3L382->GetXaxis()->SetTitleFont(42); h_SL3L382->GetYaxis()->SetTitle("Hz per wire"); h_SL3L382->GetYaxis()->SetLabelFont(42); h_SL3L382->GetYaxis()->SetLabelSize(0.035); h_SL3L382->GetYaxis()->SetTitleSize(0.035); h_SL3L382->GetYaxis()->SetTitleOffset(1.45); h_SL3L382->GetYaxis()->SetTitleFont(42); h_SL3L382->GetZaxis()->SetLabelFont(42); h_SL3L382->GetZaxis()->SetLabelSize(0.035); h_SL3L382->GetZaxis()->SetTitleSize(0.035); h_SL3L382->GetZaxis()->SetTitleFont(42); h_SL3L382->Draw("hist, same"); TH1D *h_SL3L483 = new TH1D("h_SL3L483","Occupancy removing noisy cells",60,0,60); h_SL3L483->SetBinContent(2,4.285714); h_SL3L483->SetBinContent(3,4.285714); h_SL3L483->SetBinContent(4,5.714286); h_SL3L483->SetBinContent(5,11.42857); h_SL3L483->SetBinContent(6,10); h_SL3L483->SetBinContent(7,10); h_SL3L483->SetBinContent(8,11.42857); h_SL3L483->SetBinContent(9,2.857143); h_SL3L483->SetBinContent(10,2.857143); h_SL3L483->SetBinContent(11,1.428571); h_SL3L483->SetBinContent(12,2.857143); h_SL3L483->SetBinContent(13,10); h_SL3L483->SetBinContent(14,7.142858); h_SL3L483->SetBinContent(15,5.714286); h_SL3L483->SetBinContent(16,7.142858); h_SL3L483->SetBinContent(21,1.428571); h_SL3L483->SetBinContent(23,2.857143); h_SL3L483->SetBinContent(24,2.857143); h_SL3L483->SetBinContent(25,11.42857); h_SL3L483->SetBinContent(26,17.14286); h_SL3L483->SetBinContent(27,18.57143); h_SL3L483->SetBinContent(28,11.42857); h_SL3L483->SetBinContent(29,4.285714); h_SL3L483->SetBinContent(30,1.428571); h_SL3L483->SetBinContent(31,2.857143); h_SL3L483->SetBinContent(32,5.714286); h_SL3L483->SetBinContent(33,4.285714); h_SL3L483->SetBinContent(34,2.857143); h_SL3L483->SetBinContent(35,8.571428); h_SL3L483->SetBinContent(36,7.142858); h_SL3L483->SetBinContent(37,8.571428); h_SL3L483->SetBinContent(38,5.714286); h_SL3L483->SetBinContent(39,4.285714); h_SL3L483->SetBinContent(40,8.571428); h_SL3L483->SetBinContent(41,1.428571); h_SL3L483->SetBinContent(42,1.428571); h_SL3L483->SetBinContent(43,1.428571); h_SL3L483->SetBinContent(44,2.857143); h_SL3L483->SetBinContent(49,10); h_SL3L483->SetBinContent(51,7.142858); h_SL3L483->SetBinContent(52,12.85714); h_SL3L483->SetBinContent(57,11.42857); h_SL3L483->SetBinContent(58,7.142858); h_SL3L483->SetBinContent(59,8.571428); h_SL3L483->SetMaximum(21.35714); h_SL3L483->SetEntries(60); h_SL3L483->SetDirectory(0); h_SL3L483->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L483->SetLineColor(ci); h_SL3L483->SetLineWidth(2); h_SL3L483->GetXaxis()->SetTitle("Cell"); h_SL3L483->GetXaxis()->SetLabelFont(42); h_SL3L483->GetXaxis()->SetLabelSize(0.035); h_SL3L483->GetXaxis()->SetTitleSize(0.035); h_SL3L483->GetXaxis()->SetTitleFont(42); h_SL3L483->GetYaxis()->SetTitle("Hz per wire"); h_SL3L483->GetYaxis()->SetLabelFont(42); h_SL3L483->GetYaxis()->SetLabelSize(0.035); h_SL3L483->GetYaxis()->SetTitleSize(0.035); h_SL3L483->GetYaxis()->SetTitleOffset(1.45); h_SL3L483->GetYaxis()->SetTitleFont(42); h_SL3L483->GetZaxis()->SetLabelFont(42); h_SL3L483->GetZaxis()->SetLabelSize(0.035); h_SL3L483->GetZaxis()->SetTitleSize(0.035); h_SL3L483->GetZaxis()->SetTitleFont(42); h_SL3L483->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_3->Modified(); c->cd(); // ------------>Primitives in pad: c_4 TPad *c_4 = new TPad("c_4", "c_4",0.01,0.01,0.3233333,0.49); c_4->Draw(); c_4->cd(); c_4->Range(0,0,1,1); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->Modified(); c->cd(); // ------------>Primitives in pad: c_5 TPad *c_5 = new TPad("c_5", "c_5",0.3433333,0.01,0.6566667,0.49); c_5->Draw(); c_5->cd(); c_5->Range(0,0,1,1); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->Modified(); c->cd(); // ------------>Primitives in pad: c_6 TPad *c_6 = new TPad("c_6", "c_6",0.05,0,0.95,0.5); c_6->Draw(); c_6->cd(); c_6->Range(-1,-10850.34,14,97653.01); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *hRateSub84 = new TH1D("hRateSub84","Average rate per layer for run 5377 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,75480.59); hRateSub84->SetBinContent(2,27.5974); hRateSub84->SetBinContent(3,2320.138); hRateSub84->SetBinContent(4,68712.44); hRateSub84->SetBinContent(5,15.22321); hRateSub84->SetBinContent(6,11.52381); hRateSub84->SetBinContent(7,12.76786); hRateSub84->SetBinContent(8,11.85714); hRateSub84->SetBinContent(9,10.51948); hRateSub84->SetBinContent(10,11.67702); hRateSub84->SetBinContent(12,11.64835); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(86802.67); hRateSub84->SetEntries(7218301); hRateSub84->SetDirectory(0); hRateSub84->SetStats(0); ci = TColor::GetColor("#330066"); hRateSub84->SetLineColor(ci); hRateSub84->SetLineWidth(2); hRateSub84->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub84->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub84->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub84->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub84->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub84->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub84->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub84->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub84->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub84->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub84->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub84->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub84->GetXaxis()->SetLabelFont(42); hRateSub84->GetXaxis()->SetLabelSize(0.035); hRateSub84->GetXaxis()->SetTitleSize(0.035); hRateSub84->GetXaxis()->SetTitleFont(42); hRateSub84->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub84->GetYaxis()->SetLabelFont(42); hRateSub84->GetYaxis()->SetLabelSize(0.06); hRateSub84->GetYaxis()->SetTitleSize(0.035); hRateSub84->GetYaxis()->SetTitleOffset(1.3); hRateSub84->GetYaxis()->SetTitleFont(42); hRateSub84->GetZaxis()->SetLabelFont(42); hRateSub84->GetZaxis()->SetLabelSize(0.035); hRateSub84->GetZaxis()->SetTitleSize(0.035); hRateSub84->GetZaxis()->SetTitleFont(42); hRateSub84->Draw("hist"); TH1D *hRateSub85 = new TH1D("hRateSub85","Average rate per layer for run 5377 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,68455.26); hRateSub85->SetBinContent(2,30.36364); hRateSub85->SetBinContent(3,2305.677); hRateSub85->SetBinContent(4,61797.45); hRateSub85->SetBinContent(5,20); hRateSub85->SetBinContent(6,5.333333); hRateSub85->SetBinContent(7,8.5); hRateSub85->SetBinContent(8,12.8); hRateSub85->SetBinContent(9,11.63636); hRateSub85->SetBinContent(10,13.21739); hRateSub85->SetBinContent(12,14.15385); hRateSub85->SetEntries(7218301); hRateSub85->SetDirectory(0); hRateSub85->SetStats(0); ci = TColor::GetColor("#cc6600"); hRateSub85->SetLineColor(ci); hRateSub85->SetLineWidth(2); hRateSub85->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub85->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub85->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub85->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub85->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub85->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub85->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub85->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub85->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub85->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub85->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub85->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub85->GetXaxis()->SetLabelFont(42); hRateSub85->GetXaxis()->SetLabelSize(0.035); hRateSub85->GetXaxis()->SetTitleSize(0.035); hRateSub85->GetXaxis()->SetTitleFont(42); hRateSub85->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub85->GetYaxis()->SetLabelFont(42); hRateSub85->GetYaxis()->SetLabelSize(0.035); hRateSub85->GetYaxis()->SetTitleSize(0.035); hRateSub85->GetYaxis()->SetTitleOffset(1.3); hRateSub85->GetYaxis()->SetTitleFont(42); hRateSub85->GetZaxis()->SetLabelFont(42); hRateSub85->GetZaxis()->SetLabelSize(0.035); hRateSub85->GetZaxis()->SetTitleSize(0.035); hRateSub85->GetZaxis()->SetTitleFont(42); hRateSub85->Draw("hist, same"); TLegend *leg = new TLegend(0.7,0.92,0.9,0.97,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("hRateSub","Occupancy","l"); ci = TColor::GetColor("#330066"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("hRateSub","Background","l"); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); pt = new TPaveText(0.91,0.45,1,0.55,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.07); AText = pt->AddText("Run 5377"); pt->Draw(); pt = new TPaveText(0.3113755,0.9328238,0.6886245,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Average rate per layer for run 5377 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }