void RatesPerCell_Removing_noisy_cells_run_6442_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:48:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3003.369,67.5,27030.32); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6442",60,0,60); h_SL1L160->SetBinContent(1,3721.428); h_SL1L160->SetBinContent(2,4585.714); h_SL1L160->SetBinContent(3,5010.714); h_SL1L160->SetBinContent(4,5650); h_SL1L160->SetBinContent(5,5557.143); h_SL1L160->SetBinContent(6,5967.857); h_SL1L160->SetBinContent(7,5642.857); h_SL1L160->SetBinContent(8,5750); h_SL1L160->SetBinContent(9,6307.143); h_SL1L160->SetBinContent(10,6210.714); h_SL1L160->SetBinContent(11,6360.714); h_SL1L160->SetBinContent(12,6103.571); h_SL1L160->SetBinContent(13,6492.857); h_SL1L160->SetBinContent(14,6482.143); h_SL1L160->SetBinContent(15,6014.286); h_SL1L160->SetBinContent(16,6142.857); h_SL1L160->SetBinContent(17,6660.714); h_SL1L160->SetBinContent(18,6542.857); h_SL1L160->SetBinContent(19,6257.143); h_SL1L160->SetBinContent(20,5971.429); h_SL1L160->SetBinContent(21,6771.429); h_SL1L160->SetBinContent(22,6782.143); h_SL1L160->SetBinContent(23,6464.286); h_SL1L160->SetBinContent(24,6392.857); h_SL1L160->SetBinContent(25,6485.714); h_SL1L160->SetBinContent(26,6728.571); h_SL1L160->SetBinContent(27,6617.857); h_SL1L160->SetBinContent(28,6675); h_SL1L160->SetBinContent(29,6775); h_SL1L160->SetBinContent(30,7092.857); h_SL1L160->SetBinContent(31,6646.429); h_SL1L160->SetBinContent(32,6460.714); h_SL1L160->SetBinContent(33,7125); h_SL1L160->SetBinContent(34,7067.857); h_SL1L160->SetBinContent(35,6796.429); h_SL1L160->SetBinContent(36,6442.857); h_SL1L160->SetBinContent(37,7067.857); h_SL1L160->SetBinContent(38,7314.286); h_SL1L160->SetBinContent(39,6750); h_SL1L160->SetBinContent(40,6532.143); h_SL1L160->SetBinContent(41,6842.857); h_SL1L160->SetBinContent(42,7503.571); h_SL1L160->SetBinContent(43,6571.429); h_SL1L160->SetBinContent(44,6842.857); h_SL1L160->SetBinContent(45,6435.714); h_SL1L160->SetBinContent(46,6760.714); h_SL1L160->SetBinContent(47,5460.714); h_SL1L160->SetBinContent(48,5160.714); h_SL1L160->SetBinContent(49,5535.714); h_SL1L160->SetBinContent(50,5557.143); h_SL1L160->SetBinContent(51,5128.571); h_SL1L160->SetBinContent(52,4850); h_SL1L160->SetBinContent(53,5107.143); h_SL1L160->SetBinContent(54,4582.143); h_SL1L160->SetBinContent(55,4271.429); h_SL1L160->SetBinContent(56,3982.143); h_SL1L160->SetBinContent(57,3935.714); h_SL1L160->SetBinContent(58,3582.143); h_SL1L160->SetBinContent(59,3400); h_SL1L160->SetMaximum(24026.95); 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,3975); h_SL1L261->SetBinContent(2,4667.857); h_SL1L261->SetBinContent(3,5371.429); h_SL1L261->SetBinContent(4,6346.429); h_SL1L261->SetBinContent(5,7321.429); h_SL1L261->SetBinContent(6,7592.857); h_SL1L261->SetBinContent(7,7689.286); h_SL1L261->SetBinContent(8,7614.286); h_SL1L261->SetBinContent(9,8185.714); h_SL1L261->SetBinContent(10,8285.714); h_SL1L261->SetBinContent(11,7935.714); h_SL1L261->SetBinContent(12,8150); h_SL1L261->SetBinContent(13,8196.429); h_SL1L261->SetBinContent(14,8460.714); h_SL1L261->SetBinContent(15,7835.714); h_SL1L261->SetBinContent(16,7917.857); h_SL1L261->SetBinContent(17,8121.429); h_SL1L261->SetBinContent(18,8639.285); h_SL1L261->SetBinContent(19,8182.143); h_SL1L261->SetBinContent(20,8121.429); h_SL1L261->SetBinContent(21,8246.429); h_SL1L261->SetBinContent(22,8775); h_SL1L261->SetBinContent(23,8392.857); h_SL1L261->SetBinContent(24,8478.571); h_SL1L261->SetBinContent(25,9032.143); h_SL1L261->SetBinContent(26,8950); h_SL1L261->SetBinContent(27,8253.571); h_SL1L261->SetBinContent(28,9560.714); h_SL1L261->SetBinContent(29,8671.429); h_SL1L261->SetBinContent(30,9196.429); h_SL1L261->SetBinContent(31,8796.429); h_SL1L261->SetBinContent(32,8650); h_SL1L261->SetBinContent(33,18167.86); h_SL1L261->SetBinContent(34,9375); h_SL1L261->SetBinContent(35,8828.571); h_SL1L261->SetBinContent(36,8671.429); h_SL1L261->SetBinContent(37,8778.571); h_SL1L261->SetBinContent(38,9100); h_SL1L261->SetBinContent(39,8464.285); h_SL1L261->SetBinContent(40,8542.857); h_SL1L261->SetBinContent(41,8664.285); h_SL1L261->SetBinContent(42,8989.285); h_SL1L261->SetBinContent(43,8735.714); h_SL1L261->SetBinContent(44,8342.857); h_SL1L261->SetBinContent(45,8832.143); h_SL1L261->SetBinContent(46,9507.143); h_SL1L261->SetBinContent(47,8364.285); h_SL1L261->SetBinContent(48,7464.286); h_SL1L261->SetBinContent(49,7682.143); h_SL1L261->SetBinContent(50,7878.571); h_SL1L261->SetBinContent(51,7032.143); h_SL1L261->SetBinContent(52,7235.714); h_SL1L261->SetBinContent(53,7560.714); h_SL1L261->SetBinContent(54,7360.714); h_SL1L261->SetBinContent(55,6396.429); h_SL1L261->SetBinContent(56,6010.714); h_SL1L261->SetBinContent(57,5942.857); h_SL1L261->SetBinContent(58,5064.286); h_SL1L261->SetBinContent(59,4539.286); h_SL1L261->SetMaximum(20893.04); 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,4235.714); h_SL1L362->SetBinContent(2,4825); h_SL1L362->SetBinContent(3,5835.714); h_SL1L362->SetBinContent(4,7003.571); h_SL1L362->SetBinContent(5,7657.143); h_SL1L362->SetBinContent(6,7600); h_SL1L362->SetBinContent(7,7760.714); h_SL1L362->SetBinContent(8,7853.571); h_SL1L362->SetBinContent(9,8353.571); h_SL1L362->SetBinContent(10,8200); h_SL1L362->SetBinContent(11,8000); h_SL1L362->SetBinContent(12,8364.285); h_SL1L362->SetBinContent(13,8550); h_SL1L362->SetBinContent(14,8053.571); h_SL1L362->SetBinContent(15,7800); h_SL1L362->SetBinContent(16,8257.143); h_SL1L362->SetBinContent(17,8503.571); h_SL1L362->SetBinContent(18,8378.571); h_SL1L362->SetBinContent(19,7985.714); h_SL1L362->SetBinContent(20,8278.571); h_SL1L362->SetBinContent(21,8721.429); h_SL1L362->SetBinContent(22,8264.285); h_SL1L362->SetBinContent(23,8489.285); h_SL1L362->SetBinContent(24,8867.857); h_SL1L362->SetBinContent(25,8907.143); h_SL1L362->SetBinContent(26,8310.714); h_SL1L362->SetBinContent(27,8375); h_SL1L362->SetBinContent(28,8860.714); h_SL1L362->SetBinContent(29,9192.857); h_SL1L362->SetBinContent(30,8921.429); h_SL1L362->SetBinContent(31,8417.857); h_SL1L362->SetBinContent(32,8846.429); h_SL1L362->SetBinContent(33,9507.143); h_SL1L362->SetBinContent(34,9150); h_SL1L362->SetBinContent(35,8621.429); h_SL1L362->SetBinContent(36,8807.143); h_SL1L362->SetBinContent(37,9307.143); h_SL1L362->SetBinContent(38,8600); h_SL1L362->SetBinContent(39,8321.429); h_SL1L362->SetBinContent(40,8721.429); h_SL1L362->SetBinContent(41,8692.857); h_SL1L362->SetBinContent(42,8842.857); h_SL1L362->SetBinContent(43,8503.571); h_SL1L362->SetBinContent(44,8778.571); h_SL1L362->SetBinContent(45,9060.714); h_SL1L362->SetBinContent(46,9314.285); h_SL1L362->SetBinContent(47,7607.143); h_SL1L362->SetBinContent(48,7639.286); h_SL1L362->SetBinContent(49,7775); h_SL1L362->SetBinContent(50,7442.857); h_SL1L362->SetBinContent(51,7003.571); h_SL1L362->SetBinContent(52,7507.143); h_SL1L362->SetBinContent(53,7582.143); h_SL1L362->SetBinContent(54,6746.429); h_SL1L362->SetBinContent(55,6196.429); h_SL1L362->SetBinContent(56,6353.571); h_SL1L362->SetBinContent(57,5500); h_SL1L362->SetBinContent(58,4778.571); h_SL1L362->SetBinContent(59,4117.857); h_SL1L362->SetMaximum(20893.04); 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,4007.143); h_SL1L463->SetBinContent(3,4671.429); h_SL1L463->SetBinContent(4,4842.857); h_SL1L463->SetBinContent(5,6017.857); h_SL1L463->SetBinContent(6,6217.857); h_SL1L463->SetBinContent(7,6242.857); h_SL1L463->SetBinContent(8,6742.857); h_SL1L463->SetBinContent(9,6978.571); h_SL1L463->SetBinContent(10,6910.714); h_SL1L463->SetBinContent(11,6400); h_SL1L463->SetBinContent(12,6907.143); h_SL1L463->SetBinContent(13,7110.714); h_SL1L463->SetBinContent(14,7278.571); h_SL1L463->SetBinContent(15,6342.857); h_SL1L463->SetBinContent(16,6639.286); h_SL1L463->SetBinContent(17,7042.857); h_SL1L463->SetBinContent(18,6642.857); h_SL1L463->SetBinContent(19,6207.143); h_SL1L463->SetBinContent(20,6164.286); h_SL1L463->SetBinContent(21,6460.714); h_SL1L463->SetBinContent(22,6546.429); h_SL1L463->SetBinContent(23,5689.286); h_SL1L463->SetBinContent(24,6628.571); h_SL1L463->SetBinContent(25,6353.571); h_SL1L463->SetBinContent(26,6582.143); h_SL1L463->SetBinContent(27,6150); h_SL1L463->SetBinContent(28,6857.143); h_SL1L463->SetBinContent(29,6667.857); h_SL1L463->SetBinContent(30,7142.857); h_SL1L463->SetBinContent(31,6778.571); h_SL1L463->SetBinContent(32,6871.429); h_SL1L463->SetBinContent(33,7250); h_SL1L463->SetBinContent(34,8007.143); h_SL1L463->SetBinContent(35,7228.571); h_SL1L463->SetBinContent(36,7692.857); h_SL1L463->SetBinContent(37,7507.143); h_SL1L463->SetBinContent(38,7592.857); h_SL1L463->SetBinContent(39,7092.857); h_SL1L463->SetBinContent(40,7264.286); h_SL1L463->SetBinContent(41,7789.286); h_SL1L463->SetBinContent(42,7703.571); h_SL1L463->SetBinContent(43,7275); h_SL1L463->SetBinContent(44,7610.714); h_SL1L463->SetBinContent(45,7982.143); h_SL1L463->SetBinContent(46,8407.143); h_SL1L463->SetBinContent(47,7378.571); h_SL1L463->SetBinContent(48,7085.714); h_SL1L463->SetBinContent(49,6739.286); h_SL1L463->SetBinContent(50,6414.286); h_SL1L463->SetBinContent(51,5846.429); h_SL1L463->SetBinContent(52,5907.143); h_SL1L463->SetBinContent(53,6339.286); h_SL1L463->SetBinContent(54,5700); h_SL1L463->SetBinContent(55,3.571429); h_SL1L463->SetBinContent(56,4857.143); h_SL1L463->SetBinContent(57,4132.143); h_SL1L463->SetBinContent(58,4071.428); h_SL1L463->SetBinContent(59,3592.857); h_SL1L463->SetMaximum(20893.04); 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 6442"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }