void RatesPerCell_Removing_noisy_cells_run_5067_SL1() { //=========Macro generated from canvas: c/c //========= (Tue Jan 15 09:38:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8225.519,67.5,74029.67); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5067",60,0,60); h_SL1L160->SetBinContent(1,47011.57); h_SL1L160->SetBinContent(2,48412.9); h_SL1L160->SetBinContent(3,44575.08); h_SL1L160->SetBinContent(4,47131.28); h_SL1L160->SetBinContent(5,46758.06); h_SL1L160->SetBinContent(6,49560.73); h_SL1L160->SetBinContent(7,47335.5); h_SL1L160->SetBinContent(8,49757.9); h_SL1L160->SetBinContent(9,45560.94); h_SL1L160->SetBinContent(10,41110.48); h_SL1L160->SetBinContent(11,38983.83); h_SL1L160->SetBinContent(12,37406.45); h_SL1L160->SetBinContent(13,37892.34); h_SL1L160->SetBinContent(14,39272.55); h_SL1L160->SetBinContent(15,41934.38); h_SL1L160->SetBinContent(16,37061.4); h_SL1L160->SetBinContent(17,38948.62); h_SL1L160->SetBinContent(18,40089.41); h_SL1L160->SetBinContent(19,42047.05); h_SL1L160->SetBinContent(20,41716.08); h_SL1L160->SetBinContent(21,42603.36); h_SL1L160->SetBinContent(22,44694.79); h_SL1L160->SetBinContent(23,44117.36); h_SL1L160->SetBinContent(24,44053.98); h_SL1L160->SetBinContent(25,44293.41); h_SL1L160->SetBinContent(26,40490.79); h_SL1L160->SetBinContent(27,40962.6); h_SL1L160->SetBinContent(28,41990.71); h_SL1L160->SetBinContent(29,42434.35); h_SL1L160->SetBinContent(30,41878.04); h_SL1L160->SetBinContent(31,40638.67); h_SL1L160->SetBinContent(32,40695.01); h_SL1L160->SetBinContent(33,40878.09); h_SL1L160->SetBinContent(34,41413.28); h_SL1L160->SetBinContent(35,40695.01); h_SL1L160->SetBinContent(36,40011.95); h_SL1L160->SetBinContent(37,40068.28); h_SL1L160->SetBinContent(38,39547.18); h_SL1L160->SetBinContent(39,37610.66); h_SL1L160->SetBinContent(40,37483.91); h_SL1L160->SetBinContent(41,37793.75); h_SL1L160->SetBinContent(42,36329.04); h_SL1L160->SetBinContent(43,35829.07); h_SL1L160->SetBinContent(44,35723.44); h_SL1L160->SetBinContent(45,35533.31); h_SL1L160->SetBinContent(46,34477.03); h_SL1L160->SetBinContent(47,33075.7); h_SL1L160->SetBinContent(48,31991.25); h_SL1L160->SetBinContent(49,32181.38); h_SL1L160->SetBinContent(50,33702.42); h_SL1L160->SetBinContent(51,32505.3); h_SL1L160->SetBinContent(52,31934.91); h_SL1L160->SetBinContent(53,31371.56); h_SL1L160->SetBinContent(54,46117.25); h_SL1L160->SetBinContent(55,30406.82); h_SL1L160->SetBinContent(56,30280.07); h_SL1L160->SetBinContent(57,30427.95); h_SL1L160->SetBinContent(58,28843.53); h_SL1L160->SetBinContent(59,29139.29); h_SL1L160->SetMaximum(65804.15); 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,35.20938); h_SL1L261->SetBinContent(2,42.25126); h_SL1L261->SetBinContent(3,63.37689); h_SL1L261->SetBinContent(4,35.20938); h_SL1L261->SetBinContent(5,21.12563); h_SL1L261->SetBinContent(6,7.041877); h_SL1L261->SetBinContent(7,28.16751); h_SL1L261->SetBinContent(8,28.16751); h_SL1L261->SetBinContent(9,21.12563); h_SL1L261->SetBinContent(10,14.08375); h_SL1L261->SetBinContent(11,14.08375); h_SL1L261->SetBinContent(12,21.12563); h_SL1L261->SetBinContent(13,105.6282); h_SL1L261->SetBinContent(14,91.5444); h_SL1L261->SetBinContent(15,105.6282); h_SL1L261->SetBinContent(16,119.7119); h_SL1L261->SetBinContent(17,56.33501); h_SL1L261->SetBinContent(18,70.41877); h_SL1L261->SetBinContent(19,70.41877); h_SL1L261->SetBinContent(20,63.37689); h_SL1L261->SetBinContent(21,35.20938); h_SL1L261->SetBinContent(22,28.16751); h_SL1L261->SetBinContent(23,42.25126); h_SL1L261->SetBinContent(24,49.29314); h_SL1L261->SetBinContent(25,42.25126); h_SL1L261->SetBinContent(26,42.25126); h_SL1L261->SetBinContent(27,49.29314); h_SL1L261->SetBinContent(28,35.20938); h_SL1L261->SetBinContent(29,28.16751); h_SL1L261->SetBinContent(30,21.12563); h_SL1L261->SetBinContent(31,35.20938); h_SL1L261->SetBinContent(32,42.25126); h_SL1L261->SetBinContent(33,63.37689); h_SL1L261->SetBinContent(34,49.29314); h_SL1L261->SetBinContent(35,49.29314); h_SL1L261->SetBinContent(36,63.37689); h_SL1L261->SetBinContent(37,14.08375); h_SL1L261->SetBinContent(38,14.08375); h_SL1L261->SetBinContent(39,14.08375); h_SL1L261->SetBinContent(40,14.08375); h_SL1L261->SetBinContent(41,21.12563); h_SL1L261->SetBinContent(42,7.041877); h_SL1L261->SetBinContent(43,14.08375); h_SL1L261->SetBinContent(44,35.20938); h_SL1L261->SetBinContent(45,28.16751); h_SL1L261->SetBinContent(47,7.041877); h_SL1L261->SetBinContent(48,35.20938); h_SL1L261->SetBinContent(49,1697.092); h_SL1L261->SetBinContent(50,49.29314); h_SL1L261->SetBinContent(51,49.29314); h_SL1L261->SetBinContent(52,91.5444); h_SL1L261->SetBinContent(53,21.12563); h_SL1L261->SetBinContent(54,28.16751); h_SL1L261->SetBinContent(55,21.12563); h_SL1L261->SetBinContent(56,42.25126); h_SL1L261->SetBinContent(57,28.16751); h_SL1L261->SetBinContent(58,28.16751); h_SL1L261->SetBinContent(59,35.20938); h_SL1L261->SetMaximum(57221.59); 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,7.041877); h_SL1L362->SetBinContent(2,7.041877); h_SL1L362->SetBinContent(4,7.041877); h_SL1L362->SetBinContent(5,28.16751); h_SL1L362->SetBinContent(6,21.12563); h_SL1L362->SetBinContent(7,14.08375); h_SL1L362->SetBinContent(8,28.16751); h_SL1L362->SetBinContent(9,28.16751); h_SL1L362->SetBinContent(10,28.16751); h_SL1L362->SetBinContent(11,28.16751); h_SL1L362->SetBinContent(12,35.20938); h_SL1L362->SetBinContent(13,84.50252); h_SL1L362->SetBinContent(14,91.5444); h_SL1L362->SetBinContent(15,70.41877); h_SL1L362->SetBinContent(16,119.7119); h_SL1L362->SetBinContent(17,21.12563); h_SL1L362->SetBinContent(18,21.12563); h_SL1L362->SetBinContent(20,7.041877); h_SL1L362->SetBinContent(21,35.20938); h_SL1L362->SetBinContent(22,21.12563); h_SL1L362->SetBinContent(23,21.12563); h_SL1L362->SetBinContent(24,35.20938); h_SL1L362->SetBinContent(25,49.29314); h_SL1L362->SetBinContent(26,28.16751); h_SL1L362->SetBinContent(27,28.16751); h_SL1L362->SetBinContent(28,49.29314); h_SL1L362->SetBinContent(29,35.20938); h_SL1L362->SetBinContent(30,35.20938); h_SL1L362->SetBinContent(31,56.33501); h_SL1L362->SetBinContent(32,42.25126); h_SL1L362->SetBinContent(33,28.16751); h_SL1L362->SetBinContent(34,7.041877); h_SL1L362->SetBinContent(36,7.041877); h_SL1L362->SetBinContent(37,14.08375); h_SL1L362->SetBinContent(38,7.041877); h_SL1L362->SetBinContent(40,7.041877); h_SL1L362->SetBinContent(41,42.25126); h_SL1L362->SetBinContent(42,35.20938); h_SL1L362->SetBinContent(43,35.20938); h_SL1L362->SetBinContent(44,56.33501); h_SL1L362->SetBinContent(45,98.58627); h_SL1L362->SetBinContent(46,77.46065); h_SL1L362->SetBinContent(47,91.5444); h_SL1L362->SetBinContent(48,105.6282); h_SL1L362->SetBinContent(49,140.8375); h_SL1L362->SetBinContent(50,98.58627); h_SL1L362->SetBinContent(51,56.33501); h_SL1L362->SetBinContent(52,147.8794); h_SL1L362->SetBinContent(53,133.7957); h_SL1L362->SetBinContent(54,42.25126); h_SL1L362->SetBinContent(55,35.20938); h_SL1L362->SetBinContent(56,161.9632); h_SL1L362->SetBinContent(57,35.20938); h_SL1L362->SetBinContent(58,21.12563); h_SL1L362->SetBinContent(59,21.12563); h_SL1L362->SetMaximum(57221.59); 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,45208.85); h_SL1L463->SetBinContent(3,43039.95); h_SL1L463->SetBinContent(4,42779.4); h_SL1L463->SetBinContent(5,42025.92); h_SL1L463->SetBinContent(6,44201.86); h_SL1L463->SetBinContent(7,43877.93); h_SL1L463->SetBinContent(8,44800.42); h_SL1L463->SetBinContent(9,43258.25); h_SL1L463->SetBinContent(10,40047.15); h_SL1L463->SetBinContent(11,36230.46); h_SL1L463->SetBinContent(12,33765.8); h_SL1L463->SetBinContent(13,34026.35); h_SL1L463->SetBinContent(14,35631.9); h_SL1L463->SetBinContent(15,37089.57); h_SL1L463->SetBinContent(16,35709.36); h_SL1L463->SetBinContent(17,34462.95); h_SL1L463->SetBinContent(18,35279.8); h_SL1L463->SetBinContent(19,37321.95); h_SL1L463->SetBinContent(20,37371.24); h_SL1L463->SetBinContent(21,38730.32); h_SL1L463->SetBinContent(22,39378.18); h_SL1L463->SetBinContent(23,39969.69); h_SL1L463->SetBinContent(24,39997.86); h_SL1L463->SetBinContent(25,39695.06); h_SL1L463->SetBinContent(26,38343.02); h_SL1L463->SetBinContent(27,36821.97); h_SL1L463->SetBinContent(28,35927.66); h_SL1L463->SetBinContent(29,38758.49); h_SL1L463->SetBinContent(30,38441.61); h_SL1L463->SetBinContent(31,38040.22); h_SL1L463->SetBinContent(32,38821.87); h_SL1L463->SetBinContent(33,37554.33); h_SL1L463->SetBinContent(34,38948.62); h_SL1L463->SetBinContent(35,38096.55); h_SL1L463->SetBinContent(36,37040.27); h_SL1L463->SetBinContent(37,36969.85); h_SL1L463->SetBinContent(38,35751.61); h_SL1L463->SetBinContent(39,35448.81); h_SL1L463->SetBinContent(40,35019.25); h_SL1L463->SetBinContent(41,35005.17); h_SL1L463->SetBinContent(42,33793.96); h_SL1L463->SetBinContent(43,33026.4); h_SL1L463->SetBinContent(44,33350.33); h_SL1L463->SetBinContent(45,32456.01); h_SL1L463->SetBinContent(46,32251.79); h_SL1L463->SetBinContent(47,31082.84); h_SL1L463->SetBinContent(48,29906.85); h_SL1L463->SetBinContent(49,29329.42); h_SL1L463->SetBinContent(50,30632.16); h_SL1L463->SetBinContent(51,29456.17); h_SL1L463->SetBinContent(52,29251.96); h_SL1L463->SetBinContent(53,29336.46); h_SL1L463->SetBinContent(54,29068.87); h_SL1L463->SetBinContent(55,28.16751); h_SL1L463->SetBinContent(56,28660.44); h_SL1L463->SetBinContent(57,27759.08); h_SL1L463->SetBinContent(58,27561.91); h_SL1L463->SetBinContent(59,26005.65); h_SL1L463->SetMaximum(57221.59); 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 5067"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }