void RatesPerCell_Removing_noisy_cells_run_6892_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13444.22,67.5,120998); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6892",60,0,60); h_SL1L160->SetBinContent(1,16994.9); h_SL1L160->SetBinContent(2,16265.31); h_SL1L160->SetBinContent(3,16030.61); h_SL1L160->SetBinContent(4,15816.33); h_SL1L160->SetBinContent(5,15051.02); h_SL1L160->SetBinContent(6,16520.41); h_SL1L160->SetBinContent(7,15382.65); h_SL1L160->SetBinContent(8,15081.63); h_SL1L160->SetBinContent(9,14010.2); h_SL1L160->SetBinContent(10,13326.53); h_SL1L160->SetBinContent(11,13331.63); h_SL1L160->SetBinContent(12,12908.16); h_SL1L160->SetBinContent(13,14061.22); h_SL1L160->SetBinContent(14,14188.78); h_SL1L160->SetBinContent(15,12933.67); h_SL1L160->SetBinContent(16,13091.84); h_SL1L160->SetBinContent(17,13107.14); h_SL1L160->SetBinContent(18,13785.71); h_SL1L160->SetBinContent(19,14780.61); h_SL1L160->SetBinContent(20,14244.9); h_SL1L160->SetBinContent(21,14948.98); h_SL1L160->SetBinContent(22,14979.59); h_SL1L160->SetBinContent(23,15005.1); h_SL1L160->SetBinContent(24,14494.9); h_SL1L160->SetBinContent(25,14137.75); h_SL1L160->SetBinContent(26,14168.37); h_SL1L160->SetBinContent(27,14066.33); h_SL1L160->SetBinContent(28,14627.55); h_SL1L160->SetBinContent(29,14561.22); h_SL1L160->SetBinContent(30,14341.84); h_SL1L160->SetBinContent(31,13505.1); h_SL1L160->SetBinContent(32,14540.82); h_SL1L160->SetBinContent(33,30744.9); h_SL1L160->SetBinContent(34,41408.16); h_SL1L160->SetBinContent(35,43168.37); h_SL1L160->SetBinContent(36,43102.04); h_SL1L160->SetBinContent(37,48494.9); h_SL1L160->SetBinContent(38,47627.55); h_SL1L160->SetBinContent(39,32576.53); h_SL1L160->SetBinContent(40,14551.02); h_SL1L160->SetBinContent(41,13443.88); h_SL1L160->SetBinContent(42,12596.94); h_SL1L160->SetBinContent(43,12418.37); h_SL1L160->SetBinContent(44,12112.25); h_SL1L160->SetBinContent(45,11729.59); h_SL1L160->SetBinContent(46,11030.61); h_SL1L160->SetBinContent(47,10250); h_SL1L160->SetBinContent(48,10086.73); h_SL1L160->SetBinContent(49,10086.73); h_SL1L160->SetBinContent(50,10341.84); h_SL1L160->SetBinContent(51,9556.122); h_SL1L160->SetBinContent(52,9862.245); h_SL1L160->SetBinContent(53,9892.857); h_SL1L160->SetBinContent(54,9571.429); h_SL1L160->SetBinContent(55,9903.062); h_SL1L160->SetBinContent(56,10770.41); h_SL1L160->SetBinContent(57,11056.12); h_SL1L160->SetBinContent(58,11352.04); h_SL1L160->SetBinContent(59,12030.61); h_SL1L160->SetMaximum(107553.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,18163.27); h_SL1L261->SetBinContent(2,18030.61); h_SL1L261->SetBinContent(3,17908.16); h_SL1L261->SetBinContent(4,17658.16); h_SL1L261->SetBinContent(5,17295.92); h_SL1L261->SetBinContent(6,19469.39); h_SL1L261->SetBinContent(7,18336.73); h_SL1L261->SetBinContent(8,18428.57); h_SL1L261->SetBinContent(9,17897.96); h_SL1L261->SetBinContent(10,15551.02); h_SL1L261->SetBinContent(11,15607.14); h_SL1L261->SetBinContent(12,16061.22); h_SL1L261->SetBinContent(13,16469.39); h_SL1L261->SetBinContent(14,17663.27); h_SL1L261->SetBinContent(15,17709.18); h_SL1L261->SetBinContent(16,17387.76); h_SL1L261->SetBinContent(17,16704.08); h_SL1L261->SetBinContent(18,17147.96); h_SL1L261->SetBinContent(19,18362.24); h_SL1L261->SetBinContent(20,18969.39); h_SL1L261->SetBinContent(21,19301.02); h_SL1L261->SetBinContent(22,20795.92); h_SL1L261->SetBinContent(23,20607.14); h_SL1L261->SetBinContent(24,20372.45); h_SL1L261->SetBinContent(25,20617.35); h_SL1L261->SetBinContent(26,20040.82); h_SL1L261->SetBinContent(27,19576.53); h_SL1L261->SetBinContent(28,19862.24); h_SL1L261->SetBinContent(29,20530.61); h_SL1L261->SetBinContent(30,20836.73); h_SL1L261->SetBinContent(31,21862.24); h_SL1L261->SetBinContent(32,22642.86); h_SL1L261->SetBinContent(33,34265.3); h_SL1L261->SetBinContent(34,65198.98); h_SL1L261->SetBinContent(35,73862.24); h_SL1L261->SetBinContent(36,77448.98); h_SL1L261->SetBinContent(37,81326.53); h_SL1L261->SetBinContent(38,80714.28); h_SL1L261->SetBinContent(39,67969.39); h_SL1L261->SetBinContent(40,33015.3); h_SL1L261->SetBinContent(41,21581.63); h_SL1L261->SetBinContent(42,18454.08); h_SL1L261->SetBinContent(43,18602.04); h_SL1L261->SetBinContent(44,17642.86); h_SL1L261->SetBinContent(45,16841.84); h_SL1L261->SetBinContent(46,17637.76); h_SL1L261->SetBinContent(47,17193.88); h_SL1L261->SetBinContent(48,16836.73); h_SL1L261->SetBinContent(49,15770.41); h_SL1L261->SetBinContent(50,16005.1); h_SL1L261->SetBinContent(51,14913.27); h_SL1L261->SetBinContent(52,15040.82); h_SL1L261->SetBinContent(53,15306.12); h_SL1L261->SetBinContent(54,15066.33); h_SL1L261->SetBinContent(55,15346.94); h_SL1L261->SetBinContent(56,15301.02); h_SL1L261->SetBinContent(57,14724.49); h_SL1L261->SetBinContent(58,14265.31); h_SL1L261->SetBinContent(59,13709.18); h_SL1L261->SetMaximum(93525.51); 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,5867.347); h_SL1L362->SetBinContent(2,5892.857); h_SL1L362->SetBinContent(3,5984.694); h_SL1L362->SetBinContent(4,5607.143); h_SL1L362->SetBinContent(5,5326.531); h_SL1L362->SetBinContent(6,6484.694); h_SL1L362->SetBinContent(7,5862.245); h_SL1L362->SetBinContent(8,5729.592); h_SL1L362->SetBinContent(9,5091.837); h_SL1L362->SetBinContent(10,4811.225); h_SL1L362->SetBinContent(11,4918.367); h_SL1L362->SetBinContent(12,5255.102); h_SL1L362->SetBinContent(13,5806.123); h_SL1L362->SetBinContent(14,5622.449); h_SL1L362->SetBinContent(15,6035.714); h_SL1L362->SetBinContent(16,5346.939); h_SL1L362->SetBinContent(17,5637.755); h_SL1L362->SetBinContent(18,5826.531); h_SL1L362->SetBinContent(19,5887.755); h_SL1L362->SetBinContent(20,5806.123); h_SL1L362->SetBinContent(21,6326.531); h_SL1L362->SetBinContent(22,5969.388); h_SL1L362->SetBinContent(23,6357.143); h_SL1L362->SetBinContent(24,6127.551); h_SL1L362->SetBinContent(25,6076.531); h_SL1L362->SetBinContent(26,5331.633); h_SL1L362->SetBinContent(27,6020.408); h_SL1L362->SetBinContent(28,5515.306); h_SL1L362->SetBinContent(29,6397.959); h_SL1L362->SetBinContent(30,5795.918); h_SL1L362->SetBinContent(31,5729.592); h_SL1L362->SetBinContent(32,5545.918); h_SL1L362->SetBinContent(33,7923.469); h_SL1L362->SetBinContent(34,10729.59); h_SL1L362->SetBinContent(35,10250); h_SL1L362->SetBinContent(36,9979.592); h_SL1L362->SetBinContent(37,11127.55); h_SL1L362->SetBinContent(38,9954.081); h_SL1L362->SetBinContent(39,8428.571); h_SL1L362->SetBinContent(40,5117.347); h_SL1L362->SetBinContent(41,4831.633); h_SL1L362->SetBinContent(42,5244.898); h_SL1L362->SetBinContent(43,5045.918); h_SL1L362->SetBinContent(44,4938.775); h_SL1L362->SetBinContent(45,5015.306); h_SL1L362->SetBinContent(46,5229.592); h_SL1L362->SetBinContent(47,5209.184); h_SL1L362->SetBinContent(48,4484.694); h_SL1L362->SetBinContent(49,4510.204); h_SL1L362->SetBinContent(50,4403.061); h_SL1L362->SetBinContent(51,4591.837); h_SL1L362->SetBinContent(52,4357.143); h_SL1L362->SetBinContent(53,4561.225); h_SL1L362->SetBinContent(54,4622.449); h_SL1L362->SetBinContent(55,4469.388); h_SL1L362->SetBinContent(56,4464.286); h_SL1L362->SetBinContent(57,4525.51); h_SL1L362->SetBinContent(58,4025.51); h_SL1L362->SetBinContent(59,3698.979); h_SL1L362->SetMaximum(93525.51); 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,15811.22); h_SL1L463->SetBinContent(3,14877.55); h_SL1L463->SetBinContent(4,13933.67); h_SL1L463->SetBinContent(5,13785.71); h_SL1L463->SetBinContent(6,14780.61); h_SL1L463->SetBinContent(7,15102.04); h_SL1L463->SetBinContent(8,14438.78); h_SL1L463->SetBinContent(9,15224.49); h_SL1L463->SetBinContent(10,13530.61); h_SL1L463->SetBinContent(11,13382.65); h_SL1L463->SetBinContent(12,13964.29); h_SL1L463->SetBinContent(13,14367.35); h_SL1L463->SetBinContent(14,15979.59); h_SL1L463->SetBinContent(15,14576.53); h_SL1L463->SetBinContent(16,14311.22); h_SL1L463->SetBinContent(17,13770.41); h_SL1L463->SetBinContent(18,13775.51); h_SL1L463->SetBinContent(19,14408.16); h_SL1L463->SetBinContent(20,14500); h_SL1L463->SetBinContent(21,14270.41); h_SL1L463->SetBinContent(22,15301.02); h_SL1L463->SetBinContent(23,15469.39); h_SL1L463->SetBinContent(24,15719.39); h_SL1L463->SetBinContent(25,15081.63); h_SL1L463->SetBinContent(26,14362.25); h_SL1L463->SetBinContent(27,14698.98); h_SL1L463->SetBinContent(28,14311.22); h_SL1L463->SetBinContent(29,14770.41); h_SL1L463->SetBinContent(30,15020.41); h_SL1L463->SetBinContent(31,15137.75); h_SL1L463->SetBinContent(32,15938.78); h_SL1L463->SetBinContent(33,21750); h_SL1L463->SetBinContent(34,44040.82); h_SL1L463->SetBinContent(35,52030.61); h_SL1L463->SetBinContent(36,52316.32); h_SL1L463->SetBinContent(37,49811.22); h_SL1L463->SetBinContent(38,53826.53); h_SL1L463->SetBinContent(39,49127.55); h_SL1L463->SetBinContent(40,20545.92); h_SL1L463->SetBinContent(41,13658.16); h_SL1L463->SetBinContent(42,12229.59); h_SL1L463->SetBinContent(43,12403.06); h_SL1L463->SetBinContent(44,11484.69); h_SL1L463->SetBinContent(45,10234.69); h_SL1L463->SetBinContent(46,11030.61); h_SL1L463->SetBinContent(47,10545.92); h_SL1L463->SetBinContent(48,10367.35); h_SL1L463->SetBinContent(49,9974.489); h_SL1L463->SetBinContent(50,9642.857); h_SL1L463->SetBinContent(51,9765.306); h_SL1L463->SetBinContent(52,8979.592); h_SL1L463->SetBinContent(53,9382.653); h_SL1L463->SetBinContent(54,9107.143); h_SL1L463->SetBinContent(56,9908.163); h_SL1L463->SetBinContent(57,10413.27); h_SL1L463->SetBinContent(58,11413.27); h_SL1L463->SetBinContent(59,10959.18); h_SL1L463->SetMaximum(93525.51); 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 6892"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }