void RatesPerCell_Removing_noisy_cells_run_5164_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:26:54 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8843.213,67.5,79588.91); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5164",60,0,60); h_SL2L164->SetBinContent(1,611.4286); h_SL2L164->SetBinContent(2,727.1429); h_SL2L164->SetBinContent(3,887.1429); h_SL2L164->SetBinContent(4,958.5715); h_SL2L164->SetBinContent(5,1038.571); h_SL2L164->SetBinContent(6,1024.286); h_SL2L164->SetBinContent(7,1020); h_SL2L164->SetBinContent(8,1118.571); h_SL2L164->SetBinContent(9,1261.429); h_SL2L164->SetBinContent(10,1384.286); h_SL2L164->SetBinContent(11,1488.571); h_SL2L164->SetBinContent(12,1662.857); h_SL2L164->SetBinContent(13,1687.143); h_SL2L164->SetBinContent(14,1940); h_SL2L164->SetBinContent(15,1965.714); h_SL2L164->SetBinContent(16,2188.572); h_SL2L164->SetBinContent(17,2210); h_SL2L164->SetBinContent(18,2451.429); h_SL2L164->SetBinContent(19,2687.143); h_SL2L164->SetBinContent(20,2841.429); h_SL2L164->SetBinContent(21,2932.857); h_SL2L164->SetBinContent(22,3315.714); h_SL2L164->SetBinContent(23,3587.143); h_SL2L164->SetBinContent(24,3898.572); h_SL2L164->SetBinContent(25,8502.857); h_SL2L164->SetBinContent(26,28264.29); h_SL2L164->SetBinContent(27,43890); h_SL2L164->SetBinContent(28,50972.86); h_SL2L164->SetBinContent(29,53494.29); h_SL2L164->SetBinContent(30,50830); h_SL2L164->SetBinContent(31,47265.71); h_SL2L164->SetBinContent(32,47387.14); h_SL2L164->SetBinContent(33,45370); h_SL2L164->SetBinContent(34,25948.57); h_SL2L164->SetBinContent(36,4118.571); h_SL2L164->SetBinContent(37,3151.429); h_SL2L164->SetBinContent(38,2564.286); h_SL2L164->SetBinContent(39,2275.714); h_SL2L164->SetBinContent(40,2000); h_SL2L164->SetBinContent(41,1784.286); h_SL2L164->SetBinContent(42,1617.143); h_SL2L164->SetBinContent(43,1464.286); h_SL2L164->SetBinContent(44,1328.571); h_SL2L164->SetBinContent(45,1160); h_SL2L164->SetBinContent(46,1165.714); h_SL2L164->SetBinContent(47,1081.429); h_SL2L164->SetBinContent(48,978.5715); h_SL2L164->SetBinContent(49,858.5715); h_SL2L164->SetBinContent(50,771.4286); h_SL2L164->SetBinContent(51,754.2857); h_SL2L164->SetBinContent(52,682.8572); h_SL2L164->SetBinContent(53,661.4286); h_SL2L164->SetBinContent(54,625.7143); h_SL2L164->SetBinContent(55,597.1429); h_SL2L164->SetBinContent(56,494.2857); h_SL2L164->SetBinContent(57,440); h_SL2L164->SetMaximum(70745.7); 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,617.1429); h_SL2L265->SetBinContent(2,651.4286); h_SL2L265->SetBinContent(3,735.7143); h_SL2L265->SetBinContent(4,912.8572); h_SL2L265->SetBinContent(5,958.5715); h_SL2L265->SetBinContent(6,997.1429); h_SL2L265->SetBinContent(7,941.4286); h_SL2L265->SetBinContent(8,1032.857); h_SL2L265->SetBinContent(9,1161.429); h_SL2L265->SetBinContent(10,1350); h_SL2L265->SetBinContent(11,1341.429); h_SL2L265->SetBinContent(12,1504.286); h_SL2L265->SetBinContent(13,1612.857); h_SL2L265->SetBinContent(14,1731.429); h_SL2L265->SetBinContent(15,1928.572); h_SL2L265->SetBinContent(16,2072.857); h_SL2L265->SetBinContent(17,2111.429); h_SL2L265->SetBinContent(18,2347.143); h_SL2L265->SetBinContent(19,2507.143); h_SL2L265->SetBinContent(20,2790); h_SL2L265->SetBinContent(21,2848.572); h_SL2L265->SetBinContent(22,3052.857); h_SL2L265->SetBinContent(23,3291.429); h_SL2L265->SetBinContent(24,3625.714); h_SL2L265->SetBinContent(25,4287.143); h_SL2L265->SetBinContent(26,17331.43); h_SL2L265->SetBinContent(27,37108.57); h_SL2L265->SetBinContent(28,47928.57); h_SL2L265->SetBinContent(29,52247.14); h_SL2L265->SetBinContent(30,52385.71); h_SL2L265->SetBinContent(31,48291.43); h_SL2L265->SetBinContent(32,47082.86); h_SL2L265->SetBinContent(33,46518.57); h_SL2L265->SetBinContent(34,38840); h_SL2L265->SetBinContent(35,13765.71); h_SL2L265->SetBinContent(36,5088.572); h_SL2L265->SetBinContent(37,3442.857); h_SL2L265->SetBinContent(38,2684.286); h_SL2L265->SetBinContent(39,2305.714); h_SL2L265->SetBinContent(40,2064.286); h_SL2L265->SetBinContent(41,1844.286); h_SL2L265->SetBinContent(42,1682.857); h_SL2L265->SetBinContent(43,1515.714); h_SL2L265->SetBinContent(44,1435.714); h_SL2L265->SetBinContent(45,1180); h_SL2L265->SetBinContent(46,1101.429); h_SL2L265->SetBinContent(47,1044.286); h_SL2L265->SetBinContent(48,1021.429); h_SL2L265->SetBinContent(49,900); h_SL2L265->SetBinContent(50,807.1429); h_SL2L265->SetBinContent(51,694.2857); h_SL2L265->SetBinContent(52,695.7143); h_SL2L265->SetBinContent(53,634.2857); h_SL2L265->SetBinContent(54,598.5715); h_SL2L265->SetBinContent(55,618.5715); h_SL2L265->SetBinContent(56,530); h_SL2L265->SetBinContent(57,498.5714); h_SL2L265->SetMaximum(61518.43); 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,565.7143); h_SL2L366->SetBinContent(2,711.4286); h_SL2L366->SetBinContent(3,860); h_SL2L366->SetBinContent(4,841.4286); h_SL2L366->SetBinContent(5,1000); h_SL2L366->SetBinContent(6,910); h_SL2L366->SetBinContent(7,947.1429); h_SL2L366->SetBinContent(8,1078.571); h_SL2L366->SetBinContent(9,1234.286); h_SL2L366->SetBinContent(10,1237.143); h_SL2L366->SetBinContent(11,1398.571); h_SL2L366->SetBinContent(12,1498.571); h_SL2L366->SetBinContent(13,1592.857); h_SL2L366->SetBinContent(14,1837.143); h_SL2L366->SetBinContent(15,1908.572); h_SL2L366->SetBinContent(16,2017.143); h_SL2L366->SetBinContent(17,2137.143); h_SL2L366->SetBinContent(18,2354.286); h_SL2L366->SetBinContent(19,2610); h_SL2L366->SetBinContent(20,2771.429); h_SL2L366->SetBinContent(21,2805.714); h_SL2L366->SetBinContent(22,3195.714); h_SL2L366->SetBinContent(23,3388.572); h_SL2L366->SetBinContent(24,3744.286); h_SL2L366->SetBinContent(25,8274.286); h_SL2L366->SetBinContent(26,28041.43); h_SL2L366->SetBinContent(27,43612.86); h_SL2L366->SetBinContent(28,50645.71); h_SL2L366->SetBinContent(29,52994.29); h_SL2L366->SetBinContent(30,50257.14); h_SL2L366->SetBinContent(31,47128.57); h_SL2L366->SetBinContent(32,47048.57); h_SL2L366->SetBinContent(33,45100); h_SL2L366->SetBinContent(34,25811.43); h_SL2L366->SetBinContent(35,7364.286); h_SL2L366->SetBinContent(36,4008.572); h_SL2L366->SetBinContent(37,3000); h_SL2L366->SetBinContent(38,2454.286); h_SL2L366->SetBinContent(39,2095.714); h_SL2L366->SetBinContent(40,1905.714); h_SL2L366->SetBinContent(41,1787.143); h_SL2L366->SetBinContent(42,1531.429); h_SL2L366->SetBinContent(43,1358.571); h_SL2L366->SetBinContent(44,1285.714); h_SL2L366->SetBinContent(45,1107.143); h_SL2L366->SetBinContent(46,1090); h_SL2L366->SetBinContent(47,961.4286); h_SL2L366->SetBinContent(48,937.1429); h_SL2L366->SetBinContent(49,837.1429); h_SL2L366->SetBinContent(50,734.2857); h_SL2L366->SetBinContent(51,731.4286); h_SL2L366->SetBinContent(52,662.8572); h_SL2L366->SetBinContent(53,635.7143); h_SL2L366->SetBinContent(54,597.1429); h_SL2L366->SetBinContent(55,600); h_SL2L366->SetBinContent(56,477.1429); h_SL2L366->SetBinContent(57,445.7143); h_SL2L366->SetMaximum(61518.43); 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,632.8572); h_SL2L467->SetBinContent(3,748.5715); h_SL2L467->SetBinContent(4,822.8572); h_SL2L467->SetBinContent(5,934.2858); h_SL2L467->SetBinContent(6,968.5715); h_SL2L467->SetBinContent(7,891.4286); h_SL2L467->SetBinContent(8,947.1429); h_SL2L467->SetBinContent(9,1088.571); h_SL2L467->SetBinContent(10,1202.857); h_SL2L467->SetBinContent(11,1215.714); h_SL2L467->SetBinContent(12,1475.714); h_SL2L467->SetBinContent(13,1494.286); h_SL2L467->SetBinContent(14,1570); h_SL2L467->SetBinContent(15,1848.572); h_SL2L467->SetBinContent(16,1947.143); h_SL2L467->SetBinContent(17,2028.572); h_SL2L467->SetBinContent(18,2324.286); h_SL2L467->SetBinContent(19,2420); h_SL2L467->SetBinContent(20,2624.286); h_SL2L467->SetBinContent(21,2775.714); h_SL2L467->SetBinContent(22,2951.429); h_SL2L467->SetBinContent(23,3181.429); h_SL2L467->SetBinContent(24,3532.857); h_SL2L467->SetBinContent(25,4251.429); h_SL2L467->SetBinContent(26,17377.14); h_SL2L467->SetBinContent(27,37041.43); h_SL2L467->SetBinContent(28,47931.43); h_SL2L467->SetBinContent(29,52432.86); h_SL2L467->SetBinContent(30,52607.14); h_SL2L467->SetBinContent(31,48331.43); h_SL2L467->SetBinContent(32,47362.86); h_SL2L467->SetBinContent(33,46685.71); h_SL2L467->SetBinContent(34,38881.43); h_SL2L467->SetBinContent(35,13642.86); h_SL2L467->SetBinContent(36,5005.714); h_SL2L467->SetBinContent(37,3268.572); h_SL2L467->SetBinContent(38,2562.857); h_SL2L467->SetBinContent(39,2297.143); h_SL2L467->SetBinContent(40,1937.143); h_SL2L467->SetBinContent(41,1704.286); h_SL2L467->SetBinContent(42,1565.714); h_SL2L467->SetBinContent(43,1434.286); h_SL2L467->SetBinContent(44,1305.714); h_SL2L467->SetBinContent(45,1165.714); h_SL2L467->SetBinContent(46,1045.714); h_SL2L467->SetBinContent(47,1010); h_SL2L467->SetBinContent(48,964.2858); h_SL2L467->SetBinContent(49,841.4286); h_SL2L467->SetBinContent(50,757.1429); h_SL2L467->SetBinContent(51,677.1429); h_SL2L467->SetBinContent(52,674.2857); h_SL2L467->SetBinContent(53,607.1429); h_SL2L467->SetBinContent(54,562.8572); h_SL2L467->SetBinContent(55,580); h_SL2L467->SetBinContent(56,531.4286); h_SL2L467->SetBinContent(57,470); h_SL2L467->SetMaximum(61518.43); 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 5164"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }