void RatesPerCell_Removing_noisy_cells_run_6762_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8924.432,67.5,80319.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6762",60,0,60); h_SL2L164->SetBinContent(1,602.3809); h_SL2L164->SetBinContent(2,742.8571); h_SL2L164->SetBinContent(3,859.5238); h_SL2L164->SetBinContent(4,1002.381); h_SL2L164->SetBinContent(5,1052.381); h_SL2L164->SetBinContent(6,1090.476); h_SL2L164->SetBinContent(7,1090.476); h_SL2L164->SetBinContent(8,1176.19); h_SL2L164->SetBinContent(9,1166.667); h_SL2L164->SetBinContent(10,1314.286); h_SL2L164->SetBinContent(11,1447.619); h_SL2L164->SetBinContent(12,1476.19); h_SL2L164->SetBinContent(13,1514.286); h_SL2L164->SetBinContent(14,1695.238); h_SL2L164->SetBinContent(15,1666.667); h_SL2L164->SetBinContent(16,1857.143); h_SL2L164->SetBinContent(17,1876.19); h_SL2L164->SetBinContent(18,2042.857); h_SL2L164->SetBinContent(19,2328.571); h_SL2L164->SetBinContent(20,2247.619); h_SL2L164->SetBinContent(21,2419.048); h_SL2L164->SetBinContent(22,2754.762); h_SL2L164->SetBinContent(23,3033.333); h_SL2L164->SetBinContent(24,3650); h_SL2L164->SetBinContent(25,8390.477); h_SL2L164->SetBinContent(26,27488.1); h_SL2L164->SetBinContent(27,42690.48); h_SL2L164->SetBinContent(28,50514.29); h_SL2L164->SetBinContent(29,53985.71); h_SL2L164->SetBinContent(30,52064.29); h_SL2L164->SetBinContent(31,49595.24); h_SL2L164->SetBinContent(32,48907.14); h_SL2L164->SetBinContent(33,48359.52); h_SL2L164->SetBinContent(34,26995.24); h_SL2L164->SetBinContent(35,2.380952); h_SL2L164->SetBinContent(36,3585.714); h_SL2L164->SetBinContent(37,2857.143); h_SL2L164->SetBinContent(38,2414.286); h_SL2L164->SetBinContent(39,2007.143); h_SL2L164->SetBinContent(40,1654.762); h_SL2L164->SetBinContent(41,1685.714); h_SL2L164->SetBinContent(42,1530.952); h_SL2L164->SetBinContent(43,1457.143); h_SL2L164->SetBinContent(44,1369.048); h_SL2L164->SetBinContent(45,1280.952); h_SL2L164->SetBinContent(46,1154.762); h_SL2L164->SetBinContent(47,1078.571); h_SL2L164->SetBinContent(48,973.8095); h_SL2L164->SetBinContent(49,916.6667); h_SL2L164->SetBinContent(50,840.4762); h_SL2L164->SetBinContent(51,802.3809); h_SL2L164->SetBinContent(52,757.1428); h_SL2L164->SetBinContent(53,695.2381); h_SL2L164->SetBinContent(54,747.619); h_SL2L164->SetBinContent(55,609.5238); h_SL2L164->SetBinContent(56,609.5238); h_SL2L164->SetBinContent(57,8400); h_SL2L164->SetMaximum(71395.45); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,621.4286); h_SL2L265->SetBinContent(2,704.7619); h_SL2L265->SetBinContent(3,809.5238); h_SL2L265->SetBinContent(4,864.2857); h_SL2L265->SetBinContent(5,1045.238); h_SL2L265->SetBinContent(6,1023.81); h_SL2L265->SetBinContent(7,1107.143); h_SL2L265->SetBinContent(8,1090.476); h_SL2L265->SetBinContent(9,1159.524); h_SL2L265->SetBinContent(10,1221.429); h_SL2L265->SetBinContent(11,1378.571); h_SL2L265->SetBinContent(12,1333.333); h_SL2L265->SetBinContent(13,1523.81); h_SL2L265->SetBinContent(14,1588.095); h_SL2L265->SetBinContent(15,1654.762); h_SL2L265->SetBinContent(16,1692.857); h_SL2L265->SetBinContent(17,1945.238); h_SL2L265->SetBinContent(18,2002.381); h_SL2L265->SetBinContent(19,2202.381); h_SL2L265->SetBinContent(20,2178.571); h_SL2L265->SetBinContent(21,2330.952); h_SL2L265->SetBinContent(22,2492.857); h_SL2L265->SetBinContent(23,2845.238); h_SL2L265->SetBinContent(24,3223.81); h_SL2L265->SetBinContent(25,4073.81); h_SL2L265->SetBinContent(26,17528.57); h_SL2L265->SetBinContent(27,35619.05); h_SL2L265->SetBinContent(28,46940.48); h_SL2L265->SetBinContent(29,52285.71); h_SL2L265->SetBinContent(30,52833.33); h_SL2L265->SetBinContent(31,50140.48); h_SL2L265->SetBinContent(32,48730.95); h_SL2L265->SetBinContent(33,49035.71); h_SL2L265->SetBinContent(34,40673.81); h_SL2L265->SetBinContent(35,14164.29); h_SL2L265->SetBinContent(36,4661.905); h_SL2L265->SetBinContent(37,3116.667); h_SL2L265->SetBinContent(38,2547.619); h_SL2L265->SetBinContent(39,2159.524); h_SL2L265->SetBinContent(40,1707.143); h_SL2L265->SetBinContent(41,1757.143); h_SL2L265->SetBinContent(42,1571.429); h_SL2L265->SetBinContent(43,1523.81); h_SL2L265->SetBinContent(44,1373.81); h_SL2L265->SetBinContent(45,1245.238); h_SL2L265->SetBinContent(46,1192.857); h_SL2L265->SetBinContent(47,1142.857); h_SL2L265->SetBinContent(48,940.4762); h_SL2L265->SetBinContent(49,940.4762); h_SL2L265->SetBinContent(50,788.0952); h_SL2L265->SetBinContent(51,797.619); h_SL2L265->SetBinContent(52,816.6667); h_SL2L265->SetBinContent(53,707.1428); h_SL2L265->SetBinContent(54,711.9048); h_SL2L265->SetBinContent(55,635.7143); h_SL2L265->SetBinContent(56,628.5714); h_SL2L265->SetBinContent(57,497.619); h_SL2L265->SetMaximum(62083.57); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,657.1428); h_SL2L366->SetBinContent(2,830.9524); h_SL2L366->SetBinContent(3,828.5714); h_SL2L366->SetBinContent(4,911.9047); h_SL2L366->SetBinContent(5,1052.381); h_SL2L366->SetBinContent(6,1047.619); h_SL2L366->SetBinContent(7,1061.905); h_SL2L366->SetBinContent(8,1197.619); h_SL2L366->SetBinContent(9,1116.667); h_SL2L366->SetBinContent(10,1228.571); h_SL2L366->SetBinContent(11,1376.19); h_SL2L366->SetBinContent(12,1385.714); h_SL2L366->SetBinContent(13,1497.619); h_SL2L366->SetBinContent(14,1688.095); h_SL2L366->SetBinContent(15,1557.143); h_SL2L366->SetBinContent(16,1792.857); h_SL2L366->SetBinContent(17,1864.286); h_SL2L366->SetBinContent(18,1961.905); h_SL2L366->SetBinContent(19,2195.238); h_SL2L366->SetBinContent(20,2119.048); h_SL2L366->SetBinContent(21,2302.381); h_SL2L366->SetBinContent(22,2671.428); h_SL2L366->SetBinContent(23,3045.238); h_SL2L366->SetBinContent(24,3502.381); h_SL2L366->SetBinContent(25,8376.19); h_SL2L366->SetBinContent(26,27361.9); h_SL2L366->SetBinContent(27,42002.38); h_SL2L366->SetBinContent(28,50226.19); h_SL2L366->SetBinContent(29,53326.19); h_SL2L366->SetBinContent(30,51633.33); h_SL2L366->SetBinContent(31,49569.05); h_SL2L366->SetBinContent(32,48683.33); h_SL2L366->SetBinContent(33,47842.86); h_SL2L366->SetBinContent(34,26830.95); h_SL2L366->SetBinContent(35,7345.238); h_SL2L366->SetBinContent(36,3645.238); h_SL2L366->SetBinContent(37,2780.952); h_SL2L366->SetBinContent(38,2345.238); h_SL2L366->SetBinContent(39,1852.381); h_SL2L366->SetBinContent(40,1721.429); h_SL2L366->SetBinContent(41,1604.762); h_SL2L366->SetBinContent(42,1469.048); h_SL2L366->SetBinContent(43,1373.81); h_SL2L366->SetBinContent(44,1226.19); h_SL2L366->SetBinContent(45,1178.571); h_SL2L366->SetBinContent(46,1097.619); h_SL2L366->SetBinContent(47,1007.143); h_SL2L366->SetBinContent(48,921.4286); h_SL2L366->SetBinContent(49,859.5238); h_SL2L366->SetBinContent(50,819.0476); h_SL2L366->SetBinContent(51,742.8571); h_SL2L366->SetBinContent(52,797.619); h_SL2L366->SetBinContent(53,690.4762); h_SL2L366->SetBinContent(54,695.2381); h_SL2L366->SetBinContent(55,571.4286); h_SL2L366->SetBinContent(56,557.1428); h_SL2L366->SetBinContent(57,616.6667); h_SL2L366->SetMaximum(62083.57); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,714.2857); h_SL2L467->SetBinContent(3,816.6667); h_SL2L467->SetBinContent(4,828.5714); h_SL2L467->SetBinContent(5,976.1905); h_SL2L467->SetBinContent(6,1033.333); h_SL2L467->SetBinContent(7,1095.238); h_SL2L467->SetBinContent(8,1083.333); h_SL2L467->SetBinContent(9,1109.524); h_SL2L467->SetBinContent(10,1171.429); h_SL2L467->SetBinContent(11,1285.714); h_SL2L467->SetBinContent(12,1302.381); h_SL2L467->SetBinContent(13,1435.714); h_SL2L467->SetBinContent(14,1576.19); h_SL2L467->SetBinContent(15,1540.476); h_SL2L467->SetBinContent(16,1692.857); h_SL2L467->SetBinContent(17,1830.952); h_SL2L467->SetBinContent(18,1864.286); h_SL2L467->SetBinContent(19,2147.619); h_SL2L467->SetBinContent(20,2111.905); h_SL2L467->SetBinContent(21,2238.095); h_SL2L467->SetBinContent(22,2380.952); h_SL2L467->SetBinContent(23,2780.952); h_SL2L467->SetBinContent(24,3128.571); h_SL2L467->SetBinContent(25,3969.048); h_SL2L467->SetBinContent(26,17433.33); h_SL2L467->SetBinContent(27,35630.95); h_SL2L467->SetBinContent(28,46809.52); h_SL2L467->SetBinContent(29,52061.9); h_SL2L467->SetBinContent(30,53421.43); h_SL2L467->SetBinContent(31,50126.19); h_SL2L467->SetBinContent(32,49050); h_SL2L467->SetBinContent(33,49492.86); h_SL2L467->SetBinContent(34,40600); h_SL2L467->SetBinContent(35,14135.71); h_SL2L467->SetBinContent(36,4716.667); h_SL2L467->SetBinContent(37,3009.524); h_SL2L467->SetBinContent(38,2442.857); h_SL2L467->SetBinContent(39,2095.238); h_SL2L467->SetBinContent(40,1680.952); h_SL2L467->SetBinContent(41,1630.952); h_SL2L467->SetBinContent(42,1509.524); h_SL2L467->SetBinContent(43,1369.048); h_SL2L467->SetBinContent(44,1316.667); h_SL2L467->SetBinContent(45,1178.571); h_SL2L467->SetBinContent(46,1154.762); h_SL2L467->SetBinContent(47,1100); h_SL2L467->SetBinContent(48,916.6667); h_SL2L467->SetBinContent(49,909.5238); h_SL2L467->SetBinContent(50,790.4762); h_SL2L467->SetBinContent(51,764.2857); h_SL2L467->SetBinContent(52,804.7619); h_SL2L467->SetBinContent(53,700); h_SL2L467->SetBinContent(54,690.4762); h_SL2L467->SetBinContent(55,590.4762); h_SL2L467->SetBinContent(56,578.5714); h_SL2L467->SetBinContent(57,566.6667); h_SL2L467->SetMaximum(62083.57); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL2L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L3","Layer 3","l"); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6762"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }