void RatesPerCell_Removing_noisy_cells_run_6833_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19134.85,67.5,172213.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 6833",60,0,60); h_SL1L160->SetBinContent(1,55571.43); h_SL1L160->SetBinContent(2,52775.51); h_SL1L160->SetBinContent(3,52816.32); h_SL1L160->SetBinContent(4,51683.67); h_SL1L160->SetBinContent(5,49321.43); h_SL1L160->SetBinContent(6,51928.57); h_SL1L160->SetBinContent(7,50709.18); h_SL1L160->SetBinContent(8,48790.82); h_SL1L160->SetBinContent(9,46438.77); h_SL1L160->SetBinContent(10,40974.49); h_SL1L160->SetBinContent(11,41311.22); h_SL1L160->SetBinContent(12,41693.88); h_SL1L160->SetBinContent(13,44836.73); h_SL1L160->SetBinContent(14,42326.53); h_SL1L160->SetBinContent(15,42280.61); h_SL1L160->SetBinContent(16,40688.77); h_SL1L160->SetBinContent(17,41382.65); h_SL1L160->SetBinContent(18,43183.67); h_SL1L160->SetBinContent(19,45515.3); h_SL1L160->SetBinContent(20,44137.75); h_SL1L160->SetBinContent(21,47071.43); h_SL1L160->SetBinContent(22,47193.88); h_SL1L160->SetBinContent(23,45826.53); h_SL1L160->SetBinContent(24,42979.59); h_SL1L160->SetBinContent(25,43729.59); h_SL1L160->SetBinContent(26,42918.37); h_SL1L160->SetBinContent(27,41372.45); h_SL1L160->SetBinContent(28,42346.94); h_SL1L160->SetBinContent(29,41397.96); h_SL1L160->SetBinContent(30,41535.71); h_SL1L160->SetBinContent(31,39806.12); h_SL1L160->SetBinContent(32,37520.41); h_SL1L160->SetBinContent(33,55142.86); h_SL1L160->SetBinContent(34,66275.51); h_SL1L160->SetBinContent(35,71107.14); h_SL1L160->SetBinContent(36,68882.66); h_SL1L160->SetBinContent(37,73229.59); h_SL1L160->SetBinContent(38,75321.43); h_SL1L160->SetBinContent(39,57122.45); h_SL1L160->SetBinContent(40,37474.49); h_SL1L160->SetBinContent(41,36551.02); h_SL1L160->SetBinContent(42,36678.57); h_SL1L160->SetBinContent(43,36566.33); h_SL1L160->SetBinContent(44,34989.8); h_SL1L160->SetBinContent(45,32387.75); h_SL1L160->SetBinContent(46,31474.49); h_SL1L160->SetBinContent(47,29443.88); h_SL1L160->SetBinContent(48,29096.94); h_SL1L160->SetBinContent(49,29290.82); h_SL1L160->SetBinContent(50,30454.08); h_SL1L160->SetBinContent(51,29061.22); h_SL1L160->SetBinContent(52,28948.98); h_SL1L160->SetBinContent(53,29974.49); h_SL1L160->SetBinContent(54,28857.14); h_SL1L160->SetBinContent(55,30459.18); h_SL1L160->SetBinContent(56,31132.65); h_SL1L160->SetBinContent(57,35683.67); h_SL1L160->SetBinContent(58,35397.96); h_SL1L160->SetBinContent(59,37607.14); h_SL1L160->SetMaximum(153078.8); 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,57530.61); h_SL1L261->SetBinContent(2,56096.94); h_SL1L261->SetBinContent(3,55540.82); h_SL1L261->SetBinContent(4,55107.14); h_SL1L261->SetBinContent(5,54704.08); h_SL1L261->SetBinContent(6,58596.94); h_SL1L261->SetBinContent(7,57887.75); h_SL1L261->SetBinContent(8,57408.16); h_SL1L261->SetBinContent(9,54653.06); h_SL1L261->SetBinContent(10,49525.51); h_SL1L261->SetBinContent(11,47872.45); h_SL1L261->SetBinContent(12,48938.77); h_SL1L261->SetBinContent(13,51484.7); h_SL1L261->SetBinContent(14,53795.92); h_SL1L261->SetBinContent(15,53729.59); h_SL1L261->SetBinContent(16,54224.49); h_SL1L261->SetBinContent(17,51969.39); h_SL1L261->SetBinContent(18,53954.08); h_SL1L261->SetBinContent(19,57913.27); h_SL1L261->SetBinContent(20,56755.1); h_SL1L261->SetBinContent(21,59403.06); h_SL1L261->SetBinContent(22,60443.88); h_SL1L261->SetBinContent(23,60397.96); h_SL1L261->SetBinContent(24,60887.75); h_SL1L261->SetBinContent(25,60719.39); h_SL1L261->SetBinContent(26,59474.49); h_SL1L261->SetBinContent(27,57275.51); h_SL1L261->SetBinContent(28,58545.92); h_SL1L261->SetBinContent(29,60086.73); h_SL1L261->SetBinContent(30,58275.51); h_SL1L261->SetBinContent(31,59030.61); h_SL1L261->SetBinContent(32,57500); h_SL1L261->SetBinContent(33,67295.91); h_SL1L261->SetBinContent(34,99954.08); h_SL1L261->SetBinContent(35,108137.8); h_SL1L261->SetBinContent(36,114994.9); h_SL1L261->SetBinContent(37,115750); h_SL1L261->SetBinContent(38,113688.8); h_SL1L261->SetBinContent(39,100459.2); h_SL1L261->SetBinContent(40,64765.3); h_SL1L261->SetBinContent(41,53535.71); h_SL1L261->SetBinContent(42,49959.18); h_SL1L261->SetBinContent(43,48122.45); h_SL1L261->SetBinContent(44,47954.08); h_SL1L261->SetBinContent(45,47030.61); h_SL1L261->SetBinContent(46,48510.2); h_SL1L261->SetBinContent(47,47693.88); h_SL1L261->SetBinContent(48,46663.27); h_SL1L261->SetBinContent(49,55127.55); h_SL1L261->SetBinContent(50,45801.02); h_SL1L261->SetBinContent(51,44188.77); h_SL1L261->SetBinContent(52,41464.29); h_SL1L261->SetBinContent(53,44183.67); h_SL1L261->SetBinContent(54,42479.59); h_SL1L261->SetBinContent(55,43045.92); h_SL1L261->SetBinContent(56,48260.2); h_SL1L261->SetBinContent(57,43107.14); h_SL1L261->SetBinContent(58,41530.61); h_SL1L261->SetBinContent(59,40586.73); h_SL1L261->SetMaximum(133112.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,54112.25); h_SL1L362->SetBinContent(2,53147.96); h_SL1L362->SetBinContent(3,54244.9); h_SL1L362->SetBinContent(4,52591.84); h_SL1L362->SetBinContent(5,55576.53); h_SL1L362->SetBinContent(6,57989.8); h_SL1L362->SetBinContent(7,55607.14); h_SL1L362->SetBinContent(8,54872.45); h_SL1L362->SetBinContent(9,50372.45); h_SL1L362->SetBinContent(10,46693.88); h_SL1L362->SetBinContent(11,46729.59); h_SL1L362->SetBinContent(12,47994.9); h_SL1L362->SetBinContent(13,50969.39); h_SL1L362->SetBinContent(14,52908.16); h_SL1L362->SetBinContent(15,52362.25); h_SL1L362->SetBinContent(16,49530.61); h_SL1L362->SetBinContent(17,51500); h_SL1L362->SetBinContent(18,53469.39); h_SL1L362->SetBinContent(19,55852.04); h_SL1L362->SetBinContent(20,54765.3); h_SL1L362->SetBinContent(21,59316.32); h_SL1L362->SetBinContent(22,57729.59); h_SL1L362->SetBinContent(23,60494.9); h_SL1L362->SetBinContent(24,58877.55); h_SL1L362->SetBinContent(25,59484.69); h_SL1L362->SetBinContent(26,54255.1); h_SL1L362->SetBinContent(27,54989.8); h_SL1L362->SetBinContent(28,57341.84); h_SL1L362->SetBinContent(29,57102.04); h_SL1L362->SetBinContent(30,56270.41); h_SL1L362->SetBinContent(31,55280.61); h_SL1L362->SetBinContent(32,56397.96); h_SL1L362->SetBinContent(33,85494.9); h_SL1L362->SetBinContent(34,104158.2); h_SL1L362->SetBinContent(35,109729.6); h_SL1L362->SetBinContent(36,115398); h_SL1L362->SetBinContent(37,114959.2); h_SL1L362->SetBinContent(38,107102); h_SL1L362->SetBinContent(39,82928.57); h_SL1L362->SetBinContent(40,52821.43); h_SL1L362->SetBinContent(41,48750); h_SL1L362->SetBinContent(42,48678.57); h_SL1L362->SetBinContent(43,47045.92); h_SL1L362->SetBinContent(44,45035.71); h_SL1L362->SetBinContent(45,45913.27); h_SL1L362->SetBinContent(46,46474.49); h_SL1L362->SetBinContent(47,45928.57); h_SL1L362->SetBinContent(48,43734.7); h_SL1L362->SetBinContent(49,44637.75); h_SL1L362->SetBinContent(50,43683.67); h_SL1L362->SetBinContent(51,40551.02); h_SL1L362->SetBinContent(52,43030.61); h_SL1L362->SetBinContent(53,43938.77); h_SL1L362->SetBinContent(54,41755.1); h_SL1L362->SetBinContent(55,42122.45); h_SL1L362->SetBinContent(56,45239.8); h_SL1L362->SetBinContent(57,41459.18); h_SL1L362->SetBinContent(58,39790.82); h_SL1L362->SetBinContent(59,39403.06); h_SL1L362->SetMaximum(133112.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,47056.12); h_SL1L463->SetBinContent(3,45704.08); h_SL1L463->SetBinContent(4,43857.14); h_SL1L463->SetBinContent(5,42484.7); h_SL1L463->SetBinContent(6,44688.77); h_SL1L463->SetBinContent(7,42576.53); h_SL1L463->SetBinContent(8,44331.63); h_SL1L463->SetBinContent(9,43974.49); h_SL1L463->SetBinContent(10,41729.59); h_SL1L463->SetBinContent(11,40811.22); h_SL1L463->SetBinContent(12,42658.16); h_SL1L463->SetBinContent(13,44051.02); h_SL1L463->SetBinContent(14,46673.47); h_SL1L463->SetBinContent(15,46183.67); h_SL1L463->SetBinContent(16,44025.51); h_SL1L463->SetBinContent(17,41326.53); h_SL1L463->SetBinContent(18,41719.39); h_SL1L463->SetBinContent(19,42862.25); h_SL1L463->SetBinContent(20,42836.73); h_SL1L463->SetBinContent(21,43959.18); h_SL1L463->SetBinContent(22,44086.73); h_SL1L463->SetBinContent(23,44025.51); h_SL1L463->SetBinContent(24,44714.29); h_SL1L463->SetBinContent(25,42520.41); h_SL1L463->SetBinContent(26,41984.7); h_SL1L463->SetBinContent(27,40387.75); h_SL1L463->SetBinContent(28,40760.2); h_SL1L463->SetBinContent(29,41566.32); h_SL1L463->SetBinContent(30,40770.41); h_SL1L463->SetBinContent(31,40632.65); h_SL1L463->SetBinContent(32,38637.75); h_SL1L463->SetBinContent(33,41250); h_SL1L463->SetBinContent(34,61938.77); h_SL1L463->SetBinContent(35,73535.71); h_SL1L463->SetBinContent(36,69556.12); h_SL1L463->SetBinContent(37,60841.84); h_SL1L463->SetBinContent(38,65622.45); h_SL1L463->SetBinContent(39,68780.61); h_SL1L463->SetBinContent(40,37785.71); h_SL1L463->SetBinContent(41,30770.41); h_SL1L463->SetBinContent(42,31520.41); h_SL1L463->SetBinContent(43,30872.45); h_SL1L463->SetBinContent(44,30500); h_SL1L463->SetBinContent(45,27724.49); h_SL1L463->SetBinContent(46,28887.75); h_SL1L463->SetBinContent(47,28515.31); h_SL1L463->SetBinContent(48,25515.31); h_SL1L463->SetBinContent(49,24137.75); h_SL1L463->SetBinContent(50,25658.16); h_SL1L463->SetBinContent(51,24102.04); h_SL1L463->SetBinContent(52,24081.63); h_SL1L463->SetBinContent(53,24571.43); h_SL1L463->SetBinContent(54,24897.96); h_SL1L463->SetBinContent(55,5.102041); h_SL1L463->SetBinContent(56,27617.35); h_SL1L463->SetBinContent(57,27867.35); h_SL1L463->SetBinContent(58,33392.86); h_SL1L463->SetBinContent(59,32877.55); h_SL1L463->SetMaximum(133112.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 6833"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }