void RatesPerCell_Removing_noisy_cells_run_7618_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:33:28 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13664.16,67.5,122977.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 7618",60,0,60); h_SL1L160->SetBinContent(1,42835.71); h_SL1L160->SetBinContent(2,44985.71); h_SL1L160->SetBinContent(3,43085.71); h_SL1L160->SetBinContent(4,40550); h_SL1L160->SetBinContent(5,35814.29); h_SL1L160->SetBinContent(6,36828.57); h_SL1L160->SetBinContent(7,35892.86); h_SL1L160->SetBinContent(8,37985.71); h_SL1L160->SetBinContent(9,35742.86); h_SL1L160->SetBinContent(10,34907.14); h_SL1L160->SetBinContent(11,34828.57); h_SL1L160->SetBinContent(12,34757.14); h_SL1L160->SetBinContent(13,57385.71); h_SL1L160->SetBinContent(14,66300); h_SL1L160->SetBinContent(15,65092.86); h_SL1L160->SetBinContent(16,32907.14); h_SL1L160->SetBinContent(17,33985.71); h_SL1L160->SetBinContent(18,36607.14); h_SL1L160->SetBinContent(19,37642.86); h_SL1L160->SetBinContent(20,36735.71); h_SL1L160->SetBinContent(21,32792.86); h_SL1L160->SetBinContent(22,32728.57); h_SL1L160->SetBinContent(23,31771.43); h_SL1L160->SetBinContent(24,30192.86); h_SL1L160->SetBinContent(25,27714.29); h_SL1L160->SetBinContent(26,28757.14); h_SL1L160->SetBinContent(27,27157.14); h_SL1L160->SetBinContent(28,27714.29); h_SL1L160->SetBinContent(29,30450); h_SL1L160->SetBinContent(30,28228.57); h_SL1L160->SetBinContent(31,27292.86); h_SL1L160->SetBinContent(32,26350); h_SL1L160->SetBinContent(33,51078.57); h_SL1L160->SetBinContent(34,51142.86); h_SL1L160->SetBinContent(35,49642.86); h_SL1L160->SetBinContent(36,51857.14); h_SL1L160->SetBinContent(37,52021.43); h_SL1L160->SetBinContent(38,51121.43); h_SL1L160->SetBinContent(39,50850); h_SL1L160->SetBinContent(40,7.142857); h_SL1L160->SetBinContent(41,26028.57); h_SL1L160->SetBinContent(42,26714.29); h_SL1L160->SetBinContent(43,25957.14); h_SL1L160->SetBinContent(44,25228.57); h_SL1L160->SetBinContent(45,23678.57); h_SL1L160->SetBinContent(46,22442.86); h_SL1L160->SetBinContent(47,22264.29); h_SL1L160->SetBinContent(48,23000); h_SL1L160->SetBinContent(49,23971.43); h_SL1L160->SetBinContent(50,25750); h_SL1L160->SetBinContent(51,25635.71); h_SL1L160->SetBinContent(52,24792.86); h_SL1L160->SetBinContent(53,24300); h_SL1L160->SetBinContent(54,24785.71); h_SL1L160->SetBinContent(55,24357.14); h_SL1L160->SetBinContent(56,27350); h_SL1L160->SetMaximum(109313.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,46107.14); h_SL1L261->SetBinContent(2,47321.43); h_SL1L261->SetBinContent(3,49321.43); h_SL1L261->SetBinContent(4,48928.57); h_SL1L261->SetBinContent(5,46907.14); h_SL1L261->SetBinContent(6,49407.14); h_SL1L261->SetBinContent(7,46914.29); h_SL1L261->SetBinContent(8,49064.29); h_SL1L261->SetBinContent(9,46728.57); h_SL1L261->SetBinContent(10,45707.14); h_SL1L261->SetBinContent(11,47007.14); h_SL1L261->SetBinContent(12,46478.57); h_SL1L261->SetBinContent(13,48942.86); h_SL1L261->SetBinContent(14,53657.14); h_SL1L261->SetBinContent(15,56585.71); h_SL1L261->SetBinContent(16,48957.14); h_SL1L261->SetBinContent(17,50357.14); h_SL1L261->SetBinContent(18,51771.43); h_SL1L261->SetBinContent(19,54514.29); h_SL1L261->SetBinContent(20,54900); h_SL1L261->SetBinContent(21,49935.71); h_SL1L261->SetBinContent(22,49828.57); h_SL1L261->SetBinContent(23,49750); h_SL1L261->SetBinContent(24,50735.71); h_SL1L261->SetBinContent(25,49600); h_SL1L261->SetBinContent(26,46878.57); h_SL1L261->SetBinContent(27,46442.86); h_SL1L261->SetBinContent(28,49635.71); h_SL1L261->SetBinContent(29,48150); h_SL1L261->SetBinContent(30,48521.43); h_SL1L261->SetBinContent(31,50757.14); h_SL1L261->SetBinContent(32,49214.29); h_SL1L261->SetBinContent(33,51100); h_SL1L261->SetBinContent(34,52557.14); h_SL1L261->SetBinContent(35,50728.57); h_SL1L261->SetBinContent(36,51214.29); h_SL1L261->SetBinContent(37,50878.57); h_SL1L261->SetBinContent(38,52285.71); h_SL1L261->SetBinContent(39,51107.14); h_SL1L261->SetBinContent(40,50114.29); h_SL1L261->SetBinContent(41,49200); h_SL1L261->SetBinContent(42,48207.14); h_SL1L261->SetBinContent(43,49807.14); h_SL1L261->SetBinContent(44,47885.71); h_SL1L261->SetBinContent(45,48692.86); h_SL1L261->SetBinContent(46,50250); h_SL1L261->SetBinContent(47,48164.29); h_SL1L261->SetBinContent(48,49492.86); h_SL1L261->SetBinContent(49,55042.86); h_SL1L261->SetBinContent(50,49985.71); h_SL1L261->SetBinContent(51,49728.57); h_SL1L261->SetBinContent(52,48578.57); h_SL1L261->SetBinContent(53,49978.57); h_SL1L261->SetBinContent(54,47692.86); h_SL1L261->SetBinContent(55,47835.71); h_SL1L261->SetBinContent(56,48128.57); h_SL1L261->SetMaximum(95055.71); 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,45128.57); h_SL1L362->SetBinContent(2,47535.71); h_SL1L362->SetBinContent(3,48357.14); h_SL1L362->SetBinContent(4,48335.71); h_SL1L362->SetBinContent(5,47178.57); h_SL1L362->SetBinContent(6,46164.29); h_SL1L362->SetBinContent(7,45150); h_SL1L362->SetBinContent(8,47207.14); h_SL1L362->SetBinContent(9,45428.57); h_SL1L362->SetBinContent(10,45735.71); h_SL1L362->SetBinContent(11,45614.29); h_SL1L362->SetBinContent(12,45578.57); h_SL1L362->SetBinContent(13,47685.71); h_SL1L362->SetBinContent(14,55364.29); h_SL1L362->SetBinContent(15,69407.14); h_SL1L362->SetBinContent(16,48907.14); h_SL1L362->SetBinContent(17,49921.43); h_SL1L362->SetBinContent(18,51307.14); h_SL1L362->SetBinContent(19,53721.43); h_SL1L362->SetBinContent(20,53871.43); h_SL1L362->SetBinContent(21,48550); h_SL1L362->SetBinContent(22,46414.29); h_SL1L362->SetBinContent(23,48907.14); h_SL1L362->SetBinContent(24,48642.86); h_SL1L362->SetBinContent(25,47050); h_SL1L362->SetBinContent(26,43864.29); h_SL1L362->SetBinContent(27,45392.86); h_SL1L362->SetBinContent(28,48535.71); h_SL1L362->SetBinContent(29,47214.29); h_SL1L362->SetBinContent(30,48157.14); h_SL1L362->SetBinContent(31,48800); h_SL1L362->SetBinContent(32,46957.14); h_SL1L362->SetBinContent(33,51071.43); h_SL1L362->SetBinContent(34,50557.14); h_SL1L362->SetBinContent(35,50907.14); h_SL1L362->SetBinContent(36,50985.71); h_SL1L362->SetBinContent(37,51285.71); h_SL1L362->SetBinContent(38,50792.86); h_SL1L362->SetBinContent(39,49728.57); h_SL1L362->SetBinContent(40,49850); h_SL1L362->SetBinContent(41,48342.86); h_SL1L362->SetBinContent(42,48935.71); h_SL1L362->SetBinContent(43,46200); h_SL1L362->SetBinContent(44,46835.71); h_SL1L362->SetBinContent(45,48442.86); h_SL1L362->SetBinContent(46,48478.57); h_SL1L362->SetBinContent(47,47621.43); h_SL1L362->SetBinContent(48,47864.29); h_SL1L362->SetBinContent(49,49914.29); h_SL1L362->SetBinContent(50,48621.43); h_SL1L362->SetBinContent(51,48100); h_SL1L362->SetBinContent(52,48207.14); h_SL1L362->SetBinContent(53,48121.43); h_SL1L362->SetBinContent(54,45792.86); h_SL1L362->SetBinContent(55,45400); h_SL1L362->SetBinContent(56,47471.43); h_SL1L362->SetMaximum(95055.71); 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,36264.29); h_SL1L463->SetBinContent(3,35707.14); h_SL1L463->SetBinContent(4,33371.43); h_SL1L463->SetBinContent(5,30242.86); h_SL1L463->SetBinContent(6,31678.57); h_SL1L463->SetBinContent(7,31357.14); h_SL1L463->SetBinContent(8,32778.57); h_SL1L463->SetBinContent(9,33742.86); h_SL1L463->SetBinContent(10,33707.14); h_SL1L463->SetBinContent(11,36971.43); h_SL1L463->SetBinContent(12,37971.43); h_SL1L463->SetBinContent(13,40278.57); h_SL1L463->SetBinContent(14,82657.14); h_SL1L463->SetBinContent(15,70021.43); h_SL1L463->SetBinContent(16,67578.57); h_SL1L463->SetBinContent(17,36342.86); h_SL1L463->SetBinContent(18,36257.14); h_SL1L463->SetBinContent(19,37128.57); h_SL1L463->SetBinContent(20,36635.71); h_SL1L463->SetBinContent(21,34821.43); h_SL1L463->SetBinContent(22,32850); h_SL1L463->SetBinContent(23,32842.86); h_SL1L463->SetBinContent(24,32600); h_SL1L463->SetBinContent(25,29785.71); h_SL1L463->SetBinContent(26,29900); h_SL1L463->SetBinContent(27,28385.71); h_SL1L463->SetBinContent(28,30521.43); h_SL1L463->SetBinContent(29,28421.43); h_SL1L463->SetBinContent(30,30028.57); h_SL1L463->SetBinContent(31,28950); h_SL1L463->SetBinContent(32,27564.29); h_SL1L463->SetBinContent(33,27592.86); h_SL1L463->SetBinContent(34,30664.29); h_SL1L463->SetBinContent(35,31650); h_SL1L463->SetBinContent(36,28021.43); h_SL1L463->SetBinContent(37,71.42857); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,24628.57); h_SL1L463->SetBinContent(42,25428.57); h_SL1L463->SetBinContent(43,25835.71); h_SL1L463->SetBinContent(44,25278.57); h_SL1L463->SetBinContent(45,22721.43); h_SL1L463->SetBinContent(46,24142.86); h_SL1L463->SetBinContent(47,22700); h_SL1L463->SetBinContent(48,22585.71); h_SL1L463->SetBinContent(49,21892.86); h_SL1L463->SetBinContent(50,24164.29); h_SL1L463->SetBinContent(51,23185.71); h_SL1L463->SetBinContent(52,23028.57); h_SL1L463->SetBinContent(53,22864.29); h_SL1L463->SetBinContent(54,21500); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,22992.86); h_SL1L463->SetMaximum(95055.71); 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 7618"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }