void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:27:33 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,-4894.345,67.5,44049.11); 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,980.9524); h_SL1L172->SetBinContent(2,1033.333); h_SL1L172->SetBinContent(3,1390.476); h_SL1L172->SetBinContent(4,1223.81); h_SL1L172->SetBinContent(6,1328.571); h_SL1L172->SetBinContent(7,1295.238); h_SL1L172->SetBinContent(9,1180.952); h_SL1L172->SetBinContent(10,1404.762); h_SL1L172->SetBinContent(11,1342.857); h_SL1L172->SetBinContent(12,1338.095); h_SL1L172->SetBinContent(13,1452.381); h_SL1L172->SetBinContent(14,1666.667); h_SL1L172->SetBinContent(15,1442.857); h_SL1L172->SetBinContent(16,1323.81); h_SL1L172->SetBinContent(17,1219.048); h_SL1L172->SetBinContent(18,1528.571); h_SL1L172->SetBinContent(19,1571.429); h_SL1L172->SetBinContent(20,1457.143); h_SL1L172->SetBinContent(21,2680.952); h_SL1L172->SetBinContent(22,1571.429); h_SL1L172->SetBinContent(24,1457.143); h_SL1L172->SetBinContent(25,1500); h_SL1L172->SetBinContent(26,1490.476); h_SL1L172->SetBinContent(27,1504.762); h_SL1L172->SetBinContent(28,1823.809); h_SL1L172->SetBinContent(29,1642.857); h_SL1L172->SetBinContent(30,2000); h_SL1L172->SetBinContent(31,1490.476); h_SL1L172->SetBinContent(32,1857.143); h_SL1L172->SetBinContent(33,2104.762); h_SL1L172->SetBinContent(34,2161.905); h_SL1L172->SetBinContent(35,2128.571); h_SL1L172->SetBinContent(36,2200); h_SL1L172->SetBinContent(37,2052.381); h_SL1L172->SetBinContent(38,1852.381); h_SL1L172->SetBinContent(39,1861.905); h_SL1L172->SetBinContent(40,1923.809); h_SL1L172->SetBinContent(41,1690.476); h_SL1L172->SetBinContent(42,1519.048); h_SL1L172->SetBinContent(43,1557.143); h_SL1L172->SetBinContent(44,1638.095); h_SL1L172->SetBinContent(45,1347.619); h_SL1L172->SetBinContent(46,1304.762); h_SL1L172->SetBinContent(47,1180.952); h_SL1L172->SetBinContent(48,590.4762); h_SL1L172->SetBinContent(49,557.1428); h_SL1L172->SetMaximum(39154.76); 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(9,1285.714); h_SL1L273->SetBinContent(10,1142.857); h_SL1L273->SetBinContent(11,1290.476); h_SL1L273->SetBinContent(12,1238.095); h_SL1L273->SetBinContent(13,1347.619); h_SL1L273->SetBinContent(14,1390.476); h_SL1L273->SetBinContent(15,1561.905); h_SL1L273->SetBinContent(16,1242.857); h_SL1L273->SetBinContent(17,1295.238); h_SL1L273->SetBinContent(18,1461.905); h_SL1L273->SetBinContent(19,1280.952); h_SL1L273->SetBinContent(20,1395.238); h_SL1L273->SetBinContent(21,1376.19); h_SL1L273->SetBinContent(22,14890.48); h_SL1L273->SetBinContent(23,1385.714); h_SL1L273->SetBinContent(24,1471.429); h_SL1L273->SetBinContent(25,1676.19); h_SL1L273->SetBinContent(26,1566.667); h_SL1L273->SetBinContent(27,1761.905); h_SL1L273->SetBinContent(28,1790.476); h_SL1L273->SetBinContent(29,1538.095); h_SL1L273->SetBinContent(30,1795.238); h_SL1L273->SetBinContent(31,1919.048); h_SL1L273->SetBinContent(32,1914.286); h_SL1L273->SetBinContent(33,1438.095); h_SL1L273->SetBinContent(34,2314.286); h_SL1L273->SetBinContent(35,2223.81); h_SL1L273->SetBinContent(36,1980.952); h_SL1L273->SetBinContent(37,2195.238); h_SL1L273->SetBinContent(38,2333.333); h_SL1L273->SetBinContent(39,1704.762); h_SL1L273->SetBinContent(40,1571.429); h_SL1L273->SetBinContent(41,1780.952); h_SL1L273->SetBinContent(42,1276.19); h_SL1L273->SetBinContent(43,1452.381); h_SL1L273->SetBinContent(44,1519.048); h_SL1L273->SetBinContent(45,1366.667); h_SL1L273->SetBinContent(46,1304.762); h_SL1L273->SetBinContent(47,914.2857); h_SL1L273->SetBinContent(48,1380.952); h_SL1L273->SetBinContent(49,3671.428); h_SL1L273->SetMaximum(39154.76); 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,966.6667); h_SL1L374->SetBinContent(2,1066.667); h_SL1L374->SetBinContent(3,1223.81); h_SL1L374->SetBinContent(4,1147.619); h_SL1L374->SetBinContent(5,1266.667); h_SL1L374->SetBinContent(6,1271.429); h_SL1L374->SetBinContent(7,1280.952); h_SL1L374->SetBinContent(8,1147.619); h_SL1L374->SetBinContent(9,1057.143); h_SL1L374->SetBinContent(10,1457.143); h_SL1L374->SetBinContent(12,1619.048); h_SL1L374->SetBinContent(13,1457.143); h_SL1L374->SetBinContent(14,1328.571); h_SL1L374->SetBinContent(15,1514.286); h_SL1L374->SetBinContent(16,1280.952); h_SL1L374->SetBinContent(17,1342.857); h_SL1L374->SetBinContent(18,1904.762); h_SL1L374->SetBinContent(19,1709.524); h_SL1L374->SetBinContent(20,1276.19); h_SL1L374->SetBinContent(21,2604.762); h_SL1L374->SetBinContent(22,34047.62); h_SL1L374->SetBinContent(23,1471.429); h_SL1L374->SetBinContent(24,1500); h_SL1L374->SetBinContent(25,1533.333); h_SL1L374->SetBinContent(26,1580.952); h_SL1L374->SetBinContent(27,1690.476); h_SL1L374->SetBinContent(28,2004.762); h_SL1L374->SetBinContent(29,2100); h_SL1L374->SetBinContent(30,2395.238); h_SL1L374->SetBinContent(31,1880.952); h_SL1L374->SetBinContent(32,1604.762); h_SL1L374->SetBinContent(33,2038.095); h_SL1L374->SetBinContent(34,1990.476); h_SL1L374->SetBinContent(35,1914.286); h_SL1L374->SetBinContent(36,1880.952); h_SL1L374->SetBinContent(37,1961.905); h_SL1L374->SetBinContent(38,2376.19); h_SL1L374->SetBinContent(39,1814.286); h_SL1L374->SetBinContent(40,1823.809); h_SL1L374->SetBinContent(41,1285.714); h_SL1L374->SetBinContent(42,1271.429); h_SL1L374->SetBinContent(43,1361.905); h_SL1L374->SetBinContent(44,1204.762); h_SL1L374->SetBinContent(45,1657.143); h_SL1L374->SetBinContent(46,1276.19); h_SL1L374->SetBinContent(47,1128.571); h_SL1L374->SetBinContent(48,3300); h_SL1L374->SetBinContent(49,909.5238); h_SL1L374->SetMaximum(39154.76); 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,985.7143); h_SL1L475->SetBinContent(3,1347.619); h_SL1L475->SetBinContent(4,1314.286); h_SL1L475->SetBinContent(5,1419.048); h_SL1L475->SetBinContent(6,1190.476); h_SL1L475->SetBinContent(7,1685.714); h_SL1L475->SetBinContent(8,1395.238); h_SL1L475->SetBinContent(9,1390.476); h_SL1L475->SetBinContent(10,1228.571); h_SL1L475->SetBinContent(11,1447.619); h_SL1L475->SetBinContent(12,1852.381); h_SL1L475->SetBinContent(13,1533.333); h_SL1L475->SetBinContent(14,1252.381); h_SL1L475->SetBinContent(15,1309.524); h_SL1L475->SetBinContent(16,1314.286); h_SL1L475->SetBinContent(17,1514.286); h_SL1L475->SetBinContent(18,1366.667); h_SL1L475->SetBinContent(19,1566.667); h_SL1L475->SetBinContent(20,1566.667); h_SL1L475->SetBinContent(21,1571.429); h_SL1L475->SetBinContent(22,11052.38); h_SL1L475->SetBinContent(23,1352.381); h_SL1L475->SetBinContent(24,1390.476); h_SL1L475->SetBinContent(25,1400); h_SL1L475->SetBinContent(26,1633.333); h_SL1L475->SetBinContent(27,1528.571); h_SL1L475->SetBinContent(28,1714.286); h_SL1L475->SetBinContent(29,1666.667); h_SL1L475->SetBinContent(30,1900); h_SL1L475->SetBinContent(31,1828.571); h_SL1L475->SetBinContent(32,1961.905); h_SL1L475->SetBinContent(33,1747.619); h_SL1L475->SetBinContent(34,2071.428); h_SL1L475->SetBinContent(35,1676.19); h_SL1L475->SetBinContent(36,2042.857); h_SL1L475->SetBinContent(37,1852.381); h_SL1L475->SetBinContent(38,1704.762); h_SL1L475->SetBinContent(39,1947.619); h_SL1L475->SetBinContent(40,1590.476); h_SL1L475->SetBinContent(41,1261.905); h_SL1L475->SetBinContent(42,1238.095); h_SL1L475->SetBinContent(43,1185.714); h_SL1L475->SetBinContent(44,1271.429); h_SL1L475->SetBinContent(45,1147.619); h_SL1L475->SetBinContent(46,1080.952); h_SL1L475->SetBinContent(47,1052.381); h_SL1L475->SetBinContent(48,804.7619); h_SL1L475->SetMaximum(39154.76); 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,-216.3095,67.5,1946.786); 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,866.6667); h_SL2L176->SetBinContent(2,1166.667); h_SL2L176->SetBinContent(3,1252.381); h_SL2L176->SetBinContent(4,1219.048); h_SL2L176->SetBinContent(5,1376.19); h_SL2L176->SetBinContent(6,1228.571); h_SL2L176->SetBinContent(7,1028.571); h_SL2L176->SetBinContent(8,1157.143); h_SL2L176->SetBinContent(9,1271.429); h_SL2L176->SetBinContent(10,1190.476); h_SL2L176->SetBinContent(11,1328.571); h_SL2L176->SetBinContent(12,1233.333); h_SL2L176->SetBinContent(13,1195.238); h_SL2L176->SetBinContent(14,1280.952); h_SL2L176->SetBinContent(15,1138.095); h_SL2L176->SetBinContent(16,1457.143); h_SL2L176->SetBinContent(17,1147.619); h_SL2L176->SetBinContent(18,1309.524); h_SL2L176->SetBinContent(19,1157.143); h_SL2L176->SetBinContent(20,1333.333); h_SL2L176->SetBinContent(21,1442.857); h_SL2L176->SetBinContent(22,1252.381); h_SL2L176->SetBinContent(23,1361.905); h_SL2L176->SetBinContent(24,1285.714); h_SL2L176->SetBinContent(25,1352.381); h_SL2L176->SetBinContent(26,1261.905); h_SL2L176->SetBinContent(27,1414.286); h_SL2L176->SetBinContent(28,1504.762); h_SL2L176->SetBinContent(29,1361.905); h_SL2L176->SetBinContent(30,1304.762); h_SL2L176->SetBinContent(31,1123.81); h_SL2L176->SetBinContent(32,1357.143); h_SL2L176->SetBinContent(33,1200); h_SL2L176->SetBinContent(34,1200); h_SL2L176->SetBinContent(35,1352.381); h_SL2L176->SetBinContent(36,1180.952); h_SL2L176->SetBinContent(37,1157.143); h_SL2L176->SetBinContent(38,1200); h_SL2L176->SetBinContent(39,1304.762); h_SL2L176->SetBinContent(40,1071.429); h_SL2L176->SetBinContent(41,1147.619); h_SL2L176->SetBinContent(42,1052.381); h_SL2L176->SetBinContent(43,1071.429); h_SL2L176->SetBinContent(44,966.6667); h_SL2L176->SetBinContent(45,1009.524); h_SL2L176->SetBinContent(46,861.9047); h_SL2L176->SetBinContent(47,919.0476); h_SL2L176->SetBinContent(48,785.7143); h_SL2L176->SetBinContent(49,876.1905); h_SL2L176->SetBinContent(50,804.7619); h_SL2L176->SetBinContent(51,861.9047); h_SL2L176->SetBinContent(52,800); h_SL2L176->SetBinContent(53,871.4286); h_SL2L176->SetBinContent(54,957.1428); h_SL2L176->SetBinContent(55,971.4286); h_SL2L176->SetBinContent(56,866.6667); h_SL2L176->SetMaximum(1730.476); 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,833.3333); h_SL2L277->SetBinContent(2,1071.429); h_SL2L277->SetBinContent(3,1223.81); h_SL2L277->SetBinContent(4,1271.429); h_SL2L277->SetBinContent(5,1357.143); h_SL2L277->SetBinContent(6,1180.952); h_SL2L277->SetBinContent(7,1223.81); h_SL2L277->SetBinContent(8,1119.048); h_SL2L277->SetBinContent(9,1052.381); h_SL2L277->SetBinContent(10,1142.857); h_SL2L277->SetBinContent(11,1138.095); h_SL2L277->SetBinContent(12,1128.571); h_SL2L277->SetBinContent(13,1123.81); h_SL2L277->SetBinContent(14,1128.571); h_SL2L277->SetBinContent(15,1123.81); h_SL2L277->SetBinContent(16,1190.476); h_SL2L277->SetBinContent(17,1109.524); h_SL2L277->SetBinContent(18,1238.095); h_SL2L277->SetBinContent(19,1352.381); h_SL2L277->SetBinContent(20,1114.286); h_SL2L277->SetBinContent(21,1357.143); h_SL2L277->SetBinContent(22,1261.905); h_SL2L277->SetBinContent(23,1323.81); h_SL2L277->SetBinContent(24,1252.381); h_SL2L277->SetBinContent(25,1009.524); h_SL2L277->SetBinContent(26,1333.333); h_SL2L277->SetBinContent(27,1357.143); h_SL2L277->SetBinContent(28,1314.286); h_SL2L277->SetBinContent(29,1142.857); h_SL2L277->SetBinContent(30,1323.81); h_SL2L277->SetBinContent(31,1100); h_SL2L277->SetBinContent(32,1300); h_SL2L277->SetBinContent(33,1052.381); h_SL2L277->SetBinContent(34,1076.19); h_SL2L277->SetBinContent(35,1285.714); h_SL2L277->SetBinContent(36,1071.429); h_SL2L277->SetBinContent(37,1161.905); h_SL2L277->SetBinContent(38,1176.19); h_SL2L277->SetBinContent(39,1014.286); h_SL2L277->SetBinContent(40,1166.667); h_SL2L277->SetBinContent(41,966.6667); h_SL2L277->SetBinContent(42,1238.095); h_SL2L277->SetBinContent(43,1071.429); h_SL2L277->SetBinContent(44,923.8095); h_SL2L277->SetBinContent(45,1128.571); h_SL2L277->SetBinContent(46,814.2857); h_SL2L277->SetBinContent(47,785.7143); h_SL2L277->SetBinContent(48,714.2857); h_SL2L277->SetBinContent(49,776.1905); h_SL2L277->SetBinContent(50,700); h_SL2L277->SetBinContent(51,790.4762); h_SL2L277->SetBinContent(52,790.4762); h_SL2L277->SetBinContent(53,771.4286); h_SL2L277->SetBinContent(54,1138.095); h_SL2L277->SetBinContent(55,1238.095); h_SL2L277->SetBinContent(56,1447.619); h_SL2L277->SetMaximum(1730.476); 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,885.7143); h_SL2L378->SetBinContent(2,1095.238); h_SL2L378->SetBinContent(3,1276.19); h_SL2L378->SetBinContent(4,1219.048); h_SL2L378->SetBinContent(5,1195.238); h_SL2L378->SetBinContent(6,1095.238); h_SL2L378->SetBinContent(7,990.4762); h_SL2L378->SetBinContent(8,1095.238); h_SL2L378->SetBinContent(9,971.4286); h_SL2L378->SetBinContent(10,1042.857); h_SL2L378->SetBinContent(11,1219.048); h_SL2L378->SetBinContent(12,1123.81); h_SL2L378->SetBinContent(13,1000); h_SL2L378->SetBinContent(14,1395.238); h_SL2L378->SetBinContent(15,1380.952); h_SL2L378->SetBinContent(16,1323.81); h_SL2L378->SetBinContent(17,1223.81); h_SL2L378->SetBinContent(18,1066.667); h_SL2L378->SetBinContent(19,990.4762); h_SL2L378->SetBinContent(20,1238.095); h_SL2L378->SetBinContent(21,1461.905); h_SL2L378->SetBinContent(22,1085.714); h_SL2L378->SetBinContent(23,1442.857); h_SL2L378->SetBinContent(24,1152.381); h_SL2L378->SetBinContent(25,1166.667); h_SL2L378->SetBinContent(26,1376.19); h_SL2L378->SetBinContent(27,1309.524); h_SL2L378->SetBinContent(28,1057.143); h_SL2L378->SetBinContent(29,1138.095); h_SL2L378->SetBinContent(30,1209.524); h_SL2L378->SetBinContent(31,1190.476); h_SL2L378->SetBinContent(32,1033.333); h_SL2L378->SetBinContent(33,1157.143); h_SL2L378->SetBinContent(34,1076.19); h_SL2L378->SetBinContent(35,1100); h_SL2L378->SetBinContent(36,1004.762); h_SL2L378->SetBinContent(37,1076.19); h_SL2L378->SetBinContent(38,1166.667); h_SL2L378->SetBinContent(39,1295.238); h_SL2L378->SetBinContent(40,1000); h_SL2L378->SetBinContent(41,1042.857); h_SL2L378->SetBinContent(42,1076.19); h_SL2L378->SetBinContent(43,1042.857); h_SL2L378->SetBinContent(44,1042.857); h_SL2L378->SetBinContent(45,833.3333); h_SL2L378->SetBinContent(46,723.8095); h_SL2L378->SetBinContent(47,738.0952); h_SL2L378->SetBinContent(48,680.9524); h_SL2L378->SetBinContent(49,804.7619); h_SL2L378->SetBinContent(50,761.9048); h_SL2L378->SetBinContent(51,776.1905); h_SL2L378->SetBinContent(52,933.3333); h_SL2L378->SetBinContent(53,823.8095); h_SL2L378->SetBinContent(55,923.8095); h_SL2L378->SetMaximum(1730.476); 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,923.8095); h_SL2L479->SetBinContent(3,904.7619); h_SL2L479->SetBinContent(4,985.7143); h_SL2L479->SetBinContent(5,1014.286); h_SL2L479->SetBinContent(6,1200); h_SL2L479->SetBinContent(7,1023.81); h_SL2L479->SetBinContent(8,1014.286); h_SL2L479->SetBinContent(9,857.1428); h_SL2L479->SetBinContent(10,938.0952); h_SL2L479->SetBinContent(11,1038.095); h_SL2L479->SetBinContent(12,942.8571); h_SL2L479->SetBinContent(13,1057.143); h_SL2L479->SetBinContent(14,1171.429); h_SL2L479->SetBinContent(15,890.4762); h_SL2L479->SetBinContent(16,1004.762); h_SL2L479->SetBinContent(17,866.6667); h_SL2L479->SetBinContent(18,971.4286); h_SL2L479->SetBinContent(19,1009.524); h_SL2L479->SetBinContent(20,1100); h_SL2L479->SetBinContent(21,1333.333); h_SL2L479->SetBinContent(22,1019.048); h_SL2L479->SetBinContent(23,1104.762); h_SL2L479->SetBinContent(24,1209.524); h_SL2L479->SetBinContent(25,1076.19); h_SL2L479->SetBinContent(26,861.9047); h_SL2L479->SetBinContent(27,1066.667); h_SL2L479->SetBinContent(28,1271.429); h_SL2L479->SetBinContent(29,976.1905); h_SL2L479->SetBinContent(30,1023.81); h_SL2L479->SetBinContent(31,1038.095); h_SL2L479->SetBinContent(32,1100); h_SL2L479->SetBinContent(33,1023.81); h_SL2L479->SetBinContent(34,1171.429); h_SL2L479->SetBinContent(35,1376.19); h_SL2L479->SetBinContent(36,1157.143); h_SL2L479->SetBinContent(37,1109.524); h_SL2L479->SetBinContent(38,1028.571); h_SL2L479->SetBinContent(39,1214.286); h_SL2L479->SetBinContent(40,909.5238); h_SL2L479->SetBinContent(42,1014.286); h_SL2L479->SetBinContent(43,838.0952); h_SL2L479->SetBinContent(44,947.619); h_SL2L479->SetBinContent(45,947.619); h_SL2L479->SetBinContent(46,728.5714); h_SL2L479->SetBinContent(47,804.7619); h_SL2L479->SetBinContent(48,823.8095); h_SL2L479->SetBinContent(49,704.7619); h_SL2L479->SetBinContent(50,714.2857); h_SL2L479->SetBinContent(51,704.7619); h_SL2L479->SetBinContent(52,723.8095); h_SL2L479->SetBinContent(53,900); h_SL2L479->SetBinContent(54,652.3809); h_SL2L479->SetBinContent(55,771.4286); h_SL2L479->SetBinContent(56,904.7619); h_SL2L479->SetMaximum(1730.476); 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,-269.7024,67.5,2427.321); 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,561.9048); h_SL3L180->SetBinContent(2,652.3809); h_SL3L180->SetBinContent(3,919.0476); h_SL3L180->SetBinContent(4,804.7619); h_SL3L180->SetBinContent(5,957.1428); h_SL3L180->SetBinContent(6,1009.524); h_SL3L180->SetBinContent(7,828.5714); h_SL3L180->SetBinContent(8,1028.571); h_SL3L180->SetBinContent(9,914.2857); h_SL3L180->SetBinContent(10,1066.667); h_SL3L180->SetBinContent(11,1109.524); h_SL3L180->SetBinContent(12,1119.048); h_SL3L180->SetBinContent(13,1185.714); h_SL3L180->SetBinContent(14,1323.81); h_SL3L180->SetBinContent(15,1142.857); h_SL3L180->SetBinContent(16,1090.476); h_SL3L180->SetBinContent(17,1323.81); h_SL3L180->SetBinContent(18,1147.619); h_SL3L180->SetBinContent(19,1100); h_SL3L180->SetBinContent(20,1042.857); h_SL3L180->SetBinContent(21,1323.81); h_SL3L180->SetBinContent(22,1276.19); h_SL3L180->SetBinContent(23,1328.571); h_SL3L180->SetBinContent(24,961.9047); h_SL3L180->SetBinContent(25,1338.095); h_SL3L180->SetBinContent(26,1642.857); h_SL3L180->SetBinContent(27,1480.952); h_SL3L180->SetBinContent(28,1404.762); h_SL3L180->SetBinContent(29,1319.048); h_SL3L180->SetBinContent(30,1690.476); h_SL3L180->SetBinContent(31,1647.619); h_SL3L180->SetBinContent(32,1490.476); h_SL3L180->SetBinContent(33,1776.19); h_SL3L180->SetBinContent(34,1633.333); h_SL3L180->SetBinContent(35,1657.143); h_SL3L180->SetBinContent(36,1514.286); h_SL3L180->SetBinContent(37,1604.762); h_SL3L180->SetBinContent(38,1314.286); h_SL3L180->SetBinContent(39,1504.762); h_SL3L180->SetBinContent(40,1461.905); h_SL3L180->SetBinContent(41,1571.429); h_SL3L180->SetBinContent(42,1266.667); h_SL3L180->SetBinContent(43,1214.286); h_SL3L180->SetBinContent(44,1147.619); h_SL3L180->SetBinContent(45,1204.762); h_SL3L180->SetBinContent(46,814.2857); h_SL3L180->SetBinContent(47,842.8571); h_SL3L180->SetBinContent(48,647.619); h_SL3L180->SetBinContent(49,709.5238); h_SL3L180->SetMaximum(2157.619); 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,576.1905); h_SL3L281->SetBinContent(2,652.3809); h_SL3L281->SetBinContent(3,685.7143); h_SL3L281->SetBinContent(4,876.1905); h_SL3L281->SetBinContent(5,900); h_SL3L281->SetBinContent(6,804.7619); h_SL3L281->SetBinContent(7,776.1905); h_SL3L281->SetBinContent(8,857.1428); h_SL3L281->SetBinContent(9,1133.333); h_SL3L281->SetBinContent(10,914.2857); h_SL3L281->SetBinContent(11,942.8571); h_SL3L281->SetBinContent(12,1052.381); h_SL3L281->SetBinContent(14,1114.286); h_SL3L281->SetBinContent(15,1142.857); h_SL3L281->SetBinContent(17,1223.81); h_SL3L281->SetBinContent(18,1119.048); h_SL3L281->SetBinContent(19,1228.571); h_SL3L281->SetBinContent(20,976.1905); h_SL3L281->SetBinContent(21,976.1905); h_SL3L281->SetBinContent(22,1261.905); h_SL3L281->SetBinContent(23,1009.524); h_SL3L281->SetBinContent(24,1119.048); h_SL3L281->SetBinContent(25,1200); h_SL3L281->SetBinContent(26,1314.286); h_SL3L281->SetBinContent(27,1442.857); h_SL3L281->SetBinContent(28,1380.952); h_SL3L281->SetBinContent(29,1290.476); h_SL3L281->SetBinContent(30,1428.571); h_SL3L281->SetBinContent(31,1490.476); h_SL3L281->SetBinContent(32,1447.619); h_SL3L281->SetBinContent(33,1547.619); h_SL3L281->SetBinContent(34,1657.143); h_SL3L281->SetBinContent(35,1476.19); h_SL3L281->SetBinContent(36,1423.81); h_SL3L281->SetBinContent(37,1376.19); h_SL3L281->SetBinContent(38,1561.905); h_SL3L281->SetBinContent(39,1433.333); h_SL3L281->SetBinContent(40,1204.762); h_SL3L281->SetBinContent(41,1876.19); h_SL3L281->SetBinContent(42,1333.333); h_SL3L281->SetBinContent(43,1366.667); h_SL3L281->SetBinContent(44,1328.571); h_SL3L281->SetBinContent(45,1080.952); h_SL3L281->SetBinContent(46,1304.762); h_SL3L281->SetBinContent(47,919.0476); h_SL3L281->SetBinContent(48,771.4286); h_SL3L281->SetBinContent(49,647.619); h_SL3L281->SetMaximum(2157.619); 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,514.2857); h_SL3L382->SetBinContent(2,642.8571); h_SL3L382->SetBinContent(3,790.4762); h_SL3L382->SetBinContent(4,752.3809); h_SL3L382->SetBinContent(5,704.7619); h_SL3L382->SetBinContent(6,938.0952); h_SL3L382->SetBinContent(7,771.4286); h_SL3L382->SetBinContent(8,800); h_SL3L382->SetBinContent(9,823.8095); h_SL3L382->SetBinContent(10,819.0476); h_SL3L382->SetBinContent(11,895.2381); h_SL3L382->SetBinContent(12,900); h_SL3L382->SetBinContent(13,857.1428); h_SL3L382->SetBinContent(14,842.8571); h_SL3L382->SetBinContent(15,1080.952); h_SL3L382->SetBinContent(16,1047.619); h_SL3L382->SetBinContent(17,1000); h_SL3L382->SetBinContent(18,1104.762); h_SL3L382->SetBinContent(19,1104.762); h_SL3L382->SetBinContent(20,952.3809); h_SL3L382->SetBinContent(21,1109.524); h_SL3L382->SetBinContent(22,1019.048); h_SL3L382->SetBinContent(23,1119.048); h_SL3L382->SetBinContent(24,1119.048); h_SL3L382->SetBinContent(25,1185.714); h_SL3L382->SetBinContent(26,1276.19); h_SL3L382->SetBinContent(27,1552.381); h_SL3L382->SetBinContent(28,1066.667); h_SL3L382->SetBinContent(29,1328.571); h_SL3L382->SetBinContent(30,1290.476); h_SL3L382->SetBinContent(31,1514.286); h_SL3L382->SetBinContent(32,1304.762); h_SL3L382->SetBinContent(33,1361.905); h_SL3L382->SetBinContent(34,1295.238); h_SL3L382->SetBinContent(35,1300); h_SL3L382->SetBinContent(36,1257.143); h_SL3L382->SetBinContent(37,1128.571); h_SL3L382->SetBinContent(38,952.3809); h_SL3L382->SetBinContent(39,1200); h_SL3L382->SetBinContent(40,1090.476); h_SL3L382->SetBinContent(41,1842.857); h_SL3L382->SetBinContent(42,1042.857); h_SL3L382->SetBinContent(43,1219.048); h_SL3L382->SetBinContent(44,1395.238); h_SL3L382->SetBinContent(45,947.619); h_SL3L382->SetBinContent(46,642.8571); h_SL3L382->SetBinContent(47,533.3333); h_SL3L382->SetBinContent(48,466.6667); h_SL3L382->SetBinContent(49,457.1429); h_SL3L382->SetMaximum(2157.619); 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,590.4762); h_SL3L483->SetBinContent(3,609.5238); h_SL3L483->SetBinContent(4,766.6667); h_SL3L483->SetBinContent(5,704.7619); h_SL3L483->SetBinContent(6,690.4762); h_SL3L483->SetBinContent(7,738.0952); h_SL3L483->SetBinContent(8,861.9047); h_SL3L483->SetBinContent(9,900); h_SL3L483->SetBinContent(10,823.8095); h_SL3L483->SetBinContent(11,790.4762); h_SL3L483->SetBinContent(12,880.9524); h_SL3L483->SetBinContent(13,800); h_SL3L483->SetBinContent(14,900); h_SL3L483->SetBinContent(15,985.7143); h_SL3L483->SetBinContent(16,904.7619); h_SL3L483->SetBinContent(17,1009.524); h_SL3L483->SetBinContent(18,1019.048); h_SL3L483->SetBinContent(19,1014.286); h_SL3L483->SetBinContent(20,914.2857); h_SL3L483->SetBinContent(21,885.7143); h_SL3L483->SetBinContent(22,871.4286); h_SL3L483->SetBinContent(23,852.3809); h_SL3L483->SetBinContent(24,866.6667); h_SL3L483->SetBinContent(25,1166.667); h_SL3L483->SetBinContent(26,1200); h_SL3L483->SetBinContent(27,1247.619); h_SL3L483->SetBinContent(28,1300); h_SL3L483->SetBinContent(29,1266.667); h_SL3L483->SetBinContent(30,1514.286); h_SL3L483->SetBinContent(31,1242.857); h_SL3L483->SetBinContent(32,1161.905); h_SL3L483->SetBinContent(33,1195.238); h_SL3L483->SetBinContent(34,1142.857); h_SL3L483->SetBinContent(35,1223.81); h_SL3L483->SetBinContent(36,1119.048); h_SL3L483->SetBinContent(37,1133.333); h_SL3L483->SetBinContent(38,1195.238); h_SL3L483->SetBinContent(39,1276.19); h_SL3L483->SetBinContent(40,861.9047); h_SL3L483->SetBinContent(41,995.2381); h_SL3L483->SetBinContent(42,1061.905); h_SL3L483->SetBinContent(43,1114.286); h_SL3L483->SetBinContent(44,1100); h_SL3L483->SetBinContent(45,961.9047); h_SL3L483->SetBinContent(46,1061.905); h_SL3L483->SetBinContent(47,909.5238); h_SL3L483->SetBinContent(48,709.5238); h_SL3L483->SetBinContent(49,533.3333); h_SL3L483->SetMaximum(2157.619); 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,-699.9745,14,6299.77); 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 6420 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,1540.683); hRateSub84->SetBinContent(2,1937.747); hRateSub84->SetBinContent(3,2223.032); hRateSub84->SetBinContent(4,1688.45); hRateSub84->SetBinContent(5,1158.078); hRateSub84->SetBinContent(6,1116.071); hRateSub84->SetBinContent(7,1083.951); hRateSub84->SetBinContent(8,984.5679); hRateSub84->SetBinContent(9,1206.511); hRateSub84->SetBinContent(10,1115.258); hRateSub84->SetBinContent(11,1027.794); hRateSub84->SetBinContent(12,980.754); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(5599.796); hRateSub84->SetEntries(266796); 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 6420 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,3361.449); hRateSub85->SetBinContent(2,4239.024); hRateSub85->SetBinContent(3,4869.388); hRateSub85->SetBinContent(4,3720); hRateSub85->SetBinContent(5,2552.857); hRateSub85->SetBinContent(6,2440.476); hRateSub85->SetBinContent(7,2389.136); hRateSub85->SetBinContent(8,2158.271); hRateSub85->SetBinContent(9,2644.898); hRateSub85->SetBinContent(10,2460.68); hRateSub85->SetBinContent(11,2248.163); hRateSub85->SetBinContent(12,2137.5); hRateSub85->SetEntries(266796); 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 6420"); 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 6420 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }