void RatesPerCell_Removing_noisy_cells_run_6611_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:20:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13626.64,67.5,122639.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6611",60,0,60); h_SL2L164->SetBinContent(1,871.4286); h_SL2L164->SetBinContent(2,937.1429); h_SL2L164->SetBinContent(3,1064.286); h_SL2L164->SetBinContent(4,1121.429); h_SL2L164->SetBinContent(5,1188.571); h_SL2L164->SetBinContent(6,1224.286); h_SL2L164->SetBinContent(7,1377.143); h_SL2L164->SetBinContent(8,1408.571); h_SL2L164->SetBinContent(9,1480); h_SL2L164->SetBinContent(10,1638.571); h_SL2L164->SetBinContent(11,1790); h_SL2L164->SetBinContent(12,1731.429); h_SL2L164->SetBinContent(13,1912.857); h_SL2L164->SetBinContent(14,1992.857); h_SL2L164->SetBinContent(15,2200); h_SL2L164->SetBinContent(16,2285.714); h_SL2L164->SetBinContent(17,2337.143); h_SL2L164->SetBinContent(18,2440); h_SL2L164->SetBinContent(19,2728.572); h_SL2L164->SetBinContent(20,2787.143); h_SL2L164->SetBinContent(21,2861.429); h_SL2L164->SetBinContent(22,2982.857); h_SL2L164->SetBinContent(23,3482.857); h_SL2L164->SetBinContent(24,3777.143); h_SL2L164->SetBinContent(25,9071.429); h_SL2L164->SetBinContent(26,27898.57); h_SL2L164->SetBinContent(27,42390); h_SL2L164->SetBinContent(28,49852.86); h_SL2L164->SetBinContent(29,53900); h_SL2L164->SetBinContent(30,52227.14); h_SL2L164->SetBinContent(31,50014.29); h_SL2L164->SetBinContent(32,50347.14); h_SL2L164->SetBinContent(33,48168.57); h_SL2L164->SetBinContent(34,27130); h_SL2L164->SetBinContent(36,3634.286); h_SL2L164->SetBinContent(37,8308.571); h_SL2L164->SetBinContent(38,4980); h_SL2L164->SetBinContent(39,6584.286); h_SL2L164->SetBinContent(40,72338.57); h_SL2L164->SetBinContent(41,82430); h_SL2L164->SetBinContent(42,13384.29); h_SL2L164->SetBinContent(43,13404.29); h_SL2L164->SetBinContent(44,13827.14); h_SL2L164->SetBinContent(45,1465.714); h_SL2L164->SetBinContent(46,1310); h_SL2L164->SetBinContent(47,1280); h_SL2L164->SetBinContent(48,1152.857); h_SL2L164->SetBinContent(49,1067.143); h_SL2L164->SetBinContent(50,1038.571); h_SL2L164->SetBinContent(51,985.7143); h_SL2L164->SetBinContent(52,845.7143); h_SL2L164->SetBinContent(53,845.7143); h_SL2L164->SetBinContent(54,792.8572); h_SL2L164->SetBinContent(55,705.7143); h_SL2L164->SetBinContent(56,638.5715); h_SL2L164->SetBinContent(57,6672.857); h_SL2L164->SetMaximum(109013.1); 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,791.4286); h_SL2L265->SetBinContent(2,837.1429); h_SL2L265->SetBinContent(3,980); h_SL2L265->SetBinContent(4,1135.714); h_SL2L265->SetBinContent(5,1097.143); h_SL2L265->SetBinContent(6,1168.571); h_SL2L265->SetBinContent(7,1245.714); h_SL2L265->SetBinContent(8,1420); h_SL2L265->SetBinContent(9,1450); h_SL2L265->SetBinContent(10,1472.857); h_SL2L265->SetBinContent(11,1731.429); h_SL2L265->SetBinContent(12,1645.714); h_SL2L265->SetBinContent(13,1777.143); h_SL2L265->SetBinContent(14,1951.429); h_SL2L265->SetBinContent(15,1988.572); h_SL2L265->SetBinContent(16,2220); h_SL2L265->SetBinContent(17,2242.857); h_SL2L265->SetBinContent(18,2358.572); h_SL2L265->SetBinContent(19,2452.857); h_SL2L265->SetBinContent(20,2694.286); h_SL2L265->SetBinContent(21,2792.857); h_SL2L265->SetBinContent(22,2908.572); h_SL2L265->SetBinContent(23,3121.429); h_SL2L265->SetBinContent(24,3455.714); h_SL2L265->SetBinContent(25,4620); h_SL2L265->SetBinContent(26,18374.29); h_SL2L265->SetBinContent(27,35655.71); h_SL2L265->SetBinContent(28,46827.14); h_SL2L265->SetBinContent(29,52297.14); h_SL2L265->SetBinContent(30,52662.86); h_SL2L265->SetBinContent(31,50970); h_SL2L265->SetBinContent(32,49710); h_SL2L265->SetBinContent(33,50447.14); h_SL2L265->SetBinContent(34,40842.86); h_SL2L265->SetBinContent(35,14381.43); h_SL2L265->SetBinContent(36,4775.714); h_SL2L265->SetBinContent(37,3362.857); h_SL2L265->SetBinContent(38,2721.429); h_SL2L265->SetBinContent(39,3691.429); h_SL2L265->SetBinContent(40,5168.572); h_SL2L265->SetBinContent(41,4318.571); h_SL2L265->SetBinContent(42,3784.286); h_SL2L265->SetBinContent(43,2551.429); h_SL2L265->SetBinContent(44,3755.714); h_SL2L265->SetBinContent(45,1471.429); h_SL2L265->SetBinContent(46,1372.857); h_SL2L265->SetBinContent(47,1235.714); h_SL2L265->SetBinContent(48,1225.714); h_SL2L265->SetBinContent(49,1077.143); h_SL2L265->SetBinContent(50,1055.714); h_SL2L265->SetBinContent(51,967.1429); h_SL2L265->SetBinContent(52,875.7143); h_SL2L265->SetBinContent(53,827.1429); h_SL2L265->SetBinContent(54,791.4286); h_SL2L265->SetBinContent(55,787.1429); h_SL2L265->SetBinContent(56,678.5715); h_SL2L265->SetBinContent(57,607.1429); h_SL2L265->SetMaximum(94794.5); 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,821.4286); h_SL2L366->SetBinContent(2,888.5715); h_SL2L366->SetBinContent(3,1037.143); h_SL2L366->SetBinContent(4,1102.857); h_SL2L366->SetBinContent(5,1111.429); h_SL2L366->SetBinContent(6,1210); h_SL2L366->SetBinContent(7,1325.714); h_SL2L366->SetBinContent(8,1375.714); h_SL2L366->SetBinContent(9,1417.143); h_SL2L366->SetBinContent(10,1591.429); h_SL2L366->SetBinContent(11,1632.857); h_SL2L366->SetBinContent(12,1667.143); h_SL2L366->SetBinContent(13,1854.286); h_SL2L366->SetBinContent(14,1932.857); h_SL2L366->SetBinContent(15,2111.429); h_SL2L366->SetBinContent(16,2215.714); h_SL2L366->SetBinContent(17,2257.143); h_SL2L366->SetBinContent(18,2354.286); h_SL2L366->SetBinContent(19,2588.572); h_SL2L366->SetBinContent(20,2685.714); h_SL2L366->SetBinContent(21,2754.286); h_SL2L366->SetBinContent(22,2838.572); h_SL2L366->SetBinContent(23,3302.857); h_SL2L366->SetBinContent(24,3687.143); h_SL2L366->SetBinContent(25,8988.571); h_SL2L366->SetBinContent(26,27942.86); h_SL2L366->SetBinContent(27,42292.86); h_SL2L366->SetBinContent(28,49692.86); h_SL2L366->SetBinContent(29,53145.71); h_SL2L366->SetBinContent(30,52160); h_SL2L366->SetBinContent(31,50130); h_SL2L366->SetBinContent(32,50282.86); h_SL2L366->SetBinContent(33,48112.86); h_SL2L366->SetBinContent(34,27120); h_SL2L366->SetBinContent(35,7144.286); h_SL2L366->SetBinContent(36,3725.714); h_SL2L366->SetBinContent(37,2950); h_SL2L366->SetBinContent(38,2524.286); h_SL2L366->SetBinContent(39,2205.714); h_SL2L366->SetBinContent(40,3944.286); h_SL2L366->SetBinContent(41,2357.143); h_SL2L366->SetBinContent(42,1768.571); h_SL2L366->SetBinContent(43,1678.571); h_SL2L366->SetBinContent(44,1531.429); h_SL2L366->SetBinContent(45,1415.714); h_SL2L366->SetBinContent(46,1251.429); h_SL2L366->SetBinContent(47,1200); h_SL2L366->SetBinContent(48,1127.143); h_SL2L366->SetBinContent(49,1030); h_SL2L366->SetBinContent(50,988.5715); h_SL2L366->SetBinContent(51,935.7143); h_SL2L366->SetBinContent(52,802.8572); h_SL2L366->SetBinContent(53,810); h_SL2L366->SetBinContent(54,767.1429); h_SL2L366->SetBinContent(55,691.4286); h_SL2L366->SetBinContent(56,638.5715); h_SL2L366->SetBinContent(57,655.7143); h_SL2L366->SetMaximum(94794.5); 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,847.1429); h_SL2L467->SetBinContent(3,942.8572); h_SL2L467->SetBinContent(4,1087.143); h_SL2L467->SetBinContent(5,1082.857); h_SL2L467->SetBinContent(6,1188.571); h_SL2L467->SetBinContent(7,1198.571); h_SL2L467->SetBinContent(8,1411.429); h_SL2L467->SetBinContent(9,1372.857); h_SL2L467->SetBinContent(10,1438.571); h_SL2L467->SetBinContent(11,1621.429); h_SL2L467->SetBinContent(12,1584.286); h_SL2L467->SetBinContent(13,1740); h_SL2L467->SetBinContent(14,1888.572); h_SL2L467->SetBinContent(15,1960); h_SL2L467->SetBinContent(16,2220); h_SL2L467->SetBinContent(17,2155.714); h_SL2L467->SetBinContent(18,2264.286); h_SL2L467->SetBinContent(19,2441.429); h_SL2L467->SetBinContent(20,2694.286); h_SL2L467->SetBinContent(21,2675.714); h_SL2L467->SetBinContent(22,2778.572); h_SL2L467->SetBinContent(23,3012.857); h_SL2L467->SetBinContent(24,3334.286); h_SL2L467->SetBinContent(25,4494.286); h_SL2L467->SetBinContent(26,18292.86); h_SL2L467->SetBinContent(27,35858.57); h_SL2L467->SetBinContent(28,46491.43); h_SL2L467->SetBinContent(29,52247.14); h_SL2L467->SetBinContent(30,53184.29); h_SL2L467->SetBinContent(31,50812.86); h_SL2L467->SetBinContent(32,49861.43); h_SL2L467->SetBinContent(33,50532.86); h_SL2L467->SetBinContent(34,40747.14); h_SL2L467->SetBinContent(35,14264.29); h_SL2L467->SetBinContent(36,4624.286); h_SL2L467->SetBinContent(37,3161.429); h_SL2L467->SetBinContent(38,2652.857); h_SL2L467->SetBinContent(39,2334.286); h_SL2L467->SetBinContent(40,2095.714); h_SL2L467->SetBinContent(41,1761.429); h_SL2L467->SetBinContent(42,2330); h_SL2L467->SetBinContent(43,1608.571); h_SL2L467->SetBinContent(44,1512.857); h_SL2L467->SetBinContent(45,1412.857); h_SL2L467->SetBinContent(46,1371.429); h_SL2L467->SetBinContent(47,1150); h_SL2L467->SetBinContent(48,1204.286); h_SL2L467->SetBinContent(49,1007.143); h_SL2L467->SetBinContent(50,1007.143); h_SL2L467->SetBinContent(51,937.1429); h_SL2L467->SetBinContent(52,884.2857); h_SL2L467->SetBinContent(53,794.2857); h_SL2L467->SetBinContent(54,762.8572); h_SL2L467->SetBinContent(55,742.8572); h_SL2L467->SetBinContent(56,662.8572); h_SL2L467->SetBinContent(57,590); h_SL2L467->SetMaximum(94794.5); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6611"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }