void hRates() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:31:14 2018) 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,-1789.855,67.5,16108.7); 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,3369.811); h_SL1L172->SetBinContent(2,3369.811); h_SL1L172->SetBinContent(3,3369.811); h_SL1L172->SetBinContent(4,5483.083); h_SL1L172->SetBinContent(5,3883.85); h_SL1L172->SetBinContent(6,4397.889); h_SL1L172->SetBinContent(7,5083.274); h_SL1L172->SetBinContent(8,5140.39); h_SL1L172->SetBinContent(9,4740.582); h_SL1L172->SetBinContent(10,5026.159); h_SL1L172->SetBinContent(11,6225.583); h_SL1L172->SetBinContent(12,6168.468); h_SL1L172->SetBinContent(13,10052.32); h_SL1L172->SetBinContent(14,10223.66); h_SL1L172->SetBinContent(15,10109.43); h_SL1L172->SetBinContent(16,5254.621); h_SL1L172->SetBinContent(17,5197.505); h_SL1L172->SetBinContent(18,7425.008); h_SL1L172->SetBinContent(19,4797.697); h_SL1L172->SetBinContent(20,6168.468); h_SL1L172->SetBinContent(21,6796.738); h_SL1L172->SetBinContent(22,5768.66); h_SL1L172->SetBinContent(23,5654.429); h_SL1L172->SetBinContent(24,5940.006); h_SL1L172->SetBinContent(25,5940.006); h_SL1L172->SetBinContent(26,6454.045); h_SL1L172->SetBinContent(27,6682.507); h_SL1L172->SetBinContent(28,7367.892); h_SL1L172->SetBinContent(29,6054.237); h_SL1L172->SetBinContent(30,7710.585); h_SL1L172->SetBinContent(31,5597.313); h_SL1L172->SetBinContent(32,6282.699); h_SL1L172->SetBinContent(49,5540.198); h_SL1L172->SetBinContent(50,6339.814); h_SL1L172->SetBinContent(51,4969.043); h_SL1L172->SetBinContent(52,4626.351); h_SL1L172->SetBinContent(53,5597.313); h_SL1L172->SetBinContent(54,4112.312); h_SL1L172->SetBinContent(55,4169.427); h_SL1L172->SetBinContent(56,4055.197); h_SL1L172->SetMaximum(14318.84); 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,3312.696); h_SL1L273->SetBinContent(2,4397.889); h_SL1L273->SetBinContent(3,4340.774); h_SL1L273->SetBinContent(4,5254.621); h_SL1L273->SetBinContent(5,5997.122); h_SL1L273->SetBinContent(6,4055.197); h_SL1L273->SetBinContent(7,5368.852); h_SL1L273->SetBinContent(8,5711.544); h_SL1L273->SetBinContent(9,12451.17); h_SL1L273->SetBinContent(10,5597.313); h_SL1L273->SetBinContent(11,7082.315); h_SL1L273->SetBinContent(12,6282.699); h_SL1L273->SetBinContent(13,7653.47); h_SL1L273->SetBinContent(14,7025.2); h_SL1L273->SetBinContent(15,5654.429); h_SL1L273->SetBinContent(16,6454.045); h_SL1L273->SetBinContent(17,6225.583); h_SL1L273->SetBinContent(18,6339.814); h_SL1L273->SetBinContent(19,7482.123); h_SL1L273->SetBinContent(20,6396.93); h_SL1L273->SetBinContent(21,6511.161); h_SL1L273->SetBinContent(22,7139.431); h_SL1L273->SetBinContent(23,5540.198); h_SL1L273->SetBinContent(24,7596.354); h_SL1L273->SetBinContent(25,6511.161); h_SL1L273->SetBinContent(26,6282.699); h_SL1L273->SetBinContent(27,6054.237); h_SL1L273->SetBinContent(28,7767.7); h_SL1L273->SetBinContent(29,7425.008); h_SL1L273->SetBinContent(30,7482.123); h_SL1L273->SetBinContent(31,7367.892); h_SL1L273->SetBinContent(32,7025.2); h_SL1L273->SetBinContent(49,6111.353); h_SL1L273->SetBinContent(50,6282.699); h_SL1L273->SetBinContent(51,5311.736); h_SL1L273->SetBinContent(52,5425.967); h_SL1L273->SetBinContent(53,5368.852); h_SL1L273->SetBinContent(54,5483.083); h_SL1L273->SetBinContent(55,4226.543); h_SL1L273->SetBinContent(56,5311.736); h_SL1L273->SetMaximum(14318.84); 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,3198.465); h_SL1L374->SetBinContent(2,3198.465); h_SL1L374->SetBinContent(3,3369.811); h_SL1L374->SetBinContent(4,5825.775); h_SL1L374->SetBinContent(5,5425.967); h_SL1L374->SetBinContent(6,5140.39); h_SL1L374->SetBinContent(7,4854.813); h_SL1L374->SetBinContent(8,6054.237); h_SL1L374->SetBinContent(9,5083.274); h_SL1L374->SetBinContent(10,6054.237); h_SL1L374->SetBinContent(11,6682.507); h_SL1L374->SetBinContent(12,7253.662); h_SL1L374->SetBinContent(13,5825.775); h_SL1L374->SetBinContent(14,7710.585); h_SL1L374->SetBinContent(15,8224.624); h_SL1L374->SetBinContent(16,6511.161); h_SL1L374->SetBinContent(17,5311.736); h_SL1L374->SetBinContent(18,7482.123); h_SL1L374->SetBinContent(19,6225.583); h_SL1L374->SetBinContent(20,6454.045); h_SL1L374->SetBinContent(21,7367.892); h_SL1L374->SetBinContent(22,6454.045); h_SL1L374->SetBinContent(23,6739.623); h_SL1L374->SetBinContent(24,7539.239); h_SL1L374->SetBinContent(25,5654.429); h_SL1L374->SetBinContent(26,6568.276); h_SL1L374->SetBinContent(27,7082.315); h_SL1L374->SetBinContent(28,8738.663); h_SL1L374->SetBinContent(29,8338.854); h_SL1L374->SetBinContent(30,7539.239); h_SL1L374->SetBinContent(31,6396.93); h_SL1L374->SetBinContent(32,8510.201); h_SL1L374->SetBinContent(49,6339.814); h_SL1L374->SetBinContent(50,5368.852); h_SL1L374->SetBinContent(51,5311.736); h_SL1L374->SetBinContent(52,5997.122); h_SL1L374->SetBinContent(53,6054.237); h_SL1L374->SetBinContent(54,5026.159); h_SL1L374->SetBinContent(55,4112.312); h_SL1L374->SetBinContent(56,5940.006); h_SL1L374->SetMaximum(14318.84); 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,1028.078); h_SL1L475->SetBinContent(3,913.8471); h_SL1L475->SetBinContent(4,1142.309); h_SL1L475->SetBinContent(5,1999.041); h_SL1L475->SetBinContent(6,1256.54); h_SL1L475->SetBinContent(7,1313.655); h_SL1L475->SetBinContent(8,1485.002); h_SL1L475->SetBinContent(9,1770.579); h_SL1L475->SetBinContent(10,1199.424); h_SL1L475->SetBinContent(11,2056.156); h_SL1L475->SetBinContent(12,2341.733); h_SL1L475->SetBinContent(13,2684.426); h_SL1L475->SetBinContent(14,7996.162); h_SL1L475->SetBinContent(15,7025.2); h_SL1L475->SetBinContent(16,7139.431); h_SL1L475->SetBinContent(17,1713.463); h_SL1L475->SetBinContent(18,1370.771); h_SL1L475->SetBinContent(19,2341.733); h_SL1L475->SetBinContent(20,2227.502); h_SL1L475->SetBinContent(21,1827.694); h_SL1L475->SetBinContent(22,2284.618); h_SL1L475->SetBinContent(23,1656.348); h_SL1L475->SetBinContent(24,1599.232); h_SL1L475->SetBinContent(25,1713.463); h_SL1L475->SetBinContent(26,2398.849); h_SL1L475->SetBinContent(27,2398.849); h_SL1L475->SetBinContent(28,2798.657); h_SL1L475->SetBinContent(29,2284.618); h_SL1L475->SetBinContent(30,2341.733); h_SL1L475->SetBinContent(31,1999.041); h_SL1L475->SetBinContent(32,1427.886); h_SL1L475->SetBinContent(49,1313.655); h_SL1L475->SetBinContent(50,1370.771); h_SL1L475->SetBinContent(51,1485.002); h_SL1L475->SetBinContent(52,1427.886); h_SL1L475->SetBinContent(53,1827.694); h_SL1L475->SetBinContent(54,1427.886); h_SL1L475->SetBinContent(56,2284.618); h_SL1L475->SetMaximum(14318.84); 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,-3374.452,67.5,30370.07); 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,571.1544); h_SL2L176->SetBinContent(2,456.9236); h_SL2L176->SetBinContent(3,571.1544); h_SL2L176->SetBinContent(4,571.1544); h_SL2L176->SetBinContent(5,685.3853); h_SL2L176->SetBinContent(6,742.5008); h_SL2L176->SetBinContent(7,1256.54); h_SL2L176->SetBinContent(8,1142.309); h_SL2L176->SetBinContent(9,628.2699); h_SL2L176->SetBinContent(10,571.1544); h_SL2L176->SetBinContent(11,514.039); h_SL2L176->SetBinContent(12,628.2699); h_SL2L176->SetBinContent(13,685.3853); h_SL2L176->SetBinContent(14,514.039); h_SL2L176->SetBinContent(15,628.2699); h_SL2L176->SetBinContent(16,628.2699); h_SL2L176->SetBinContent(17,913.8471); h_SL2L176->SetBinContent(18,856.7317); h_SL2L176->SetBinContent(19,1085.193); h_SL2L176->SetBinContent(20,742.5008); h_SL2L176->SetBinContent(21,1656.348); h_SL2L176->SetBinContent(22,1085.193); h_SL2L176->SetBinContent(23,1941.925); h_SL2L176->SetBinContent(24,2398.849); h_SL2L176->SetBinContent(25,3312.696); h_SL2L176->SetBinContent(26,3883.85); h_SL2L176->SetBinContent(27,5940.006); h_SL2L176->SetBinContent(28,5254.621); h_SL2L176->SetBinContent(29,6682.507); h_SL2L176->SetBinContent(30,6910.969); h_SL2L176->SetBinContent(31,8510.201); h_SL2L176->SetBinContent(32,8910.01); h_SL2L176->SetBinContent(33,10623.47); h_SL2L176->SetBinContent(34,10052.32); h_SL2L176->SetBinContent(35,57.11544); h_SL2L176->SetBinContent(36,13650.59); h_SL2L176->SetBinContent(37,14735.78); h_SL2L176->SetBinContent(38,17305.98); h_SL2L176->SetBinContent(39,17020.4); h_SL2L176->SetBinContent(40,13365.01); h_SL2L176->SetBinContent(41,18334.06); h_SL2L176->SetBinContent(42,18562.52); h_SL2L176->SetBinContent(43,19190.79); h_SL2L176->SetBinContent(44,19990.41); h_SL2L176->SetBinContent(45,21418.29); h_SL2L176->SetBinContent(46,21075.6); h_SL2L176->SetBinContent(47,20790.02); h_SL2L176->SetBinContent(48,22103.68); h_SL2L176->SetBinContent(49,22103.68); h_SL2L176->SetBinContent(50,20561.56); h_SL2L176->SetBinContent(51,23474.45); h_SL2L176->SetBinContent(52,20732.91); h_SL2L176->SetBinContent(53,19876.17); h_SL2L176->SetBinContent(54,17077.52); h_SL2L176->SetBinContent(55,14221.75); h_SL2L176->SetBinContent(56,12222.71); h_SL2L176->SetBinContent(57,5711.544); h_SL2L176->SetMaximum(26995.61); 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,742.5008); h_SL2L277->SetBinContent(2,799.6162); h_SL2L277->SetBinContent(3,571.1544); h_SL2L277->SetBinContent(4,399.8081); h_SL2L277->SetBinContent(5,285.5772); h_SL2L277->SetBinContent(6,742.5008); h_SL2L277->SetBinContent(7,571.1544); h_SL2L277->SetBinContent(8,742.5008); h_SL2L277->SetBinContent(9,799.6162); h_SL2L277->SetBinContent(10,514.039); h_SL2L277->SetBinContent(11,342.6927); h_SL2L277->SetBinContent(12,571.1544); h_SL2L277->SetBinContent(13,742.5008); h_SL2L277->SetBinContent(14,399.8081); h_SL2L277->SetBinContent(15,571.1544); h_SL2L277->SetBinContent(16,399.8081); h_SL2L277->SetBinContent(17,970.9625); h_SL2L277->SetBinContent(18,913.8471); h_SL2L277->SetBinContent(19,1028.078); h_SL2L277->SetBinContent(20,1028.078); h_SL2L277->SetBinContent(21,1142.309); h_SL2L277->SetBinContent(22,1542.117); h_SL2L277->SetBinContent(23,1370.771); h_SL2L277->SetBinContent(24,1941.925); h_SL2L277->SetBinContent(25,2798.657); h_SL2L277->SetBinContent(26,3541.157); h_SL2L277->SetBinContent(27,4740.582); h_SL2L277->SetBinContent(28,5597.313); h_SL2L277->SetBinContent(29,5425.967); h_SL2L277->SetBinContent(30,7196.546); h_SL2L277->SetBinContent(31,6853.854); h_SL2L277->SetBinContent(32,7996.162); h_SL2L277->SetBinContent(33,9938.087); h_SL2L277->SetBinContent(34,10509.24); h_SL2L277->SetBinContent(35,9138.471); h_SL2L277->SetBinContent(36,9424.048); h_SL2L277->SetBinContent(37,14335.98); h_SL2L277->SetBinContent(38,15078.48); h_SL2L277->SetBinContent(39,16963.29); h_SL2L277->SetBinContent(40,15992.32); h_SL2L277->SetBinContent(41,15992.32); h_SL2L277->SetBinContent(42,17305.98); h_SL2L277->SetBinContent(43,18962.33); h_SL2L277->SetBinContent(44,18733.87); h_SL2L277->SetBinContent(45,20275.98); h_SL2L277->SetBinContent(46,21475.41); h_SL2L277->SetBinContent(47,20561.56); h_SL2L277->SetBinContent(48,20104.64); h_SL2L277->SetBinContent(49,21361.18); h_SL2L277->SetBinContent(50,20732.91); h_SL2L277->SetBinContent(51,21189.83); h_SL2L277->SetBinContent(52,20961.37); h_SL2L277->SetBinContent(53,22046.56); h_SL2L277->SetBinContent(54,19704.83); h_SL2L277->SetBinContent(55,15706.75); h_SL2L277->SetBinContent(56,13307.9); h_SL2L277->SetBinContent(57,8967.125); h_SL2L277->SetMaximum(26995.61); 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,628.2699); h_SL2L378->SetBinContent(2,514.039); h_SL2L378->SetBinContent(3,399.8081); h_SL2L378->SetBinContent(4,228.4618); h_SL2L378->SetBinContent(5,571.1544); h_SL2L378->SetBinContent(6,514.039); h_SL2L378->SetBinContent(7,342.6927); h_SL2L378->SetBinContent(8,742.5008); h_SL2L378->SetBinContent(9,399.8081); h_SL2L378->SetBinContent(10,171.3463); h_SL2L378->SetBinContent(11,514.039); h_SL2L378->SetBinContent(12,628.2699); h_SL2L378->SetBinContent(13,342.6927); h_SL2L378->SetBinContent(14,514.039); h_SL2L378->SetBinContent(15,856.7317); h_SL2L378->SetBinContent(16,685.3853); h_SL2L378->SetBinContent(17,913.8471); h_SL2L378->SetBinContent(18,856.7317); h_SL2L378->SetBinContent(19,742.5008); h_SL2L378->SetBinContent(20,1028.078); h_SL2L378->SetBinContent(21,1085.193); h_SL2L378->SetBinContent(22,1884.81); h_SL2L378->SetBinContent(23,1485.002); h_SL2L378->SetBinContent(24,1884.81); h_SL2L378->SetBinContent(25,3255.58); h_SL2L378->SetBinContent(26,4226.543); h_SL2L378->SetBinContent(27,5483.083); h_SL2L378->SetBinContent(28,4797.697); h_SL2L378->SetBinContent(29,5882.891); h_SL2L378->SetBinContent(30,6568.276); h_SL2L378->SetBinContent(31,7596.354); h_SL2L378->SetBinContent(32,9481.164); h_SL2L378->SetBinContent(33,10395.01); h_SL2L378->SetBinContent(34,10280.78); h_SL2L378->SetBinContent(35,10680.59); h_SL2L378->SetBinContent(36,10851.93); h_SL2L378->SetBinContent(37,14964.25); h_SL2L378->SetBinContent(38,16563.48); h_SL2L378->SetBinContent(39,16963.29); h_SL2L378->SetBinContent(40,17305.98); h_SL2L378->SetBinContent(41,16106.56); h_SL2L378->SetBinContent(42,18048.48); h_SL2L378->SetBinContent(43,19190.79); h_SL2L378->SetBinContent(44,18505.4); h_SL2L378->SetBinContent(45,20447.33); h_SL2L378->SetBinContent(46,20618.68); h_SL2L378->SetBinContent(47,21189.83); h_SL2L378->SetBinContent(48,19476.37); h_SL2L378->SetBinContent(49,21532.52); h_SL2L378->SetBinContent(50,21246.95); h_SL2L378->SetBinContent(51,21132.71); h_SL2L378->SetBinContent(52,20561.56); h_SL2L378->SetBinContent(53,22560.6); h_SL2L378->SetBinContent(54,19876.17); h_SL2L378->SetBinContent(55,16220.79); h_SL2L378->SetBinContent(56,10794.82); h_SL2L378->SetBinContent(57,8224.624); h_SL2L378->SetMaximum(26995.61); 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,228.4618); h_SL2L479->SetBinContent(3,228.4618); h_SL2L479->SetBinContent(4,342.6927); h_SL2L479->SetBinContent(5,342.6927); h_SL2L479->SetBinContent(6,342.6927); h_SL2L479->SetBinContent(7,285.5772); h_SL2L479->SetBinContent(8,285.5772); h_SL2L479->SetBinContent(9,628.2699); h_SL2L479->SetBinContent(10,399.8081); h_SL2L479->SetBinContent(11,742.5008); h_SL2L479->SetBinContent(12,342.6927); h_SL2L479->SetBinContent(13,228.4618); h_SL2L479->SetBinContent(14,571.1544); h_SL2L479->SetBinContent(15,285.5772); h_SL2L479->SetBinContent(16,456.9236); h_SL2L479->SetBinContent(17,913.8471); h_SL2L479->SetBinContent(18,628.2699); h_SL2L479->SetBinContent(19,742.5008); h_SL2L479->SetBinContent(20,799.6162); h_SL2L479->SetBinContent(21,856.7317); h_SL2L479->SetBinContent(22,1656.348); h_SL2L479->SetBinContent(23,1656.348); h_SL2L479->SetBinContent(24,1370.771); h_SL2L479->SetBinContent(25,2570.195); h_SL2L479->SetBinContent(26,3712.504); h_SL2L479->SetBinContent(27,5140.39); h_SL2L479->SetBinContent(28,5540.198); h_SL2L479->SetBinContent(29,5254.621); h_SL2L479->SetBinContent(30,6853.854); h_SL2L479->SetBinContent(31,6682.507); h_SL2L479->SetBinContent(32,8453.086); h_SL2L479->SetBinContent(33,9424.048); h_SL2L479->SetBinContent(34,8967.125); h_SL2L479->SetBinContent(35,11365.97); h_SL2L479->SetBinContent(36,10966.17); h_SL2L479->SetBinContent(37,13479.25); h_SL2L479->SetBinContent(38,16392.13); h_SL2L479->SetBinContent(39,17191.75); h_SL2L479->SetBinContent(40,17020.4); h_SL2L479->SetBinContent(41,16106.56); h_SL2L479->SetBinContent(42,17705.79); h_SL2L479->SetBinContent(43,20790.02); h_SL2L479->SetBinContent(44,19876.17); h_SL2L479->SetBinContent(45,20104.64); h_SL2L479->SetBinContent(46,21760.98); h_SL2L479->SetBinContent(47,20218.87); h_SL2L479->SetBinContent(48,21646.75); h_SL2L479->SetBinContent(49,21475.41); h_SL2L479->SetBinContent(50,22332.14); h_SL2L479->SetBinContent(51,21532.52); h_SL2L479->SetBinContent(52,19476.37); h_SL2L479->SetBinContent(53,22960.41); h_SL2L479->SetBinContent(54,22846.18); h_SL2L479->SetBinContent(55,20161.75); h_SL2L479->SetBinContent(56,14164.63); h_SL2L479->SetBinContent(57,7539.239); h_SL2L479->SetMaximum(26995.61); 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,-1486.073,67.5,13374.65); 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,3426.927); h_SL3L180->SetBinContent(2,3598.273); h_SL3L180->SetBinContent(3,57.11544); h_SL3L180->SetBinContent(4,7596.354); h_SL3L180->SetBinContent(5,6625.392); h_SL3L180->SetBinContent(6,6511.161); h_SL3L180->SetBinContent(7,9366.933); h_SL3L180->SetBinContent(8,7939.047); h_SL3L180->SetBinContent(9,6054.237); h_SL3L180->SetBinContent(10,6225.583); h_SL3L180->SetBinContent(11,8167.508); h_SL3L180->SetBinContent(12,8624.432); h_SL3L180->SetBinContent(13,7253.662); h_SL3L180->SetBinContent(14,7996.162); h_SL3L180->SetBinContent(15,8167.508); h_SL3L180->SetBinContent(16,8453.086); h_SL3L180->SetBinContent(17,7139.431); h_SL3L180->SetBinContent(18,7253.662); h_SL3L180->SetBinContent(19,8852.894); h_SL3L180->SetBinContent(20,7710.585); h_SL3L180->SetBinContent(21,7996.162); h_SL3L180->SetBinContent(22,9652.51); h_SL3L180->SetBinContent(23,8338.854); h_SL3L180->SetBinContent(24,8567.316); h_SL3L180->SetBinContent(25,8624.432); h_SL3L180->SetBinContent(26,9366.933); h_SL3L180->SetBinContent(27,9595.395); h_SL3L180->SetBinContent(28,8624.432); h_SL3L180->SetBinContent(29,8567.316); h_SL3L180->SetBinContent(30,9081.355); h_SL3L180->SetBinContent(31,9138.471); h_SL3L180->SetBinContent(32,9995.203); h_SL3L180->SetBinContent(49,8053.278); h_SL3L180->SetBinContent(50,4740.582); h_SL3L180->SetBinContent(51,5368.852); h_SL3L180->SetBinContent(52,7425.008); h_SL3L180->SetBinContent(53,7482.123); h_SL3L180->SetBinContent(54,7939.047); h_SL3L180->SetBinContent(55,8567.316); h_SL3L180->SetBinContent(56,8624.432); h_SL3L180->SetBinContent(57,7139.431); h_SL3L180->SetBinContent(58,9081.355); h_SL3L180->SetBinContent(59,5425.967); h_SL3L180->SetMaximum(11888.58); 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,1256.54); h_SL3L281->SetBinContent(2,4969.043); h_SL3L281->SetBinContent(4,4455.005); h_SL3L281->SetBinContent(5,6454.045); h_SL3L281->SetBinContent(6,6739.623); h_SL3L281->SetBinContent(7,7482.123); h_SL3L281->SetBinContent(8,8738.663); h_SL3L281->SetBinContent(9,6853.854); h_SL3L281->SetBinContent(10,7425.008); h_SL3L281->SetBinContent(11,6796.738); h_SL3L281->SetBinContent(12,8510.201); h_SL3L281->SetBinContent(13,8510.201); h_SL3L281->SetBinContent(14,7710.585); h_SL3L281->SetBinContent(15,7824.816); h_SL3L281->SetBinContent(16,7767.7); h_SL3L281->SetBinContent(17,8053.278); h_SL3L281->SetBinContent(18,7767.7); h_SL3L281->SetBinContent(19,7996.162); h_SL3L281->SetBinContent(20,7996.162); h_SL3L281->SetBinContent(21,7539.239); h_SL3L281->SetBinContent(22,9138.471); h_SL3L281->SetBinContent(23,9652.51); h_SL3L281->SetBinContent(24,7767.7); h_SL3L281->SetBinContent(25,8053.278); h_SL3L281->SetBinContent(26,9138.471); h_SL3L281->SetBinContent(27,8795.778); h_SL3L281->SetBinContent(28,9823.856); h_SL3L281->SetBinContent(29,8224.624); h_SL3L281->SetBinContent(30,9195.587); h_SL3L281->SetBinContent(31,8738.663); h_SL3L281->SetBinContent(32,9481.164); h_SL3L281->SetBinContent(49,9938.087); h_SL3L281->SetBinContent(50,7996.162); h_SL3L281->SetBinContent(51,2684.426); h_SL3L281->SetBinContent(52,7425.008); h_SL3L281->SetBinContent(53,7482.123); h_SL3L281->SetBinContent(54,8967.125); h_SL3L281->SetBinContent(55,7367.892); h_SL3L281->SetBinContent(56,9595.395); h_SL3L281->SetBinContent(57,7881.931); h_SL3L281->SetBinContent(58,7653.47); h_SL3L281->SetBinContent(59,7139.431); h_SL3L281->SetMaximum(11888.58); 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,2798.657); h_SL3L382->SetBinContent(2,3369.811); h_SL3L382->SetBinContent(3,1656.348); h_SL3L382->SetBinContent(4,6396.93); h_SL3L382->SetBinContent(5,6968.084); h_SL3L382->SetBinContent(6,6625.392); h_SL3L382->SetBinContent(7,8795.778); h_SL3L382->SetBinContent(8,6853.854); h_SL3L382->SetBinContent(9,7881.931); h_SL3L382->SetBinContent(10,5711.544); h_SL3L382->SetBinContent(11,7710.585); h_SL3L382->SetBinContent(12,8110.393); h_SL3L382->SetBinContent(13,7881.931); h_SL3L382->SetBinContent(14,7996.162); h_SL3L382->SetBinContent(15,7310.777); h_SL3L382->SetBinContent(16,7824.816); h_SL3L382->SetBinContent(17,7824.816); h_SL3L382->SetBinContent(18,6796.738); h_SL3L382->SetBinContent(19,7710.585); h_SL3L382->SetBinContent(20,7253.662); h_SL3L382->SetBinContent(21,9252.702); h_SL3L382->SetBinContent(22,8967.125); h_SL3L382->SetBinContent(23,8624.432); h_SL3L382->SetBinContent(24,7482.123); h_SL3L382->SetBinContent(25,9424.048); h_SL3L382->SetBinContent(26,9081.355); h_SL3L382->SetBinContent(27,8910.01); h_SL3L382->SetBinContent(28,8681.548); h_SL3L382->SetBinContent(29,9652.51); h_SL3L382->SetBinContent(30,8224.624); h_SL3L382->SetBinContent(31,7824.816); h_SL3L382->SetBinContent(32,9024.24); h_SL3L382->SetBinContent(49,9481.164); h_SL3L382->SetBinContent(50,4512.12); h_SL3L382->SetBinContent(51,4854.813); h_SL3L382->SetBinContent(52,7196.546); h_SL3L382->SetBinContent(53,8453.086); h_SL3L382->SetBinContent(54,8967.125); h_SL3L382->SetBinContent(55,7425.008); h_SL3L382->SetBinContent(56,8910.01); h_SL3L382->SetBinContent(57,7253.662); h_SL3L382->SetBinContent(58,8624.432); h_SL3L382->SetBinContent(59,5425.967); h_SL3L382->SetMaximum(11888.58); 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,4683.466); h_SL3L483->SetBinContent(3,1599.232); h_SL3L483->SetBinContent(4,3940.966); h_SL3L483->SetBinContent(5,7710.585); h_SL3L483->SetBinContent(6,6625.392); h_SL3L483->SetBinContent(7,7653.47); h_SL3L483->SetBinContent(8,7082.315); h_SL3L483->SetBinContent(9,7482.123); h_SL3L483->SetBinContent(10,7881.931); h_SL3L483->SetBinContent(11,6282.699); h_SL3L483->SetBinContent(12,8453.086); h_SL3L483->SetBinContent(13,8567.316); h_SL3L483->SetBinContent(14,7881.931); h_SL3L483->SetBinContent(15,8395.971); h_SL3L483->SetBinContent(16,7139.431); h_SL3L483->SetBinContent(17,8167.508); h_SL3L483->SetBinContent(18,7881.931); h_SL3L483->SetBinContent(19,8167.508); h_SL3L483->SetBinContent(20,7253.662); h_SL3L483->SetBinContent(21,8224.624); h_SL3L483->SetBinContent(22,9252.702); h_SL3L483->SetBinContent(23,8852.894); h_SL3L483->SetBinContent(24,7425.008); h_SL3L483->SetBinContent(25,8281.739); h_SL3L483->SetBinContent(26,9595.395); h_SL3L483->SetBinContent(27,9252.702); h_SL3L483->SetBinContent(28,9424.048); h_SL3L483->SetBinContent(29,8338.854); h_SL3L483->SetBinContent(30,10337.9); h_SL3L483->SetBinContent(31,7025.2); h_SL3L483->SetBinContent(32,8453.086); h_SL3L483->SetBinContent(49,8795.778); h_SL3L483->SetBinContent(50,8167.508); h_SL3L483->SetBinContent(51,2113.271); h_SL3L483->SetBinContent(52,7425.008); h_SL3L483->SetBinContent(53,7824.816); h_SL3L483->SetBinContent(54,8624.432); h_SL3L483->SetBinContent(55,7196.546); h_SL3L483->SetBinContent(56,8738.663); h_SL3L483->SetBinContent(57,8110.393); h_SL3L483->SetBinContent(58,7767.7); h_SL3L483->SetBinContent(59,5825.775); h_SL3L483->SetMaximum(11888.58); 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,-1268.205,14,11413.85); 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 7044 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,5778.655); hRateSub84->SetBinContent(2,6232.723); hRateSub84->SetBinContent(3,6174.179); hRateSub84->SetBinContent(4,2233.515); hRateSub84->SetBinContent(5,7173.088); hRateSub84->SetBinContent(6,8457.094); hRateSub84->SetBinContent(7,8731.523); hRateSub84->SetBinContent(8,8822.296); hRateSub84->SetBinContent(9,7724.184); hRateSub84->SetBinContent(10,7764.981); hRateSub84->SetBinContent(11,7472.826); hRateSub84->SetBinContent(12,7669.789); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(10145.64); hRateSub84->SetEntries(71047); 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 7044 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,51.97505); hRateSub85->SetBinContent(2,39.98081); hRateSub85->SetBinContent(3,35.98273); hRateSub85->SetBinContent(4,16.83402); hRateSub85->SetBinContent(5,11.42309); hRateSub85->SetBinContent(6,5.611342); hRateSub85->SetBinContent(7,17.13463); hRateSub85->SetBinContent(8,8.567316); hRateSub85->SetBinContent(9,34.26926); hRateSub85->SetBinContent(10,19.03848); hRateSub85->SetBinContent(11,29.75316); hRateSub85->SetBinContent(12,11.42309); hRateSub85->SetEntries(71047); 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 7044"); 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 7044 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }