void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:45:01 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,-10508.95,67.5,94580.52); 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,678.5715); h_SL1L172->SetBinContent(2,691.4286); h_SL1L172->SetBinContent(3,741.4286); h_SL1L172->SetBinContent(4,691.4286); h_SL1L172->SetBinContent(5,631.4286); h_SL1L172->SetBinContent(6,745.7143); h_SL1L172->SetBinContent(7,802.8572); h_SL1L172->SetBinContent(8,908.5715); h_SL1L172->SetBinContent(9,794.2857); h_SL1L172->SetBinContent(10,945.7143); h_SL1L172->SetBinContent(11,1011.429); h_SL1L172->SetBinContent(12,1134.286); h_SL1L172->SetBinContent(13,1188.571); h_SL1L172->SetBinContent(14,1352.857); h_SL1L172->SetBinContent(15,1294.286); h_SL1L172->SetBinContent(16,1358.571); h_SL1L172->SetBinContent(17,1391.429); h_SL1L172->SetBinContent(18,1644.286); h_SL1L172->SetBinContent(19,1825.714); h_SL1L172->SetBinContent(20,2118.572); h_SL1L172->SetBinContent(21,2295.714); h_SL1L172->SetBinContent(22,2445.714); h_SL1L172->SetBinContent(23,2687.143); h_SL1L172->SetBinContent(24,2938.572); h_SL1L172->SetBinContent(25,3154.286); h_SL1L172->SetBinContent(26,3205.714); h_SL1L172->SetBinContent(27,3550); h_SL1L172->SetBinContent(28,4441.429); h_SL1L172->SetBinContent(29,4880); h_SL1L172->SetBinContent(30,5540); h_SL1L172->SetBinContent(31,7390); h_SL1L172->SetBinContent(32,10815.71); h_SL1L172->SetBinContent(33,38248.57); h_SL1L172->SetBinContent(34,51657.14); h_SL1L172->SetBinContent(35,59320); h_SL1L172->SetBinContent(36,66965.72); h_SL1L172->SetBinContent(37,73105.72); h_SL1L172->SetBinContent(38,67042.86); h_SL1L172->SetBinContent(39,46080); h_SL1L172->SetBinContent(40,12767.14); h_SL1L172->SetBinContent(41,8718.571); h_SL1L172->SetBinContent(42,7391.429); h_SL1L172->SetBinContent(43,6267.143); h_SL1L172->SetBinContent(44,5588.572); h_SL1L172->SetBinContent(45,5064.286); h_SL1L172->SetBinContent(46,4781.429); h_SL1L172->SetBinContent(47,4345.714); h_SL1L172->SetBinContent(48,4110); h_SL1L172->SetBinContent(49,4001.429); h_SL1L172->SetBinContent(50,3600); h_SL1L172->SetBinContent(51,3304.286); h_SL1L172->SetBinContent(52,2920); h_SL1L172->SetBinContent(53,2948.572); h_SL1L172->SetBinContent(54,2624.286); h_SL1L172->SetBinContent(55,2594.286); h_SL1L172->SetBinContent(56,2381.429); h_SL1L172->SetBinContent(57,2435.714); h_SL1L172->SetBinContent(58,2312.857); h_SL1L172->SetBinContent(59,2180); h_SL1L172->SetMaximum(84071.58); 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,5.714286); h_SL1L273->SetBinContent(2,1.428571); h_SL1L273->SetBinContent(3,1.428571); h_SL1L273->SetBinContent(4,5.714286); h_SL1L273->SetBinContent(7,1.428571); h_SL1L273->SetBinContent(8,1.428571); h_SL1L273->SetBinContent(13,7.142858); h_SL1L273->SetBinContent(14,7.142858); h_SL1L273->SetBinContent(15,7.142858); h_SL1L273->SetBinContent(16,10); h_SL1L273->SetBinContent(20,1.428571); h_SL1L273->SetBinContent(24,1.428571); h_SL1L273->SetBinContent(26,1.428571); h_SL1L273->SetBinContent(29,18.57143); h_SL1L273->SetBinContent(30,11.42857); h_SL1L273->SetBinContent(31,10); h_SL1L273->SetBinContent(32,18.57143); h_SL1L273->SetBinContent(33,24.28572); h_SL1L273->SetBinContent(34,18.57143); h_SL1L273->SetBinContent(35,18.57143); h_SL1L273->SetBinContent(36,25.71429); h_SL1L273->SetBinContent(37,25.71429); h_SL1L273->SetBinContent(38,18.57143); h_SL1L273->SetBinContent(39,18.57143); h_SL1L273->SetBinContent(40,21.42857); h_SL1L273->SetBinContent(41,2.857143); h_SL1L273->SetBinContent(42,5.714286); h_SL1L273->SetBinContent(43,4.285714); h_SL1L273->SetBinContent(44,4.285714); h_SL1L273->SetBinContent(45,10); h_SL1L273->SetBinContent(46,7.142858); h_SL1L273->SetBinContent(47,7.142858); h_SL1L273->SetBinContent(48,10); h_SL1L273->SetBinContent(49,202.8571); h_SL1L273->SetBinContent(50,2.857143); h_SL1L273->SetBinContent(51,7.142858); h_SL1L273->SetBinContent(52,7.142858); h_SL1L273->SetBinContent(57,4.285714); h_SL1L273->SetBinContent(58,5.714286); h_SL1L273->SetBinContent(59,8.571428); h_SL1L273->SetMaximum(84071.58); 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,7.142858); h_SL1L374->SetBinContent(2,7.142858); h_SL1L374->SetBinContent(3,4.285714); h_SL1L374->SetBinContent(4,7.142858); h_SL1L374->SetBinContent(8,1.428571); h_SL1L374->SetBinContent(13,7.142858); h_SL1L374->SetBinContent(14,5.714286); h_SL1L374->SetBinContent(15,5.714286); h_SL1L374->SetBinContent(16,5.714286); h_SL1L374->SetBinContent(21,8.571428); h_SL1L374->SetBinContent(22,7.142858); h_SL1L374->SetBinContent(23,7.142858); h_SL1L374->SetBinContent(24,10); h_SL1L374->SetBinContent(29,17.14286); h_SL1L374->SetBinContent(30,15.71429); h_SL1L374->SetBinContent(31,17.14286); h_SL1L374->SetBinContent(32,18.57143); h_SL1L374->SetBinContent(33,27.14286); h_SL1L374->SetBinContent(34,24.28572); h_SL1L374->SetBinContent(35,27.14286); h_SL1L374->SetBinContent(36,30); h_SL1L374->SetBinContent(37,17.14286); h_SL1L374->SetBinContent(38,8.571428); h_SL1L374->SetBinContent(39,4.285714); h_SL1L374->SetBinContent(40,14.28572); h_SL1L374->SetBinContent(41,1.428571); h_SL1L374->SetBinContent(42,1.428571); h_SL1L374->SetBinContent(43,1.428571); h_SL1L374->SetBinContent(44,1.428571); h_SL1L374->SetBinContent(45,4.285714); h_SL1L374->SetBinContent(46,1.428571); h_SL1L374->SetBinContent(47,2.857143); h_SL1L374->SetBinContent(48,2.857143); h_SL1L374->SetBinContent(49,17.14286); h_SL1L374->SetBinContent(50,17.14286); h_SL1L374->SetBinContent(51,18.57143); h_SL1L374->SetBinContent(52,15.71429); h_SL1L374->SetBinContent(53,8.571428); h_SL1L374->SetBinContent(54,2.857143); h_SL1L374->SetBinContent(55,2.857143); h_SL1L374->SetBinContent(56,12.85714); h_SL1L374->SetBinContent(57,2.857143); h_SL1L374->SetMaximum(84071.58); 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,655.7143); h_SL1L475->SetBinContent(3,554.2857); h_SL1L475->SetBinContent(4,575.7143); h_SL1L475->SetBinContent(5,552.8572); h_SL1L475->SetBinContent(6,557.1429); h_SL1L475->SetBinContent(7,628.5715); h_SL1L475->SetBinContent(8,651.4286); h_SL1L475->SetBinContent(9,711.4286); h_SL1L475->SetBinContent(10,792.8572); h_SL1L475->SetBinContent(11,814.2857); h_SL1L475->SetBinContent(12,901.4286); h_SL1L475->SetBinContent(13,884.2857); h_SL1L475->SetBinContent(14,1104.286); h_SL1L475->SetBinContent(15,1180); h_SL1L475->SetBinContent(16,1160); h_SL1L475->SetBinContent(17,1162.857); h_SL1L475->SetBinContent(18,1384.286); h_SL1L475->SetBinContent(19,1545.714); h_SL1L475->SetBinContent(20,1767.143); h_SL1L475->SetBinContent(21,1864.286); h_SL1L475->SetBinContent(22,2041.429); h_SL1L475->SetBinContent(23,2298.572); h_SL1L475->SetBinContent(24,2627.143); h_SL1L475->SetBinContent(25,2698.572); h_SL1L475->SetBinContent(26,2825.714); h_SL1L475->SetBinContent(27,3131.429); h_SL1L475->SetBinContent(28,3802.857); h_SL1L475->SetBinContent(29,4357.143); h_SL1L475->SetBinContent(30,5001.429); h_SL1L475->SetBinContent(31,5995.714); h_SL1L475->SetBinContent(32,8868.571); h_SL1L475->SetBinContent(33,21874.29); h_SL1L475->SetBinContent(34,48168.57); h_SL1L475->SetBinContent(35,56225.71); h_SL1L475->SetBinContent(36,64135.71); h_SL1L475->SetBinContent(37,71364.29); h_SL1L475->SetBinContent(38,72090); h_SL1L475->SetBinContent(39,62334.29); h_SL1L475->SetBinContent(40,23577.14); h_SL1L475->SetBinContent(41,11077.14); h_SL1L475->SetBinContent(42,7868.572); h_SL1L475->SetBinContent(43,6515.714); h_SL1L475->SetBinContent(44,5715.714); h_SL1L475->SetBinContent(45,5055.714); h_SL1L475->SetBinContent(46,5002.857); h_SL1L475->SetBinContent(47,4285.714); h_SL1L475->SetBinContent(48,3998.572); h_SL1L475->SetBinContent(49,3760); h_SL1L475->SetBinContent(50,3481.429); h_SL1L475->SetBinContent(51,3341.429); h_SL1L475->SetBinContent(52,2935.714); h_SL1L475->SetBinContent(53,2695.714); h_SL1L475->SetBinContent(54,2557.143); h_SL1L475->SetBinContent(55,24.28572); h_SL1L475->SetBinContent(56,2315.714); h_SL1L475->SetBinContent(57,2245.714); h_SL1L475->SetBinContent(58,2240); h_SL1L475->SetBinContent(59,2034.286); h_SL1L475->SetMaximum(84071.58); 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,-5.339286,67.5,48.05357); 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(1,5.714286); h_SL2L176->SetBinContent(2,2.857143); h_SL2L176->SetBinContent(3,5.714286); h_SL2L176->SetBinContent(4,5.714286); h_SL2L176->SetBinContent(9,2.857143); h_SL2L176->SetBinContent(10,2.857143); h_SL2L176->SetBinContent(11,2.857143); h_SL2L176->SetBinContent(12,2.857143); h_SL2L176->SetBinContent(17,10); h_SL2L176->SetBinContent(18,8.571428); h_SL2L176->SetBinContent(19,8.571428); h_SL2L176->SetBinContent(20,10); h_SL2L176->SetBinContent(29,18.57143); h_SL2L176->SetBinContent(30,11.42857); h_SL2L176->SetBinContent(31,12.85714); h_SL2L176->SetBinContent(32,17.14286); h_SL2L176->SetBinContent(33,1.428571); h_SL2L176->SetBinContent(34,4.285714); h_SL2L176->SetBinContent(35,2.857143); h_SL2L176->SetBinContent(36,4.285714); h_SL2L176->SetBinContent(37,7.142858); h_SL2L176->SetBinContent(38,5.714286); h_SL2L176->SetBinContent(39,4.285714); h_SL2L176->SetBinContent(40,5.714286); h_SL2L176->SetBinContent(41,4.285714); h_SL2L176->SetBinContent(42,1.428571); h_SL2L176->SetBinContent(44,5.714286); h_SL2L176->SetBinContent(45,1.428571); h_SL2L176->SetBinContent(48,1.428571); h_SL2L176->SetBinContent(57,10); h_SL2L176->SetMaximum(42.71429); 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(9,2.857143); h_SL2L277->SetBinContent(10,1.428571); h_SL2L277->SetBinContent(11,2.857143); h_SL2L277->SetBinContent(12,2.857143); h_SL2L277->SetBinContent(13,2.857143); h_SL2L277->SetBinContent(16,1.428571); h_SL2L277->SetBinContent(21,2.857143); h_SL2L277->SetBinContent(23,1.428571); h_SL2L277->SetBinContent(24,1.428571); h_SL2L277->SetBinContent(25,7.142858); h_SL2L277->SetBinContent(26,4.285714); h_SL2L277->SetBinContent(27,7.142858); h_SL2L277->SetBinContent(28,7.142858); h_SL2L277->SetBinContent(29,18.57143); h_SL2L277->SetBinContent(30,20); h_SL2L277->SetBinContent(31,18.57143); h_SL2L277->SetBinContent(32,17.14286); h_SL2L277->SetBinContent(33,7.142858); h_SL2L277->SetBinContent(34,4.285714); h_SL2L277->SetBinContent(35,4.285714); h_SL2L277->SetBinContent(36,5.714286); h_SL2L277->SetBinContent(45,4.285714); h_SL2L277->SetBinContent(46,2.857143); h_SL2L277->SetBinContent(47,1.428571); h_SL2L277->SetBinContent(48,4.285714); h_SL2L277->SetBinContent(53,7.142858); h_SL2L277->SetBinContent(54,1.428571); h_SL2L277->SetBinContent(55,7.142858); h_SL2L277->SetBinContent(56,1.428571); h_SL2L277->SetBinContent(57,8.571428); h_SL2L277->SetMaximum(42.71429); 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(13,4.285714); h_SL2L378->SetBinContent(14,2.857143); h_SL2L378->SetBinContent(15,4.285714); h_SL2L378->SetBinContent(16,5.714286); h_SL2L378->SetBinContent(21,1.428571); h_SL2L378->SetBinContent(24,1.428571); h_SL2L378->SetBinContent(25,4.285714); h_SL2L378->SetBinContent(26,2.857143); h_SL2L378->SetBinContent(27,2.857143); h_SL2L378->SetBinContent(28,4.285714); h_SL2L378->SetBinContent(29,14.28572); h_SL2L378->SetBinContent(30,14.28572); h_SL2L378->SetBinContent(31,14.28572); h_SL2L378->SetBinContent(32,12.85714); h_SL2L378->SetBinContent(33,10); h_SL2L378->SetBinContent(34,4.285714); h_SL2L378->SetBinContent(35,8.571428); h_SL2L378->SetBinContent(36,10); h_SL2L378->SetBinContent(37,1.428571); h_SL2L378->SetBinContent(45,4.285714); h_SL2L378->SetBinContent(46,4.285714); h_SL2L378->SetBinContent(47,5.714286); h_SL2L378->SetBinContent(48,5.714286); h_SL2L378->SetBinContent(49,10); h_SL2L378->SetBinContent(50,4.285714); h_SL2L378->SetBinContent(51,5.714286); h_SL2L378->SetBinContent(52,10); h_SL2L378->SetBinContent(53,11.42857); h_SL2L378->SetBinContent(54,1.428571); h_SL2L378->SetBinContent(55,8.571428); h_SL2L378->SetBinContent(56,2.857143); h_SL2L378->SetMaximum(42.71429); 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(13,4.285714); h_SL2L479->SetBinContent(14,7.142858); h_SL2L479->SetBinContent(15,4.285714); h_SL2L479->SetBinContent(16,5.714286); h_SL2L479->SetBinContent(17,5.714286); h_SL2L479->SetBinContent(18,4.285714); h_SL2L479->SetBinContent(19,2.857143); h_SL2L479->SetBinContent(20,7.142858); h_SL2L479->SetBinContent(25,5.714286); h_SL2L479->SetBinContent(26,8.571428); h_SL2L479->SetBinContent(27,5.714286); h_SL2L479->SetBinContent(28,4.285714); h_SL2L479->SetBinContent(29,31.42857); h_SL2L479->SetBinContent(30,24.28572); h_SL2L479->SetBinContent(31,27.14286); h_SL2L479->SetBinContent(32,37.14286); h_SL2L479->SetBinContent(33,15.71429); h_SL2L479->SetBinContent(34,12.85714); h_SL2L479->SetBinContent(35,11.42857); h_SL2L479->SetBinContent(36,12.85714); h_SL2L479->SetBinContent(37,5.714286); h_SL2L479->SetBinContent(38,2.857143); h_SL2L479->SetBinContent(39,4.285714); h_SL2L479->SetBinContent(40,4.285714); h_SL2L479->SetBinContent(41,4.285714); h_SL2L479->SetBinContent(42,7.142858); h_SL2L479->SetBinContent(43,5.714286); h_SL2L479->SetBinContent(44,2.857143); h_SL2L479->SetBinContent(53,7.142858); h_SL2L479->SetBinContent(54,7.142858); h_SL2L479->SetBinContent(55,8.571428); h_SL2L479->SetBinContent(56,5.714286); h_SL2L479->SetBinContent(57,8.571428); h_SL2L479->SetMaximum(42.71429); 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,-3.491072,67.5,31.41964); 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(25,8.571428); h_SL3L180->SetBinContent(26,5.714286); h_SL3L180->SetBinContent(27,5.714286); h_SL3L180->SetBinContent(28,8.571428); h_SL3L180->SetBinContent(29,10); h_SL3L180->SetBinContent(30,8.571428); h_SL3L180->SetBinContent(31,7.142858); h_SL3L180->SetBinContent(32,11.42857); h_SL3L180->SetBinContent(37,2.857143); h_SL3L180->SetBinContent(38,1.428571); h_SL3L180->SetBinContent(39,2.857143); h_SL3L180->SetBinContent(40,1.428571); h_SL3L180->SetBinContent(41,11.42857); h_SL3L180->SetBinContent(42,8.571428); h_SL3L180->SetBinContent(43,7.142858); h_SL3L180->SetBinContent(44,11.42857); h_SL3L180->SetBinContent(45,1.428571); h_SL3L180->SetBinContent(46,2.857143); h_SL3L180->SetBinContent(47,2.857143); h_SL3L180->SetBinContent(48,2.857143); h_SL3L180->SetBinContent(49,7.142858); h_SL3L180->SetBinContent(50,4.285714); h_SL3L180->SetBinContent(51,4.285714); h_SL3L180->SetBinContent(52,7.142858); h_SL3L180->SetBinContent(53,4.285714); h_SL3L180->SetBinContent(54,7.142858); h_SL3L180->SetBinContent(55,5.714286); h_SL3L180->SetBinContent(56,5.714286); h_SL3L180->SetMaximum(27.92857); 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(13,5.714286); h_SL3L281->SetBinContent(14,4.285714); h_SL3L281->SetBinContent(15,4.285714); h_SL3L281->SetBinContent(16,7.142858); h_SL3L281->SetBinContent(21,5.714286); h_SL3L281->SetBinContent(22,1.428571); h_SL3L281->SetBinContent(23,1.428571); h_SL3L281->SetBinContent(24,5.714286); h_SL3L281->SetBinContent(25,2.857143); h_SL3L281->SetBinContent(26,2.857143); h_SL3L281->SetBinContent(28,2.857143); h_SL3L281->SetBinContent(29,4.285714); h_SL3L281->SetBinContent(30,2.857143); h_SL3L281->SetBinContent(31,2.857143); h_SL3L281->SetBinContent(32,4.285714); h_SL3L281->SetBinContent(33,20); h_SL3L281->SetBinContent(34,14.28572); h_SL3L281->SetBinContent(35,15.71429); h_SL3L281->SetBinContent(36,22.85714); h_SL3L281->SetBinContent(37,24.28572); h_SL3L281->SetBinContent(38,18.57143); h_SL3L281->SetBinContent(39,22.85714); h_SL3L281->SetBinContent(40,21.42857); h_SL3L281->SetBinContent(41,11.42857); h_SL3L281->SetBinContent(42,7.142858); h_SL3L281->SetBinContent(43,8.571428); h_SL3L281->SetBinContent(44,11.42857); h_SL3L281->SetBinContent(49,12.85714); h_SL3L281->SetBinContent(50,8.571428); h_SL3L281->SetBinContent(51,10); h_SL3L281->SetBinContent(52,10); h_SL3L281->SetBinContent(53,14.28572); h_SL3L281->SetBinContent(54,14.28572); h_SL3L281->SetBinContent(55,15.71429); h_SL3L281->SetBinContent(56,12.85714); h_SL3L281->SetMaximum(27.92857); 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(13,8.571428); h_SL3L382->SetBinContent(14,10); h_SL3L382->SetBinContent(15,8.571428); h_SL3L382->SetBinContent(16,10); h_SL3L382->SetBinContent(21,10); h_SL3L382->SetBinContent(22,7.142858); h_SL3L382->SetBinContent(23,2.857143); h_SL3L382->SetBinContent(24,7.142858); h_SL3L382->SetBinContent(25,5.714286); h_SL3L382->SetBinContent(26,8.571428); h_SL3L382->SetBinContent(27,8.571428); h_SL3L382->SetBinContent(28,5.714286); h_SL3L382->SetBinContent(29,2.857143); h_SL3L382->SetBinContent(30,2.857143); h_SL3L382->SetBinContent(31,1.428571); h_SL3L382->SetBinContent(32,1.428571); h_SL3L382->SetBinContent(33,18.57143); h_SL3L382->SetBinContent(34,8.571428); h_SL3L382->SetBinContent(35,11.42857); h_SL3L382->SetBinContent(36,15.71429); h_SL3L382->SetBinContent(37,18.57143); h_SL3L382->SetBinContent(38,18.57143); h_SL3L382->SetBinContent(39,18.57143); h_SL3L382->SetBinContent(40,20); h_SL3L382->SetBinContent(41,12.85714); h_SL3L382->SetBinContent(42,5.714286); h_SL3L382->SetBinContent(43,2.857143); h_SL3L382->SetBinContent(44,8.571428); h_SL3L382->SetBinContent(51,1.428571); h_SL3L382->SetBinContent(53,14.28572); h_SL3L382->SetBinContent(54,8.571428); h_SL3L382->SetBinContent(55,7.142858); h_SL3L382->SetBinContent(56,14.28572); h_SL3L382->SetMaximum(27.92857); 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(5,2.857143); h_SL3L483->SetBinContent(7,1.428571); h_SL3L483->SetBinContent(8,4.285714); h_SL3L483->SetBinContent(17,5.714286); h_SL3L483->SetBinContent(18,4.285714); h_SL3L483->SetBinContent(19,5.714286); h_SL3L483->SetBinContent(20,7.142858); h_SL3L483->SetBinContent(25,7.142858); h_SL3L483->SetBinContent(26,5.714286); h_SL3L483->SetBinContent(27,4.285714); h_SL3L483->SetBinContent(28,8.571428); h_SL3L483->SetBinContent(38,1.428571); h_SL3L483->SetBinContent(49,5.714286); h_SL3L483->SetBinContent(50,4.285714); h_SL3L483->SetBinContent(51,4.285714); h_SL3L483->SetBinContent(52,5.714286); h_SL3L483->SetMaximum(27.92857); 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,-879.4055,14,7914.649); 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 5548 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,6117.603); hRateSub84->SetBinContent(2,20.61224); hRateSub84->SetBinContent(3,15.05102); hRateSub84->SetBinContent(4,5035.247); hRateSub84->SetBinContent(5,11.78571); hRateSub84->SetBinContent(6,15); hRateSub84->SetBinContent(7,13.2381); hRateSub84->SetBinContent(8,13.60248); hRateSub84->SetBinContent(9,9.915967); hRateSub84->SetBinContent(10,14.82143); hRateSub84->SetBinContent(11,11.81319); hRateSub84->SetBinContent(12,9.821428); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(7035.243); hRateSub84->SetEntries(843754); 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 5548 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,1839.593); hRateSub85->SetBinContent(2,10); hRateSub85->SetBinContent(3,7.714286); hRateSub85->SetBinContent(4,1864.966); hRateSub85->SetBinContent(5,5.25); hRateSub85->SetBinContent(6,2.333333); hRateSub85->SetBinContent(7,2.133333); hRateSub85->SetBinContent(8,4.347826); hRateSub85->SetBinContent(9,6.117647); hRateSub85->SetBinContent(10,10.66667); hRateSub85->SetBinContent(11,3.230769); hRateSub85->SetBinContent(12,16.5); hRateSub85->SetEntries(843754); 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 5548"); 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 5548 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }