void RatesPerCell_Removing_noisy_cells_run_7684_SL1() { //=========Macro generated from canvas: c/c //========= (Thu Dec 27 12:29:58 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7473.276,67.5,67259.48); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7684",60,0,60); h_SL1L160->SetBinContent(1,3785.714); h_SL1L160->SetBinContent(2,4021.428); h_SL1L160->SetBinContent(3,3357.143); h_SL1L160->SetBinContent(4,3307.143); h_SL1L160->SetBinContent(5,2742.857); h_SL1L160->SetBinContent(6,2700); h_SL1L160->SetBinContent(7,2492.857); h_SL1L160->SetBinContent(8,2878.571); h_SL1L160->SetBinContent(9,2635.714); h_SL1L160->SetBinContent(10,2364.286); h_SL1L160->SetBinContent(11,2514.286); h_SL1L160->SetBinContent(12,2842.857); h_SL1L160->SetBinContent(13,3921.428); h_SL1L160->SetBinContent(14,3657.143); h_SL1L160->SetBinContent(15,3292.857); h_SL1L160->SetBinContent(16,2271.428); h_SL1L160->SetBinContent(17,1107.143); h_SL1L160->SetBinContent(18,992.8571); h_SL1L160->SetBinContent(19,1328.571); h_SL1L160->SetBinContent(20,1264.286); h_SL1L160->SetBinContent(21,935.7143); h_SL1L160->SetBinContent(22,1000); h_SL1L160->SetBinContent(23,950); h_SL1L160->SetBinContent(24,671.4286); h_SL1L160->SetBinContent(25,607.1428); h_SL1L160->SetBinContent(26,971.4286); h_SL1L160->SetBinContent(27,742.8571); h_SL1L160->SetBinContent(28,807.1428); h_SL1L160->SetBinContent(29,1000); h_SL1L160->SetBinContent(30,871.4286); h_SL1L160->SetBinContent(31,742.8571); h_SL1L160->SetBinContent(32,657.1428); h_SL1L160->SetBinContent(33,4585.714); h_SL1L160->SetBinContent(34,5764.286); h_SL1L160->SetBinContent(35,5678.571); h_SL1L160->SetBinContent(36,5228.571); h_SL1L160->SetBinContent(37,5142.857); h_SL1L160->SetBinContent(38,5592.857); h_SL1L160->SetBinContent(39,5264.286); h_SL1L160->SetBinContent(41,535.7143); h_SL1L160->SetBinContent(42,692.8571); h_SL1L160->SetBinContent(43,642.8571); h_SL1L160->SetBinContent(44,528.5714); h_SL1L160->SetBinContent(45,392.8571); h_SL1L160->SetBinContent(46,357.1429); h_SL1L160->SetBinContent(47,550); h_SL1L160->SetBinContent(48,428.5714); h_SL1L160->SetBinContent(49,442.8571); h_SL1L160->SetBinContent(50,514.2857); h_SL1L160->SetBinContent(51,514.2857); h_SL1L160->SetBinContent(52,578.5714); h_SL1L160->SetBinContent(53,592.8571); h_SL1L160->SetBinContent(54,642.8571); h_SL1L160->SetBinContent(55,735.7143); h_SL1L160->SetBinContent(56,928.5714); h_SL1L160->SetMaximum(59786.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,35485.71); h_SL1L261->SetBinContent(2,36221.43); h_SL1L261->SetBinContent(3,36778.57); h_SL1L261->SetBinContent(4,37650); h_SL1L261->SetBinContent(5,37507.14); h_SL1L261->SetBinContent(6,39364.29); h_SL1L261->SetBinContent(7,39064.29); h_SL1L261->SetBinContent(8,40507.14); h_SL1L261->SetBinContent(9,40285.71); h_SL1L261->SetBinContent(10,38921.43); h_SL1L261->SetBinContent(11,41535.71); h_SL1L261->SetBinContent(12,40721.43); h_SL1L261->SetBinContent(13,41114.29); h_SL1L261->SetBinContent(14,41314.29); h_SL1L261->SetBinContent(15,41842.86); h_SL1L261->SetBinContent(16,40278.57); h_SL1L261->SetBinContent(17,41892.86); h_SL1L261->SetBinContent(18,42985.71); h_SL1L261->SetBinContent(19,43621.43); h_SL1L261->SetBinContent(20,45000); h_SL1L261->SetBinContent(21,45207.14); h_SL1L261->SetBinContent(22,42785.71); h_SL1L261->SetBinContent(23,40964.29); h_SL1L261->SetBinContent(24,40350); h_SL1L261->SetBinContent(25,42457.14); h_SL1L261->SetBinContent(26,39007.14); h_SL1L261->SetBinContent(27,38392.86); h_SL1L261->SetBinContent(28,42014.29); h_SL1L261->SetBinContent(29,43528.57); h_SL1L261->SetBinContent(30,43035.71); h_SL1L261->SetBinContent(31,42985.71); h_SL1L261->SetBinContent(32,41200); h_SL1L261->SetBinContent(33,41028.57); h_SL1L261->SetBinContent(34,40778.57); h_SL1L261->SetBinContent(35,40342.86); h_SL1L261->SetBinContent(36,40128.57); h_SL1L261->SetBinContent(37,42500); h_SL1L261->SetBinContent(38,43785.71); h_SL1L261->SetBinContent(39,42242.86); h_SL1L261->SetBinContent(40,40921.43); h_SL1L261->SetBinContent(41,42485.71); h_SL1L261->SetBinContent(42,42428.57); h_SL1L261->SetBinContent(43,42578.57); h_SL1L261->SetBinContent(44,40207.14); h_SL1L261->SetBinContent(45,41085.71); h_SL1L261->SetBinContent(46,41821.43); h_SL1L261->SetBinContent(47,40314.29); h_SL1L261->SetBinContent(48,41757.14); h_SL1L261->SetBinContent(49,44585.71); h_SL1L261->SetBinContent(50,42871.43); h_SL1L261->SetBinContent(51,41071.43); h_SL1L261->SetBinContent(52,40564.29); h_SL1L261->SetBinContent(53,41957.14); h_SL1L261->SetBinContent(54,42064.29); h_SL1L261->SetBinContent(55,41242.86); h_SL1L261->SetBinContent(56,40142.86); h_SL1L261->SetMaximum(51988.21); 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,33921.43); h_SL1L362->SetBinContent(2,35764.29); h_SL1L362->SetBinContent(3,36514.29); h_SL1L362->SetBinContent(4,37700); h_SL1L362->SetBinContent(5,38557.14); h_SL1L362->SetBinContent(6,38114.29); h_SL1L362->SetBinContent(7,37978.57); h_SL1L362->SetBinContent(8,40250); h_SL1L362->SetBinContent(9,38842.86); h_SL1L362->SetBinContent(10,39400); h_SL1L362->SetBinContent(11,40614.29); h_SL1L362->SetBinContent(12,41378.57); h_SL1L362->SetBinContent(13,40921.43); h_SL1L362->SetBinContent(14,40192.86); h_SL1L362->SetBinContent(15,39564.29); h_SL1L362->SetBinContent(16,40857.14); h_SL1L362->SetBinContent(17,41135.71); h_SL1L362->SetBinContent(18,44514.29); h_SL1L362->SetBinContent(19,42978.57); h_SL1L362->SetBinContent(20,44050); h_SL1L362->SetBinContent(21,43728.57); h_SL1L362->SetBinContent(22,41750); h_SL1L362->SetBinContent(23,39814.29); h_SL1L362->SetBinContent(24,41435.71); h_SL1L362->SetBinContent(25,38678.57); h_SL1L362->SetBinContent(26,38342.86); h_SL1L362->SetBinContent(27,39242.86); h_SL1L362->SetBinContent(28,41671.43); h_SL1L362->SetBinContent(29,41907.14); h_SL1L362->SetBinContent(30,41892.86); h_SL1L362->SetBinContent(31,41700); h_SL1L362->SetBinContent(32,39985.71); h_SL1L362->SetBinContent(33,39771.43); h_SL1L362->SetBinContent(34,40264.29); h_SL1L362->SetBinContent(35,38485.71); h_SL1L362->SetBinContent(36,41900); h_SL1L362->SetBinContent(37,44121.43); h_SL1L362->SetBinContent(38,42664.29); h_SL1L362->SetBinContent(39,41600); h_SL1L362->SetBinContent(40,39907.14); h_SL1L362->SetBinContent(41,41571.43); h_SL1L362->SetBinContent(42,41614.29); h_SL1L362->SetBinContent(43,39850); h_SL1L362->SetBinContent(44,38542.86); h_SL1L362->SetBinContent(45,40571.43); h_SL1L362->SetBinContent(46,40628.57); h_SL1L362->SetBinContent(47,40114.29); h_SL1L362->SetBinContent(48,41200); h_SL1L362->SetBinContent(49,40935.71); h_SL1L362->SetBinContent(50,41057.14); h_SL1L362->SetBinContent(51,40221.43); h_SL1L362->SetBinContent(52,40757.14); h_SL1L362->SetBinContent(53,41428.57); h_SL1L362->SetBinContent(54,40100); h_SL1L362->SetBinContent(55,39150); h_SL1L362->SetBinContent(56,39842.86); h_SL1L362->SetMaximum(51988.21); 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,31385.71); h_SL1L463->SetBinContent(3,29850); h_SL1L463->SetBinContent(4,30535.71); h_SL1L463->SetBinContent(5,29671.43); h_SL1L463->SetBinContent(6,29792.86); h_SL1L463->SetBinContent(7,30171.43); h_SL1L463->SetBinContent(8,31857.14); h_SL1L463->SetBinContent(9,31871.43); h_SL1L463->SetBinContent(10,33485.71); h_SL1L463->SetBinContent(11,35207.14); h_SL1L463->SetBinContent(12,35921.43); h_SL1L463->SetBinContent(13,36114.29); h_SL1L463->SetBinContent(14,37635.71); h_SL1L463->SetBinContent(15,37078.57); h_SL1L463->SetBinContent(16,35207.14); h_SL1L463->SetBinContent(17,34407.14); h_SL1L463->SetBinContent(18,35685.71); h_SL1L463->SetBinContent(19,35400); h_SL1L463->SetBinContent(20,34700); h_SL1L463->SetBinContent(21,35078.57); h_SL1L463->SetBinContent(22,32271.43); h_SL1L463->SetBinContent(23,30735.71); h_SL1L463->SetBinContent(24,31335.71); h_SL1L463->SetBinContent(25,29528.57); h_SL1L463->SetBinContent(26,29328.57); h_SL1L463->SetBinContent(27,28028.57); h_SL1L463->SetBinContent(28,29464.29); h_SL1L463->SetBinContent(29,29464.29); h_SL1L463->SetBinContent(30,30578.57); h_SL1L463->SetBinContent(31,29157.14); h_SL1L463->SetBinContent(32,27821.43); h_SL1L463->SetBinContent(33,25521.43); h_SL1L463->SetBinContent(34,28864.29); h_SL1L463->SetBinContent(35,30142.86); h_SL1L463->SetBinContent(36,26514.29); h_SL1L463->SetBinContent(37,7085.714); h_SL1L463->SetBinContent(38,21.42857); h_SL1L463->SetBinContent(41,23607.14); h_SL1L463->SetBinContent(42,25771.43); h_SL1L463->SetBinContent(43,25521.43); h_SL1L463->SetBinContent(44,25078.57); h_SL1L463->SetBinContent(45,21807.14); h_SL1L463->SetBinContent(46,23307.14); h_SL1L463->SetBinContent(47,22942.86); h_SL1L463->SetBinContent(48,21900); h_SL1L463->SetBinContent(49,21628.57); h_SL1L463->SetBinContent(50,23457.14); h_SL1L463->SetBinContent(51,22757.14); h_SL1L463->SetBinContent(52,23392.86); h_SL1L463->SetBinContent(53,24050); h_SL1L463->SetBinContent(54,22771.43); h_SL1L463->SetBinContent(56,24157.14); h_SL1L463->SetMaximum(51988.21); 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 7684"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }