void RatesPerCell_Removing_noisy_cells_run_7281_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:11:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-38549.15,67.5,346942.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7281",60,0,60); h_SL1L160->SetBinContent(1,41848.84); h_SL1L160->SetBinContent(2,41941.81); h_SL1L160->SetBinContent(3,37798.09); h_SL1L160->SetBinContent(4,39869.95); h_SL1L160->SetBinContent(5,40308.23); h_SL1L160->SetBinContent(6,43548.82); h_SL1L160->SetBinContent(7,42194.15); h_SL1L160->SetBinContent(8,43362.89); h_SL1L160->SetBinContent(9,42366.8); h_SL1L160->SetBinContent(10,74852.45); h_SL1L160->SetBinContent(11,42937.89); h_SL1L160->SetBinContent(12,43030.86); h_SL1L160->SetBinContent(13,67627.52); h_SL1L160->SetBinContent(14,81532.86); h_SL1L160->SetBinContent(15,79899.27); h_SL1L160->SetBinContent(16,40826.19); h_SL1L160->SetBinContent(17,33853.6); h_SL1L160->SetBinContent(18,35022.34); h_SL1L160->SetBinContent(19,37160.6); h_SL1L160->SetBinContent(20,40055.89); h_SL1L160->SetBinContent(21,40334.79); h_SL1L160->SetBinContent(22,41065.25); h_SL1L160->SetBinContent(23,40162.14); h_SL1L160->SetBinContent(24,39923.08); h_SL1L160->SetBinContent(25,39511.36); h_SL1L160->SetBinContent(26,38714.49); h_SL1L160->SetBinContent(27,37227.01); h_SL1L160->SetBinContent(28,38156.69); h_SL1L160->SetBinContent(29,37479.35); h_SL1L160->SetBinContent(30,36682.48); h_SL1L160->SetBinContent(31,36217.64); h_SL1L160->SetBinContent(32,36098.11); h_SL1L160->SetBinContent(33,42353.52); h_SL1L160->SetBinContent(34,43880.85); h_SL1L160->SetBinContent(35,40162.14); h_SL1L160->SetBinContent(36,40773.07); h_SL1L160->SetBinContent(37,42380.09); h_SL1L160->SetBinContent(38,38913.71); h_SL1L160->SetBinContent(39,49020.65); h_SL1L160->SetBinContent(41,30971.6); h_SL1L160->SetBinContent(42,33481.73); h_SL1L160->SetBinContent(43,32698.14); h_SL1L160->SetBinContent(44,32512.21); h_SL1L160->SetBinContent(45,29736.45); h_SL1L160->SetBinContent(46,28156); h_SL1L160->SetBinContent(47,26641.95); h_SL1L160->SetBinContent(48,26602.1); h_SL1L160->SetBinContent(49,29577.08); h_SL1L160->SetBinContent(50,27093.5); h_SL1L160->SetBinContent(51,26323.2); h_SL1L160->SetBinContent(52,24052.13); h_SL1L160->SetBinContent(53,22870.11); h_SL1L160->SetBinContent(54,23454.47); h_SL1L160->SetBinContent(55,24370.87); h_SL1L160->SetBinContent(56,23374.79); h_SL1L160->SetMaximum(308393.2); 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,42233.99); h_SL1L261->SetBinContent(2,39126.21); h_SL1L261->SetBinContent(3,37598.88); h_SL1L261->SetBinContent(4,37545.75); h_SL1L261->SetBinContent(5,38687.93); h_SL1L261->SetBinContent(6,39351.99); h_SL1L261->SetBinContent(7,39272.3); h_SL1L261->SetBinContent(8,40321.51); h_SL1L261->SetBinContent(9,49472.21); h_SL1L261->SetBinContent(10,38116.84); h_SL1L261->SetBinContent(11,39989.48); h_SL1L261->SetBinContent(12,41291.03); h_SL1L261->SetBinContent(13,40998.85); h_SL1L261->SetBinContent(14,45819.9); h_SL1L261->SetBinContent(15,47121.45); h_SL1L261->SetBinContent(16,40945.72); h_SL1L261->SetBinContent(17,35991.86); h_SL1L261->SetBinContent(18,32791.11); h_SL1L261->SetBinContent(19,34105.94); h_SL1L261->SetBinContent(20,38090.28); h_SL1L261->SetBinContent(21,38860.59); h_SL1L261->SetBinContent(22,40852.75); h_SL1L261->SetBinContent(23,40427.76); h_SL1L261->SetBinContent(24,39351.99); h_SL1L261->SetBinContent(25,39630.89); h_SL1L261->SetBinContent(26,40573.85); h_SL1L261->SetBinContent(27,38634.81); h_SL1L261->SetBinContent(28,38568.4); h_SL1L261->SetBinContent(29,37758.25); h_SL1L261->SetBinContent(30,37227.01); h_SL1L261->SetBinContent(31,36363.73); h_SL1L261->SetBinContent(32,35208.27); h_SL1L261->SetBinContent(33,38103.56); h_SL1L261->SetBinContent(34,41091.82); h_SL1L261->SetBinContent(35,37505.91); h_SL1L261->SetBinContent(36,39936.36); h_SL1L261->SetBinContent(37,36523.11); h_SL1L261->SetBinContent(38,37612.16); h_SL1L261->SetBinContent(39,39112.93); h_SL1L261->SetBinContent(40,34690.31); h_SL1L261->SetBinContent(41,31542.68); h_SL1L261->SetBinContent(42,32645.02); h_SL1L261->SetBinContent(43,31887.99); h_SL1L261->SetBinContent(44,32246.58); h_SL1L261->SetBinContent(45,31396.59); h_SL1L261->SetBinContent(46,29019.27); h_SL1L261->SetBinContent(47,26469.29); h_SL1L261->SetBinContent(48,26708.35); h_SL1L261->SetBinContent(49,28355.21); h_SL1L261->SetBinContent(50,28766.93); h_SL1L261->SetBinContent(51,27173.19); h_SL1L261->SetBinContent(52,23985.72); h_SL1L261->SetBinContent(53,23826.35); h_SL1L261->SetBinContent(54,23016.2); h_SL1L261->SetBinContent(55,23693.54); h_SL1L261->SetBinContent(56,23919.31); h_SL1L261->SetMaximum(268168.6); 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,38648.09); h_SL1L362->SetBinContent(2,38209.81); h_SL1L362->SetBinContent(3,36363.73); h_SL1L362->SetBinContent(4,38289.5); h_SL1L362->SetBinContent(5,36642.64); h_SL1L362->SetBinContent(6,39019.96); h_SL1L362->SetBinContent(7,38462.15); h_SL1L362->SetBinContent(8,39776.98); h_SL1L362->SetBinContent(9,38966.84); h_SL1L362->SetBinContent(10,36841.86); h_SL1L362->SetBinContent(11,38980.12); h_SL1L362->SetBinContent(12,39139.49); h_SL1L362->SetBinContent(13,39444.96); h_SL1L362->SetBinContent(14,49007.37); h_SL1L362->SetBinContent(15,62195.53); h_SL1L362->SetBinContent(16,39019.96); h_SL1L362->SetBinContent(17,32259.87); h_SL1L362->SetBinContent(18,32047.37); h_SL1L362->SetBinContent(19,34092.66); h_SL1L362->SetBinContent(20,38515.28); h_SL1L362->SetBinContent(21,37877.78); h_SL1L362->SetBinContent(22,38873.87); h_SL1L362->SetBinContent(23,37731.69); h_SL1L362->SetBinContent(24,39551.2); h_SL1L362->SetBinContent(25,36709.04); h_SL1L362->SetBinContent(26,36855.14); h_SL1L362->SetBinContent(27,37373.1); h_SL1L362->SetBinContent(28,36310.61); h_SL1L362->SetBinContent(29,36456.7); h_SL1L362->SetBinContent(30,36669.2); h_SL1L362->SetBinContent(31,35739.52); h_SL1L362->SetBinContent(32,34889.53); h_SL1L362->SetBinContent(33,37891.06); h_SL1L362->SetBinContent(34,37054.35); h_SL1L362->SetBinContent(35,35009.06); h_SL1L362->SetBinContent(36,34650.47); h_SL1L362->SetBinContent(37,34690.31); h_SL1L362->SetBinContent(38,33468.45); h_SL1L362->SetBinContent(39,31237.22); h_SL1L362->SetBinContent(40,29988.79); h_SL1L362->SetBinContent(41,31117.69); h_SL1L362->SetBinContent(42,32857.52); h_SL1L362->SetBinContent(43,32737.98); h_SL1L362->SetBinContent(44,31755.18); h_SL1L362->SetBinContent(45,30732.54); h_SL1L362->SetBinContent(46,26296.64); h_SL1L362->SetBinContent(47,26004.45); h_SL1L362->SetBinContent(48,26920.85); h_SL1L362->SetBinContent(49,27558.34); h_SL1L362->SetBinContent(50,26044.29); h_SL1L362->SetBinContent(51,26296.64); h_SL1L362->SetBinContent(52,28009.9); h_SL1L362->SetBinContent(53,22405.27); h_SL1L362->SetBinContent(54,22152.92); h_SL1L362->SetBinContent(55,21794.33); h_SL1L362->SetBinContent(56,22524.8); h_SL1L362->SetMaximum(268168.6); 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,35859.05); h_SL1L463->SetBinContent(3,35739.52); h_SL1L463->SetBinContent(4,36005.14); h_SL1L463->SetBinContent(5,35646.55); h_SL1L463->SetBinContent(6,36629.36); h_SL1L463->SetBinContent(7,37386.38); h_SL1L463->SetBinContent(8,36297.33); h_SL1L463->SetBinContent(9,37479.35); h_SL1L463->SetBinContent(10,36044.99); h_SL1L463->SetBinContent(11,37319.98); h_SL1L463->SetBinContent(12,37452.79); h_SL1L463->SetBinContent(13,39976.2); h_SL1L463->SetBinContent(14,89209.35); h_SL1L463->SetBinContent(15,77282.89); h_SL1L463->SetBinContent(16,73590.74); h_SL1L463->SetBinContent(17,35407.49); h_SL1L463->SetBinContent(18,31914.55); h_SL1L463->SetBinContent(19,33043.45); h_SL1L463->SetBinContent(20,35752.8); h_SL1L463->SetBinContent(21,36695.76); h_SL1L463->SetBinContent(22,36762.17); h_SL1L463->SetBinContent(23,37200.45); h_SL1L463->SetBinContent(24,37665.29); h_SL1L463->SetBinContent(25,37957.47); h_SL1L463->SetBinContent(26,36589.51); h_SL1L463->SetBinContent(27,35938.74); h_SL1L463->SetBinContent(28,35885.61); h_SL1L463->SetBinContent(29,35726.24); h_SL1L463->SetBinContent(30,36164.52); h_SL1L463->SetBinContent(31,34876.25); h_SL1L463->SetBinContent(32,34291.88); h_SL1L463->SetBinContent(33,34716.88); h_SL1L463->SetBinContent(34,37452.79); h_SL1L463->SetBinContent(35,33667.66); h_SL1L463->SetBinContent(36,32472.36); h_SL1L463->SetBinContent(37,265.6226); h_SL1L463->SetBinContent(38,252.3415); h_SL1L463->SetBinContent(40,451.5584); h_SL1L463->SetBinContent(41,28355.21); h_SL1L463->SetBinContent(42,29882.54); h_SL1L463->SetBinContent(43,30254.41); h_SL1L463->SetBinContent(44,30692.69); h_SL1L463->SetBinContent(45,29098.96); h_SL1L463->SetBinContent(46,25977.89); h_SL1L463->SetBinContent(47,24848.99); h_SL1L463->SetBinContent(48,24171.66); h_SL1L463->SetBinContent(49,25672.42); h_SL1L463->SetBinContent(50,26230.23); h_SL1L463->SetBinContent(51,25486.49); h_SL1L463->SetBinContent(52,233190.1); h_SL1L463->SetBinContent(53,22471.67); h_SL1L463->SetBinContent(54,22033.39); h_SL1L463->SetBinContent(55,292.1848); h_SL1L463->SetBinContent(56,22763.86); h_SL1L463->SetMaximum(268168.6); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7281"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }