void RatesPerCell_Removing_noisy_cells_run_4988_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:19:53 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9177.863,67.5,82600.76); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 4988",60,0,60); h_SL2L164->SetBinContent(1,711.4286); h_SL2L164->SetBinContent(2,840.7143); h_SL2L164->SetBinContent(3,951.4286); h_SL2L164->SetBinContent(4,1045.714); h_SL2L164->SetBinContent(5,1042.143); h_SL2L164->SetBinContent(6,1111.429); h_SL2L164->SetBinContent(7,1137.857); h_SL2L164->SetBinContent(8,1245); h_SL2L164->SetBinContent(9,1353.571); h_SL2L164->SetBinContent(10,1474.286); h_SL2L164->SetBinContent(11,1682.143); h_SL2L164->SetBinContent(12,1792.857); h_SL2L164->SetBinContent(13,1892.857); h_SL2L164->SetBinContent(14,2065); h_SL2L164->SetBinContent(15,2275.714); h_SL2L164->SetBinContent(16,2351.429); h_SL2L164->SetBinContent(17,2475.714); h_SL2L164->SetBinContent(18,2675.714); h_SL2L164->SetBinContent(19,2930.714); h_SL2L164->SetBinContent(20,3097.143); h_SL2L164->SetBinContent(21,3325); h_SL2L164->SetBinContent(22,3609.286); h_SL2L164->SetBinContent(23,3877.857); h_SL2L164->SetBinContent(24,4282.857); h_SL2L164->SetBinContent(25,9017.144); h_SL2L164->SetBinContent(26,28912.14); h_SL2L164->SetBinContent(27,44667.14); h_SL2L164->SetBinContent(28,52345.71); h_SL2L164->SetBinContent(29,55518.57); h_SL2L164->SetBinContent(30,52625.71); h_SL2L164->SetBinContent(31,48617.14); h_SL2L164->SetBinContent(32,48870); h_SL2L164->SetBinContent(33,47702.14); h_SL2L164->SetBinContent(34,27305); h_SL2L164->SetBinContent(35,2.142857); h_SL2L164->SetBinContent(36,4704.286); h_SL2L164->SetBinContent(37,7715.714); h_SL2L164->SetBinContent(38,4919.286); h_SL2L164->SetBinContent(39,6178.572); h_SL2L164->SetBinContent(40,28302.86); h_SL2L164->SetBinContent(41,7950); h_SL2L164->SetBinContent(42,8517.857); h_SL2L164->SetBinContent(43,8440); h_SL2L164->SetBinContent(44,8580); h_SL2L164->SetBinContent(45,1457.143); h_SL2L164->SetBinContent(46,1323.571); h_SL2L164->SetBinContent(47,1370); h_SL2L164->SetBinContent(48,1142.143); h_SL2L164->SetBinContent(49,1042.857); h_SL2L164->SetBinContent(50,900.7143); h_SL2L164->SetBinContent(51,866.4286); h_SL2L164->SetBinContent(52,803.5715); h_SL2L164->SetBinContent(53,774.2857); h_SL2L164->SetBinContent(54,752.8572); h_SL2L164->SetBinContent(55,690.7143); h_SL2L164->SetBinContent(56,589.2857); h_SL2L164->SetBinContent(57,2771.429); h_SL2L164->SetMaximum(73422.9); 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,667.1429); h_SL2L265->SetBinContent(2,775.7143); h_SL2L265->SetBinContent(3,870); h_SL2L265->SetBinContent(4,992.8572); h_SL2L265->SetBinContent(5,1020); h_SL2L265->SetBinContent(6,1035); h_SL2L265->SetBinContent(7,1125.714); h_SL2L265->SetBinContent(8,1161.429); h_SL2L265->SetBinContent(9,1317.143); h_SL2L265->SetBinContent(10,1386.429); h_SL2L265->SetBinContent(11,1532.857); h_SL2L265->SetBinContent(12,1664.286); h_SL2L265->SetBinContent(13,1738.571); h_SL2L265->SetBinContent(14,1954.286); h_SL2L265->SetBinContent(15,2107.143); h_SL2L265->SetBinContent(16,2270.714); h_SL2L265->SetBinContent(17,2347.857); h_SL2L265->SetBinContent(18,2565); h_SL2L265->SetBinContent(19,2692.857); h_SL2L265->SetBinContent(20,3020); h_SL2L265->SetBinContent(21,3167.857); h_SL2L265->SetBinContent(22,3419.286); h_SL2L265->SetBinContent(23,3663.572); h_SL2L265->SetBinContent(24,3984.286); h_SL2L265->SetBinContent(25,4817.143); h_SL2L265->SetBinContent(26,18142.86); h_SL2L265->SetBinContent(27,37900.71); h_SL2L265->SetBinContent(28,49170.71); h_SL2L265->SetBinContent(29,54249.29); h_SL2L265->SetBinContent(30,54302.86); h_SL2L265->SetBinContent(31,49740); h_SL2L265->SetBinContent(32,48150.71); h_SL2L265->SetBinContent(33,48904.29); h_SL2L265->SetBinContent(34,41129.29); h_SL2L265->SetBinContent(35,14465.71); h_SL2L265->SetBinContent(36,5417.143); h_SL2L265->SetBinContent(37,3685); h_SL2L265->SetBinContent(38,2988.572); h_SL2L265->SetBinContent(39,3873.572); h_SL2L265->SetBinContent(40,4787.857); h_SL2L265->SetBinContent(41,2523.572); h_SL2L265->SetBinContent(42,2646.429); h_SL2L265->SetBinContent(43,2016.429); h_SL2L265->SetBinContent(44,2755.714); h_SL2L265->SetBinContent(45,1507.857); h_SL2L265->SetBinContent(46,1349.286); h_SL2L265->SetBinContent(47,1260); h_SL2L265->SetBinContent(48,1255); h_SL2L265->SetBinContent(49,1059.286); h_SL2L265->SetBinContent(50,963.5715); h_SL2L265->SetBinContent(51,906.4286); h_SL2L265->SetBinContent(52,805); h_SL2L265->SetBinContent(53,753.5715); h_SL2L265->SetBinContent(54,718.5715); h_SL2L265->SetBinContent(55,702.8572); h_SL2L265->SetBinContent(56,606.4286); h_SL2L265->SetBinContent(57,523.5714); h_SL2L265->SetMaximum(63846.36); 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,697.8572); h_SL2L366->SetBinContent(2,791.4286); h_SL2L366->SetBinContent(3,892.1429); h_SL2L366->SetBinContent(4,961.4286); h_SL2L366->SetBinContent(5,1022.857); h_SL2L366->SetBinContent(6,1015.714); h_SL2L366->SetBinContent(7,1110); h_SL2L366->SetBinContent(8,1197.143); h_SL2L366->SetBinContent(9,1278.571); h_SL2L366->SetBinContent(10,1390.714); h_SL2L366->SetBinContent(11,1631.429); h_SL2L366->SetBinContent(12,1695); h_SL2L366->SetBinContent(13,1750.714); h_SL2L366->SetBinContent(14,1976.429); h_SL2L366->SetBinContent(15,2195); h_SL2L366->SetBinContent(16,2189.286); h_SL2L366->SetBinContent(17,2392.857); h_SL2L366->SetBinContent(18,2540.714); h_SL2L366->SetBinContent(19,2824.286); h_SL2L366->SetBinContent(20,2987.143); h_SL2L366->SetBinContent(21,3250.714); h_SL2L366->SetBinContent(22,3472.857); h_SL2L366->SetBinContent(23,3698.572); h_SL2L366->SetBinContent(24,4171.429); h_SL2L366->SetBinContent(25,8860.715); h_SL2L366->SetBinContent(26,28950); h_SL2L366->SetBinContent(27,44330.71); h_SL2L366->SetBinContent(28,52051.43); h_SL2L366->SetBinContent(29,54708.57); h_SL2L366->SetBinContent(30,52346.43); h_SL2L366->SetBinContent(31,48618.57); h_SL2L366->SetBinContent(32,48963.57); h_SL2L366->SetBinContent(33,47585); h_SL2L366->SetBinContent(34,27355); h_SL2L366->SetBinContent(35,7657.143); h_SL2L366->SetBinContent(36,4380.714); h_SL2L366->SetBinContent(37,3215); h_SL2L366->SetBinContent(38,2790); h_SL2L366->SetBinContent(39,2389.286); h_SL2L366->SetBinContent(40,3421.429); h_SL2L366->SetBinContent(41,2030); h_SL2L366->SetBinContent(42,1795.714); h_SL2L366->SetBinContent(43,1562.143); h_SL2L366->SetBinContent(44,1490.714); h_SL2L366->SetBinContent(45,1391.429); h_SL2L366->SetBinContent(46,1262.143); h_SL2L366->SetBinContent(47,1272.143); h_SL2L366->SetBinContent(48,1117.857); h_SL2L366->SetBinContent(49,994.2858); h_SL2L366->SetBinContent(50,889.2857); h_SL2L366->SetBinContent(51,857.1429); h_SL2L366->SetBinContent(52,750.7143); h_SL2L366->SetBinContent(53,724.2857); h_SL2L366->SetBinContent(54,687.8572); h_SL2L366->SetBinContent(55,655); h_SL2L366->SetBinContent(56,569.2857); h_SL2L366->SetBinContent(57,497.8571); h_SL2L366->SetMaximum(63846.36); 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,754.2857); h_SL2L467->SetBinContent(3,807.1429); h_SL2L467->SetBinContent(4,922.1429); h_SL2L467->SetBinContent(5,968.5715); h_SL2L467->SetBinContent(6,991.4286); h_SL2L467->SetBinContent(7,1052.143); h_SL2L467->SetBinContent(8,1086.429); h_SL2L467->SetBinContent(9,1206.429); h_SL2L467->SetBinContent(10,1267.143); h_SL2L467->SetBinContent(11,1454.286); h_SL2L467->SetBinContent(12,1595); h_SL2L467->SetBinContent(13,1635.714); h_SL2L467->SetBinContent(14,1817.143); h_SL2L467->SetBinContent(15,2039.286); h_SL2L467->SetBinContent(16,2147.143); h_SL2L467->SetBinContent(17,2229.286); h_SL2L467->SetBinContent(18,2423.572); h_SL2L467->SetBinContent(19,2617.143); h_SL2L467->SetBinContent(20,2955.714); h_SL2L467->SetBinContent(21,3059.286); h_SL2L467->SetBinContent(22,3304.286); h_SL2L467->SetBinContent(23,3542.857); h_SL2L467->SetBinContent(24,3804.286); h_SL2L467->SetBinContent(25,4695); h_SL2L467->SetBinContent(26,18073.57); h_SL2L467->SetBinContent(27,38108.57); h_SL2L467->SetBinContent(28,49037.14); h_SL2L467->SetBinContent(29,54074.29); h_SL2L467->SetBinContent(30,55062.14); h_SL2L467->SetBinContent(31,49792.86); h_SL2L467->SetBinContent(32,48458.57); h_SL2L467->SetBinContent(33,48957.86); h_SL2L467->SetBinContent(34,41060.71); h_SL2L467->SetBinContent(35,14409.29); h_SL2L467->SetBinContent(36,5246.429); h_SL2L467->SetBinContent(37,3602.857); h_SL2L467->SetBinContent(38,2824.286); h_SL2L467->SetBinContent(39,2555); h_SL2L467->SetBinContent(40,2124.286); h_SL2L467->SetBinContent(41,2035.714); h_SL2L467->SetBinContent(42,1806.429); h_SL2L467->SetBinContent(43,1619.286); h_SL2L467->SetBinContent(44,1452.143); h_SL2L467->SetBinContent(45,1425.714); h_SL2L467->SetBinContent(46,1265.714); h_SL2L467->SetBinContent(47,1211.429); h_SL2L467->SetBinContent(48,1191.429); h_SL2L467->SetBinContent(49,1031.429); h_SL2L467->SetBinContent(50,875); h_SL2L467->SetBinContent(51,877.8572); h_SL2L467->SetBinContent(52,755.7143); h_SL2L467->SetBinContent(53,713.5715); h_SL2L467->SetBinContent(54,717.8572); h_SL2L467->SetBinContent(55,688.5715); h_SL2L467->SetBinContent(56,574.2857); h_SL2L467->SetBinContent(57,546.4286); h_SL2L467->SetMaximum(63846.36); 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 4988"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }