void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:47:25 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,-12474.42,67.5,112269.8); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L171 = new TH1D("h_SL1L171","Occupancy removing noisy cells",60,0,60); h_SL1L171->SetBinContent(1,56585.71); h_SL1L171->SetBinContent(2,60675); h_SL1L171->SetBinContent(3,64689.29); h_SL1L171->SetBinContent(4,64567.86); h_SL1L171->SetBinContent(5,64578.57); h_SL1L171->SetBinContent(6,66171.43); h_SL1L171->SetBinContent(7,65992.86); h_SL1L171->SetBinContent(8,70089.28); h_SL1L171->SetBinContent(9,68425); h_SL1L171->SetBinContent(10,70328.57); h_SL1L171->SetBinContent(11,75357.14); h_SL1L171->SetBinContent(12,76621.43); h_SL1L171->SetBinContent(13,76671.43); h_SL1L171->SetBinContent(14,77142.86); h_SL1L171->SetBinContent(15,72775); h_SL1L171->SetBinContent(16,68835.71); h_SL1L171->SetBinContent(17,67003.57); h_SL1L171->SetBinContent(18,73175); h_SL1L171->SetBinContent(19,72382.14); h_SL1L171->SetBinContent(20,73725); h_SL1L171->SetBinContent(21,74560.71); h_SL1L171->SetBinContent(22,72514.28); h_SL1L171->SetBinContent(23,71528.57); h_SL1L171->SetBinContent(24,72392.86); h_SL1L171->SetBinContent(25,71235.71); h_SL1L171->SetBinContent(26,68760.71); h_SL1L171->SetBinContent(27,70578.57); h_SL1L171->SetBinContent(28,75785.71); h_SL1L171->SetBinContent(29,76928.57); h_SL1L171->SetBinContent(30,76453.57); h_SL1L171->SetBinContent(31,76189.28); h_SL1L171->SetBinContent(32,76210.71); h_SL1L171->SetBinContent(33,80489.28); h_SL1L171->SetBinContent(34,84450); h_SL1L171->SetBinContent(35,84585.71); h_SL1L171->SetBinContent(36,84446.43); h_SL1L171->SetBinContent(37,84760.71); h_SL1L171->SetBinContent(38,80917.86); h_SL1L171->SetBinContent(39,77482.14); h_SL1L171->SetBinContent(40,75900); h_SL1L171->SetBinContent(41,76617.86); h_SL1L171->SetBinContent(42,79717.86); h_SL1L171->SetBinContent(43,84742.86); h_SL1L171->SetBinContent(44,82303.57); h_SL1L171->SetBinContent(45,80675); h_SL1L171->SetBinContent(46,81142.86); h_SL1L171->SetBinContent(47,80853.57); h_SL1L171->SetBinContent(48,82925); h_SL1L171->SetBinContent(49,85157.14); h_SL1L171->SetBinContent(50,86778.57); h_SL1L171->SetBinContent(51,84678.57); h_SL1L171->SetBinContent(52,84621.43); h_SL1L171->SetBinContent(53,84439.28); h_SL1L171->SetBinContent(54,83875); h_SL1L171->SetBinContent(55,84332.14); h_SL1L171->SetBinContent(56,83382.14); h_SL1L171->SetBinContent(57,85003.57); h_SL1L171->SetBinContent(58,86114.28); h_SL1L171->SetBinContent(59,85060.71); h_SL1L171->SetMaximum(99795.36); h_SL1L171->SetEntries(60); h_SL1L171->SetDirectory(0); h_SL1L171->SetStats(0); h_SL1L171->SetLineWidth(2); h_SL1L171->GetXaxis()->SetTitle("Cell"); h_SL1L171->GetXaxis()->SetLabelFont(42); h_SL1L171->GetXaxis()->SetLabelSize(0.035); h_SL1L171->GetXaxis()->SetTitleSize(0.035); h_SL1L171->GetXaxis()->SetTitleFont(42); h_SL1L171->GetYaxis()->SetTitle("Hz per wire"); h_SL1L171->GetYaxis()->SetLabelFont(42); h_SL1L171->GetYaxis()->SetLabelSize(0.035); h_SL1L171->GetYaxis()->SetTitleSize(0.035); h_SL1L171->GetYaxis()->SetTitleOffset(1.45); h_SL1L171->GetYaxis()->SetTitleFont(42); h_SL1L171->GetZaxis()->SetLabelFont(42); h_SL1L171->GetZaxis()->SetLabelSize(0.035); h_SL1L171->GetZaxis()->SetTitleSize(0.035); h_SL1L171->GetZaxis()->SetTitleFont(42); h_SL1L171->Draw("hist, "); TH1D *h_SL1L272 = new TH1D("h_SL1L272","Occupancy removing noisy cells",60,0,60); h_SL1L272->SetBinContent(3,3.571429); h_SL1L272->SetBinContent(25,3.571429); h_SL1L272->SetBinContent(26,3.571429); h_SL1L272->SetBinContent(31,7.142857); h_SL1L272->SetBinContent(32,7.142857); h_SL1L272->SetBinContent(33,3.571429); h_SL1L272->SetBinContent(34,3.571429); h_SL1L272->SetBinContent(35,3.571429); h_SL1L272->SetBinContent(36,3.571429); h_SL1L272->SetBinContent(45,3.571429); h_SL1L272->SetBinContent(46,3.571429); h_SL1L272->SetMaximum(99795.36); h_SL1L272->SetEntries(60); h_SL1L272->SetDirectory(0); h_SL1L272->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L272->SetLineColor(ci); h_SL1L272->SetLineWidth(2); h_SL1L272->GetXaxis()->SetTitle("Cell"); h_SL1L272->GetXaxis()->SetLabelFont(42); h_SL1L272->GetXaxis()->SetLabelSize(0.035); h_SL1L272->GetXaxis()->SetTitleSize(0.035); h_SL1L272->GetXaxis()->SetTitleFont(42); h_SL1L272->GetYaxis()->SetTitle("Hz per wire"); h_SL1L272->GetYaxis()->SetLabelFont(42); h_SL1L272->GetYaxis()->SetLabelSize(0.035); h_SL1L272->GetYaxis()->SetTitleSize(0.035); h_SL1L272->GetYaxis()->SetTitleOffset(1.45); h_SL1L272->GetYaxis()->SetTitleFont(42); h_SL1L272->GetZaxis()->SetLabelFont(42); h_SL1L272->GetZaxis()->SetLabelSize(0.035); h_SL1L272->GetZaxis()->SetTitleSize(0.035); h_SL1L272->GetZaxis()->SetTitleFont(42); h_SL1L272->Draw("hist, same"); TH1D *h_SL1L373 = new TH1D("h_SL1L373","Occupancy removing noisy cells",60,0,60); h_SL1L373->SetBinContent(2,3.571429); h_SL1L373->SetBinContent(3,3.571429); h_SL1L373->SetBinContent(20,3.571429); h_SL1L373->SetBinContent(25,3.571429); h_SL1L373->SetBinContent(33,7.142857); h_SL1L373->SetBinContent(34,7.142857); h_SL1L373->SetBinContent(35,3.571429); h_SL1L373->SetBinContent(36,3.571429); h_SL1L373->SetBinContent(41,3.571429); h_SL1L373->SetBinContent(42,3.571429); h_SL1L373->SetBinContent(45,3.571429); h_SL1L373->SetBinContent(53,7.142857); h_SL1L373->SetBinContent(54,7.142857); h_SL1L373->SetBinContent(55,10.71429); h_SL1L373->SetBinContent(56,7.142857); h_SL1L373->SetMaximum(99795.36); h_SL1L373->SetEntries(60); h_SL1L373->SetDirectory(0); h_SL1L373->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L373->SetLineColor(ci); h_SL1L373->SetLineWidth(2); h_SL1L373->GetXaxis()->SetTitle("Cell"); h_SL1L373->GetXaxis()->SetLabelFont(42); h_SL1L373->GetXaxis()->SetLabelSize(0.035); h_SL1L373->GetXaxis()->SetTitleSize(0.035); h_SL1L373->GetXaxis()->SetTitleFont(42); h_SL1L373->GetYaxis()->SetTitle("Hz per wire"); h_SL1L373->GetYaxis()->SetLabelFont(42); h_SL1L373->GetYaxis()->SetLabelSize(0.035); h_SL1L373->GetYaxis()->SetTitleSize(0.035); h_SL1L373->GetYaxis()->SetTitleOffset(1.45); h_SL1L373->GetYaxis()->SetTitleFont(42); h_SL1L373->GetZaxis()->SetLabelFont(42); h_SL1L373->GetZaxis()->SetLabelSize(0.035); h_SL1L373->GetZaxis()->SetTitleSize(0.035); h_SL1L373->GetZaxis()->SetTitleFont(42); h_SL1L373->Draw("hist, same"); TH1D *h_SL1L474 = new TH1D("h_SL1L474","Occupancy removing noisy cells",60,0,60); h_SL1L474->SetBinContent(2,54621.43); h_SL1L474->SetBinContent(3,58778.57); h_SL1L474->SetBinContent(4,58050); h_SL1L474->SetBinContent(5,59542.86); h_SL1L474->SetBinContent(6,59778.57); h_SL1L474->SetBinContent(7,60121.43); h_SL1L474->SetBinContent(8,63425); h_SL1L474->SetBinContent(9,64210.71); h_SL1L474->SetBinContent(10,65232.14); h_SL1L474->SetBinContent(11,67875); h_SL1L474->SetBinContent(12,70321.43); h_SL1L474->SetBinContent(13,69692.86); h_SL1L474->SetBinContent(14,71264.28); h_SL1L474->SetBinContent(15,68382.14); h_SL1L474->SetBinContent(16,63021.43); h_SL1L474->SetBinContent(17,60832.14); h_SL1L474->SetBinContent(18,67875); h_SL1L474->SetBinContent(19,67153.57); h_SL1L474->SetBinContent(20,67871.43); h_SL1L474->SetBinContent(21,70085.71); h_SL1L474->SetBinContent(22,67903.57); h_SL1L474->SetBinContent(23,66675); h_SL1L474->SetBinContent(24,66967.86); h_SL1L474->SetBinContent(25,66864.28); h_SL1L474->SetBinContent(26,64292.86); h_SL1L474->SetBinContent(27,64385.71); h_SL1L474->SetBinContent(28,68089.28); h_SL1L474->SetBinContent(29,70360.71); h_SL1L474->SetBinContent(30,72446.43); h_SL1L474->SetBinContent(31,71675); h_SL1L474->SetBinContent(32,71964.28); h_SL1L474->SetBinContent(33,74360.71); h_SL1L474->SetBinContent(34,78753.57); h_SL1L474->SetBinContent(35,78803.57); h_SL1L474->SetBinContent(36,78321.43); h_SL1L474->SetBinContent(37,77725); h_SL1L474->SetBinContent(38,76228.57); h_SL1L474->SetBinContent(39,73200); h_SL1L474->SetBinContent(40,71482.14); h_SL1L474->SetBinContent(41,70125); h_SL1L474->SetBinContent(42,72678.57); h_SL1L474->SetBinContent(43,76221.43); h_SL1L474->SetBinContent(44,78289.28); h_SL1L474->SetBinContent(45,75285.71); h_SL1L474->SetBinContent(46,74535.71); h_SL1L474->SetBinContent(47,74446.43); h_SL1L474->SetBinContent(48,76182.14); h_SL1L474->SetBinContent(49,76757.14); h_SL1L474->SetBinContent(50,78582.14); h_SL1L474->SetBinContent(51,77075); h_SL1L474->SetBinContent(52,76903.57); h_SL1L474->SetBinContent(53,77139.28); h_SL1L474->SetBinContent(54,76332.14); h_SL1L474->SetBinContent(55,53.57143); h_SL1L474->SetBinContent(56,76732.14); h_SL1L474->SetBinContent(57,78335.71); h_SL1L474->SetBinContent(58,80196.43); h_SL1L474->SetBinContent(59,79217.86); h_SL1L474->SetMaximum(99795.36); h_SL1L474->SetEntries(60); h_SL1L474->SetDirectory(0); h_SL1L474->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L474->SetLineColor(ci); h_SL1L474->SetLineWidth(2); h_SL1L474->GetXaxis()->SetTitle("Cell"); h_SL1L474->GetXaxis()->SetLabelFont(42); h_SL1L474->GetXaxis()->SetLabelSize(0.035); h_SL1L474->GetXaxis()->SetTitleSize(0.035); h_SL1L474->GetXaxis()->SetTitleFont(42); h_SL1L474->GetYaxis()->SetTitle("Hz per wire"); h_SL1L474->GetYaxis()->SetLabelFont(42); h_SL1L474->GetYaxis()->SetLabelSize(0.035); h_SL1L474->GetYaxis()->SetTitleSize(0.035); h_SL1L474->GetYaxis()->SetTitleOffset(1.45); h_SL1L474->GetYaxis()->SetTitleFont(42); h_SL1L474->GetZaxis()->SetLabelFont(42); h_SL1L474->GetZaxis()->SetLabelSize(0.035); h_SL1L474->GetZaxis()->SetTitleSize(0.035); h_SL1L474->GetZaxis()->SetTitleFont(42); h_SL1L474->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,-1.540179,67.5,13.86161); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L175 = new TH1D("h_SL2L175","Occupancy removing noisy cells",60,0,60); h_SL2L175->SetBinContent(34,7.142857); h_SL2L175->SetBinContent(35,3.571429); h_SL2L175->SetBinContent(36,7.142857); h_SL2L175->SetMaximum(12.32143); h_SL2L175->SetEntries(60); h_SL2L175->SetDirectory(0); h_SL2L175->SetStats(0); h_SL2L175->SetLineWidth(2); h_SL2L175->GetXaxis()->SetTitle("Cell"); h_SL2L175->GetXaxis()->SetLabelFont(42); h_SL2L175->GetXaxis()->SetLabelSize(0.035); h_SL2L175->GetXaxis()->SetTitleSize(0.035); h_SL2L175->GetXaxis()->SetTitleFont(42); h_SL2L175->GetYaxis()->SetTitle("Hz per wire"); h_SL2L175->GetYaxis()->SetLabelFont(42); h_SL2L175->GetYaxis()->SetLabelSize(0.035); h_SL2L175->GetYaxis()->SetTitleSize(0.035); h_SL2L175->GetYaxis()->SetTitleOffset(1.45); h_SL2L175->GetYaxis()->SetTitleFont(42); h_SL2L175->GetZaxis()->SetLabelFont(42); h_SL2L175->GetZaxis()->SetLabelSize(0.035); h_SL2L175->GetZaxis()->SetTitleSize(0.035); h_SL2L175->GetZaxis()->SetTitleFont(42); h_SL2L175->Draw("hist, "); TH1D *h_SL2L276 = new TH1D("h_SL2L276","Occupancy removing noisy cells",60,0,60); h_SL2L276->SetBinContent(42,10.71429); h_SL2L276->SetBinContent(53,3.571429); h_SL2L276->SetMaximum(12.32143); h_SL2L276->SetEntries(60); h_SL2L276->SetDirectory(0); h_SL2L276->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L276->SetLineColor(ci); h_SL2L276->SetLineWidth(2); h_SL2L276->GetXaxis()->SetTitle("Cell"); h_SL2L276->GetXaxis()->SetLabelFont(42); h_SL2L276->GetXaxis()->SetLabelSize(0.035); h_SL2L276->GetXaxis()->SetTitleSize(0.035); h_SL2L276->GetXaxis()->SetTitleFont(42); h_SL2L276->GetYaxis()->SetTitle("Hz per wire"); h_SL2L276->GetYaxis()->SetLabelFont(42); h_SL2L276->GetYaxis()->SetLabelSize(0.035); h_SL2L276->GetYaxis()->SetTitleSize(0.035); h_SL2L276->GetYaxis()->SetTitleOffset(1.45); h_SL2L276->GetYaxis()->SetTitleFont(42); h_SL2L276->GetZaxis()->SetLabelFont(42); h_SL2L276->GetZaxis()->SetLabelSize(0.035); h_SL2L276->GetZaxis()->SetTitleSize(0.035); h_SL2L276->GetZaxis()->SetTitleFont(42); h_SL2L276->Draw("hist, same"); TH1D *h_SL2L377 = new TH1D("h_SL2L377","Occupancy removing noisy cells",60,0,60); h_SL2L377->SetBinContent(1,10.71429); h_SL2L377->SetBinContent(2,7.142857); h_SL2L377->SetBinContent(3,3.571429); h_SL2L377->SetBinContent(4,3.571429); h_SL2L377->SetBinContent(45,10.71429); h_SL2L377->SetBinContent(46,7.142857); h_SL2L377->SetBinContent(47,3.571429); h_SL2L377->SetBinContent(48,7.142857); h_SL2L377->SetMaximum(12.32143); h_SL2L377->SetEntries(60); h_SL2L377->SetDirectory(0); h_SL2L377->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L377->SetLineColor(ci); h_SL2L377->SetLineWidth(2); h_SL2L377->GetXaxis()->SetTitle("Cell"); h_SL2L377->GetXaxis()->SetLabelFont(42); h_SL2L377->GetXaxis()->SetLabelSize(0.035); h_SL2L377->GetXaxis()->SetTitleSize(0.035); h_SL2L377->GetXaxis()->SetTitleFont(42); h_SL2L377->GetYaxis()->SetTitle("Hz per wire"); h_SL2L377->GetYaxis()->SetLabelFont(42); h_SL2L377->GetYaxis()->SetLabelSize(0.035); h_SL2L377->GetYaxis()->SetTitleSize(0.035); h_SL2L377->GetYaxis()->SetTitleOffset(1.45); h_SL2L377->GetYaxis()->SetTitleFont(42); h_SL2L377->GetZaxis()->SetLabelFont(42); h_SL2L377->GetZaxis()->SetLabelSize(0.035); h_SL2L377->GetZaxis()->SetTitleSize(0.035); h_SL2L377->GetZaxis()->SetTitleFont(42); h_SL2L377->Draw("hist, same"); TH1D *h_SL2L478 = new TH1D("h_SL2L478","Occupancy removing noisy cells",60,0,60); h_SL2L478->SetMaximum(12.32143); h_SL2L478->SetEntries(60); h_SL2L478->SetDirectory(0); h_SL2L478->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L478->SetLineColor(ci); h_SL2L478->SetLineWidth(2); h_SL2L478->GetXaxis()->SetTitle("Cell"); h_SL2L478->GetXaxis()->SetLabelFont(42); h_SL2L478->GetXaxis()->SetLabelSize(0.035); h_SL2L478->GetXaxis()->SetTitleSize(0.035); h_SL2L478->GetXaxis()->SetTitleFont(42); h_SL2L478->GetYaxis()->SetTitle("Hz per wire"); h_SL2L478->GetYaxis()->SetLabelFont(42); h_SL2L478->GetYaxis()->SetLabelSize(0.035); h_SL2L478->GetYaxis()->SetTitleSize(0.035); h_SL2L478->GetYaxis()->SetTitleOffset(1.45); h_SL2L478->GetYaxis()->SetTitleFont(42); h_SL2L478->GetZaxis()->SetLabelFont(42); h_SL2L478->GetZaxis()->SetLabelSize(0.035); h_SL2L478->GetZaxis()->SetTitleSize(0.035); h_SL2L478->GetZaxis()->SetTitleFont(42); h_SL2L478->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,-4.107143,67.5,36.96429); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L179 = new TH1D("h_SL3L179","Occupancy removing noisy cells",60,0,60); h_SL3L179->SetBinContent(9,7.142857); h_SL3L179->SetBinContent(10,7.142857); h_SL3L179->SetBinContent(11,7.142857); h_SL3L179->SetBinContent(12,7.142857); h_SL3L179->SetBinContent(18,3.571429); h_SL3L179->SetBinContent(41,3.571429); h_SL3L179->SetBinContent(42,3.571429); h_SL3L179->SetBinContent(43,7.142857); h_SL3L179->SetBinContent(44,7.142857); h_SL3L179->SetBinContent(45,7.142857); h_SL3L179->SetBinContent(46,7.142857); h_SL3L179->SetBinContent(47,10.71429); h_SL3L179->SetBinContent(48,10.71429); h_SL3L179->SetBinContent(57,14.28571); h_SL3L179->SetBinContent(58,7.142857); h_SL3L179->SetBinContent(59,17.85714); h_SL3L179->SetMaximum(32.85714); h_SL3L179->SetEntries(60); h_SL3L179->SetDirectory(0); h_SL3L179->SetStats(0); h_SL3L179->SetLineWidth(2); h_SL3L179->GetXaxis()->SetTitle("Cell"); h_SL3L179->GetXaxis()->SetLabelFont(42); h_SL3L179->GetXaxis()->SetLabelSize(0.035); h_SL3L179->GetXaxis()->SetTitleSize(0.035); h_SL3L179->GetXaxis()->SetTitleFont(42); h_SL3L179->GetYaxis()->SetTitle("Hz per wire"); h_SL3L179->GetYaxis()->SetLabelFont(42); h_SL3L179->GetYaxis()->SetLabelSize(0.035); h_SL3L179->GetYaxis()->SetTitleSize(0.035); h_SL3L179->GetYaxis()->SetTitleOffset(1.45); h_SL3L179->GetYaxis()->SetTitleFont(42); h_SL3L179->GetZaxis()->SetLabelFont(42); h_SL3L179->GetZaxis()->SetLabelSize(0.035); h_SL3L179->GetZaxis()->SetTitleSize(0.035); h_SL3L179->GetZaxis()->SetTitleFont(42); h_SL3L179->Draw("hist, "); TH1D *h_SL3L280 = new TH1D("h_SL3L280","Occupancy removing noisy cells",60,0,60); h_SL3L280->SetBinContent(13,10.71429); h_SL3L280->SetBinContent(15,7.142857); h_SL3L280->SetBinContent(16,10.71429); h_SL3L280->SetBinContent(21,10.71429); h_SL3L280->SetBinContent(22,7.142857); h_SL3L280->SetBinContent(23,10.71429); h_SL3L280->SetBinContent(24,10.71429); h_SL3L280->SetBinContent(37,10.71429); h_SL3L280->SetBinContent(38,14.28571); h_SL3L280->SetBinContent(39,10.71429); h_SL3L280->SetBinContent(40,7.142857); h_SL3L280->SetBinContent(57,14.28571); h_SL3L280->SetBinContent(58,17.85714); h_SL3L280->SetBinContent(59,14.28571); h_SL3L280->SetMaximum(32.85714); h_SL3L280->SetEntries(60); h_SL3L280->SetDirectory(0); h_SL3L280->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L280->SetLineColor(ci); h_SL3L280->SetLineWidth(2); h_SL3L280->GetXaxis()->SetTitle("Cell"); h_SL3L280->GetXaxis()->SetLabelFont(42); h_SL3L280->GetXaxis()->SetLabelSize(0.035); h_SL3L280->GetXaxis()->SetTitleSize(0.035); h_SL3L280->GetXaxis()->SetTitleFont(42); h_SL3L280->GetYaxis()->SetTitle("Hz per wire"); h_SL3L280->GetYaxis()->SetLabelFont(42); h_SL3L280->GetYaxis()->SetLabelSize(0.035); h_SL3L280->GetYaxis()->SetTitleSize(0.035); h_SL3L280->GetYaxis()->SetTitleOffset(1.45); h_SL3L280->GetYaxis()->SetTitleFont(42); h_SL3L280->GetZaxis()->SetLabelFont(42); h_SL3L280->GetZaxis()->SetLabelSize(0.035); h_SL3L280->GetZaxis()->SetTitleSize(0.035); h_SL3L280->GetZaxis()->SetTitleFont(42); h_SL3L280->Draw("hist, same"); TH1D *h_SL3L381 = new TH1D("h_SL3L381","Occupancy removing noisy cells",60,0,60); h_SL3L381->SetBinContent(17,14.28571); h_SL3L381->SetBinContent(18,7.142857); h_SL3L381->SetBinContent(20,10.71429); h_SL3L381->SetBinContent(21,7.142857); h_SL3L381->SetBinContent(24,10.71429); h_SL3L381->SetBinContent(29,3.571429); h_SL3L381->SetBinContent(30,3.571429); h_SL3L381->SetBinContent(37,10.71429); h_SL3L381->SetBinContent(38,14.28571); h_SL3L381->SetBinContent(39,7.142857); h_SL3L381->SetBinContent(40,10.71429); h_SL3L381->SetBinContent(45,3.571429); h_SL3L381->SetBinContent(57,17.85714); h_SL3L381->SetBinContent(58,28.57143); h_SL3L381->SetBinContent(59,14.28571); h_SL3L381->SetMaximum(32.85714); h_SL3L381->SetEntries(60); h_SL3L381->SetDirectory(0); h_SL3L381->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L381->SetLineColor(ci); h_SL3L381->SetLineWidth(2); h_SL3L381->GetXaxis()->SetTitle("Cell"); h_SL3L381->GetXaxis()->SetLabelFont(42); h_SL3L381->GetXaxis()->SetLabelSize(0.035); h_SL3L381->GetXaxis()->SetTitleSize(0.035); h_SL3L381->GetXaxis()->SetTitleFont(42); h_SL3L381->GetYaxis()->SetTitle("Hz per wire"); h_SL3L381->GetYaxis()->SetLabelFont(42); h_SL3L381->GetYaxis()->SetLabelSize(0.035); h_SL3L381->GetYaxis()->SetTitleSize(0.035); h_SL3L381->GetYaxis()->SetTitleOffset(1.45); h_SL3L381->GetYaxis()->SetTitleFont(42); h_SL3L381->GetZaxis()->SetLabelFont(42); h_SL3L381->GetZaxis()->SetLabelSize(0.035); h_SL3L381->GetZaxis()->SetTitleSize(0.035); h_SL3L381->GetZaxis()->SetTitleFont(42); h_SL3L381->Draw("hist, same"); TH1D *h_SL3L482 = new TH1D("h_SL3L482","Occupancy removing noisy cells",60,0,60); h_SL3L482->SetBinContent(33,7.142857); h_SL3L482->SetBinContent(34,7.142857); h_SL3L482->SetBinContent(35,7.142857); h_SL3L482->SetBinContent(50,10.71429); h_SL3L482->SetBinContent(57,10.71429); h_SL3L482->SetMaximum(32.85714); h_SL3L482->SetEntries(60); h_SL3L482->SetDirectory(0); h_SL3L482->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L482->SetLineColor(ci); h_SL3L482->SetLineWidth(2); h_SL3L482->GetXaxis()->SetTitle("Cell"); h_SL3L482->GetXaxis()->SetLabelFont(42); h_SL3L482->GetXaxis()->SetLabelSize(0.035); h_SL3L482->GetXaxis()->SetTitleSize(0.035); h_SL3L482->GetXaxis()->SetTitleFont(42); h_SL3L482->GetYaxis()->SetTitle("Hz per wire"); h_SL3L482->GetYaxis()->SetLabelFont(42); h_SL3L482->GetYaxis()->SetLabelSize(0.035); h_SL3L482->GetYaxis()->SetTitleSize(0.035); h_SL3L482->GetYaxis()->SetTitleOffset(1.45); h_SL3L482->GetYaxis()->SetTitleFont(42); h_SL3L482->GetZaxis()->SetLabelFont(42); h_SL3L482->GetZaxis()->SetLabelSize(0.035); h_SL3L482->GetZaxis()->SetTitleSize(0.035); h_SL3L482->GetZaxis()->SetTitleFont(42); h_SL3L482->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,-10974.67,14,98772.01); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *hRateSub83 = new TH1D("hRateSub83","Average rate per layer for run 5742 (no noisy cells)",12,0.5,12.5); hRateSub83->SetBinContent(1,76345.52); hRateSub83->SetBinContent(4,70710.23); hRateSub83->SetBinContent(11,27.14286); hRateSub83->SetMinimum(0); hRateSub83->SetMaximum(87797.34); hRateSub83->SetEntries(2410943); hRateSub83->SetDirectory(0); hRateSub83->SetStats(0); ci = TColor::GetColor("#330066"); hRateSub83->SetLineColor(ci); hRateSub83->SetLineWidth(2); hRateSub83->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub83->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub83->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub83->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub83->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub83->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub83->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub83->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub83->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub83->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub83->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub83->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub83->GetXaxis()->SetLabelFont(42); hRateSub83->GetXaxis()->SetLabelSize(0.035); hRateSub83->GetXaxis()->SetTitleSize(0.035); hRateSub83->GetXaxis()->SetTitleFont(42); hRateSub83->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub83->GetYaxis()->SetLabelFont(42); hRateSub83->GetYaxis()->SetLabelSize(0.06); hRateSub83->GetYaxis()->SetTitleSize(0.035); hRateSub83->GetYaxis()->SetTitleOffset(1.3); hRateSub83->GetYaxis()->SetTitleFont(42); hRateSub83->GetZaxis()->SetLabelFont(42); hRateSub83->GetZaxis()->SetLabelSize(0.035); hRateSub83->GetZaxis()->SetTitleSize(0.035); hRateSub83->GetZaxis()->SetTitleFont(42); hRateSub83->Draw("hist"); TH1D *hRateSub84 = new TH1D("hRateSub84","Average rate per layer for run 5742 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,76274.41); hRateSub84->SetBinContent(4,70556.38); hRateSub84->SetBinContent(11,2); hRateSub84->SetEntries(2410943); hRateSub84->SetDirectory(0); hRateSub84->SetStats(0); ci = TColor::GetColor("#cc6600"); 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.035); 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, 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 5742"); 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 5742 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }