void RatesPerCell_Removing_noisy_cells_run_5923_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:57:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2105.938,67.5,18953.44); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5923",60,0,60); h_SL1L160->SetBinContent(1,9092.857); h_SL1L160->SetBinContent(2,9889.285); h_SL1L160->SetBinContent(3,9882.143); h_SL1L160->SetBinContent(4,10175); h_SL1L160->SetBinContent(5,10075); h_SL1L160->SetBinContent(6,10114.29); h_SL1L160->SetBinContent(7,9739.285); h_SL1L160->SetBinContent(8,10460.71); h_SL1L160->SetBinContent(9,10667.86); h_SL1L160->SetBinContent(10,10778.57); h_SL1L160->SetBinContent(11,11475); h_SL1L160->SetBinContent(12,11721.43); h_SL1L160->SetBinContent(13,11100); h_SL1L160->SetBinContent(14,11214.29); h_SL1L160->SetBinContent(15,10325); h_SL1L160->SetBinContent(16,10000); h_SL1L160->SetBinContent(17,9771.429); h_SL1L160->SetBinContent(18,10875); h_SL1L160->SetBinContent(19,10917.86); h_SL1L160->SetBinContent(20,10889.29); h_SL1L160->SetBinContent(21,11035.71); h_SL1L160->SetBinContent(22,11657.14); h_SL1L160->SetBinContent(23,11053.57); h_SL1L160->SetBinContent(24,10853.57); h_SL1L160->SetBinContent(25,10217.86); h_SL1L160->SetBinContent(26,9667.857); h_SL1L160->SetBinContent(27,9732.143); h_SL1L160->SetBinContent(28,10182.14); h_SL1L160->SetBinContent(29,10728.57); h_SL1L160->SetBinContent(30,10282.14); h_SL1L160->SetBinContent(31,10567.86); h_SL1L160->SetBinContent(32,10203.57); h_SL1L160->SetBinContent(33,10939.29); h_SL1L160->SetBinContent(34,11060.71); h_SL1L160->SetBinContent(35,11082.14); h_SL1L160->SetBinContent(36,11235.71); h_SL1L160->SetBinContent(37,10960.71); h_SL1L160->SetBinContent(38,10900); h_SL1L160->SetBinContent(39,10353.57); h_SL1L160->SetBinContent(40,10392.86); h_SL1L160->SetBinContent(41,10439.29); h_SL1L160->SetBinContent(42,10846.43); h_SL1L160->SetBinContent(43,10814.29); h_SL1L160->SetBinContent(44,10882.14); h_SL1L160->SetBinContent(45,10339.29); h_SL1L160->SetBinContent(46,10471.43); h_SL1L160->SetBinContent(47,10239.29); h_SL1L160->SetBinContent(48,10453.57); h_SL1L160->SetBinContent(49,10850); h_SL1L160->SetBinContent(50,10982.14); h_SL1L160->SetBinContent(51,10542.86); h_SL1L160->SetBinContent(52,10557.14); h_SL1L160->SetBinContent(53,10907.14); h_SL1L160->SetBinContent(54,10403.57); h_SL1L160->SetBinContent(55,10467.86); h_SL1L160->SetBinContent(56,10632.14); h_SL1L160->SetBinContent(57,11471.43); h_SL1L160->SetBinContent(58,11742.86); h_SL1L160->SetBinContent(59,11782.14); h_SL1L160->SetMaximum(16847.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,9246.429); h_SL1L261->SetBinContent(2,9725); h_SL1L261->SetBinContent(3,10128.57); h_SL1L261->SetBinContent(4,10100); h_SL1L261->SetBinContent(5,10157.14); h_SL1L261->SetBinContent(6,10739.29); h_SL1L261->SetBinContent(7,10960.71); h_SL1L261->SetBinContent(8,11103.57); h_SL1L261->SetBinContent(9,11103.57); h_SL1L261->SetBinContent(10,10992.86); h_SL1L261->SetBinContent(11,12042.86); h_SL1L261->SetBinContent(12,11957.14); h_SL1L261->SetBinContent(13,12057.14); h_SL1L261->SetBinContent(14,11675); h_SL1L261->SetBinContent(15,11800); h_SL1L261->SetBinContent(16,11078.57); h_SL1L261->SetBinContent(17,10421.43); h_SL1L261->SetBinContent(18,11528.57); h_SL1L261->SetBinContent(19,11760.71); h_SL1L261->SetBinContent(20,11675); h_SL1L261->SetBinContent(21,11989.29); h_SL1L261->SetBinContent(22,12739.29); h_SL1L261->SetBinContent(23,12264.29); h_SL1L261->SetBinContent(24,12014.29); h_SL1L261->SetBinContent(25,11771.43); h_SL1L261->SetBinContent(26,11114.29); h_SL1L261->SetBinContent(27,10792.86); h_SL1L261->SetBinContent(28,11182.14); h_SL1L261->SetBinContent(29,12053.57); h_SL1L261->SetBinContent(30,11228.57); h_SL1L261->SetBinContent(31,11425); h_SL1L261->SetBinContent(32,11664.29); h_SL1L261->SetBinContent(33,12342.86); h_SL1L261->SetBinContent(34,12621.43); h_SL1L261->SetBinContent(35,12485.71); h_SL1L261->SetBinContent(36,12314.29); h_SL1L261->SetBinContent(37,12392.86); h_SL1L261->SetBinContent(38,12550); h_SL1L261->SetBinContent(39,12057.14); h_SL1L261->SetBinContent(40,11564.29); h_SL1L261->SetBinContent(41,12000); h_SL1L261->SetBinContent(42,11685.71); h_SL1L261->SetBinContent(43,12392.86); h_SL1L261->SetBinContent(44,11767.86); h_SL1L261->SetBinContent(45,11828.57); h_SL1L261->SetBinContent(46,12228.57); h_SL1L261->SetBinContent(47,12189.29); h_SL1L261->SetBinContent(48,12685.71); h_SL1L261->SetBinContent(49,11839.29); h_SL1L261->SetBinContent(50,12342.86); h_SL1L261->SetBinContent(51,12367.86); h_SL1L261->SetBinContent(52,12417.86); h_SL1L261->SetBinContent(53,12092.86); h_SL1L261->SetBinContent(54,11992.86); h_SL1L261->SetBinContent(55,12300); h_SL1L261->SetBinContent(56,11871.43); h_SL1L261->SetBinContent(57,12096.43); h_SL1L261->SetBinContent(58,12153.57); h_SL1L261->SetBinContent(59,12203.57); h_SL1L261->SetMaximum(14650.18); 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,9028.571); h_SL1L362->SetBinContent(2,9307.143); h_SL1L362->SetBinContent(3,10225); h_SL1L362->SetBinContent(4,9850); h_SL1L362->SetBinContent(5,10217.86); h_SL1L362->SetBinContent(6,10096.43); h_SL1L362->SetBinContent(7,10132.14); h_SL1L362->SetBinContent(8,10917.86); h_SL1L362->SetBinContent(9,10557.14); h_SL1L362->SetBinContent(10,11053.57); h_SL1L362->SetBinContent(11,11378.57); h_SL1L362->SetBinContent(12,11917.86); h_SL1L362->SetBinContent(13,12092.86); h_SL1L362->SetBinContent(14,11817.86); h_SL1L362->SetBinContent(15,10475); h_SL1L362->SetBinContent(16,10575); h_SL1L362->SetBinContent(17,11089.29); h_SL1L362->SetBinContent(18,11475); h_SL1L362->SetBinContent(19,11364.29); h_SL1L362->SetBinContent(20,11817.86); h_SL1L362->SetBinContent(21,11632.14); h_SL1L362->SetBinContent(22,12028.57); h_SL1L362->SetBinContent(23,12210.71); h_SL1L362->SetBinContent(24,11714.29); h_SL1L362->SetBinContent(25,11489.29); h_SL1L362->SetBinContent(26,10607.14); h_SL1L362->SetBinContent(27,10878.57); h_SL1L362->SetBinContent(28,11732.14); h_SL1L362->SetBinContent(29,11175); h_SL1L362->SetBinContent(30,11182.14); h_SL1L362->SetBinContent(31,11803.57); h_SL1L362->SetBinContent(32,11342.86); h_SL1L362->SetBinContent(33,11753.57); h_SL1L362->SetBinContent(34,11882.14); h_SL1L362->SetBinContent(35,12103.57); h_SL1L362->SetBinContent(36,12017.86); h_SL1L362->SetBinContent(37,12121.43); h_SL1L362->SetBinContent(38,11571.43); h_SL1L362->SetBinContent(39,11421.43); h_SL1L362->SetBinContent(40,11889.29); h_SL1L362->SetBinContent(41,10985.71); h_SL1L362->SetBinContent(42,11714.29); h_SL1L362->SetBinContent(43,11821.43); h_SL1L362->SetBinContent(44,11817.86); h_SL1L362->SetBinContent(45,11407.14); h_SL1L362->SetBinContent(46,11721.43); h_SL1L362->SetBinContent(47,11678.57); h_SL1L362->SetBinContent(48,12060.71); h_SL1L362->SetBinContent(49,11928.57); h_SL1L362->SetBinContent(50,11796.43); h_SL1L362->SetBinContent(51,11953.57); h_SL1L362->SetBinContent(52,11607.14); h_SL1L362->SetBinContent(53,11721.43); h_SL1L362->SetBinContent(54,11725); h_SL1L362->SetBinContent(55,11732.14); h_SL1L362->SetBinContent(56,11296.43); h_SL1L362->SetBinContent(57,12207.14); h_SL1L362->SetBinContent(58,11807.14); h_SL1L362->SetBinContent(59,11478.57); h_SL1L362->SetMaximum(14650.18); 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,8750); h_SL1L463->SetBinContent(3,8753.571); h_SL1L463->SetBinContent(4,9067.857); h_SL1L463->SetBinContent(5,9217.857); h_SL1L463->SetBinContent(6,9075); h_SL1L463->SetBinContent(7,9446.429); h_SL1L463->SetBinContent(8,9689.285); h_SL1L463->SetBinContent(9,9457.143); h_SL1L463->SetBinContent(10,9735.714); h_SL1L463->SetBinContent(11,10528.57); h_SL1L463->SetBinContent(12,10696.43); h_SL1L463->SetBinContent(13,10553.57); h_SL1L463->SetBinContent(14,11050); h_SL1L463->SetBinContent(15,11078.57); h_SL1L463->SetBinContent(16,9967.857); h_SL1L463->SetBinContent(17,9335.714); h_SL1L463->SetBinContent(18,10278.57); h_SL1L463->SetBinContent(19,9810.714); h_SL1L463->SetBinContent(20,10400); h_SL1L463->SetBinContent(21,10660.71); h_SL1L463->SetBinContent(22,10875); h_SL1L463->SetBinContent(23,10728.57); h_SL1L463->SetBinContent(24,10367.86); h_SL1L463->SetBinContent(25,10057.14); h_SL1L463->SetBinContent(26,9178.571); h_SL1L463->SetBinContent(27,9567.857); h_SL1L463->SetBinContent(28,9757.143); h_SL1L463->SetBinContent(29,9825); h_SL1L463->SetBinContent(30,10371.43); h_SL1L463->SetBinContent(31,10071.43); h_SL1L463->SetBinContent(32,9953.571); h_SL1L463->SetBinContent(33,10028.57); h_SL1L463->SetBinContent(34,10271.43); h_SL1L463->SetBinContent(35,10907.14); h_SL1L463->SetBinContent(36,10332.14); h_SL1L463->SetBinContent(37,10278.57); h_SL1L463->SetBinContent(38,10175); h_SL1L463->SetBinContent(39,9950); h_SL1L463->SetBinContent(40,9378.571); h_SL1L463->SetBinContent(41,9910.714); h_SL1L463->SetBinContent(42,9996.429); h_SL1L463->SetBinContent(43,10139.29); h_SL1L463->SetBinContent(44,10171.43); h_SL1L463->SetBinContent(45,9828.571); h_SL1L463->SetBinContent(46,10325); h_SL1L463->SetBinContent(47,10121.43); h_SL1L463->SetBinContent(48,9589.285); h_SL1L463->SetBinContent(49,9546.429); h_SL1L463->SetBinContent(50,9989.285); h_SL1L463->SetBinContent(51,9567.857); h_SL1L463->SetBinContent(52,9678.571); h_SL1L463->SetBinContent(53,9750); h_SL1L463->SetBinContent(54,9642.857); h_SL1L463->SetBinContent(56,9917.857); h_SL1L463->SetBinContent(57,9803.571); h_SL1L463->SetBinContent(58,10871.43); h_SL1L463->SetBinContent(59,10510.71); h_SL1L463->SetMaximum(14650.18); 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 5923"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }