void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:38:20 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,-6625.848,67.5,59632.63); 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,5450); h_SL1L172->SetBinContent(2,4982.143); h_SL1L172->SetBinContent(3,5742.857); h_SL1L172->SetBinContent(4,5875); h_SL1L172->SetBinContent(5,6135.714); h_SL1L172->SetBinContent(6,6425); h_SL1L172->SetBinContent(7,6878.571); h_SL1L172->SetBinContent(8,7200); h_SL1L172->SetBinContent(9,7232.143); h_SL1L172->SetBinContent(10,7485.714); h_SL1L172->SetBinContent(11,7200); h_SL1L172->SetBinContent(12,7396.429); h_SL1L172->SetBinContent(13,7307.143); h_SL1L172->SetBinContent(14,7214.286); h_SL1L172->SetBinContent(15,6739.286); h_SL1L172->SetBinContent(16,7075); h_SL1L172->SetBinContent(17,36203.57); h_SL1L172->SetBinContent(18,7228.571); h_SL1L172->SetBinContent(19,6767.857); h_SL1L172->SetBinContent(20,7317.857); h_SL1L172->SetBinContent(21,7614.286); h_SL1L172->SetBinContent(22,7853.571); h_SL1L172->SetBinContent(23,7192.857); h_SL1L172->SetBinContent(24,7171.429); h_SL1L172->SetBinContent(25,7653.571); h_SL1L172->SetBinContent(26,7635.714); h_SL1L172->SetBinContent(27,7142.857); h_SL1L172->SetBinContent(28,7614.286); h_SL1L172->SetBinContent(29,7267.857); h_SL1L172->SetBinContent(30,7553.571); h_SL1L172->SetBinContent(31,7346.429); h_SL1L172->SetBinContent(32,7225); h_SL1L172->SetBinContent(49,5860.714); h_SL1L172->SetBinContent(50,5857.143); h_SL1L172->SetBinContent(51,5150); h_SL1L172->SetBinContent(52,5207.143); h_SL1L172->SetBinContent(53,5550); h_SL1L172->SetBinContent(54,5132.143); h_SL1L172->SetBinContent(55,4917.857); h_SL1L172->SetBinContent(56,4382.143); h_SL1L172->SetBinContent(57,4425); h_SL1L172->SetBinContent(58,4228.571); h_SL1L172->SetBinContent(59,4114.286); h_SL1L172->SetMaximum(53006.78); 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,25657.14); h_SL1L273->SetBinContent(2,20996.43); h_SL1L273->SetBinContent(3,35914.29); h_SL1L273->SetBinContent(4,46092.86); h_SL1L273->SetBinContent(5,7975); h_SL1L273->SetBinContent(6,7367.857); h_SL1L273->SetBinContent(7,7285.714); h_SL1L273->SetBinContent(8,7650); h_SL1L273->SetBinContent(9,34132.14); h_SL1L273->SetBinContent(10,20814.29); h_SL1L273->SetBinContent(11,11189.29); h_SL1L273->SetBinContent(12,26985.71); h_SL1L273->SetBinContent(13,9950); h_SL1L273->SetBinContent(14,8675); h_SL1L273->SetBinContent(15,7860.714); h_SL1L273->SetBinContent(16,8292.857); h_SL1L273->SetBinContent(17,17553.57); h_SL1L273->SetBinContent(18,9775); h_SL1L273->SetBinContent(19,8539.285); h_SL1L273->SetBinContent(20,16092.86); h_SL1L273->SetBinContent(21,8514.285); h_SL1L273->SetBinContent(22,8792.857); h_SL1L273->SetBinContent(23,8700); h_SL1L273->SetBinContent(24,8317.857); h_SL1L273->SetBinContent(25,15910.71); h_SL1L273->SetBinContent(26,11853.57); h_SL1L273->SetBinContent(27,7921.429); h_SL1L273->SetBinContent(28,15435.71); h_SL1L273->SetBinContent(29,19996.43); h_SL1L273->SetBinContent(30,10557.14); h_SL1L273->SetBinContent(31,10332.14); h_SL1L273->SetBinContent(32,21282.14); h_SL1L273->SetBinContent(49,34785.71); h_SL1L273->SetBinContent(50,12150); h_SL1L273->SetBinContent(51,7207.143); h_SL1L273->SetBinContent(52,18482.14); h_SL1L273->SetBinContent(53,11125); h_SL1L273->SetBinContent(54,6857.143); h_SL1L273->SetBinContent(55,6035.714); h_SL1L273->SetBinContent(56,13157.14); h_SL1L273->SetBinContent(57,8521.429); h_SL1L273->SetBinContent(58,10332.14); h_SL1L273->SetBinContent(59,3982.143); h_SL1L273->SetMaximum(53006.78); 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,10017.86); h_SL1L374->SetBinContent(2,10300); h_SL1L374->SetBinContent(3,7175); h_SL1L374->SetBinContent(4,20382.14); h_SL1L374->SetBinContent(5,7417.857); h_SL1L374->SetBinContent(6,7221.429); h_SL1L374->SetBinContent(7,7539.286); h_SL1L374->SetBinContent(8,8235.714); h_SL1L374->SetBinContent(9,9296.429); h_SL1L374->SetBinContent(10,7950); h_SL1L374->SetBinContent(11,7682.143); h_SL1L374->SetBinContent(12,9939.285); h_SL1L374->SetBinContent(13,8625); h_SL1L374->SetBinContent(14,8096.429); h_SL1L374->SetBinContent(15,7971.429); h_SL1L374->SetBinContent(16,8210.714); h_SL1L374->SetBinContent(17,12142.86); h_SL1L374->SetBinContent(18,8896.429); h_SL1L374->SetBinContent(19,8060.714); h_SL1L374->SetBinContent(20,11896.43); h_SL1L374->SetBinContent(21,8789.285); h_SL1L374->SetBinContent(22,8289.285); h_SL1L374->SetBinContent(23,8182.143); h_SL1L374->SetBinContent(24,8385.714); h_SL1L374->SetBinContent(25,8978.571); h_SL1L374->SetBinContent(26,8178.571); h_SL1L374->SetBinContent(27,8242.857); h_SL1L374->SetBinContent(28,8900); h_SL1L374->SetBinContent(29,11839.29); h_SL1L374->SetBinContent(30,9217.857); h_SL1L374->SetBinContent(31,8817.857); h_SL1L374->SetBinContent(32,11707.14); h_SL1L374->SetBinContent(49,8078.571); h_SL1L374->SetBinContent(50,6625); h_SL1L374->SetBinContent(51,5982.143); h_SL1L374->SetBinContent(52,6500); h_SL1L374->SetBinContent(53,16964.29); h_SL1L374->SetBinContent(54,14142.86); h_SL1L374->SetBinContent(55,6264.286); h_SL1L374->SetBinContent(56,16292.86); h_SL1L374->SetBinContent(57,6564.286); h_SL1L374->SetBinContent(58,5971.429); h_SL1L374->SetBinContent(59,3971.428); h_SL1L374->SetMaximum(53006.78); 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,4092.857); h_SL1L475->SetBinContent(3,5282.143); h_SL1L475->SetBinContent(4,5775); h_SL1L475->SetBinContent(5,6346.429); h_SL1L475->SetBinContent(6,6871.429); h_SL1L475->SetBinContent(7,6871.429); h_SL1L475->SetBinContent(8,7207.143); h_SL1L475->SetBinContent(9,8014.286); h_SL1L475->SetBinContent(10,7675); h_SL1L475->SetBinContent(11,7400); h_SL1L475->SetBinContent(12,7878.571); h_SL1L475->SetBinContent(13,7839.286); h_SL1L475->SetBinContent(14,8335.714); h_SL1L475->SetBinContent(15,7307.143); h_SL1L475->SetBinContent(16,7642.857); h_SL1L475->SetBinContent(17,9857.143); h_SL1L475->SetBinContent(18,7892.857); h_SL1L475->SetBinContent(19,7339.286); h_SL1L475->SetBinContent(20,7367.857); h_SL1L475->SetBinContent(21,8107.143); h_SL1L475->SetBinContent(22,8064.286); h_SL1L475->SetBinContent(23,7314.286); h_SL1L475->SetBinContent(24,7450); h_SL1L475->SetBinContent(25,7721.429); h_SL1L475->SetBinContent(26,7585.714); h_SL1L475->SetBinContent(27,6989.286); h_SL1L475->SetBinContent(28,8146.429); h_SL1L475->SetBinContent(29,8285.714); h_SL1L475->SetBinContent(30,7953.571); h_SL1L475->SetBinContent(31,7889.286); h_SL1L475->SetBinContent(32,8250); h_SL1L475->SetBinContent(49,6482.143); h_SL1L475->SetBinContent(50,6335.714); h_SL1L475->SetBinContent(51,5567.857); h_SL1L475->SetBinContent(52,5614.286); h_SL1L475->SetBinContent(53,6117.857); h_SL1L475->SetBinContent(54,6178.571); h_SL1L475->SetBinContent(56,5357.143); h_SL1L475->SetBinContent(57,4896.429); h_SL1L475->SetBinContent(58,4528.571); h_SL1L475->SetBinContent(59,3735.714); h_SL1L475->SetMaximum(53006.78); 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,-3416.116,67.5,30745.04); 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,6914.286); h_SL2L176->SetBinContent(3,7482.143); h_SL2L176->SetBinContent(4,8939.285); h_SL2L176->SetBinContent(5,9282.143); h_SL2L176->SetBinContent(6,9485.714); h_SL2L176->SetBinContent(7,21039.29); h_SL2L176->SetBinContent(8,10914.29); h_SL2L176->SetBinContent(9,9946.429); h_SL2L176->SetBinContent(10,10289.29); h_SL2L176->SetBinContent(11,10353.57); h_SL2L176->SetBinContent(12,10310.71); h_SL2L176->SetBinContent(13,10607.14); h_SL2L176->SetBinContent(14,9960.714); h_SL2L176->SetBinContent(15,10339.29); h_SL2L176->SetBinContent(16,10300); h_SL2L176->SetBinContent(17,10614.29); h_SL2L176->SetBinContent(18,10282.14); h_SL2L176->SetBinContent(19,10389.29); h_SL2L176->SetBinContent(20,10110.71); h_SL2L176->SetBinContent(21,10271.43); h_SL2L176->SetBinContent(22,10696.43); h_SL2L176->SetBinContent(23,10314.29); h_SL2L176->SetBinContent(24,10053.57); h_SL2L176->SetBinContent(25,10175); h_SL2L176->SetBinContent(26,10007.14); h_SL2L176->SetBinContent(27,10307.14); h_SL2L176->SetBinContent(28,10607.14); h_SL2L176->SetBinContent(29,10292.86); h_SL2L176->SetBinContent(30,10128.57); h_SL2L176->SetBinContent(31,10028.57); h_SL2L176->SetBinContent(32,9953.571); h_SL2L176->SetBinContent(33,10042.86); h_SL2L176->SetBinContent(34,9807.143); h_SL2L176->SetBinContent(36,11725); h_SL2L176->SetBinContent(37,10335.71); h_SL2L176->SetBinContent(38,10453.57); h_SL2L176->SetBinContent(39,9682.143); h_SL2L176->SetBinContent(40,9410.714); h_SL2L176->SetBinContent(41,9828.571); h_SL2L176->SetBinContent(42,9767.857); h_SL2L176->SetBinContent(43,9396.429); h_SL2L176->SetBinContent(44,9582.143); h_SL2L176->SetBinContent(45,9564.285); h_SL2L176->SetBinContent(46,9878.571); h_SL2L176->SetBinContent(47,9664.285); h_SL2L176->SetBinContent(48,9603.571); h_SL2L176->SetBinContent(49,9650); h_SL2L176->SetBinContent(50,9432.143); h_SL2L176->SetBinContent(51,9835.714); h_SL2L176->SetBinContent(52,9653.571); h_SL2L176->SetBinContent(53,15535.71); h_SL2L176->SetBinContent(54,9650); h_SL2L176->SetBinContent(55,11942.86); h_SL2L176->SetBinContent(56,8246.429); h_SL2L176->SetBinContent(57,23764.29); h_SL2L176->SetMaximum(27328.93); 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,4928.571); h_SL2L277->SetBinContent(2,5903.571); h_SL2L277->SetBinContent(3,6864.286); h_SL2L277->SetBinContent(4,8882.143); h_SL2L277->SetBinContent(5,11960.71); h_SL2L277->SetBinContent(6,11471.43); h_SL2L277->SetBinContent(7,12335.71); h_SL2L277->SetBinContent(8,12160.71); h_SL2L277->SetBinContent(9,9996.429); h_SL2L277->SetBinContent(10,10296.43); h_SL2L277->SetBinContent(11,10075); h_SL2L277->SetBinContent(12,10103.57); h_SL2L277->SetBinContent(13,10214.29); h_SL2L277->SetBinContent(14,10146.43); h_SL2L277->SetBinContent(15,10075); h_SL2L277->SetBinContent(16,10200); h_SL2L277->SetBinContent(17,10157.14); h_SL2L277->SetBinContent(18,10675); h_SL2L277->SetBinContent(19,10625); h_SL2L277->SetBinContent(20,10039.29); h_SL2L277->SetBinContent(21,10217.86); h_SL2L277->SetBinContent(22,10317.86); h_SL2L277->SetBinContent(23,10389.29); h_SL2L277->SetBinContent(24,10028.57); h_SL2L277->SetBinContent(25,9935.714); h_SL2L277->SetBinContent(26,10125); h_SL2L277->SetBinContent(27,9810.714); h_SL2L277->SetBinContent(28,10164.29); h_SL2L277->SetBinContent(29,10550); h_SL2L277->SetBinContent(30,9985.714); h_SL2L277->SetBinContent(31,9896.429); h_SL2L277->SetBinContent(32,9767.857); h_SL2L277->SetBinContent(33,9892.857); h_SL2L277->SetBinContent(34,9839.285); h_SL2L277->SetBinContent(35,8678.571); h_SL2L277->SetBinContent(36,8282.143); h_SL2L277->SetBinContent(37,10228.57); h_SL2L277->SetBinContent(38,10489.29); h_SL2L277->SetBinContent(39,10078.57); h_SL2L277->SetBinContent(40,9789.285); h_SL2L277->SetBinContent(41,9617.857); h_SL2L277->SetBinContent(42,9617.857); h_SL2L277->SetBinContent(43,9478.571); h_SL2L277->SetBinContent(44,9300); h_SL2L277->SetBinContent(45,9503.571); h_SL2L277->SetBinContent(46,9300); h_SL2L277->SetBinContent(47,9439.285); h_SL2L277->SetBinContent(48,9346.429); h_SL2L277->SetBinContent(49,16578.57); h_SL2L277->SetBinContent(50,9214.285); h_SL2L277->SetBinContent(51,9803.571); h_SL2L277->SetBinContent(52,9592.857); h_SL2L277->SetBinContent(53,10028.57); h_SL2L277->SetBinContent(54,9496.429); h_SL2L277->SetBinContent(55,11285.71); h_SL2L277->SetBinContent(56,7442.857); h_SL2L277->SetBinContent(57,6214.286); h_SL2L277->SetMaximum(27328.93); 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,4046.428); h_SL2L378->SetBinContent(2,6242.857); h_SL2L378->SetBinContent(3,8289.285); h_SL2L378->SetBinContent(4,9332.143); h_SL2L378->SetBinContent(5,9753.571); h_SL2L378->SetBinContent(6,9614.285); h_SL2L378->SetBinContent(7,10000); h_SL2L378->SetBinContent(8,9796.429); h_SL2L378->SetBinContent(9,9725); h_SL2L378->SetBinContent(10,10028.57); h_SL2L378->SetBinContent(11,10146.43); h_SL2L378->SetBinContent(12,10360.71); h_SL2L378->SetBinContent(13,10014.29); h_SL2L378->SetBinContent(14,10442.86); h_SL2L378->SetBinContent(15,10185.71); h_SL2L378->SetBinContent(16,9896.429); h_SL2L378->SetBinContent(17,10389.29); h_SL2L378->SetBinContent(18,10292.86); h_SL2L378->SetBinContent(19,10167.86); h_SL2L378->SetBinContent(20,9946.429); h_SL2L378->SetBinContent(21,10400); h_SL2L378->SetBinContent(22,10028.57); h_SL2L378->SetBinContent(23,9778.571); h_SL2L378->SetBinContent(24,9814.285); h_SL2L378->SetBinContent(25,10371.43); h_SL2L378->SetBinContent(26,9942.857); h_SL2L378->SetBinContent(27,10160.71); h_SL2L378->SetBinContent(28,9900); h_SL2L378->SetBinContent(29,10167.86); h_SL2L378->SetBinContent(30,10025); h_SL2L378->SetBinContent(31,9921.429); h_SL2L378->SetBinContent(32,9675); h_SL2L378->SetBinContent(33,9696.429); h_SL2L378->SetBinContent(34,9182.143); h_SL2L378->SetBinContent(35,8617.857); h_SL2L378->SetBinContent(36,8771.429); h_SL2L378->SetBinContent(37,10042.86); h_SL2L378->SetBinContent(38,10142.86); h_SL2L378->SetBinContent(39,9628.571); h_SL2L378->SetBinContent(40,9592.857); h_SL2L378->SetBinContent(41,9532.143); h_SL2L378->SetBinContent(42,9567.857); h_SL2L378->SetBinContent(43,9257.143); h_SL2L378->SetBinContent(44,9285.714); h_SL2L378->SetBinContent(45,9464.285); h_SL2L378->SetBinContent(46,9257.143); h_SL2L378->SetBinContent(47,9582.143); h_SL2L378->SetBinContent(48,9103.571); h_SL2L378->SetBinContent(49,9353.571); h_SL2L378->SetBinContent(50,9471.429); h_SL2L378->SetBinContent(51,9396.429); h_SL2L378->SetBinContent(52,9614.285); h_SL2L378->SetBinContent(53,10046.43); h_SL2L378->SetBinContent(54,11285.71); h_SL2L378->SetBinContent(55,9589.285); h_SL2L378->SetBinContent(56,5689.286); h_SL2L378->SetBinContent(57,4889.286); h_SL2L378->SetMaximum(27328.93); 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,4607.143); h_SL2L479->SetBinContent(3,7860.714); h_SL2L479->SetBinContent(4,9089.285); h_SL2L479->SetBinContent(5,9550); h_SL2L479->SetBinContent(6,9592.857); h_SL2L479->SetBinContent(7,9785.714); h_SL2L479->SetBinContent(8,9753.571); h_SL2L479->SetBinContent(9,9878.571); h_SL2L479->SetBinContent(10,9517.857); h_SL2L479->SetBinContent(11,10089.29); h_SL2L479->SetBinContent(12,10617.86); h_SL2L479->SetBinContent(13,9957.143); h_SL2L479->SetBinContent(14,10321.43); h_SL2L479->SetBinContent(15,10264.29); h_SL2L479->SetBinContent(16,9953.571); h_SL2L479->SetBinContent(17,10139.29); h_SL2L479->SetBinContent(18,10010.71); h_SL2L479->SetBinContent(19,10242.86); h_SL2L479->SetBinContent(20,9942.857); h_SL2L479->SetBinContent(21,10764.29); h_SL2L479->SetBinContent(22,10264.29); h_SL2L479->SetBinContent(23,9971.429); h_SL2L479->SetBinContent(24,10160.71); h_SL2L479->SetBinContent(25,10121.43); h_SL2L479->SetBinContent(26,9935.714); h_SL2L479->SetBinContent(27,10146.43); h_SL2L479->SetBinContent(28,10117.86); h_SL2L479->SetBinContent(29,10089.29); h_SL2L479->SetBinContent(30,10103.57); h_SL2L479->SetBinContent(31,9864.285); h_SL2L479->SetBinContent(32,9742.857); h_SL2L479->SetBinContent(33,9735.714); h_SL2L479->SetBinContent(34,9110.714); h_SL2L479->SetBinContent(35,9607.143); h_SL2L479->SetBinContent(36,9203.571); h_SL2L479->SetBinContent(37,9410.714); h_SL2L479->SetBinContent(38,9971.429); h_SL2L479->SetBinContent(39,10264.29); h_SL2L479->SetBinContent(40,9832.143); h_SL2L479->SetBinContent(41,9560.714); h_SL2L479->SetBinContent(42,9860.714); h_SL2L479->SetBinContent(43,9792.857); h_SL2L479->SetBinContent(44,9332.143); h_SL2L479->SetBinContent(45,9564.285); h_SL2L479->SetBinContent(46,9632.143); h_SL2L479->SetBinContent(47,9503.571); h_SL2L479->SetBinContent(48,9310.714); h_SL2L479->SetBinContent(49,10103.57); h_SL2L479->SetBinContent(50,9282.143); h_SL2L479->SetBinContent(51,9485.714); h_SL2L479->SetBinContent(52,9853.571); h_SL2L479->SetBinContent(53,9667.857); h_SL2L479->SetBinContent(54,9285.714); h_SL2L479->SetBinContent(55,8717.857); h_SL2L479->SetBinContent(56,7178.571); h_SL2L479->SetBinContent(57,3535.714); h_SL2L479->SetMaximum(27328.93); 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,-8057.701,67.5,72519.31); 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,2721.428); h_SL3L180->SetBinContent(2,4057.143); h_SL3L180->SetBinContent(3,3.571429); h_SL3L180->SetBinContent(4,7150); h_SL3L180->SetBinContent(5,7575); h_SL3L180->SetBinContent(6,8682.143); h_SL3L180->SetBinContent(7,9132.143); h_SL3L180->SetBinContent(8,8150); h_SL3L180->SetBinContent(9,7603.571); h_SL3L180->SetBinContent(10,8878.571); h_SL3L180->SetBinContent(11,8767.857); h_SL3L180->SetBinContent(12,8425); h_SL3L180->SetBinContent(13,8132.143); h_SL3L180->SetBinContent(14,8989.285); h_SL3L180->SetBinContent(15,8867.857); h_SL3L180->SetBinContent(16,8392.857); h_SL3L180->SetBinContent(17,8064.286); h_SL3L180->SetBinContent(18,9067.857); h_SL3L180->SetBinContent(19,9314.285); h_SL3L180->SetBinContent(20,8757.143); h_SL3L180->SetBinContent(21,8257.143); h_SL3L180->SetBinContent(22,9292.857); h_SL3L180->SetBinContent(23,9275); h_SL3L180->SetBinContent(24,8900); h_SL3L180->SetBinContent(25,8410.714); h_SL3L180->SetBinContent(26,9328.571); h_SL3L180->SetBinContent(27,9300); h_SL3L180->SetBinContent(28,8853.571); h_SL3L180->SetBinContent(29,8614.285); h_SL3L180->SetBinContent(30,10000); h_SL3L180->SetBinContent(31,9753.571); h_SL3L180->SetBinContent(32,9014.285); h_SL3L180->SetBinContent(33,3.571429); h_SL3L180->SetBinContent(50,4232.143); h_SL3L180->SetBinContent(51,5557.143); h_SL3L180->SetBinContent(52,7871.429); h_SL3L180->SetBinContent(53,7260.714); h_SL3L180->SetBinContent(54,8678.571); h_SL3L180->SetBinContent(55,8103.571); h_SL3L180->SetBinContent(56,7810.714); h_SL3L180->SetBinContent(57,7603.571); h_SL3L180->SetBinContent(58,7328.571); h_SL3L180->SetBinContent(59,5225); h_SL3L180->SetMaximum(64461.61); 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,796.4286); h_SL3L281->SetBinContent(2,5878.571); h_SL3L281->SetBinContent(4,4085.714); h_SL3L281->SetBinContent(5,6782.143); h_SL3L281->SetBinContent(6,8492.857); h_SL3L281->SetBinContent(7,8707.143); h_SL3L281->SetBinContent(8,8428.571); h_SL3L281->SetBinContent(9,7821.429); h_SL3L281->SetBinContent(10,8585.714); h_SL3L281->SetBinContent(11,8846.429); h_SL3L281->SetBinContent(12,8232.143); h_SL3L281->SetBinContent(13,7864.286); h_SL3L281->SetBinContent(14,9160.714); h_SL3L281->SetBinContent(15,8578.571); h_SL3L281->SetBinContent(16,8657.143); h_SL3L281->SetBinContent(17,7728.571); h_SL3L281->SetBinContent(18,8907.143); h_SL3L281->SetBinContent(19,8817.857); h_SL3L281->SetBinContent(20,8967.857); h_SL3L281->SetBinContent(21,8439.285); h_SL3L281->SetBinContent(22,9203.571); h_SL3L281->SetBinContent(23,9178.571); h_SL3L281->SetBinContent(24,8946.429); h_SL3L281->SetBinContent(25,8314.285); h_SL3L281->SetBinContent(26,9500); h_SL3L281->SetBinContent(27,8842.857); h_SL3L281->SetBinContent(28,9132.143); h_SL3L281->SetBinContent(29,8221.429); h_SL3L281->SetBinContent(30,9517.857); h_SL3L281->SetBinContent(31,9660.714); h_SL3L281->SetBinContent(32,9203.571); h_SL3L281->SetBinContent(34,3.571429); h_SL3L281->SetBinContent(49,9739.285); h_SL3L281->SetBinContent(50,7489.286); h_SL3L281->SetBinContent(51,2553.571); h_SL3L281->SetBinContent(52,8357.143); h_SL3L281->SetBinContent(53,9717.857); h_SL3L281->SetBinContent(54,8767.857); h_SL3L281->SetBinContent(55,8167.857); h_SL3L281->SetBinContent(56,8307.143); h_SL3L281->SetBinContent(57,7678.571); h_SL3L281->SetBinContent(58,7639.286); h_SL3L281->SetBinContent(59,6257.143); h_SL3L281->SetMaximum(64461.61); 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,2860.714); h_SL3L382->SetBinContent(2,3817.857); h_SL3L382->SetBinContent(3,2064.286); h_SL3L382->SetBinContent(4,6235.714); h_SL3L382->SetBinContent(5,7667.857); h_SL3L382->SetBinContent(6,8260.714); h_SL3L382->SetBinContent(7,8467.857); h_SL3L382->SetBinContent(8,8050); h_SL3L382->SetBinContent(9,8314.285); h_SL3L382->SetBinContent(10,8403.571); h_SL3L382->SetBinContent(11,8310.714); h_SL3L382->SetBinContent(12,7942.857); h_SL3L382->SetBinContent(13,8607.143); h_SL3L382->SetBinContent(14,8607.143); h_SL3L382->SetBinContent(15,8514.285); h_SL3L382->SetBinContent(16,8046.429); h_SL3L382->SetBinContent(17,8510.714); h_SL3L382->SetBinContent(18,8621.429); h_SL3L382->SetBinContent(19,8689.285); h_SL3L382->SetBinContent(20,8264.285); h_SL3L382->SetBinContent(21,9157.143); h_SL3L382->SetBinContent(22,9192.857); h_SL3L382->SetBinContent(23,8567.857); h_SL3L382->SetBinContent(24,8403.571); h_SL3L382->SetBinContent(25,9096.429); h_SL3L382->SetBinContent(26,8964.285); h_SL3L382->SetBinContent(27,8910.714); h_SL3L382->SetBinContent(28,8478.571); h_SL3L382->SetBinContent(29,9307.143); h_SL3L382->SetBinContent(30,9239.285); h_SL3L382->SetBinContent(31,9314.285); h_SL3L382->SetBinContent(32,8614.285); h_SL3L382->SetBinContent(34,3.571429); h_SL3L382->SetBinContent(49,8617.857); h_SL3L382->SetBinContent(50,4321.429); h_SL3L382->SetBinContent(51,5028.571); h_SL3L382->SetBinContent(52,7657.143); h_SL3L382->SetBinContent(53,8557.143); h_SL3L382->SetBinContent(54,8246.429); h_SL3L382->SetBinContent(55,8117.857); h_SL3L382->SetBinContent(56,7678.571); h_SL3L382->SetBinContent(57,7389.286); h_SL3L382->SetBinContent(58,6967.857); h_SL3L382->SetBinContent(59,5000); h_SL3L382->SetMaximum(64461.61); 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,5242.857); h_SL3L483->SetBinContent(3,1428.571); h_SL3L483->SetBinContent(4,3867.857); h_SL3L483->SetBinContent(5,7114.286); h_SL3L483->SetBinContent(6,8057.143); h_SL3L483->SetBinContent(7,8403.571); h_SL3L483->SetBinContent(8,7792.857); h_SL3L483->SetBinContent(9,8217.857); h_SL3L483->SetBinContent(10,8528.571); h_SL3L483->SetBinContent(11,8446.429); h_SL3L483->SetBinContent(12,7910.714); h_SL3L483->SetBinContent(13,8364.285); h_SL3L483->SetBinContent(14,8778.571); h_SL3L483->SetBinContent(15,8482.143); h_SL3L483->SetBinContent(16,8296.429); h_SL3L483->SetBinContent(17,8307.143); h_SL3L483->SetBinContent(18,8878.571); h_SL3L483->SetBinContent(19,8603.571); h_SL3L483->SetBinContent(20,8521.429); h_SL3L483->SetBinContent(21,8560.714); h_SL3L483->SetBinContent(22,9417.857); h_SL3L483->SetBinContent(23,8857.143); h_SL3L483->SetBinContent(24,8925); h_SL3L483->SetBinContent(25,8635.714); h_SL3L483->SetBinContent(26,9253.571); h_SL3L483->SetBinContent(27,8846.429); h_SL3L483->SetBinContent(28,8953.571); h_SL3L483->SetBinContent(29,8771.429); h_SL3L483->SetBinContent(30,9403.571); h_SL3L483->SetBinContent(31,9178.571); h_SL3L483->SetBinContent(32,14421.43); h_SL3L483->SetBinContent(34,3.571429); h_SL3L483->SetBinContent(49,8142.857); h_SL3L483->SetBinContent(50,56053.57); h_SL3L483->SetBinContent(51,2653.571); h_SL3L483->SetBinContent(52,7260.714); h_SL3L483->SetBinContent(53,7750); h_SL3L483->SetBinContent(54,8535.714); h_SL3L483->SetBinContent(55,8078.571); h_SL3L483->SetBinContent(56,7950); h_SL3L483->SetBinContent(57,7767.857); h_SL3L483->SetBinContent(58,7467.857); h_SL3L483->SetBinContent(59,5692.857); h_SL3L483->SetMaximum(64461.61); 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,-2130.592,14,19175.33); 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 6418 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,7161.711); hRateSub84->SetBinContent(2,14821.51); hRateSub84->SetBinContent(3,9161.462); hRateSub84->SetBinContent(4,7040.505); hRateSub84->SetBinContent(5,10300.89); hRateSub84->SetBinContent(6,9839.286); hRateSub84->SetBinContent(7,9454.699); hRateSub84->SetBinContent(8,9522.513); hRateSub84->SetBinContent(9,7843.027); hRateSub84->SetBinContent(10,8123.979); hRateSub84->SetBinContent(11,7797.425); hRateSub84->SetBinContent(12,9225.765); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(17044.74); hRateSub84->SetEntries(1801472); 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 6418 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,1845.814); hRateSub85->SetBinContent(2,8310.93); hRateSub85->SetBinContent(3,2804.186); hRateSub85->SetBinContent(4,973.1708); hRateSub85->SetBinContent(5,1690.714); hRateSub85->SetBinContent(6,1248.246); hRateSub85->SetBinContent(7,870); hRateSub85->SetBinContent(8,693.75); hRateSub85->SetBinContent(9,568.5715); hRateSub85->SetBinContent(10,688.5715); hRateSub85->SetBinContent(11,566.0465); hRateSub85->SetBinContent(12,627.381); hRateSub85->SetEntries(1801472); 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 6418"); 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 6418 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }