void RatesPerCell_Removing_noisy_cells_run_6586_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14461.39,67.5,130152.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6586",60,0,60); h_SL2L164->SetBinContent(1,647.1429); h_SL2L164->SetBinContent(2,748.5715); h_SL2L164->SetBinContent(3,868.5715); h_SL2L164->SetBinContent(4,1024.286); h_SL2L164->SetBinContent(5,990); h_SL2L164->SetBinContent(6,1107.143); h_SL2L164->SetBinContent(7,1147.143); h_SL2L164->SetBinContent(8,1195.714); h_SL2L164->SetBinContent(9,1325.714); h_SL2L164->SetBinContent(10,1338.571); h_SL2L164->SetBinContent(11,1455.714); h_SL2L164->SetBinContent(12,1601.429); h_SL2L164->SetBinContent(13,1724.286); h_SL2L164->SetBinContent(14,1780); h_SL2L164->SetBinContent(15,1811.429); h_SL2L164->SetBinContent(16,1925.714); h_SL2L164->SetBinContent(17,1982.857); h_SL2L164->SetBinContent(18,2204.286); h_SL2L164->SetBinContent(19,2342.857); h_SL2L164->SetBinContent(20,2458.572); h_SL2L164->SetBinContent(21,2554.286); h_SL2L164->SetBinContent(22,2727.143); h_SL2L164->SetBinContent(23,3110); h_SL2L164->SetBinContent(24,3611.429); h_SL2L164->SetBinContent(25,8531.429); h_SL2L164->SetBinContent(26,26681.43); h_SL2L164->SetBinContent(27,40491.43); h_SL2L164->SetBinContent(28,48841.43); h_SL2L164->SetBinContent(29,52388.57); h_SL2L164->SetBinContent(30,51418.57); h_SL2L164->SetBinContent(31,50320); h_SL2L164->SetBinContent(32,50780); h_SL2L164->SetBinContent(33,49868.57); h_SL2L164->SetBinContent(34,28432.86); h_SL2L164->SetBinContent(35,1.428571); h_SL2L164->SetBinContent(36,3770); h_SL2L164->SetBinContent(37,9164.286); h_SL2L164->SetBinContent(38,5260); h_SL2L164->SetBinContent(39,6904.286); h_SL2L164->SetBinContent(40,57174.29); h_SL2L164->SetBinContent(41,87480); h_SL2L164->SetBinContent(42,13887.14); h_SL2L164->SetBinContent(43,13901.43); h_SL2L164->SetBinContent(44,14275.71); h_SL2L164->SetBinContent(45,1350); h_SL2L164->SetBinContent(46,1344.286); h_SL2L164->SetBinContent(47,1040); h_SL2L164->SetBinContent(48,1064.286); h_SL2L164->SetBinContent(49,988.5715); h_SL2L164->SetBinContent(50,900); h_SL2L164->SetBinContent(51,872.8572); h_SL2L164->SetBinContent(52,830); h_SL2L164->SetBinContent(53,797.1429); h_SL2L164->SetBinContent(54,717.1429); h_SL2L164->SetBinContent(55,658.5715); h_SL2L164->SetBinContent(56,632.8572); h_SL2L164->SetBinContent(57,6738.572); h_SL2L164->SetMaximum(115691.1); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,657.1429); h_SL2L265->SetBinContent(2,745.7143); h_SL2L265->SetBinContent(3,784.2857); h_SL2L265->SetBinContent(4,962.8572); h_SL2L265->SetBinContent(5,965.7143); h_SL2L265->SetBinContent(6,1080); h_SL2L265->SetBinContent(7,1071.429); h_SL2L265->SetBinContent(8,1221.429); h_SL2L265->SetBinContent(9,1208.571); h_SL2L265->SetBinContent(10,1255.714); h_SL2L265->SetBinContent(11,1404.286); h_SL2L265->SetBinContent(12,1510); h_SL2L265->SetBinContent(13,1607.143); h_SL2L265->SetBinContent(14,1698.571); h_SL2L265->SetBinContent(15,1730); h_SL2L265->SetBinContent(16,1897.143); h_SL2L265->SetBinContent(17,1895.714); h_SL2L265->SetBinContent(18,2030); h_SL2L265->SetBinContent(19,2174.286); h_SL2L265->SetBinContent(20,2364.286); h_SL2L265->SetBinContent(21,2482.857); h_SL2L265->SetBinContent(22,2568.572); h_SL2L265->SetBinContent(23,2780); h_SL2L265->SetBinContent(24,3194.286); h_SL2L265->SetBinContent(25,4187.143); h_SL2L265->SetBinContent(26,17497.14); h_SL2L265->SetBinContent(27,34282.86); h_SL2L265->SetBinContent(28,45290); h_SL2L265->SetBinContent(29,50884.29); h_SL2L265->SetBinContent(30,51945.71); h_SL2L265->SetBinContent(31,50424.29); h_SL2L265->SetBinContent(32,50414.29); h_SL2L265->SetBinContent(33,51501.43); h_SL2L265->SetBinContent(34,42328.57); h_SL2L265->SetBinContent(35,14872.86); h_SL2L265->SetBinContent(36,4682.857); h_SL2L265->SetBinContent(37,3392.857); h_SL2L265->SetBinContent(38,2640); h_SL2L265->SetBinContent(39,3784.286); h_SL2L265->SetBinContent(40,5262.857); h_SL2L265->SetBinContent(41,4221.429); h_SL2L265->SetBinContent(42,3661.429); h_SL2L265->SetBinContent(43,2435.714); h_SL2L265->SetBinContent(44,3640); h_SL2L265->SetBinContent(45,1370); h_SL2L265->SetBinContent(46,1312.857); h_SL2L265->SetBinContent(47,1235.714); h_SL2L265->SetBinContent(48,1070); h_SL2L265->SetBinContent(49,1000); h_SL2L265->SetBinContent(50,908.5715); h_SL2L265->SetBinContent(51,855.7143); h_SL2L265->SetBinContent(52,827.1429); h_SL2L265->SetBinContent(53,784.2857); h_SL2L265->SetBinContent(54,730); h_SL2L265->SetBinContent(55,688.5715); h_SL2L265->SetBinContent(56,608.5715); h_SL2L265->SetBinContent(57,638.5715); h_SL2L265->SetMaximum(100602); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,695.7143); h_SL2L366->SetBinContent(2,714.2857); h_SL2L366->SetBinContent(3,885.7143); h_SL2L366->SetBinContent(4,918.5715); h_SL2L366->SetBinContent(5,1024.286); h_SL2L366->SetBinContent(6,1068.571); h_SL2L366->SetBinContent(7,1150); h_SL2L366->SetBinContent(8,1172.857); h_SL2L366->SetBinContent(9,1302.857); h_SL2L366->SetBinContent(10,1287.143); h_SL2L366->SetBinContent(11,1390); h_SL2L366->SetBinContent(12,1520); h_SL2L366->SetBinContent(13,1611.429); h_SL2L366->SetBinContent(14,1741.429); h_SL2L366->SetBinContent(15,1691.429); h_SL2L366->SetBinContent(16,1895.714); h_SL2L366->SetBinContent(17,1908.572); h_SL2L366->SetBinContent(18,2135.714); h_SL2L366->SetBinContent(19,2181.429); h_SL2L366->SetBinContent(20,2425.714); h_SL2L366->SetBinContent(21,2407.143); h_SL2L366->SetBinContent(22,2651.429); h_SL2L366->SetBinContent(23,2912.857); h_SL2L366->SetBinContent(24,3517.143); h_SL2L366->SetBinContent(25,8478.571); h_SL2L366->SetBinContent(26,26654.29); h_SL2L366->SetBinContent(27,40362.86); h_SL2L366->SetBinContent(28,48662.86); h_SL2L366->SetBinContent(29,51818.57); h_SL2L366->SetBinContent(30,51088.57); h_SL2L366->SetBinContent(31,50592.86); h_SL2L366->SetBinContent(32,50907.14); h_SL2L366->SetBinContent(33,49924.29); h_SL2L366->SetBinContent(34,28448.57); h_SL2L366->SetBinContent(35,7392.857); h_SL2L366->SetBinContent(36,3895.714); h_SL2L366->SetBinContent(37,2848.572); h_SL2L366->SetBinContent(38,2324.286); h_SL2L366->SetBinContent(39,2011.429); h_SL2L366->SetBinContent(40,3844.286); h_SL2L366->SetBinContent(41,2197.143); h_SL2L366->SetBinContent(42,1700); h_SL2L366->SetBinContent(43,1574.286); h_SL2L366->SetBinContent(44,1450); h_SL2L366->SetBinContent(45,1242.857); h_SL2L366->SetBinContent(46,1281.429); h_SL2L366->SetBinContent(47,1048.571); h_SL2L366->SetBinContent(48,1021.429); h_SL2L366->SetBinContent(49,970); h_SL2L366->SetBinContent(50,874.2857); h_SL2L366->SetBinContent(51,861.4286); h_SL2L366->SetBinContent(52,807.1429); h_SL2L366->SetBinContent(53,764.2857); h_SL2L366->SetBinContent(54,724.2857); h_SL2L366->SetBinContent(55,678.5715); h_SL2L366->SetBinContent(56,622.8572); h_SL2L366->SetBinContent(57,607.1429); h_SL2L366->SetMaximum(100602); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,671.4286); h_SL2L467->SetBinContent(3,800); h_SL2L467->SetBinContent(4,887.1429); h_SL2L467->SetBinContent(5,934.2858); h_SL2L467->SetBinContent(6,1014.286); h_SL2L467->SetBinContent(7,1044.286); h_SL2L467->SetBinContent(8,1154.286); h_SL2L467->SetBinContent(9,1190); h_SL2L467->SetBinContent(10,1275.714); h_SL2L467->SetBinContent(11,1314.286); h_SL2L467->SetBinContent(12,1438.571); h_SL2L467->SetBinContent(13,1510); h_SL2L467->SetBinContent(14,1567.143); h_SL2L467->SetBinContent(15,1637.143); h_SL2L467->SetBinContent(16,1802.857); h_SL2L467->SetBinContent(17,1834.286); h_SL2L467->SetBinContent(18,1907.143); h_SL2L467->SetBinContent(19,2124.286); h_SL2L467->SetBinContent(20,2307.143); h_SL2L467->SetBinContent(21,2347.143); h_SL2L467->SetBinContent(22,2480); h_SL2L467->SetBinContent(23,2661.429); h_SL2L467->SetBinContent(24,3020); h_SL2L467->SetBinContent(25,4091.429); h_SL2L467->SetBinContent(26,17315.71); h_SL2L467->SetBinContent(27,34415.71); h_SL2L467->SetBinContent(28,45035.71); h_SL2L467->SetBinContent(29,50892.86); h_SL2L467->SetBinContent(30,52392.86); h_SL2L467->SetBinContent(31,50430); h_SL2L467->SetBinContent(32,50667.14); h_SL2L467->SetBinContent(33,51577.14); h_SL2L467->SetBinContent(34,42352.86); h_SL2L467->SetBinContent(35,14891.43); h_SL2L467->SetBinContent(36,4594.286); h_SL2L467->SetBinContent(37,3252.857); h_SL2L467->SetBinContent(38,2495.714); h_SL2L467->SetBinContent(39,2061.429); h_SL2L467->SetBinContent(40,1864.286); h_SL2L467->SetBinContent(41,1695.714); h_SL2L467->SetBinContent(42,2095.714); h_SL2L467->SetBinContent(43,1627.143); h_SL2L467->SetBinContent(44,1417.143); h_SL2L467->SetBinContent(45,1298.571); h_SL2L467->SetBinContent(46,1281.429); h_SL2L467->SetBinContent(47,1174.286); h_SL2L467->SetBinContent(48,997.1429); h_SL2L467->SetBinContent(49,951.4286); h_SL2L467->SetBinContent(50,937.1429); h_SL2L467->SetBinContent(51,804.2857); h_SL2L467->SetBinContent(52,804.2857); h_SL2L467->SetBinContent(53,742.8572); h_SL2L467->SetBinContent(54,700); h_SL2L467->SetBinContent(55,704.2857); h_SL2L467->SetBinContent(56,615.7143); h_SL2L467->SetBinContent(57,581.4286); h_SL2L467->SetMaximum(100602); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6586"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }