void RatesPerCell_Removing_noisy_cells_run_6592_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 20:04:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10809.71,67.5,97287.41); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6592",60,0,60); h_SL1L160->SetBinContent(1,375.7143); h_SL1L160->SetBinContent(2,367.1429); h_SL1L160->SetBinContent(3,402.8571); h_SL1L160->SetBinContent(4,440); h_SL1L160->SetBinContent(5,405.7143); h_SL1L160->SetBinContent(6,445.7143); h_SL1L160->SetBinContent(7,417.1429); h_SL1L160->SetBinContent(8,487.1429); h_SL1L160->SetBinContent(9,515.7143); h_SL1L160->SetBinContent(10,602.8572); h_SL1L160->SetBinContent(11,697.1429); h_SL1L160->SetBinContent(12,805.7143); h_SL1L160->SetBinContent(13,768.5715); h_SL1L160->SetBinContent(14,938.5715); h_SL1L160->SetBinContent(15,780); h_SL1L160->SetBinContent(16,734.2857); h_SL1L160->SetBinContent(17,967.1429); h_SL1L160->SetBinContent(18,1234.286); h_SL1L160->SetBinContent(19,1324.286); h_SL1L160->SetBinContent(20,1368.571); h_SL1L160->SetBinContent(21,1594.286); h_SL1L160->SetBinContent(22,1608.571); h_SL1L160->SetBinContent(23,1791.429); h_SL1L160->SetBinContent(24,2051.429); h_SL1L160->SetBinContent(25,2012.857); h_SL1L160->SetBinContent(26,2061.429); h_SL1L160->SetBinContent(27,2308.572); h_SL1L160->SetBinContent(28,3002.857); h_SL1L160->SetBinContent(29,3051.429); h_SL1L160->SetBinContent(30,3691.429); h_SL1L160->SetBinContent(31,4790); h_SL1L160->SetBinContent(32,8572.857); h_SL1L160->SetBinContent(33,34701.43); h_SL1L160->SetBinContent(34,51412.86); h_SL1L160->SetBinContent(35,55680); h_SL1L160->SetBinContent(36,59647.14); h_SL1L160->SetBinContent(37,63245.71); h_SL1L160->SetBinContent(38,59091.43); h_SL1L160->SetBinContent(39,37234.29); h_SL1L160->SetBinContent(40,8867.144); h_SL1L160->SetBinContent(41,5114.286); h_SL1L160->SetBinContent(42,4098.571); h_SL1L160->SetBinContent(43,3572.857); h_SL1L160->SetBinContent(44,3285.714); h_SL1L160->SetBinContent(45,3047.143); h_SL1L160->SetBinContent(46,2965.714); h_SL1L160->SetBinContent(47,2681.429); h_SL1L160->SetBinContent(48,2505.714); h_SL1L160->SetBinContent(49,2351.429); h_SL1L160->SetBinContent(50,2124.286); h_SL1L160->SetBinContent(51,1948.572); h_SL1L160->SetBinContent(52,1810); h_SL1L160->SetBinContent(53,1757.143); h_SL1L160->SetBinContent(54,1695.714); h_SL1L160->SetBinContent(55,1571.429); h_SL1L160->SetBinContent(56,1530); h_SL1L160->SetBinContent(57,1564.286); h_SL1L160->SetBinContent(58,1442.857); h_SL1L160->SetBinContent(59,1477.143); h_SL1L160->SetMaximum(86477.7); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,308.5714); h_SL1L261->SetBinContent(2,325.7143); h_SL1L261->SetBinContent(3,321.4286); h_SL1L261->SetBinContent(4,372.8571); h_SL1L261->SetBinContent(5,365.7143); h_SL1L261->SetBinContent(6,404.2857); h_SL1L261->SetBinContent(7,384.2857); h_SL1L261->SetBinContent(8,408.5714); h_SL1L261->SetBinContent(9,441.4286); h_SL1L261->SetBinContent(10,581.4286); h_SL1L261->SetBinContent(11,561.4286); h_SL1L261->SetBinContent(12,692.8572); h_SL1L261->SetBinContent(13,631.4286); h_SL1L261->SetBinContent(14,892.8572); h_SL1L261->SetBinContent(15,754.2857); h_SL1L261->SetBinContent(16,745.7143); h_SL1L261->SetBinContent(17,794.2857); h_SL1L261->SetBinContent(18,1057.143); h_SL1L261->SetBinContent(19,1225.714); h_SL1L261->SetBinContent(20,1235.714); h_SL1L261->SetBinContent(21,1398.571); h_SL1L261->SetBinContent(22,1492.857); h_SL1L261->SetBinContent(23,1600); h_SL1L261->SetBinContent(24,1802.857); h_SL1L261->SetBinContent(25,1927.143); h_SL1L261->SetBinContent(26,1887.143); h_SL1L261->SetBinContent(27,2115.714); h_SL1L261->SetBinContent(28,2552.857); h_SL1L261->SetBinContent(29,2978.572); h_SL1L261->SetBinContent(30,3335.714); h_SL1L261->SetBinContent(31,4030); h_SL1L261->SetBinContent(32,6904.286); h_SL1L261->SetBinContent(33,18285.71); h_SL1L261->SetBinContent(34,48195.71); h_SL1L261->SetBinContent(35,55937.14); h_SL1L261->SetBinContent(36,59417.14); h_SL1L261->SetBinContent(37,64090); h_SL1L261->SetBinContent(38,63184.29); h_SL1L261->SetBinContent(39,53115.71); h_SL1L261->SetBinContent(40,18424.29); h_SL1L261->SetBinContent(41,7524.286); h_SL1L261->SetBinContent(42,4304.286); h_SL1L261->SetBinContent(43,3920); h_SL1L261->SetBinContent(44,3344.286); h_SL1L261->SetBinContent(45,3128.572); h_SL1L261->SetBinContent(46,2982.857); h_SL1L261->SetBinContent(47,2770); h_SL1L261->SetBinContent(48,2491.429); h_SL1L261->SetBinContent(49,12714.29); h_SL1L261->SetBinContent(50,2131.429); h_SL1L261->SetBinContent(51,2030); h_SL1L261->SetBinContent(52,1921.429); h_SL1L261->SetBinContent(53,1897.143); h_SL1L261->SetBinContent(54,1708.571); h_SL1L261->SetBinContent(55,1660); h_SL1L261->SetBinContent(56,4907.143); h_SL1L261->SetBinContent(57,1560); h_SL1L261->SetBinContent(58,1434.286); h_SL1L261->SetBinContent(59,1404.286); h_SL1L261->SetMaximum(75198.5); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,284.2857); h_SL1L362->SetBinContent(2,270); h_SL1L362->SetBinContent(3,282.8571); h_SL1L362->SetBinContent(4,334.2857); h_SL1L362->SetBinContent(5,374.2857); h_SL1L362->SetBinContent(6,348.5714); h_SL1L362->SetBinContent(7,365.7143); h_SL1L362->SetBinContent(8,380); h_SL1L362->SetBinContent(9,451.4286); h_SL1L362->SetBinContent(10,532.8572); h_SL1L362->SetBinContent(11,568.5715); h_SL1L362->SetBinContent(12,618.5715); h_SL1L362->SetBinContent(13,660); h_SL1L362->SetBinContent(14,751.4286); h_SL1L362->SetBinContent(15,707.1429); h_SL1L362->SetBinContent(16,700); h_SL1L362->SetBinContent(17,897.1429); h_SL1L362->SetBinContent(18,1094.286); h_SL1L362->SetBinContent(19,1105.714); h_SL1L362->SetBinContent(20,1241.429); h_SL1L362->SetBinContent(21,1385.714); h_SL1L362->SetBinContent(22,1417.143); h_SL1L362->SetBinContent(23,1532.857); h_SL1L362->SetBinContent(24,1811.429); h_SL1L362->SetBinContent(25,1761.429); h_SL1L362->SetBinContent(26,1968.572); h_SL1L362->SetBinContent(27,2181.429); h_SL1L362->SetBinContent(28,2781.429); h_SL1L362->SetBinContent(29,2932.857); h_SL1L362->SetBinContent(30,3578.572); h_SL1L362->SetBinContent(31,4847.143); h_SL1L362->SetBinContent(32,8637.143); h_SL1L362->SetBinContent(33,35792.86); h_SL1L362->SetBinContent(34,53464.29); h_SL1L362->SetBinContent(35,57900); h_SL1L362->SetBinContent(36,61864.29); h_SL1L362->SetBinContent(37,65390); h_SL1L362->SetBinContent(38,59707.14); h_SL1L362->SetBinContent(39,38110); h_SL1L362->SetBinContent(40,8940); h_SL1L362->SetBinContent(41,5167.143); h_SL1L362->SetBinContent(42,4015.714); h_SL1L362->SetBinContent(43,3401.429); h_SL1L362->SetBinContent(44,3205.714); h_SL1L362->SetBinContent(45,2942.857); h_SL1L362->SetBinContent(46,2777.143); h_SL1L362->SetBinContent(47,2615.714); h_SL1L362->SetBinContent(48,2321.429); h_SL1L362->SetBinContent(49,2150); h_SL1L362->SetBinContent(50,1947.143); h_SL1L362->SetBinContent(51,1912.857); h_SL1L362->SetBinContent(52,1724.286); h_SL1L362->SetBinContent(53,3845.714); h_SL1L362->SetBinContent(54,1632.857); h_SL1L362->SetBinContent(55,1478.571); h_SL1L362->SetBinContent(56,5215.714); h_SL1L362->SetBinContent(57,1531.429); h_SL1L362->SetBinContent(58,1388.571); h_SL1L362->SetBinContent(59,1405.714); h_SL1L362->SetMaximum(75198.5); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,267.1429); h_SL1L463->SetBinContent(3,257.1429); h_SL1L463->SetBinContent(4,261.4286); h_SL1L463->SetBinContent(5,317.1429); h_SL1L463->SetBinContent(6,350); h_SL1L463->SetBinContent(7,314.2857); h_SL1L463->SetBinContent(8,347.1429); h_SL1L463->SetBinContent(9,368.5714); h_SL1L463->SetBinContent(10,482.8571); h_SL1L463->SetBinContent(11,471.4286); h_SL1L463->SetBinContent(12,577.1429); h_SL1L463->SetBinContent(13,527.1429); h_SL1L463->SetBinContent(14,734.2857); h_SL1L463->SetBinContent(15,681.4286); h_SL1L463->SetBinContent(16,664.2857); h_SL1L463->SetBinContent(17,734.2857); h_SL1L463->SetBinContent(18,955.7143); h_SL1L463->SetBinContent(19,990); h_SL1L463->SetBinContent(20,1057.143); h_SL1L463->SetBinContent(21,1180); h_SL1L463->SetBinContent(22,1265.714); h_SL1L463->SetBinContent(23,1375.714); h_SL1L463->SetBinContent(24,1575.714); h_SL1L463->SetBinContent(25,1654.286); h_SL1L463->SetBinContent(26,1734.286); h_SL1L463->SetBinContent(27,1992.857); h_SL1L463->SetBinContent(28,2361.429); h_SL1L463->SetBinContent(29,2654.286); h_SL1L463->SetBinContent(30,3095.714); h_SL1L463->SetBinContent(31,3791.429); h_SL1L463->SetBinContent(32,6552.857); h_SL1L463->SetBinContent(33,17665.71); h_SL1L463->SetBinContent(34,47731.43); h_SL1L463->SetBinContent(35,56064.29); h_SL1L463->SetBinContent(36,58752.86); h_SL1L463->SetBinContent(37,63410); h_SL1L463->SetBinContent(38,61832.86); h_SL1L463->SetBinContent(39,52718.57); h_SL1L463->SetBinContent(40,18174.29); h_SL1L463->SetBinContent(41,7211.429); h_SL1L463->SetBinContent(42,4048.572); h_SL1L463->SetBinContent(43,3584.286); h_SL1L463->SetBinContent(44,3060); h_SL1L463->SetBinContent(45,2880); h_SL1L463->SetBinContent(46,2784.286); h_SL1L463->SetBinContent(47,2548.572); h_SL1L463->SetBinContent(48,2324.286); h_SL1L463->SetBinContent(49,2177.143); h_SL1L463->SetBinContent(50,1945.714); h_SL1L463->SetBinContent(51,1790); h_SL1L463->SetBinContent(52,1682.857); h_SL1L463->SetBinContent(53,1591.429); h_SL1L463->SetBinContent(54,1512.857); h_SL1L463->SetBinContent(56,1431.429); h_SL1L463->SetBinContent(57,1392.857); h_SL1L463->SetBinContent(58,1298.571); h_SL1L463->SetBinContent(59,1315.714); h_SL1L463->SetMaximum(75198.5); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6592"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }