void RatesPerCell_Removing_noisy_cells_run_7320_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:40:06 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13158.73,67.5,118428.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7320",60,0,60); h_SL2L164->SetBinContent(1,27442.55); h_SL2L164->SetBinContent(2,36175.12); h_SL2L164->SetBinContent(3,45467.52); h_SL2L164->SetBinContent(4,48646.86); h_SL2L164->SetBinContent(5,48729.54); h_SL2L164->SetBinContent(6,48280.74); h_SL2L164->SetBinContent(7,44414.03); h_SL2L164->SetBinContent(8,43256.62); h_SL2L164->SetBinContent(9,45642.31); h_SL2L164->SetBinContent(10,47043.02); h_SL2L164->SetBinContent(11,49256.28); h_SL2L164->SetBinContent(12,50179.85); h_SL2L164->SetBinContent(13,50406.61); h_SL2L164->SetBinContent(14,50919.18); h_SL2L164->SetBinContent(15,50116.07); h_SL2L164->SetBinContent(16,50569.59); h_SL2L164->SetBinContent(17,50352.28); h_SL2L164->SetBinContent(18,49525.55); h_SL2L164->SetBinContent(19,48883.07); h_SL2L164->SetBinContent(20,46769.02); h_SL2L164->SetBinContent(21,46391.09); h_SL2L164->SetBinContent(22,43795.17); h_SL2L164->SetBinContent(23,41803.94); h_SL2L164->SetBinContent(24,39179.68); h_SL2L164->SetBinContent(25,38789.94); h_SL2L164->SetBinContent(26,38499.4); h_SL2L164->SetBinContent(27,38789.94); h_SL2L164->SetBinContent(28,38598.61); h_SL2L164->SetBinContent(29,37623.07); h_SL2L164->SetBinContent(30,37101.06); h_SL2L164->SetBinContent(31,35636.57); h_SL2L164->SetBinContent(32,36623.92); h_SL2L164->SetBinContent(33,37573.47); h_SL2L164->SetBinContent(34,38197.06); h_SL2L164->SetBinContent(35,7.086215); h_SL2L164->SetBinContent(36,37512.06); h_SL2L164->SetBinContent(37,44662.05); h_SL2L164->SetBinContent(38,39661.54); h_SL2L164->SetBinContent(39,40604.01); h_SL2L164->SetBinContent(40,75787.06); h_SL2L164->SetBinContent(41,79599.45); h_SL2L164->SetBinContent(42,43261.34); h_SL2L164->SetBinContent(43,43018.05); h_SL2L164->SetBinContent(44,42413.36); h_SL2L164->SetBinContent(45,34790.95); h_SL2L164->SetBinContent(46,34731.9); h_SL2L164->SetBinContent(47,35459.42); h_SL2L164->SetBinContent(48,34424.83); h_SL2L164->SetBinContent(49,34854.73); h_SL2L164->SetBinContent(50,33267.41); h_SL2L164->SetBinContent(51,34982.28); h_SL2L164->SetBinContent(52,36874.3); h_SL2L164->SetBinContent(53,38348.23); h_SL2L164->SetBinContent(54,38919.85); h_SL2L164->SetBinContent(55,37431.75); h_SL2L164->SetBinContent(56,30843.93); h_SL2L164->SetBinContent(57,26294.58); h_SL2L164->SetMaximum(105269.8); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,21877.51); h_SL2L265->SetBinContent(2,33364.26); h_SL2L265->SetBinContent(3,39049.77); h_SL2L265->SetBinContent(4,46211.57); h_SL2L265->SetBinContent(5,47286.31); h_SL2L265->SetBinContent(6,47791.79); h_SL2L265->SetBinContent(7,45450.98); h_SL2L265->SetBinContent(8,41714.18); h_SL2L265->SetBinContent(9,43601.48); h_SL2L265->SetBinContent(10,44359.7); h_SL2L265->SetBinContent(11,47961.86); h_SL2L265->SetBinContent(12,48528.76); h_SL2L265->SetBinContent(13,48901.96); h_SL2L265->SetBinContent(14,49648.38); h_SL2L265->SetBinContent(15,48776.78); h_SL2L265->SetBinContent(16,48734.26); h_SL2L265->SetBinContent(17,48195.71); h_SL2L265->SetBinContent(18,48488.61); h_SL2L265->SetBinContent(19,47283.95); h_SL2L265->SetBinContent(20,46391.09); h_SL2L265->SetBinContent(21,45512.39); h_SL2L265->SetBinContent(22,43393.62); h_SL2L265->SetBinContent(23,41421.29); h_SL2L265->SetBinContent(24,39545.8); h_SL2L265->SetBinContent(25,37660.87); h_SL2L265->SetBinContent(26,38062.42); h_SL2L265->SetBinContent(27,37717.56); h_SL2L265->SetBinContent(28,37861.64); h_SL2L265->SetBinContent(29,36260.16); h_SL2L265->SetBinContent(30,36016.87); h_SL2L265->SetBinContent(31,34677.57); h_SL2L265->SetBinContent(32,35820.82); h_SL2L265->SetBinContent(33,36220); h_SL2L265->SetBinContent(34,37174.28); h_SL2L265->SetBinContent(35,35827.9); h_SL2L265->SetBinContent(36,35648.38); h_SL2L265->SetBinContent(37,36553.06); h_SL2L265->SetBinContent(38,36059.38); h_SL2L265->SetBinContent(39,36137.33); h_SL2L265->SetBinContent(40,37034.92); h_SL2L265->SetBinContent(41,35983.8); h_SL2L265->SetBinContent(42,35024.8); h_SL2L265->SetBinContent(43,33716.21); h_SL2L265->SetBinContent(44,34576); h_SL2L265->SetBinContent(45,32986.33); h_SL2L265->SetBinContent(46,33416.23); h_SL2L265->SetBinContent(47,34172.09); h_SL2L265->SetBinContent(48,33461.11); h_SL2L265->SetBinContent(49,33094.98); h_SL2L265->SetBinContent(50,32837.52); h_SL2L265->SetBinContent(51,32242.28); h_SL2L265->SetBinContent(52,34620.88); h_SL2L265->SetBinContent(53,35834.99); h_SL2L265->SetBinContent(54,36945.16); h_SL2L265->SetBinContent(55,37701.02); h_SL2L265->SetBinContent(56,32591.86); h_SL2L265->SetBinContent(57,28470.05); h_SL2L265->SetMaximum(91539.36); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,26072.54); h_SL2L366->SetBinContent(2,34372.86); h_SL2L366->SetBinContent(3,42739.32); h_SL2L366->SetBinContent(4,45932.84); h_SL2L366->SetBinContent(5,45065.96); h_SL2L366->SetBinContent(6,44217.98); h_SL2L366->SetBinContent(7,42167.7); h_SL2L366->SetBinContent(8,41279.56); h_SL2L366->SetBinContent(9,42885.77); h_SL2L366->SetBinContent(10,44376.24); h_SL2L366->SetBinContent(11,45885.6); h_SL2L366->SetBinContent(12,46499.74); h_SL2L366->SetBinContent(13,47019.39); h_SL2L366->SetBinContent(14,47647.71); h_SL2L366->SetBinContent(15,47364.26); h_SL2L366->SetBinContent(16,46695.79); h_SL2L366->SetBinContent(17,46565.88); h_SL2L366->SetBinContent(18,46209.2); h_SL2L366->SetBinContent(19,45649.39); h_SL2L366->SetBinContent(20,43658.17); h_SL2L366->SetBinContent(21,43020.41); h_SL2L366->SetBinContent(22,40750.46); h_SL2L366->SetBinContent(23,39021.42); h_SL2L366->SetBinContent(24,37254.59); h_SL2L366->SetBinContent(25,36926.27); h_SL2L366->SetBinContent(26,37027.83); h_SL2L366->SetBinContent(27,36886.11); h_SL2L366->SetBinContent(28,36392.44); h_SL2L366->SetBinContent(29,35674.37); h_SL2L366->SetBinContent(30,34949.21); h_SL2L366->SetBinContent(31,34311.45); h_SL2L366->SetBinContent(32,34828.75); h_SL2L366->SetBinContent(33,35749.95); h_SL2L366->SetBinContent(34,36014.5); h_SL2L366->SetBinContent(35,33546.14); h_SL2L366->SetBinContent(36,35220.85); h_SL2L366->SetBinContent(37,35159.43); h_SL2L366->SetBinContent(38,34649.23); h_SL2L366->SetBinContent(39,34505.14); h_SL2L366->SetBinContent(40,34018.55); h_SL2L366->SetBinContent(41,33222.54); h_SL2L366->SetBinContent(42,32754.85); h_SL2L366->SetBinContent(43,32476.12); h_SL2L366->SetBinContent(44,32076.93); h_SL2L366->SetBinContent(45,32126.54); h_SL2L366->SetBinContent(46,33517.79); h_SL2L366->SetBinContent(47,32747.76); h_SL2L366->SetBinContent(48,31661.21); h_SL2L366->SetBinContent(49,31980.09); h_SL2L366->SetBinContent(50,30966.76); h_SL2L366->SetBinContent(51,31821.83); h_SL2L366->SetBinContent(52,33959.5); h_SL2L366->SetBinContent(53,35601.14); h_SL2L366->SetBinContent(54,36692.42); h_SL2L366->SetBinContent(55,35320.05); h_SL2L366->SetBinContent(56,28727.51); h_SL2L366->SetBinContent(57,25340.3); h_SL2L366->SetMaximum(91539.36); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,31833.64); h_SL2L467->SetBinContent(3,37894.71); h_SL2L467->SetBinContent(4,43447.95); h_SL2L467->SetBinContent(5,44969.12); h_SL2L467->SetBinContent(6,43391.25); h_SL2L467->SetBinContent(7,42918.84); h_SL2L467->SetBinContent(8,39203.3); h_SL2L467->SetBinContent(9,41704.73); h_SL2L467->SetBinContent(10,41907.87); h_SL2L467->SetBinContent(11,44166.01); h_SL2L467->SetBinContent(12,45297.45); h_SL2L467->SetBinContent(13,45621.05); h_SL2L467->SetBinContent(14,45784.03); h_SL2L467->SetBinContent(15,46133.62); h_SL2L467->SetBinContent(16,45488.77); h_SL2L467->SetBinContent(17,45623.41); h_SL2L467->SetBinContent(18,44893.53); h_SL2L467->SetBinContent(19,44591.19); h_SL2L467->SetBinContent(20,43209.38); h_SL2L467->SetBinContent(21,42548); h_SL2L467->SetBinContent(22,41366.96); h_SL2L467->SetBinContent(23,39139.52); h_SL2L467->SetBinContent(24,37604.18); h_SL2L467->SetBinContent(25,36635.73); h_SL2L467->SetBinContent(26,36005.05); h_SL2L467->SetBinContent(27,35915.3); h_SL2L467->SetBinContent(28,35917.66); h_SL2L467->SetBinContent(29,35083.85); h_SL2L467->SetBinContent(30,35298.8); h_SL2L467->SetBinContent(31,33366.62); h_SL2L467->SetBinContent(32,33777.62); h_SL2L467->SetBinContent(33,34207.52); h_SL2L467->SetBinContent(34,34786.23); h_SL2L467->SetBinContent(35,33647.71); h_SL2L467->SetBinContent(36,33333.55); h_SL2L467->SetBinContent(37,34009.11); h_SL2L467->SetBinContent(38,34139.02); h_SL2L467->SetBinContent(39,33588.66); h_SL2L467->SetBinContent(40,32216.29); h_SL2L467->SetBinContent(41,31762.78); h_SL2L467->SetBinContent(42,32239.91); h_SL2L467->SetBinContent(43,31479.33); h_SL2L467->SetBinContent(44,31417.91); h_SL2L467->SetBinContent(45,31380.12); h_SL2L467->SetBinContent(46,31649.4); h_SL2L467->SetBinContent(47,32284.79); h_SL2L467->SetBinContent(48,31233.67); h_SL2L467->SetBinContent(49,31606.88); h_SL2L467->SetBinContent(50,30914.79); h_SL2L467->SetBinContent(51,29896.74); h_SL2L467->SetBinContent(52,32358.02); h_SL2L467->SetBinContent(53,33461.11); h_SL2L467->SetBinContent(54,35390.92); h_SL2L467->SetBinContent(55,34682.3); h_SL2L467->SetBinContent(56,31422.64); h_SL2L467->SetBinContent(57,26318.2); h_SL2L467->SetMaximum(91539.36); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7320"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }