void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:29:58 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,-9634.742,67.5,86712.67); 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,27.14286); h_SL1L172->SetBinContent(2,27.14286); h_SL1L172->SetBinContent(3,24.28572); h_SL1L172->SetBinContent(4,32.85714); h_SL1L172->SetBinContent(5,22.85714); h_SL1L172->SetBinContent(6,34.28571); h_SL1L172->SetBinContent(7,30); h_SL1L172->SetBinContent(8,18.57143); h_SL1L172->SetBinContent(9,20); h_SL1L172->SetBinContent(10,28.57143); h_SL1L172->SetBinContent(11,38.57143); h_SL1L172->SetBinContent(12,54.28572); h_SL1L172->SetBinContent(13,54.28572); h_SL1L172->SetBinContent(14,35.71429); h_SL1L172->SetBinContent(15,47.14286); h_SL1L172->SetBinContent(16,37.14286); h_SL1L172->SetBinContent(17,51.42857); h_SL1L172->SetBinContent(18,68.57143); h_SL1L172->SetBinContent(19,80); h_SL1L172->SetBinContent(20,67.14286); h_SL1L172->SetBinContent(21,87.14286); h_SL1L172->SetBinContent(22,84.28571); h_SL1L172->SetBinContent(23,101.4286); h_SL1L172->SetBinContent(24,71.42857); h_SL1L172->SetBinContent(25,107.1429); h_SL1L172->SetBinContent(26,124.2857); h_SL1L172->SetBinContent(27,155.7143); h_SL1L172->SetBinContent(28,190); h_SL1L172->SetBinContent(29,185.7143); h_SL1L172->SetBinContent(30,201.4286); h_SL1L172->SetBinContent(31,260); h_SL1L172->SetBinContent(32,390); h_SL1L172->SetBinContent(33,1390); h_SL1L172->SetBinContent(34,2285.714); h_SL1L172->SetBinContent(35,2487.143); h_SL1L172->SetBinContent(36,2318.572); h_SL1L172->SetBinContent(37,3004.286); h_SL1L172->SetBinContent(38,2672.857); h_SL1L172->SetBinContent(39,1705.714); h_SL1L172->SetBinContent(40,390); h_SL1L172->SetBinContent(41,261.4286); h_SL1L172->SetBinContent(42,212.8571); h_SL1L172->SetBinContent(43,188.5714); h_SL1L172->SetBinContent(44,181.4286); h_SL1L172->SetBinContent(45,177.1429); h_SL1L172->SetBinContent(46,131.4286); h_SL1L172->SetBinContent(47,122.8571); h_SL1L172->SetBinContent(48,97.14286); h_SL1L172->SetBinContent(49,118.5714); h_SL1L172->SetBinContent(50,110); h_SL1L172->SetBinContent(51,102.8571); h_SL1L172->SetBinContent(52,88.57143); h_SL1L172->SetBinContent(53,72.85715); h_SL1L172->SetBinContent(54,64.28571); h_SL1L172->SetBinContent(55,68.57143); h_SL1L172->SetBinContent(56,80); h_SL1L172->SetBinContent(57,74.28571); h_SL1L172->SetBinContent(58,72.85715); h_SL1L172->SetBinContent(59,71.42857); h_SL1L172->SetMaximum(77077.93); 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,347.1429); h_SL1L273->SetBinContent(2,330); h_SL1L273->SetBinContent(3,360); h_SL1L273->SetBinContent(4,367.1429); h_SL1L273->SetBinContent(5,391.4286); h_SL1L273->SetBinContent(6,388.5714); h_SL1L273->SetBinContent(7,444.2857); h_SL1L273->SetBinContent(8,454.2857); h_SL1L273->SetBinContent(9,471.4286); h_SL1L273->SetBinContent(10,510); h_SL1L273->SetBinContent(11,571.4286); h_SL1L273->SetBinContent(12,625.7143); h_SL1L273->SetBinContent(13,741.4286); h_SL1L273->SetBinContent(14,755.7143); h_SL1L273->SetBinContent(15,802.8572); h_SL1L273->SetBinContent(16,714.2857); h_SL1L273->SetBinContent(17,818.5715); h_SL1L273->SetBinContent(18,1045.714); h_SL1L273->SetBinContent(19,1141.429); h_SL1L273->SetBinContent(20,1197.143); h_SL1L273->SetBinContent(21,1381.429); h_SL1L273->SetBinContent(22,1548.571); h_SL1L273->SetBinContent(23,1618.571); h_SL1L273->SetBinContent(24,1825.714); h_SL1L273->SetBinContent(25,1988.572); h_SL1L273->SetBinContent(26,1790); h_SL1L273->SetBinContent(27,2160); h_SL1L273->SetBinContent(28,2558.572); h_SL1L273->SetBinContent(29,3064.286); h_SL1L273->SetBinContent(30,3522.857); h_SL1L273->SetBinContent(31,4202.857); h_SL1L273->SetBinContent(32,7282.857); h_SL1L273->SetBinContent(33,19021.43); h_SL1L273->SetBinContent(34,49745.71); h_SL1L273->SetBinContent(35,57135.71); h_SL1L273->SetBinContent(36,62380); h_SL1L273->SetBinContent(37,66610); h_SL1L273->SetBinContent(38,65585.72); h_SL1L273->SetBinContent(39,54054.29); h_SL1L273->SetBinContent(40,18925.71); h_SL1L273->SetBinContent(41,7625.714); h_SL1L273->SetBinContent(42,4741.429); h_SL1L273->SetBinContent(43,4168.571); h_SL1L273->SetBinContent(44,3478.572); h_SL1L273->SetBinContent(45,3232.857); h_SL1L273->SetBinContent(46,2901.429); h_SL1L273->SetBinContent(47,2695.714); h_SL1L273->SetBinContent(48,2505.714); h_SL1L273->SetBinContent(49,2407.143); h_SL1L273->SetBinContent(50,2185.714); h_SL1L273->SetBinContent(51,2041.429); h_SL1L273->SetBinContent(52,1827.143); h_SL1L273->SetBinContent(53,1865.714); h_SL1L273->SetBinContent(54,1674.286); h_SL1L273->SetBinContent(55,1634.286); h_SL1L273->SetBinContent(56,1541.429); h_SL1L273->SetBinContent(57,1498.571); h_SL1L273->SetBinContent(58,1415.714); h_SL1L273->SetBinContent(59,1448.571); h_SL1L273->SetMaximum(77077.93); 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,340); h_SL1L374->SetBinContent(2,292.8571); h_SL1L374->SetBinContent(3,324.2857); h_SL1L374->SetBinContent(4,305.7143); h_SL1L374->SetBinContent(5,358.5714); h_SL1L374->SetBinContent(6,344.2857); h_SL1L374->SetBinContent(7,390); h_SL1L374->SetBinContent(8,395.7143); h_SL1L374->SetBinContent(9,464.2857); h_SL1L374->SetBinContent(10,500); h_SL1L374->SetBinContent(11,570); h_SL1L374->SetBinContent(12,635.7143); h_SL1L374->SetBinContent(13,690); h_SL1L374->SetBinContent(14,744.2857); h_SL1L374->SetBinContent(15,711.4286); h_SL1L374->SetBinContent(16,731.4286); h_SL1L374->SetBinContent(17,867.1429); h_SL1L374->SetBinContent(18,1032.857); h_SL1L374->SetBinContent(19,1104.286); h_SL1L374->SetBinContent(20,1211.429); h_SL1L374->SetBinContent(21,1340); h_SL1L374->SetBinContent(22,1448.571); h_SL1L374->SetBinContent(23,1614.286); h_SL1L374->SetBinContent(24,1868.572); h_SL1L374->SetBinContent(25,1841.429); h_SL1L374->SetBinContent(26,1894.286); h_SL1L374->SetBinContent(27,2260); h_SL1L374->SetBinContent(28,2881.429); h_SL1L374->SetBinContent(29,3171.429); h_SL1L374->SetBinContent(30,3711.429); h_SL1L374->SetBinContent(31,5134.286); h_SL1L374->SetBinContent(32,9237.144); h_SL1L374->SetBinContent(33,37390); h_SL1L374->SetBinContent(34,55104.29); h_SL1L374->SetBinContent(35,59411.43); h_SL1L374->SetBinContent(36,65354.29); h_SL1L374->SetBinContent(37,67024.29); h_SL1L374->SetBinContent(38,61241.43); h_SL1L374->SetBinContent(39,39005.71); h_SL1L374->SetBinContent(40,9205.715); h_SL1L374->SetBinContent(41,5564.286); h_SL1L374->SetBinContent(42,4300); h_SL1L374->SetBinContent(43,3628.572); h_SL1L374->SetBinContent(44,3177.143); h_SL1L374->SetBinContent(45,3068.572); h_SL1L374->SetBinContent(46,2574.286); h_SL1L374->SetBinContent(47,2624.286); h_SL1L374->SetBinContent(48,2317.143); h_SL1L374->SetBinContent(49,2100); h_SL1L374->SetBinContent(50,1944.286); h_SL1L374->SetBinContent(51,1945.714); h_SL1L374->SetBinContent(52,1815.714); h_SL1L374->SetBinContent(53,1667.143); h_SL1L374->SetBinContent(54,1557.143); h_SL1L374->SetBinContent(55,1532.857); h_SL1L374->SetBinContent(56,1510); h_SL1L374->SetBinContent(57,1394.286); h_SL1L374->SetBinContent(58,1361.429); h_SL1L374->SetBinContent(59,1392.857); h_SL1L374->SetMaximum(77077.93); 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,291.4286); h_SL1L475->SetBinContent(3,262.8571); h_SL1L475->SetBinContent(4,281.4286); h_SL1L475->SetBinContent(5,298.5714); h_SL1L475->SetBinContent(6,328.5714); h_SL1L475->SetBinContent(7,360); h_SL1L475->SetBinContent(8,354.2857); h_SL1L475->SetBinContent(9,385.7143); h_SL1L475->SetBinContent(10,412.8571); h_SL1L475->SetBinContent(11,480); h_SL1L475->SetBinContent(12,481.4286); h_SL1L475->SetBinContent(13,625.7143); h_SL1L475->SetBinContent(14,641.4286); h_SL1L475->SetBinContent(15,700); h_SL1L475->SetBinContent(16,631.4286); h_SL1L475->SetBinContent(17,740); h_SL1L475->SetBinContent(18,872.8572); h_SL1L475->SetBinContent(19,904.2857); h_SL1L475->SetBinContent(20,1015.714); h_SL1L475->SetBinContent(21,1198.571); h_SL1L475->SetBinContent(22,1275.714); h_SL1L475->SetBinContent(23,1381.429); h_SL1L475->SetBinContent(24,1565.714); h_SL1L475->SetBinContent(25,1604.286); h_SL1L475->SetBinContent(26,1678.571); h_SL1L475->SetBinContent(27,1952.857); h_SL1L475->SetBinContent(28,2430); h_SL1L475->SetBinContent(29,2708.572); h_SL1L475->SetBinContent(30,3168.572); h_SL1L475->SetBinContent(31,3721.429); h_SL1L475->SetBinContent(32,6535.714); h_SL1L475->SetBinContent(33,17455.71); h_SL1L475->SetBinContent(34,47987.14); h_SL1L475->SetBinContent(35,55460); h_SL1L475->SetBinContent(36,59947.14); h_SL1L475->SetBinContent(37,63100); h_SL1L475->SetBinContent(38,62777.14); h_SL1L475->SetBinContent(39,52520); h_SL1L475->SetBinContent(40,18094.29); h_SL1L475->SetBinContent(41,7015.714); h_SL1L475->SetBinContent(42,4315.714); h_SL1L475->SetBinContent(43,3835.714); h_SL1L475->SetBinContent(44,3090); h_SL1L475->SetBinContent(45,2887.143); h_SL1L475->SetBinContent(46,2625.714); h_SL1L475->SetBinContent(47,2334.286); h_SL1L475->SetBinContent(48,2262.857); h_SL1L475->SetBinContent(49,2070); h_SL1L475->SetBinContent(50,1895.714); h_SL1L475->SetBinContent(51,1775.714); h_SL1L475->SetBinContent(52,1680); h_SL1L475->SetBinContent(53,1558.571); h_SL1L475->SetBinContent(54,1478.571); h_SL1L475->SetBinContent(56,1371.429); h_SL1L475->SetBinContent(57,1254.286); h_SL1L475->SetBinContent(58,1248.571); h_SL1L475->SetBinContent(59,1282.857); h_SL1L475->SetMaximum(77077.93); 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,-7535.376,67.5,67818.38); 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,631.4286); h_SL2L176->SetBinContent(2,744.2857); h_SL2L176->SetBinContent(3,942.8572); h_SL2L176->SetBinContent(4,1037.143); h_SL2L176->SetBinContent(5,1062.857); h_SL2L176->SetBinContent(6,1092.857); h_SL2L176->SetBinContent(7,1112.857); h_SL2L176->SetBinContent(8,1147.143); h_SL2L176->SetBinContent(9,1327.143); h_SL2L176->SetBinContent(10,1371.429); h_SL2L176->SetBinContent(11,1532.857); h_SL2L176->SetBinContent(12,1511.429); h_SL2L176->SetBinContent(13,1692.857); h_SL2L176->SetBinContent(14,1820); h_SL2L176->SetBinContent(15,1885.714); h_SL2L176->SetBinContent(16,1975.714); h_SL2L176->SetBinContent(17,2001.429); h_SL2L176->SetBinContent(18,2128.572); h_SL2L176->SetBinContent(19,2325.714); h_SL2L176->SetBinContent(20,2371.429); h_SL2L176->SetBinContent(21,2567.143); h_SL2L176->SetBinContent(22,2710); h_SL2L176->SetBinContent(23,2907.143); h_SL2L176->SetBinContent(24,3545.714); h_SL2L176->SetBinContent(25,8527.143); h_SL2L176->SetBinContent(26,27295.71); h_SL2L176->SetBinContent(27,41525.71); h_SL2L176->SetBinContent(28,49267.14); h_SL2L176->SetBinContent(29,52420); h_SL2L176->SetBinContent(30,51015.71); h_SL2L176->SetBinContent(31,48560); h_SL2L176->SetBinContent(32,48177.14); h_SL2L176->SetBinContent(33,18.57143); h_SL2L176->SetBinContent(34,15.71429); h_SL2L176->SetBinContent(36,28.57143); h_SL2L176->SetBinContent(37,10); h_SL2L176->SetBinContent(38,4.285714); h_SL2L176->SetBinContent(39,2.857143); h_SL2L176->SetBinContent(40,11.42857); h_SL2L176->SetBinContent(41,34.28571); h_SL2L176->SetBinContent(43,1.428571); h_SL2L176->SetBinContent(44,1.428571); h_SL2L176->SetBinContent(49,12.85714); h_SL2L176->SetBinContent(50,18.57143); h_SL2L176->SetBinContent(51,12.85714); h_SL2L176->SetBinContent(52,11.42857); h_SL2L176->SetBinContent(53,5.714286); h_SL2L176->SetBinContent(54,4.285714); h_SL2L176->SetBinContent(55,2.857143); h_SL2L176->SetBinContent(56,1.428571); h_SL2L176->SetMaximum(60283); 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,620); h_SL2L277->SetBinContent(2,662.8572); h_SL2L277->SetBinContent(3,855.7143); h_SL2L277->SetBinContent(4,977.1429); h_SL2L277->SetBinContent(5,951.4286); h_SL2L277->SetBinContent(6,1058.571); h_SL2L277->SetBinContent(7,1081.429); h_SL2L277->SetBinContent(8,1087.143); h_SL2L277->SetBinContent(9,1185.714); h_SL2L277->SetBinContent(10,1308.571); h_SL2L277->SetBinContent(11,1414.286); h_SL2L277->SetBinContent(12,1507.143); h_SL2L277->SetBinContent(13,1520); h_SL2L277->SetBinContent(14,1835.714); h_SL2L277->SetBinContent(15,1762.857); h_SL2L277->SetBinContent(16,1907.143); h_SL2L277->SetBinContent(17,1940); h_SL2L277->SetBinContent(18,2058.572); h_SL2L277->SetBinContent(19,2141.429); h_SL2L277->SetBinContent(20,2317.143); h_SL2L277->SetBinContent(21,2328.572); h_SL2L277->SetBinContent(22,2642.857); h_SL2L277->SetBinContent(23,2788.572); h_SL2L277->SetBinContent(24,3094.286); h_SL2L277->SetBinContent(25,4147.143); h_SL2L277->SetBinContent(26,17598.57); h_SL2L277->SetBinContent(27,35132.86); h_SL2L277->SetBinContent(28,46227.14); h_SL2L277->SetBinContent(29,51318.57); h_SL2L277->SetBinContent(30,51635.71); h_SL2L277->SetBinContent(31,49422.86); h_SL2L277->SetBinContent(32,47682.86); h_SL2L277->SetBinContent(33,21.42857); h_SL2L277->SetBinContent(34,18.57143); h_SL2L277->SetBinContent(35,17.14286); h_SL2L277->SetBinContent(36,18.57143); h_SL2L277->SetBinContent(37,7.142858); h_SL2L277->SetBinContent(38,2.857143); h_SL2L277->SetBinContent(39,2.857143); h_SL2L277->SetBinContent(40,1.428571); h_SL2L277->SetBinContent(44,2.857143); h_SL2L277->SetBinContent(49,15.71429); h_SL2L277->SetBinContent(50,14.28572); h_SL2L277->SetBinContent(51,18.57143); h_SL2L277->SetBinContent(52,12.85714); h_SL2L277->SetBinContent(53,2.857143); h_SL2L277->SetBinContent(54,1.428571); h_SL2L277->SetBinContent(55,4.285714); h_SL2L277->SetBinContent(56,2.857143); h_SL2L277->SetMaximum(60283); 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(1,612.8572); h_SL2L378->SetBinContent(2,732.8572); h_SL2L378->SetBinContent(3,928.5715); h_SL2L378->SetBinContent(4,970); h_SL2L378->SetBinContent(5,988.5715); h_SL2L378->SetBinContent(6,1037.143); h_SL2L378->SetBinContent(7,1094.286); h_SL2L378->SetBinContent(8,1091.429); h_SL2L378->SetBinContent(9,1257.143); h_SL2L378->SetBinContent(10,1311.429); h_SL2L378->SetBinContent(11,1478.571); h_SL2L378->SetBinContent(12,1472.857); h_SL2L378->SetBinContent(13,1675.714); h_SL2L378->SetBinContent(14,1761.429); h_SL2L378->SetBinContent(15,1832.857); h_SL2L378->SetBinContent(16,1911.429); h_SL2L378->SetBinContent(17,1947.143); h_SL2L378->SetBinContent(18,2060); h_SL2L378->SetBinContent(19,2268.572); h_SL2L378->SetBinContent(20,2272.857); h_SL2L378->SetBinContent(21,2471.429); h_SL2L378->SetBinContent(22,2625.714); h_SL2L378->SetBinContent(23,2770); h_SL2L378->SetBinContent(24,3447.143); h_SL2L378->SetBinContent(25,8528.571); h_SL2L378->SetBinContent(26,27208.57); h_SL2L378->SetBinContent(27,41550); h_SL2L378->SetBinContent(28,49245.71); h_SL2L378->SetBinContent(29,51995.71); h_SL2L378->SetBinContent(30,50891.43); h_SL2L378->SetBinContent(31,48587.14); h_SL2L378->SetBinContent(32,48104.29); h_SL2L378->SetBinContent(33,18.57143); h_SL2L378->SetBinContent(34,10); h_SL2L378->SetBinContent(35,21.42857); h_SL2L378->SetBinContent(36,25.71429); h_SL2L378->SetBinContent(37,5.714286); h_SL2L378->SetBinContent(38,2.857143); h_SL2L378->SetBinContent(40,4.285714); h_SL2L378->SetBinContent(44,1.428571); h_SL2L378->SetBinContent(49,10); h_SL2L378->SetBinContent(50,21.42857); h_SL2L378->SetBinContent(51,14.28572); h_SL2L378->SetBinContent(52,15.71429); h_SL2L378->SetBinContent(53,4.285714); h_SL2L378->SetBinContent(54,1.428571); h_SL2L378->SetBinContent(55,7.142858); h_SL2L378->SetBinContent(56,2.857143); h_SL2L378->SetMaximum(60283); 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,652.8572); h_SL2L479->SetBinContent(3,847.1429); h_SL2L479->SetBinContent(4,935.7143); h_SL2L479->SetBinContent(5,942.8572); h_SL2L479->SetBinContent(6,1012.857); h_SL2L479->SetBinContent(7,1067.143); h_SL2L479->SetBinContent(8,1072.857); h_SL2L479->SetBinContent(9,1092.857); h_SL2L479->SetBinContent(10,1248.571); h_SL2L479->SetBinContent(11,1417.143); h_SL2L479->SetBinContent(12,1411.429); h_SL2L479->SetBinContent(13,1457.143); h_SL2L479->SetBinContent(14,1724.286); h_SL2L479->SetBinContent(15,1664.286); h_SL2L479->SetBinContent(16,1864.286); h_SL2L479->SetBinContent(17,1920); h_SL2L479->SetBinContent(18,1958.572); h_SL2L479->SetBinContent(19,2055.714); h_SL2L479->SetBinContent(20,2231.429); h_SL2L479->SetBinContent(21,2311.429); h_SL2L479->SetBinContent(22,2518.572); h_SL2L479->SetBinContent(23,2684.286); h_SL2L479->SetBinContent(24,2980); h_SL2L479->SetBinContent(25,4031.429); h_SL2L479->SetBinContent(26,17552.86); h_SL2L479->SetBinContent(27,35091.43); h_SL2L479->SetBinContent(28,46021.43); h_SL2L479->SetBinContent(29,51232.86); h_SL2L479->SetBinContent(30,52174.29); h_SL2L479->SetBinContent(31,49531.43); h_SL2L479->SetBinContent(32,47660); h_SL2L479->SetBinContent(33,18.57143); h_SL2L479->SetBinContent(34,12.85714); h_SL2L479->SetBinContent(35,11.42857); h_SL2L479->SetBinContent(36,20); h_SL2L479->SetBinContent(37,5.714286); h_SL2L479->SetBinContent(38,2.857143); h_SL2L479->SetBinContent(39,1.428571); h_SL2L479->SetBinContent(49,18.57143); h_SL2L479->SetBinContent(50,18.57143); h_SL2L479->SetBinContent(51,20); h_SL2L479->SetBinContent(52,14.28572); h_SL2L479->SetBinContent(53,1.428571); h_SL2L479->SetBinContent(54,2.857143); h_SL2L479->SetBinContent(55,1.428571); h_SL2L479->SetBinContent(56,2.857143); h_SL2L479->SetMaximum(60283); 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,-9820.385,67.5,88383.46); 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,232.8571); h_SL3L180->SetBinContent(2,240); h_SL3L180->SetBinContent(4,232.8571); h_SL3L180->SetBinContent(5,245.7143); h_SL3L180->SetBinContent(6,257.1429); h_SL3L180->SetBinContent(7,244.2857); h_SL3L180->SetBinContent(8,265.7143); h_SL3L180->SetBinContent(9,280); h_SL3L180->SetBinContent(10,342.8571); h_SL3L180->SetBinContent(11,327.1429); h_SL3L180->SetBinContent(12,385.7143); h_SL3L180->SetBinContent(13,457.1429); h_SL3L180->SetBinContent(14,468.5714); h_SL3L180->SetBinContent(15,530); h_SL3L180->SetBinContent(16,555.7143); h_SL3L180->SetBinContent(17,585.7143); h_SL3L180->SetBinContent(18,654.2857); h_SL3L180->SetBinContent(19,755.7143); h_SL3L180->SetBinContent(20,771.4286); h_SL3L180->SetBinContent(21,887.1429); h_SL3L180->SetBinContent(22,1018.571); h_SL3L180->SetBinContent(23,1040); h_SL3L180->SetBinContent(24,1167.143); h_SL3L180->SetBinContent(25,1304.286); h_SL3L180->SetBinContent(26,1445.714); h_SL3L180->SetBinContent(27,1575.714); h_SL3L180->SetBinContent(28,1951.429); h_SL3L180->SetBinContent(29,2340); h_SL3L180->SetBinContent(30,2487.143); h_SL3L180->SetBinContent(31,3288.572); h_SL3L180->SetBinContent(32,4575.714); h_SL3L180->SetBinContent(33,9075.715); h_SL3L180->SetBinContent(34,37737.14); h_SL3L180->SetBinContent(35,55487.14); h_SL3L180->SetBinContent(36,60112.86); h_SL3L180->SetBinContent(37,66632.86); h_SL3L180->SetBinContent(38,68315.72); h_SL3L180->SetBinContent(39,62112.86); h_SL3L180->SetBinContent(40,39918.57); h_SL3L180->SetBinContent(41,9052.857); h_SL3L180->SetBinContent(42,4948.572); h_SL3L180->SetBinContent(43,3550); h_SL3L180->SetBinContent(44,3085.714); h_SL3L180->SetBinContent(45,2567.143); h_SL3L180->SetBinContent(46,2421.429); h_SL3L180->SetBinContent(47,2138.572); h_SL3L180->SetBinContent(48,2067.143); h_SL3L180->SetBinContent(49,1860); h_SL3L180->SetBinContent(50,1675.714); h_SL3L180->SetBinContent(51,1647.143); h_SL3L180->SetBinContent(52,1561.429); h_SL3L180->SetBinContent(53,1484.286); h_SL3L180->SetBinContent(54,1308.571); h_SL3L180->SetBinContent(55,1250); h_SL3L180->SetBinContent(56,1315.714); h_SL3L180->SetBinContent(57,1244.286); h_SL3L180->SetBinContent(58,1064.286); h_SL3L180->SetBinContent(59,1074.286); h_SL3L180->SetMaximum(78563.08); 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,207.1429); h_SL3L281->SetBinContent(2,244.2857); h_SL3L281->SetBinContent(4,242.8571); h_SL3L281->SetBinContent(5,251.4286); h_SL3L281->SetBinContent(6,258.5714); h_SL3L281->SetBinContent(7,230); h_SL3L281->SetBinContent(8,250); h_SL3L281->SetBinContent(9,304.2857); h_SL3L281->SetBinContent(10,314.2857); h_SL3L281->SetBinContent(11,325.7143); h_SL3L281->SetBinContent(12,337.1429); h_SL3L281->SetBinContent(13,434.2857); h_SL3L281->SetBinContent(14,497.1429); h_SL3L281->SetBinContent(15,512.8572); h_SL3L281->SetBinContent(16,564.2857); h_SL3L281->SetBinContent(17,575.7143); h_SL3L281->SetBinContent(18,575.7143); h_SL3L281->SetBinContent(19,718.5715); h_SL3L281->SetBinContent(20,717.1429); h_SL3L281->SetBinContent(21,797.1429); h_SL3L281->SetBinContent(22,980); h_SL3L281->SetBinContent(23,994.2858); h_SL3L281->SetBinContent(24,1062.857); h_SL3L281->SetBinContent(25,1222.857); h_SL3L281->SetBinContent(26,1358.571); h_SL3L281->SetBinContent(27,1442.857); h_SL3L281->SetBinContent(28,1780); h_SL3L281->SetBinContent(29,1985.714); h_SL3L281->SetBinContent(30,2322.857); h_SL3L281->SetBinContent(31,2735.714); h_SL3L281->SetBinContent(32,3504.286); h_SL3L281->SetBinContent(33,6782.857); h_SL3L281->SetBinContent(34,18897.14); h_SL3L281->SetBinContent(35,50160); h_SL3L281->SetBinContent(36,58137.14); h_SL3L281->SetBinContent(37,63001.43); h_SL3L281->SetBinContent(38,68051.43); h_SL3L281->SetBinContent(39,66677.14); h_SL3L281->SetBinContent(40,54490); h_SL3L281->SetBinContent(41,19400); h_SL3L281->SetBinContent(42,6994.286); h_SL3L281->SetBinContent(43,3920); h_SL3L281->SetBinContent(44,3262.857); h_SL3L281->SetBinContent(45,2674.286); h_SL3L281->SetBinContent(46,2420); h_SL3L281->SetBinContent(47,2270); h_SL3L281->SetBinContent(48,1991.429); h_SL3L281->SetBinContent(49,1941.429); h_SL3L281->SetBinContent(50,1770); h_SL3L281->SetBinContent(51,1651.429); h_SL3L281->SetBinContent(52,1528.571); h_SL3L281->SetBinContent(53,1512.857); h_SL3L281->SetBinContent(54,1381.429); h_SL3L281->SetBinContent(55,1237.143); h_SL3L281->SetBinContent(56,1251.429); h_SL3L281->SetBinContent(57,1282.857); h_SL3L281->SetBinContent(58,1114.286); h_SL3L281->SetBinContent(59,1082.857); h_SL3L281->SetMaximum(78563.08); 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,202.8571); h_SL3L382->SetBinContent(2,258.5714); h_SL3L382->SetBinContent(3,241.4286); h_SL3L382->SetBinContent(4,238.5714); h_SL3L382->SetBinContent(5,235.7143); h_SL3L382->SetBinContent(6,252.8571); h_SL3L382->SetBinContent(7,221.4286); h_SL3L382->SetBinContent(8,267.1429); h_SL3L382->SetBinContent(9,295.7143); h_SL3L382->SetBinContent(10,338.5714); h_SL3L382->SetBinContent(11,335.7143); h_SL3L382->SetBinContent(12,370); h_SL3L382->SetBinContent(13,432.8571); h_SL3L382->SetBinContent(14,477.1429); h_SL3L382->SetBinContent(15,542.8572); h_SL3L382->SetBinContent(16,558.5715); h_SL3L382->SetBinContent(17,538.5714); h_SL3L382->SetBinContent(18,628.5715); h_SL3L382->SetBinContent(19,710); h_SL3L382->SetBinContent(20,760); h_SL3L382->SetBinContent(21,862.8572); h_SL3L382->SetBinContent(22,945.7143); h_SL3L382->SetBinContent(23,1002.857); h_SL3L382->SetBinContent(24,1098.571); h_SL3L382->SetBinContent(25,1251.429); h_SL3L382->SetBinContent(26,1378.571); h_SL3L382->SetBinContent(27,1537.143); h_SL3L382->SetBinContent(28,1820); h_SL3L382->SetBinContent(29,2180); h_SL3L382->SetBinContent(30,2498.572); h_SL3L382->SetBinContent(31,3074.286); h_SL3L382->SetBinContent(32,4551.429); h_SL3L382->SetBinContent(33,8890); h_SL3L382->SetBinContent(34,37565.71); h_SL3L382->SetBinContent(35,55628.57); h_SL3L382->SetBinContent(36,60194.29); h_SL3L382->SetBinContent(37,66205.72); h_SL3L382->SetBinContent(38,67942.86); h_SL3L382->SetBinContent(39,62151.43); h_SL3L382->SetBinContent(40,39641.43); h_SL3L382->SetBinContent(41,8860); h_SL3L382->SetBinContent(42,4904.286); h_SL3L382->SetBinContent(43,3534.286); h_SL3L382->SetBinContent(44,2962.857); h_SL3L382->SetBinContent(45,12.85714); h_SL3L382->SetBinContent(46,2375.714); h_SL3L382->SetBinContent(47,2068.572); h_SL3L382->SetBinContent(48,1977.143); h_SL3L382->SetBinContent(49,1824.286); h_SL3L382->SetBinContent(50,1634.286); h_SL3L382->SetBinContent(51,1634.286); h_SL3L382->SetBinContent(52,1502.857); h_SL3L382->SetBinContent(53,1411.429); h_SL3L382->SetBinContent(54,1314.286); h_SL3L382->SetBinContent(55,1200); h_SL3L382->SetBinContent(56,1262.857); h_SL3L382->SetBinContent(57,1211.429); h_SL3L382->SetBinContent(58,1062.857); h_SL3L382->SetBinContent(59,1068.571); h_SL3L382->SetMaximum(78563.08); 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,227.1429); h_SL3L483->SetBinContent(3,240); h_SL3L483->SetBinContent(4,247.1429); h_SL3L483->SetBinContent(5,245.7143); h_SL3L483->SetBinContent(6,258.5714); h_SL3L483->SetBinContent(7,224.2857); h_SL3L483->SetBinContent(8,274.2857); h_SL3L483->SetBinContent(9,277.1429); h_SL3L483->SetBinContent(10,304.2857); h_SL3L483->SetBinContent(11,357.1429); h_SL3L483->SetBinContent(12,364.2857); h_SL3L483->SetBinContent(13,431.4286); h_SL3L483->SetBinContent(14,474.2857); h_SL3L483->SetBinContent(15,524.2857); h_SL3L483->SetBinContent(16,562.8572); h_SL3L483->SetBinContent(17,557.1429); h_SL3L483->SetBinContent(18,595.7143); h_SL3L483->SetBinContent(19,724.2857); h_SL3L483->SetBinContent(20,711.4286); h_SL3L483->SetBinContent(21,757.1429); h_SL3L483->SetBinContent(22,924.2858); h_SL3L483->SetBinContent(23,974.2858); h_SL3L483->SetBinContent(24,1025.714); h_SL3L483->SetBinContent(25,1210); h_SL3L483->SetBinContent(26,1394.286); h_SL3L483->SetBinContent(27,1417.143); h_SL3L483->SetBinContent(28,1718.571); h_SL3L483->SetBinContent(29,1965.714); h_SL3L483->SetBinContent(30,2275.714); h_SL3L483->SetBinContent(31,2732.857); h_SL3L483->SetBinContent(32,3425.714); h_SL3L483->SetBinContent(33,6610); h_SL3L483->SetBinContent(34,18795.71); h_SL3L483->SetBinContent(35,50680); h_SL3L483->SetBinContent(36,58134.29); h_SL3L483->SetBinContent(37,62864.29); h_SL3L483->SetBinContent(38,68001.43); h_SL3L483->SetBinContent(39,66497.14); h_SL3L483->SetBinContent(40,54525.71); h_SL3L483->SetBinContent(41,19355.71); h_SL3L483->SetBinContent(42,6927.143); h_SL3L483->SetBinContent(43,3894.286); h_SL3L483->SetBinContent(44,3144.286); h_SL3L483->SetBinContent(45,2608.572); h_SL3L483->SetBinContent(46,2318.572); h_SL3L483->SetBinContent(47,2227.143); h_SL3L483->SetBinContent(48,1928.572); h_SL3L483->SetBinContent(49,1885.714); h_SL3L483->SetBinContent(50,1730); h_SL3L483->SetBinContent(51,1635.714); h_SL3L483->SetBinContent(52,1544.286); h_SL3L483->SetBinContent(53,1464.286); h_SL3L483->SetBinContent(54,1338.571); h_SL3L483->SetBinContent(55,1267.143); h_SL3L483->SetBinContent(56,1260); h_SL3L483->SetBinContent(57,1218.571); h_SL3L483->SetBinContent(58,1102.857); h_SL3L483->SetBinContent(59,1052.857); h_SL3L483->SetMaximum(78563.08); 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,-1253.701,14,11283.3); 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 6866 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,361.1865); hRateSub84->SetBinContent(2,8324.867); hRateSub84->SetBinContent(3,8442.64); hRateSub84->SetBinContent(4,8103.233); hRateSub84->SetBinContent(5,8568.206); hRateSub84->SetBinContent(6,8350.697); hRateSub84->SetBinContent(7,8721.395); hRateSub84->SetBinContent(8,8513); hRateSub84->SetBinContent(9,8200.419); hRateSub84->SetBinContent(10,8167.315); hRateSub84->SetBinContent(11,7986.393); hRateSub84->SetBinContent(12,8146.06); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(10029.6); hRateSub84->SetEntries(3348197); 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 6866 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,33.55932); hRateSub85->SetBinContent(2,770.0339); hRateSub85->SetBinContent(3,757.8983); hRateSub85->SetBinContent(4,742.9474); hRateSub85->SetBinContent(5,611.1628); hRateSub85->SetBinContent(6,631.8049); hRateSub85->SetBinContent(7,623.5238); hRateSub85->SetBinContent(8,639.4); hRateSub85->SetBinContent(9,746.9655); hRateSub85->SetBinContent(10,757.5862); hRateSub85->SetBinContent(11,729.2881); hRateSub85->SetBinContent(12,756.8965); hRateSub85->SetEntries(3348197); 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 6866"); 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 6866 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }