void RatesPerCell_Removing_noisy_cells_run_6283_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1542.006,67.5,13878.06); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6283",60,0,60); h_SL1L160->SetBinContent(1,5264.286); h_SL1L160->SetBinContent(2,5457.143); h_SL1L160->SetBinContent(3,4992.857); h_SL1L160->SetBinContent(4,5042.857); h_SL1L160->SetBinContent(5,4457.143); h_SL1L160->SetBinContent(6,4914.286); h_SL1L160->SetBinContent(7,4371.429); h_SL1L160->SetBinContent(8,4714.286); h_SL1L160->SetBinContent(9,4621.429); h_SL1L160->SetBinContent(10,4942.857); h_SL1L160->SetBinContent(11,4742.857); h_SL1L160->SetBinContent(12,4671.429); h_SL1L160->SetBinContent(13,4742.857); h_SL1L160->SetBinContent(14,4114.286); h_SL1L160->SetBinContent(15,3978.571); h_SL1L160->SetBinContent(16,3707.143); h_SL1L160->SetBinContent(17,3364.286); h_SL1L160->SetBinContent(18,4128.571); h_SL1L160->SetBinContent(19,3871.428); h_SL1L160->SetBinContent(20,3900); h_SL1L160->SetBinContent(21,4035.714); h_SL1L160->SetBinContent(22,3664.286); h_SL1L160->SetBinContent(23,3757.143); h_SL1L160->SetBinContent(24,3578.571); h_SL1L160->SetBinContent(25,3114.286); h_SL1L160->SetBinContent(26,3250); h_SL1L160->SetBinContent(27,3457.143); h_SL1L160->SetBinContent(28,3342.857); h_SL1L160->SetBinContent(29,3778.571); h_SL1L160->SetBinContent(30,3528.571); h_SL1L160->SetBinContent(31,3378.571); h_SL1L160->SetBinContent(32,3350); h_SL1L160->SetBinContent(33,3521.428); h_SL1L160->SetBinContent(34,3592.857); h_SL1L160->SetBinContent(35,3385.714); h_SL1L160->SetBinContent(36,3621.428); h_SL1L160->SetBinContent(37,3814.286); h_SL1L160->SetBinContent(38,3621.428); h_SL1L160->SetBinContent(39,3214.286); h_SL1L160->SetBinContent(40,3021.428); h_SL1L160->SetBinContent(41,3242.857); h_SL1L160->SetBinContent(42,3435.714); h_SL1L160->SetBinContent(43,3435.714); h_SL1L160->SetBinContent(44,3314.286); h_SL1L160->SetBinContent(45,2985.714); h_SL1L160->SetBinContent(46,2635.714); h_SL1L160->SetBinContent(47,2992.857); h_SL1L160->SetBinContent(48,2821.428); h_SL1L160->SetBinContent(49,2850); h_SL1L160->SetBinContent(50,3071.428); h_SL1L160->SetBinContent(51,2900); h_SL1L160->SetBinContent(52,3092.857); h_SL1L160->SetBinContent(53,2671.428); h_SL1L160->SetBinContent(54,2814.286); h_SL1L160->SetBinContent(55,2885.714); h_SL1L160->SetBinContent(56,2864.286); h_SL1L160->SetBinContent(57,3835.714); h_SL1L160->SetBinContent(58,4114.286); h_SL1L160->SetBinContent(59,4321.429); h_SL1L160->SetMaximum(12336.05); 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,8057.143); h_SL1L261->SetBinContent(2,8185.714); h_SL1L261->SetBinContent(3,8392.857); h_SL1L261->SetBinContent(4,8535.714); h_SL1L261->SetBinContent(5,8192.857); h_SL1L261->SetBinContent(6,8407.143); h_SL1L261->SetBinContent(7,8221.429); h_SL1L261->SetBinContent(8,8314.285); h_SL1L261->SetBinContent(9,8000); h_SL1L261->SetBinContent(10,8464.285); h_SL1L261->SetBinContent(11,8507.143); h_SL1L261->SetBinContent(12,8435.714); h_SL1L261->SetBinContent(13,9135.714); h_SL1L261->SetBinContent(14,8707.143); h_SL1L261->SetBinContent(15,8414.285); h_SL1L261->SetBinContent(16,8221.429); h_SL1L261->SetBinContent(17,7200); h_SL1L261->SetBinContent(18,8557.143); h_SL1L261->SetBinContent(19,8407.143); h_SL1L261->SetBinContent(20,8500); h_SL1L261->SetBinContent(21,8492.857); h_SL1L261->SetBinContent(22,9328.571); h_SL1L261->SetBinContent(23,9071.429); h_SL1L261->SetBinContent(24,9235.714); h_SL1L261->SetBinContent(25,7928.571); h_SL1L261->SetBinContent(26,7892.857); h_SL1L261->SetBinContent(27,7328.571); h_SL1L261->SetBinContent(28,7321.429); h_SL1L261->SetBinContent(29,8371.429); h_SL1L261->SetBinContent(30,8592.857); h_SL1L261->SetBinContent(31,8157.143); h_SL1L261->SetBinContent(32,8492.857); h_SL1L261->SetBinContent(33,8428.571); h_SL1L261->SetBinContent(34,8685.714); h_SL1L261->SetBinContent(35,8250); h_SL1L261->SetBinContent(36,7864.286); h_SL1L261->SetBinContent(37,7671.429); h_SL1L261->SetBinContent(38,8042.857); h_SL1L261->SetBinContent(39,7507.143); h_SL1L261->SetBinContent(40,8100); h_SL1L261->SetBinContent(41,7914.286); h_SL1L261->SetBinContent(42,8050); h_SL1L261->SetBinContent(43,8414.285); h_SL1L261->SetBinContent(44,8028.571); h_SL1L261->SetBinContent(45,7835.714); h_SL1L261->SetBinContent(46,8092.857); h_SL1L261->SetBinContent(47,7342.857); h_SL1L261->SetBinContent(48,7728.571); h_SL1L261->SetBinContent(49,8128.571); h_SL1L261->SetBinContent(50,8350); h_SL1L261->SetBinContent(51,7628.571); h_SL1L261->SetBinContent(52,8007.143); h_SL1L261->SetBinContent(53,7557.143); h_SL1L261->SetBinContent(54,7357.143); h_SL1L261->SetBinContent(55,7278.571); h_SL1L261->SetBinContent(56,7671.429); h_SL1L261->SetBinContent(57,7200); h_SL1L261->SetBinContent(58,7078.571); h_SL1L261->SetBinContent(59,7242.857); h_SL1L261->SetMaximum(10727.86); 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,7642.857); h_SL1L362->SetBinContent(2,8028.571); h_SL1L362->SetBinContent(3,8178.571); h_SL1L362->SetBinContent(4,8507.143); h_SL1L362->SetBinContent(5,8021.429); h_SL1L362->SetBinContent(6,8207.143); h_SL1L362->SetBinContent(7,8492.857); h_SL1L362->SetBinContent(8,8935.714); h_SL1L362->SetBinContent(9,7935.714); h_SL1L362->SetBinContent(10,8221.429); h_SL1L362->SetBinContent(11,8678.571); h_SL1L362->SetBinContent(12,8635.714); h_SL1L362->SetBinContent(13,8928.571); h_SL1L362->SetBinContent(14,8214.285); h_SL1L362->SetBinContent(15,8357.143); h_SL1L362->SetBinContent(16,7907.143); h_SL1L362->SetBinContent(17,7814.286); h_SL1L362->SetBinContent(18,8064.286); h_SL1L362->SetBinContent(19,7978.571); h_SL1L362->SetBinContent(20,8035.714); h_SL1L362->SetBinContent(21,8050); h_SL1L362->SetBinContent(22,8421.429); h_SL1L362->SetBinContent(23,8328.571); h_SL1L362->SetBinContent(24,8192.857); h_SL1L362->SetBinContent(25,7407.143); h_SL1L362->SetBinContent(26,7035.714); h_SL1L362->SetBinContent(27,7564.286); h_SL1L362->SetBinContent(28,7835.714); h_SL1L362->SetBinContent(29,8621.429); h_SL1L362->SetBinContent(30,8564.285); h_SL1L362->SetBinContent(31,8007.143); h_SL1L362->SetBinContent(32,8428.571); h_SL1L362->SetBinContent(33,7892.857); h_SL1L362->SetBinContent(34,8171.429); h_SL1L362->SetBinContent(35,8100); h_SL1L362->SetBinContent(36,7050); h_SL1L362->SetBinContent(37,7671.429); h_SL1L362->SetBinContent(38,7392.857); h_SL1L362->SetBinContent(39,8414.285); h_SL1L362->SetBinContent(40,7564.286); h_SL1L362->SetBinContent(41,7714.286); h_SL1L362->SetBinContent(42,7964.286); h_SL1L362->SetBinContent(43,7421.429); h_SL1L362->SetBinContent(44,8042.857); h_SL1L362->SetBinContent(45,7700); h_SL1L362->SetBinContent(46,8371.429); h_SL1L362->SetBinContent(47,8000); h_SL1L362->SetBinContent(48,7450); h_SL1L362->SetBinContent(49,7642.857); h_SL1L362->SetBinContent(50,7450); h_SL1L362->SetBinContent(51,7792.857); h_SL1L362->SetBinContent(52,7157.143); h_SL1L362->SetBinContent(53,6950); h_SL1L362->SetBinContent(54,7400); h_SL1L362->SetBinContent(55,7092.857); h_SL1L362->SetBinContent(56,7071.429); h_SL1L362->SetBinContent(57,7314.286); h_SL1L362->SetBinContent(58,7021.429); h_SL1L362->SetBinContent(59,6921.429); h_SL1L362->SetMaximum(10727.86); 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,4914.286); h_SL1L463->SetBinContent(3,4392.857); h_SL1L463->SetBinContent(4,4364.286); h_SL1L463->SetBinContent(5,4328.571); h_SL1L463->SetBinContent(6,4100); h_SL1L463->SetBinContent(7,4021.428); h_SL1L463->SetBinContent(8,4614.286); h_SL1L463->SetBinContent(9,4621.429); h_SL1L463->SetBinContent(10,5028.571); h_SL1L463->SetBinContent(11,4892.857); h_SL1L463->SetBinContent(12,5464.286); h_SL1L463->SetBinContent(13,4735.714); h_SL1L463->SetBinContent(14,5421.429); h_SL1L463->SetBinContent(15,4728.571); h_SL1L463->SetBinContent(16,4757.143); h_SL1L463->SetBinContent(17,4114.286); h_SL1L463->SetBinContent(18,4307.143); h_SL1L463->SetBinContent(19,4278.571); h_SL1L463->SetBinContent(20,4142.857); h_SL1L463->SetBinContent(21,4292.857); h_SL1L463->SetBinContent(22,4350); h_SL1L463->SetBinContent(23,4121.429); h_SL1L463->SetBinContent(24,4085.714); h_SL1L463->SetBinContent(25,3814.286); h_SL1L463->SetBinContent(26,3850); h_SL1L463->SetBinContent(27,3742.857); h_SL1L463->SetBinContent(28,3764.286); h_SL1L463->SetBinContent(29,4057.143); h_SL1L463->SetBinContent(30,4128.571); h_SL1L463->SetBinContent(31,3964.286); h_SL1L463->SetBinContent(32,3485.714); h_SL1L463->SetBinContent(33,3442.857); h_SL1L463->SetBinContent(34,3350); h_SL1L463->SetBinContent(35,3535.714); h_SL1L463->SetBinContent(36,3142.857); h_SL1L463->SetBinContent(37,2857.143); h_SL1L463->SetBinContent(38,3228.571); h_SL1L463->SetBinContent(39,3228.571); h_SL1L463->SetBinContent(40,2807.143); h_SL1L463->SetBinContent(41,2700); h_SL1L463->SetBinContent(42,3178.571); h_SL1L463->SetBinContent(43,3192.857); h_SL1L463->SetBinContent(44,2907.143); h_SL1L463->SetBinContent(45,2707.143); h_SL1L463->SetBinContent(46,2814.286); h_SL1L463->SetBinContent(47,2578.571); h_SL1L463->SetBinContent(48,2621.428); h_SL1L463->SetBinContent(49,2585.714); h_SL1L463->SetBinContent(50,2457.143); h_SL1L463->SetBinContent(51,2771.428); h_SL1L463->SetBinContent(52,2771.428); h_SL1L463->SetBinContent(53,2942.857); h_SL1L463->SetBinContent(54,2678.571); h_SL1L463->SetBinContent(56,2785.714); h_SL1L463->SetBinContent(57,3142.857); h_SL1L463->SetBinContent(58,3885.714); h_SL1L463->SetBinContent(59,3885.714); h_SL1L463->SetMaximum(10727.86); 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 6283"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }