void RatesPerCell_Removing_noisy_cells_run_7431_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:16:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12505.82,67.5,112552.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 7431",60,0,60); h_SL1L160->SetBinContent(1,35007.14); h_SL1L160->SetBinContent(2,36014.29); h_SL1L160->SetBinContent(3,35957.14); h_SL1L160->SetBinContent(4,34114.29); h_SL1L160->SetBinContent(5,29864.29); h_SL1L160->SetBinContent(6,31278.57); h_SL1L160->SetBinContent(7,31014.29); h_SL1L160->SetBinContent(8,32607.14); h_SL1L160->SetBinContent(9,30750); h_SL1L160->SetBinContent(10,31735.71); h_SL1L160->SetBinContent(11,31385.71); h_SL1L160->SetBinContent(12,30978.57); h_SL1L160->SetBinContent(13,50692.86); h_SL1L160->SetBinContent(14,58021.43); h_SL1L160->SetBinContent(15,56671.43); h_SL1L160->SetBinContent(16,29114.29); h_SL1L160->SetBinContent(17,26614.29); h_SL1L160->SetBinContent(18,28957.14); h_SL1L160->SetBinContent(19,29321.43); h_SL1L160->SetBinContent(20,28750); h_SL1L160->SetBinContent(21,28900); h_SL1L160->SetBinContent(22,27385.71); h_SL1L160->SetBinContent(23,25121.43); h_SL1L160->SetBinContent(24,22971.43); h_SL1L160->SetBinContent(25,22121.43); h_SL1L160->SetBinContent(26,24007.14); h_SL1L160->SetBinContent(27,22428.57); h_SL1L160->SetBinContent(28,24035.71); h_SL1L160->SetBinContent(29,24642.86); h_SL1L160->SetBinContent(30,22471.43); h_SL1L160->SetBinContent(31,22235.71); h_SL1L160->SetBinContent(32,21642.86); h_SL1L160->SetBinContent(33,44114.29); h_SL1L160->SetBinContent(34,44407.14); h_SL1L160->SetBinContent(35,42550); h_SL1L160->SetBinContent(36,44321.43); h_SL1L160->SetBinContent(37,45707.14); h_SL1L160->SetBinContent(38,46142.86); h_SL1L160->SetBinContent(39,44750); h_SL1L160->SetBinContent(41,22985.71); h_SL1L160->SetBinContent(42,23035.71); h_SL1L160->SetBinContent(43,22207.14); h_SL1L160->SetBinContent(44,21385.71); h_SL1L160->SetBinContent(45,20514.29); h_SL1L160->SetBinContent(46,19135.71); h_SL1L160->SetBinContent(47,19957.14); h_SL1L160->SetBinContent(48,20014.29); h_SL1L160->SetBinContent(49,21171.43); h_SL1L160->SetBinContent(50,22435.71); h_SL1L160->SetBinContent(51,22614.29); h_SL1L160->SetBinContent(52,21507.14); h_SL1L160->SetBinContent(53,22235.71); h_SL1L160->SetBinContent(54,21971.43); h_SL1L160->SetBinContent(55,22607.14); h_SL1L160->SetBinContent(56,24385.71); h_SL1L160->SetMaximum(100046.5); 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,36571.43); h_SL1L261->SetBinContent(2,37921.43); h_SL1L261->SetBinContent(3,39707.14); h_SL1L261->SetBinContent(4,40164.29); h_SL1L261->SetBinContent(5,39371.43); h_SL1L261->SetBinContent(6,42428.57); h_SL1L261->SetBinContent(7,41471.43); h_SL1L261->SetBinContent(8,43214.29); h_SL1L261->SetBinContent(9,43850); h_SL1L261->SetBinContent(10,42235.71); h_SL1L261->SetBinContent(11,43921.43); h_SL1L261->SetBinContent(12,43728.57); h_SL1L261->SetBinContent(13,43328.57); h_SL1L261->SetBinContent(14,46257.14); h_SL1L261->SetBinContent(15,48842.86); h_SL1L261->SetBinContent(16,44121.43); h_SL1L261->SetBinContent(17,44457.14); h_SL1L261->SetBinContent(18,46550); h_SL1L261->SetBinContent(19,47642.86); h_SL1L261->SetBinContent(20,47242.86); h_SL1L261->SetBinContent(21,46900); h_SL1L261->SetBinContent(22,45828.57); h_SL1L261->SetBinContent(23,43842.86); h_SL1L261->SetBinContent(24,43564.29); h_SL1L261->SetBinContent(25,44750); h_SL1L261->SetBinContent(26,42728.57); h_SL1L261->SetBinContent(27,41485.71); h_SL1L261->SetBinContent(28,45735.71); h_SL1L261->SetBinContent(29,46135.71); h_SL1L261->SetBinContent(30,46085.71); h_SL1L261->SetBinContent(31,45328.57); h_SL1L261->SetBinContent(32,44628.57); h_SL1L261->SetBinContent(33,43057.14); h_SL1L261->SetBinContent(34,44428.57); h_SL1L261->SetBinContent(35,43171.43); h_SL1L261->SetBinContent(36,43100); h_SL1L261->SetBinContent(37,44514.29); h_SL1L261->SetBinContent(38,46535.71); h_SL1L261->SetBinContent(39,45000); h_SL1L261->SetBinContent(40,43985.71); h_SL1L261->SetBinContent(41,45578.57); h_SL1L261->SetBinContent(42,44771.43); h_SL1L261->SetBinContent(43,44078.57); h_SL1L261->SetBinContent(44,42942.86); h_SL1L261->SetBinContent(45,42685.71); h_SL1L261->SetBinContent(46,44242.86); h_SL1L261->SetBinContent(47,43821.43); h_SL1L261->SetBinContent(48,44085.71); h_SL1L261->SetBinContent(49,63128.57); h_SL1L261->SetBinContent(50,44742.86); h_SL1L261->SetBinContent(51,42257.14); h_SL1L261->SetBinContent(52,44478.57); h_SL1L261->SetBinContent(53,44171.43); h_SL1L261->SetBinContent(54,43207.14); h_SL1L261->SetBinContent(55,43192.86); h_SL1L261->SetBinContent(56,42571.43); h_SL1L261->SetMaximum(86997.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,36221.43); h_SL1L362->SetBinContent(2,38650); h_SL1L362->SetBinContent(3,38121.43); h_SL1L362->SetBinContent(4,39078.57); h_SL1L362->SetBinContent(5,41657.14); h_SL1L362->SetBinContent(6,41735.71); h_SL1L362->SetBinContent(7,41028.57); h_SL1L362->SetBinContent(8,43071.43); h_SL1L362->SetBinContent(9,40842.86); h_SL1L362->SetBinContent(10,41992.86); h_SL1L362->SetBinContent(11,42114.29); h_SL1L362->SetBinContent(12,42535.71); h_SL1L362->SetBinContent(13,42935.71); h_SL1L362->SetBinContent(14,49457.14); h_SL1L362->SetBinContent(15,58592.86); h_SL1L362->SetBinContent(16,44692.86); h_SL1L362->SetBinContent(17,44892.86); h_SL1L362->SetBinContent(18,46771.43); h_SL1L362->SetBinContent(19,45842.86); h_SL1L362->SetBinContent(20,48264.29); h_SL1L362->SetBinContent(21,46014.29); h_SL1L362->SetBinContent(22,43164.29); h_SL1L362->SetBinContent(23,44114.29); h_SL1L362->SetBinContent(24,42971.43); h_SL1L362->SetBinContent(25,41857.14); h_SL1L362->SetBinContent(26,42021.43); h_SL1L362->SetBinContent(27,41050); h_SL1L362->SetBinContent(28,44950); h_SL1L362->SetBinContent(29,45507.14); h_SL1L362->SetBinContent(30,45307.14); h_SL1L362->SetBinContent(31,43321.43); h_SL1L362->SetBinContent(32,42985.71); h_SL1L362->SetBinContent(33,43071.43); h_SL1L362->SetBinContent(34,43378.57); h_SL1L362->SetBinContent(35,41592.86); h_SL1L362->SetBinContent(36,41985.71); h_SL1L362->SetBinContent(37,44421.43); h_SL1L362->SetBinContent(38,43542.86); h_SL1L362->SetBinContent(39,43557.14); h_SL1L362->SetBinContent(40,42128.57); h_SL1L362->SetBinContent(41,43992.86); h_SL1L362->SetBinContent(42,43671.43); h_SL1L362->SetBinContent(43,42121.43); h_SL1L362->SetBinContent(44,42092.86); h_SL1L362->SetBinContent(45,41642.86); h_SL1L362->SetBinContent(46,43178.57); h_SL1L362->SetBinContent(47,42842.86); h_SL1L362->SetBinContent(48,42057.14); h_SL1L362->SetBinContent(49,43842.86); h_SL1L362->SetBinContent(50,41600); h_SL1L362->SetBinContent(51,43014.29); h_SL1L362->SetBinContent(52,41985.71); h_SL1L362->SetBinContent(53,51214.29); h_SL1L362->SetBinContent(54,41764.29); h_SL1L362->SetBinContent(55,42228.57); h_SL1L362->SetBinContent(56,55100); h_SL1L362->SetMaximum(86997.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,29957.14); h_SL1L463->SetBinContent(3,29128.57); h_SL1L463->SetBinContent(4,27585.71); h_SL1L463->SetBinContent(5,26071.43); h_SL1L463->SetBinContent(6,26950); h_SL1L463->SetBinContent(7,27257.14); h_SL1L463->SetBinContent(8,27964.29); h_SL1L463->SetBinContent(9,29485.71); h_SL1L463->SetBinContent(10,30707.14); h_SL1L463->SetBinContent(11,33950); h_SL1L463->SetBinContent(12,34557.14); h_SL1L463->SetBinContent(13,35285.71); h_SL1L463->SetBinContent(14,75650); h_SL1L463->SetBinContent(15,61300); h_SL1L463->SetBinContent(16,60185.71); h_SL1L463->SetBinContent(17,31807.14); h_SL1L463->SetBinContent(18,32978.57); h_SL1L463->SetBinContent(19,31792.86); h_SL1L463->SetBinContent(20,32035.71); h_SL1L463->SetBinContent(21,30950); h_SL1L463->SetBinContent(22,29421.43); h_SL1L463->SetBinContent(23,28285.71); h_SL1L463->SetBinContent(24,27764.29); h_SL1L463->SetBinContent(25,25450); h_SL1L463->SetBinContent(26,24642.86); h_SL1L463->SetBinContent(27,25421.43); h_SL1L463->SetBinContent(28,26128.57); h_SL1L463->SetBinContent(29,25700); h_SL1L463->SetBinContent(30,26700); h_SL1L463->SetBinContent(31,25885.71); h_SL1L463->SetBinContent(32,24335.71); h_SL1L463->SetBinContent(33,22157.14); h_SL1L463->SetBinContent(34,25500); h_SL1L463->SetBinContent(35,26400); h_SL1L463->SetBinContent(36,23407.14); h_SL1L463->SetBinContent(37,535.7143); h_SL1L463->SetBinContent(38,7.142857); h_SL1L463->SetBinContent(41,21278.57); h_SL1L463->SetBinContent(42,22942.86); h_SL1L463->SetBinContent(43,23228.57); h_SL1L463->SetBinContent(44,22321.43); h_SL1L463->SetBinContent(45,19892.86); h_SL1L463->SetBinContent(46,21607.14); h_SL1L463->SetBinContent(47,20000); h_SL1L463->SetBinContent(48,20242.86); h_SL1L463->SetBinContent(49,18300); h_SL1L463->SetBinContent(50,20492.86); h_SL1L463->SetBinContent(51,19264.29); h_SL1L463->SetBinContent(52,20935.71); h_SL1L463->SetBinContent(53,20285.71); h_SL1L463->SetBinContent(54,19742.86); h_SL1L463->SetBinContent(56,22614.29); h_SL1L463->SetMaximum(86997.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.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 7431"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }