void RatesPerCell_Removing_noisy_cells_run_7258_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:35:26 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14759.82,67.5,132838.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7258",60,0,60); h_SL2L164->SetBinContent(1,628.6154); h_SL2L164->SetBinContent(2,735.7658); h_SL2L164->SetBinContent(3,1014.357); h_SL2L164->SetBinContent(4,1067.932); h_SL2L164->SetBinContent(5,1114.364); h_SL2L164->SetBinContent(6,1092.934); h_SL2L164->SetBinContent(7,960.7816); h_SL2L164->SetBinContent(8,1025.072); h_SL2L164->SetBinContent(9,1421.528); h_SL2L164->SetBinContent(10,1328.664); h_SL2L164->SetBinContent(11,1385.811); h_SL2L164->SetBinContent(12,1621.542); h_SL2L164->SetBinContent(13,1760.838); h_SL2L164->SetBinContent(14,1696.547); h_SL2L164->SetBinContent(15,1878.703); h_SL2L164->SetBinContent(16,1957.28); h_SL2L164->SetBinContent(17,2128.72); h_SL2L164->SetBinContent(18,2007.283); h_SL2L164->SetBinContent(19,2196.582); h_SL2L164->SetBinContent(20,2135.864); h_SL2L164->SetBinContent(21,2257.301); h_SL2L164->SetBinContent(22,2675.187); h_SL2L164->SetBinContent(23,3189.509); h_SL2L164->SetBinContent(24,3789.551); h_SL2L164->SetBinContent(25,6036.137); h_SL2L164->SetBinContent(26,15836.82); h_SL2L164->SetBinContent(27,35470.34); h_SL2L164->SetBinContent(28,63136.56); h_SL2L164->SetBinContent(29,87949.02); h_SL2L164->SetBinContent(30,77634.01); h_SL2L164->SetBinContent(31,47574.76); h_SL2L164->SetBinContent(32,33288.04); h_SL2L164->SetBinContent(33,27576.93); h_SL2L164->SetBinContent(34,15733.24); h_SL2L164->SetBinContent(35,10.71504); h_SL2L164->SetBinContent(36,3464.528); h_SL2L164->SetBinContent(37,4868.198); h_SL2L164->SetBinContent(38,3428.812); h_SL2L164->SetBinContent(39,3618.11); h_SL2L164->SetBinContent(40,61422.16); h_SL2L164->SetBinContent(41,11786.54); h_SL2L164->SetBinContent(42,3814.553); h_SL2L164->SetBinContent(43,3850.27); h_SL2L164->SetBinContent(44,3550.249); h_SL2L164->SetBinContent(45,985.7833); h_SL2L164->SetBinContent(46,1092.934); h_SL2L164->SetBinContent(47,1060.789); h_SL2L164->SetBinContent(48,889.348); h_SL2L164->SetBinContent(49,775.0543); h_SL2L164->SetBinContent(50,803.6277); h_SL2L164->SetBinContent(51,653.6172); h_SL2L164->SetBinContent(52,589.327); h_SL2L164->SetBinContent(53,746.4808); h_SL2L164->SetBinContent(54,560.7535); h_SL2L164->SetBinContent(55,546.4669); h_SL2L164->SetBinContent(56,460.7466); h_SL2L164->SetBinContent(57,528.6085); h_SL2L164->SetMaximum(118078.5); 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,628.6154); h_SL2L265->SetBinContent(2,796.4843); h_SL2L265->SetBinContent(3,850.0595); h_SL2L265->SetBinContent(4,1050.073); h_SL2L265->SetBinContent(5,1014.357); h_SL2L265->SetBinContent(6,1128.65); h_SL2L265->SetBinContent(7,1042.93); h_SL2L265->SetBinContent(8,989.355); h_SL2L265->SetBinContent(9,1210.799); h_SL2L265->SetBinContent(10,1267.946); h_SL2L265->SetBinContent(11,1425.1); h_SL2L265->SetBinContent(12,1403.67); h_SL2L265->SetBinContent(13,1682.261); h_SL2L265->SetBinContent(14,1732.264); h_SL2L265->SetBinContent(15,1657.259); h_SL2L265->SetBinContent(16,1764.409); h_SL2L265->SetBinContent(17,1989.425); h_SL2L265->SetBinContent(18,1892.99); h_SL2L265->SetBinContent(19,2017.998); h_SL2L265->SetBinContent(20,2135.864); h_SL2L265->SetBinContent(21,2096.575); h_SL2L265->SetBinContent(22,2357.308); h_SL2L265->SetBinContent(23,2732.334); h_SL2L265->SetBinContent(24,3457.385); h_SL2L265->SetBinContent(25,4075.285); h_SL2L265->SetBinContent(26,9936.41); h_SL2L265->SetBinContent(27,24115.97); h_SL2L265->SetBinContent(28,48403.39); h_SL2L265->SetBinContent(29,77194.69); h_SL2L265->SetBinContent(30,88759.79); h_SL2L265->SetBinContent(31,60572.1); h_SL2L265->SetBinContent(32,38863.43); h_SL2L265->SetBinContent(33,29612.79); h_SL2L265->SetBinContent(34,23055.19); h_SL2L265->SetBinContent(35,8964.913); h_SL2L265->SetBinContent(36,3850.27); h_SL2L265->SetBinContent(37,3003.782); h_SL2L265->SetBinContent(38,2096.575); h_SL2L265->SetBinContent(39,2321.591); h_SL2L265->SetBinContent(40,2796.624); h_SL2L265->SetBinContent(41,1617.97); h_SL2L265->SetBinContent(42,1592.969); h_SL2L265->SetBinContent(43,1332.236); h_SL2L265->SetBinContent(44,1378.668); h_SL2L265->SetBinContent(45,1050.073); h_SL2L265->SetBinContent(46,975.0683); h_SL2L265->SetBinContent(47,1060.789); h_SL2L265->SetBinContent(48,960.7816); h_SL2L265->SetBinContent(49,767.9109); h_SL2L265->SetBinContent(50,775.0543); h_SL2L265->SetBinContent(51,632.1871); h_SL2L265->SetBinContent(52,600.042); h_SL2L265->SetBinContent(53,657.1888); h_SL2L265->SetBinContent(54,650.0455); h_SL2L265->SetBinContent(55,607.1854); h_SL2L265->SetBinContent(56,489.32); h_SL2L265->SetBinContent(57,435.7448); h_SL2L265->SetMaximum(102677.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,667.9039); h_SL2L366->SetBinContent(2,757.1959); h_SL2L366->SetBinContent(3,878.6329); h_SL2L366->SetBinContent(4,967.9249); h_SL2L366->SetBinContent(5,1100.077); h_SL2L366->SetBinContent(6,1071.504); h_SL2L366->SetBinContent(7,907.2064); h_SL2L366->SetBinContent(8,985.7833); h_SL2L366->SetBinContent(9,1246.516); h_SL2L366->SetBinContent(10,1200.084); h_SL2L366->SetBinContent(11,1289.376); h_SL2L366->SetBinContent(12,1489.39); h_SL2L366->SetBinContent(13,1600.112); h_SL2L366->SetBinContent(14,1553.68); h_SL2L366->SetBinContent(15,1692.976); h_SL2L366->SetBinContent(16,1746.551); h_SL2L366->SetBinContent(17,1835.843); h_SL2L366->SetBinContent(18,1875.131); h_SL2L366->SetBinContent(19,2146.579); h_SL2L366->SetBinContent(20,2025.142); h_SL2L366->SetBinContent(21,2146.579); h_SL2L366->SetBinContent(22,2439.457); h_SL2L366->SetBinContent(23,2971.637); h_SL2L366->SetBinContent(24,3603.824); h_SL2L366->SetBinContent(25,5886.126); h_SL2L366->SetBinContent(26,15608.24); h_SL2L366->SetBinContent(27,34945.3); h_SL2L366->SetBinContent(28,63190.14); h_SL2L366->SetBinContent(29,87534.7); h_SL2L366->SetBinContent(30,77751.88); h_SL2L366->SetBinContent(31,47306.88); h_SL2L366->SetBinContent(32,33066.6); h_SL2L366->SetBinContent(33,27109.04); h_SL2L366->SetBinContent(34,15597.52); h_SL2L366->SetBinContent(35,5143.217); h_SL2L366->SetBinContent(36,3343.091); h_SL2L366->SetBinContent(37,2435.885); h_SL2L366->SetBinContent(38,1960.852); h_SL2L366->SetBinContent(39,1764.409); h_SL2L366->SetBinContent(40,1903.705); h_SL2L366->SetBinContent(41,1371.525); h_SL2L366->SetBinContent(42,1167.939); h_SL2L366->SetBinContent(43,1103.649); h_SL2L366->SetBinContent(44,910.7781); h_SL2L366->SetBinContent(45,985.7833); h_SL2L366->SetBinContent(46,1067.932); h_SL2L366->SetBinContent(47,989.355); h_SL2L366->SetBinContent(48,842.9161); h_SL2L366->SetBinContent(49,757.1959); h_SL2L366->SetBinContent(50,703.6207); h_SL2L366->SetBinContent(51,625.0438); h_SL2L366->SetBinContent(52,557.1819); h_SL2L366->SetBinContent(53,671.4756); h_SL2L366->SetBinContent(54,575.0403); h_SL2L366->SetBinContent(55,546.4669); h_SL2L366->SetBinContent(56,478.6049); h_SL2L366->SetBinContent(57,342.8812); h_SL2L366->SetMaximum(102677.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,810.7711); h_SL2L467->SetBinContent(3,828.6295); h_SL2L467->SetBinContent(4,950.0665); h_SL2L467->SetBinContent(5,1000.07); h_SL2L467->SetBinContent(6,921.4931); h_SL2L467->SetBinContent(7,914.3497); h_SL2L467->SetBinContent(8,882.2047); h_SL2L467->SetBinContent(9,1078.647); h_SL2L467->SetBinContent(10,1275.089); h_SL2L467->SetBinContent(11,1178.654); h_SL2L467->SetBinContent(12,1317.949); h_SL2L467->SetBinContent(13,1557.252); h_SL2L467->SetBinContent(14,1578.682); h_SL2L467->SetBinContent(15,1489.39); h_SL2L467->SetBinContent(16,1646.544); h_SL2L467->SetBinContent(17,1796.554); h_SL2L467->SetBinContent(18,1732.264); h_SL2L467->SetBinContent(19,2028.714); h_SL2L467->SetBinContent(20,1964.423); h_SL2L467->SetBinContent(21,1925.135); h_SL2L467->SetBinContent(22,2253.729); h_SL2L467->SetBinContent(23,2689.474); h_SL2L467->SetBinContent(24,3225.226); h_SL2L467->SetBinContent(25,3893.13); h_SL2L467->SetBinContent(26,9832.831); h_SL2L467->SetBinContent(27,24376.71); h_SL2L467->SetBinContent(28,47781.92); h_SL2L467->SetBinContent(29,77266.12); h_SL2L467->SetBinContent(30,89284.82); h_SL2L467->SetBinContent(31,60493.52); h_SL2L467->SetBinContent(32,38627.7); h_SL2L467->SetBinContent(33,29444.92); h_SL2L467->SetBinContent(34,22848.03); h_SL2L467->SetBinContent(35,8889.908); h_SL2L467->SetBinContent(36,3689.544); h_SL2L467->SetBinContent(37,2764.479); h_SL2L467->SetBinContent(38,2175.152); h_SL2L467->SetBinContent(39,1846.558); h_SL2L467->SetBinContent(40,1600.112); h_SL2L467->SetBinContent(41,1410.813); h_SL2L467->SetBinContent(42,1253.659); h_SL2L467->SetBinContent(43,1071.504); h_SL2L467->SetBinContent(44,960.7816); h_SL2L467->SetBinContent(45,967.9249); h_SL2L467->SetBinContent(46,975.0683); h_SL2L467->SetBinContent(47,996.4984); h_SL2L467->SetBinContent(48,875.0613); h_SL2L467->SetBinContent(49,735.7658); h_SL2L467->SetBinContent(50,792.9127); h_SL2L467->SetBinContent(51,625.0438); h_SL2L467->SetBinContent(52,642.9022); h_SL2L467->SetBinContent(53,560.7535); h_SL2L467->SetBinContent(54,603.6137); h_SL2L467->SetBinContent(55,532.1801); h_SL2L467->SetBinContent(56,457.1749); h_SL2L467->SetBinContent(57,457.1749); h_SL2L467->SetMaximum(102677.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.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 7258"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }