void RatesPerCell_Removing_noisy_cells_run_6896_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:42:09 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13533.63,67.5,121802.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6896",60,0,60); h_SL1L160->SetBinContent(1,17229.59); h_SL1L160->SetBinContent(2,16418.37); h_SL1L160->SetBinContent(3,16224.49); h_SL1L160->SetBinContent(4,15433.67); h_SL1L160->SetBinContent(5,14887.75); h_SL1L160->SetBinContent(6,16280.61); h_SL1L160->SetBinContent(7,15719.39); h_SL1L160->SetBinContent(8,15663.27); h_SL1L160->SetBinContent(9,14204.08); h_SL1L160->SetBinContent(10,13295.92); h_SL1L160->SetBinContent(11,13000); h_SL1L160->SetBinContent(12,13418.37); h_SL1L160->SetBinContent(13,14015.31); h_SL1L160->SetBinContent(14,14178.57); h_SL1L160->SetBinContent(15,14122.45); h_SL1L160->SetBinContent(16,13673.47); h_SL1L160->SetBinContent(17,13734.69); h_SL1L160->SetBinContent(18,14229.59); h_SL1L160->SetBinContent(19,14989.8); h_SL1L160->SetBinContent(20,14688.78); h_SL1L160->SetBinContent(21,15183.67); h_SL1L160->SetBinContent(22,15632.65); h_SL1L160->SetBinContent(23,15867.35); h_SL1L160->SetBinContent(24,14750); h_SL1L160->SetBinContent(25,15336.73); h_SL1L160->SetBinContent(26,14969.39); h_SL1L160->SetBinContent(27,15183.67); h_SL1L160->SetBinContent(28,15306.12); h_SL1L160->SetBinContent(29,15061.22); h_SL1L160->SetBinContent(30,14795.92); h_SL1L160->SetBinContent(31,15285.71); h_SL1L160->SetBinContent(32,16448.98); h_SL1L160->SetBinContent(33,33596.94); h_SL1L160->SetBinContent(34,45260.2); h_SL1L160->SetBinContent(35,48612.25); h_SL1L160->SetBinContent(36,49290.82); h_SL1L160->SetBinContent(37,54035.71); h_SL1L160->SetBinContent(38,51459.18); h_SL1L160->SetBinContent(39,35500); h_SL1L160->SetBinContent(40,16096.94); h_SL1L160->SetBinContent(41,14102.04); h_SL1L160->SetBinContent(42,13331.63); h_SL1L160->SetBinContent(43,13234.69); h_SL1L160->SetBinContent(44,13010.2); h_SL1L160->SetBinContent(45,12066.33); h_SL1L160->SetBinContent(46,11352.04); h_SL1L160->SetBinContent(47,11423.47); h_SL1L160->SetBinContent(48,10326.53); h_SL1L160->SetBinContent(49,10948.98); h_SL1L160->SetBinContent(50,10443.88); h_SL1L160->SetBinContent(51,10392.86); h_SL1L160->SetBinContent(52,10030.61); h_SL1L160->SetBinContent(53,10693.88); h_SL1L160->SetBinContent(54,10265.31); h_SL1L160->SetBinContent(55,10025.51); h_SL1L160->SetBinContent(56,10494.9); h_SL1L160->SetBinContent(57,11244.9); h_SL1L160->SetBinContent(58,11846.94); h_SL1L160->SetBinContent(59,12239.8); h_SL1L160->SetMaximum(108269); 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,18653.06); h_SL1L261->SetBinContent(2,18040.82); h_SL1L261->SetBinContent(3,17035.71); h_SL1L261->SetBinContent(4,17602.04); h_SL1L261->SetBinContent(5,17505.1); h_SL1L261->SetBinContent(6,19224.49); h_SL1L261->SetBinContent(7,18637.76); h_SL1L261->SetBinContent(8,18852.04); h_SL1L261->SetBinContent(9,17729.59); h_SL1L261->SetBinContent(10,15836.73); h_SL1L261->SetBinContent(11,15612.25); h_SL1L261->SetBinContent(12,15576.53); h_SL1L261->SetBinContent(13,16127.55); h_SL1L261->SetBinContent(14,17346.94); h_SL1L261->SetBinContent(15,18234.69); h_SL1L261->SetBinContent(16,17892.86); h_SL1L261->SetBinContent(17,17234.69); h_SL1L261->SetBinContent(18,17954.08); h_SL1L261->SetBinContent(19,17964.29); h_SL1L261->SetBinContent(20,18632.65); h_SL1L261->SetBinContent(21,19729.59); h_SL1L261->SetBinContent(22,20265.31); h_SL1L261->SetBinContent(23,20209.18); h_SL1L261->SetBinContent(24,20816.33); h_SL1L261->SetBinContent(25,20714.29); h_SL1L261->SetBinContent(26,19964.29); h_SL1L261->SetBinContent(27,19413.27); h_SL1L261->SetBinContent(28,19632.65); h_SL1L261->SetBinContent(29,21147.96); h_SL1L261->SetBinContent(30,21658.16); h_SL1L261->SetBinContent(31,20581.63); h_SL1L261->SetBinContent(32,23336.73); h_SL1L261->SetBinContent(33,34397.96); h_SL1L261->SetBinContent(34,65719.39); h_SL1L261->SetBinContent(35,72489.8); h_SL1L261->SetBinContent(36,78581.63); h_SL1L261->SetBinContent(37,81862.24); h_SL1L261->SetBinContent(38,79709.18); h_SL1L261->SetBinContent(39,68693.88); h_SL1L261->SetBinContent(40,33311.22); h_SL1L261->SetBinContent(41,22224.49); h_SL1L261->SetBinContent(42,19193.88); h_SL1L261->SetBinContent(43,18489.79); h_SL1L261->SetBinContent(44,18020.41); h_SL1L261->SetBinContent(45,17382.65); h_SL1L261->SetBinContent(46,17683.67); h_SL1L261->SetBinContent(47,17214.29); h_SL1L261->SetBinContent(48,16045.92); h_SL1L261->SetBinContent(49,16096.94); h_SL1L261->SetBinContent(50,16153.06); h_SL1L261->SetBinContent(51,15877.55); h_SL1L261->SetBinContent(52,14591.84); h_SL1L261->SetBinContent(53,15627.55); h_SL1L261->SetBinContent(54,14964.29); h_SL1L261->SetBinContent(55,14688.78); h_SL1L261->SetBinContent(56,15214.29); h_SL1L261->SetBinContent(57,14811.22); h_SL1L261->SetBinContent(58,14056.12); h_SL1L261->SetBinContent(59,13602.04); h_SL1L261->SetMaximum(94147.45); 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,16882.65); h_SL1L362->SetBinContent(2,16647.96); h_SL1L362->SetBinContent(3,17637.76); h_SL1L362->SetBinContent(4,16739.79); h_SL1L362->SetBinContent(5,17494.9); h_SL1L362->SetBinContent(6,18515.31); h_SL1L362->SetBinContent(7,17729.59); h_SL1L362->SetBinContent(8,17551.02); h_SL1L362->SetBinContent(9,16158.16); h_SL1L362->SetBinContent(10,15040.82); h_SL1L362->SetBinContent(11,15178.57); h_SL1L362->SetBinContent(12,15352.04); h_SL1L362->SetBinContent(13,16505.1); h_SL1L362->SetBinContent(14,16918.37); h_SL1L362->SetBinContent(15,17061.22); h_SL1L362->SetBinContent(16,16372.45); h_SL1L362->SetBinContent(17,16744.9); h_SL1L362->SetBinContent(18,17663.27); h_SL1L362->SetBinContent(19,18285.71); h_SL1L362->SetBinContent(20,18530.61); h_SL1L362->SetBinContent(21,19122.45); h_SL1L362->SetBinContent(22,19882.65); h_SL1L362->SetBinContent(23,20464.29); h_SL1L362->SetBinContent(24,20357.14); h_SL1L362->SetBinContent(25,20443.88); h_SL1L362->SetBinContent(26,18596.94); h_SL1L362->SetBinContent(27,19500); h_SL1L362->SetBinContent(28,19132.65); h_SL1L362->SetBinContent(29,19923.47); h_SL1L362->SetBinContent(30,20551.02); h_SL1L362->SetBinContent(31,20872.45); h_SL1L362->SetBinContent(32,23933.67); h_SL1L362->SetBinContent(33,51637.75); h_SL1L362->SetBinContent(34,70158.16); h_SL1L362->SetBinContent(35,75051.02); h_SL1L362->SetBinContent(36,79994.9); h_SL1L362->SetBinContent(37,81867.34); h_SL1L362->SetBinContent(38,74974.49); h_SL1L362->SetBinContent(39,52908.16); h_SL1L362->SetBinContent(40,23005.1); h_SL1L362->SetBinContent(41,19102.04); h_SL1L362->SetBinContent(42,17780.61); h_SL1L362->SetBinContent(43,17520.41); h_SL1L362->SetBinContent(44,17030.61); h_SL1L362->SetBinContent(45,16530.61); h_SL1L362->SetBinContent(46,16658.16); h_SL1L362->SetBinContent(47,16505.1); h_SL1L362->SetBinContent(48,15801.02); h_SL1L362->SetBinContent(49,15224.49); h_SL1L362->SetBinContent(50,15479.59); h_SL1L362->SetBinContent(51,14586.73); h_SL1L362->SetBinContent(52,14198.98); h_SL1L362->SetBinContent(53,14785.71); h_SL1L362->SetBinContent(54,14260.2); h_SL1L362->SetBinContent(55,14173.47); h_SL1L362->SetBinContent(56,14367.35); h_SL1L362->SetBinContent(57,13994.9); h_SL1L362->SetBinContent(58,13586.73); h_SL1L362->SetBinContent(59,13683.67); h_SL1L362->SetMaximum(94147.45); 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,14260.2); h_SL1L463->SetBinContent(3,13658.16); h_SL1L463->SetBinContent(4,13969.39); h_SL1L463->SetBinContent(5,13535.71); h_SL1L463->SetBinContent(6,14397.96); h_SL1L463->SetBinContent(7,14571.43); h_SL1L463->SetBinContent(8,14545.92); h_SL1L463->SetBinContent(9,14122.45); h_SL1L463->SetBinContent(10,13147.96); h_SL1L463->SetBinContent(11,12637.75); h_SL1L463->SetBinContent(12,13642.86); h_SL1L463->SetBinContent(13,13530.61); h_SL1L463->SetBinContent(14,14714.29); h_SL1L463->SetBinContent(15,14051.02); h_SL1L463->SetBinContent(16,13913.27); h_SL1L463->SetBinContent(17,13168.37); h_SL1L463->SetBinContent(18,13306.12); h_SL1L463->SetBinContent(19,14153.06); h_SL1L463->SetBinContent(20,13862.25); h_SL1L463->SetBinContent(21,13811.22); h_SL1L463->SetBinContent(22,14576.53); h_SL1L463->SetBinContent(23,14000); h_SL1L463->SetBinContent(24,15250); h_SL1L463->SetBinContent(25,13576.53); h_SL1L463->SetBinContent(26,14290.82); h_SL1L463->SetBinContent(27,13831.63); h_SL1L463->SetBinContent(28,14102.04); h_SL1L463->SetBinContent(29,14357.14); h_SL1L463->SetBinContent(30,14724.49); h_SL1L463->SetBinContent(31,14627.55); h_SL1L463->SetBinContent(32,15081.63); h_SL1L463->SetBinContent(33,21045.92); h_SL1L463->SetBinContent(34,42530.61); h_SL1L463->SetBinContent(35,48826.53); h_SL1L463->SetBinContent(36,50158.16); h_SL1L463->SetBinContent(37,48505.1); h_SL1L463->SetBinContent(38,51285.71); h_SL1L463->SetBinContent(39,47122.45); h_SL1L463->SetBinContent(40,19632.65); h_SL1L463->SetBinContent(41,13382.65); h_SL1L463->SetBinContent(42,12158.16); h_SL1L463->SetBinContent(43,11974.49); h_SL1L463->SetBinContent(44,11025.51); h_SL1L463->SetBinContent(45,10178.57); h_SL1L463->SetBinContent(46,10806.12); h_SL1L463->SetBinContent(47,10341.84); h_SL1L463->SetBinContent(48,9892.857); h_SL1L463->SetBinContent(49,8632.653); h_SL1L463->SetBinContent(50,9270.408); h_SL1L463->SetBinContent(51,9561.225); h_SL1L463->SetBinContent(52,8724.489); h_SL1L463->SetBinContent(53,8959.184); h_SL1L463->SetBinContent(54,9596.938); h_SL1L463->SetBinContent(56,9418.367); h_SL1L463->SetBinContent(57,9489.796); h_SL1L463->SetBinContent(58,10770.41); h_SL1L463->SetBinContent(59,10239.8); h_SL1L463->SetMaximum(94147.45); 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 6896"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }