void RatesPerCell_Removing_noisy_cells_run_6856_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11148.39,67.5,100335.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6856",60,0,60); h_SL1L160->SetBinContent(1,403.0612); h_SL1L160->SetBinContent(2,382.653); h_SL1L160->SetBinContent(3,459.1837); h_SL1L160->SetBinContent(4,326.5306); h_SL1L160->SetBinContent(5,357.1429); h_SL1L160->SetBinContent(6,387.7551); h_SL1L160->SetBinContent(7,464.2857); h_SL1L160->SetBinContent(8,459.1837); h_SL1L160->SetBinContent(9,459.1837); h_SL1L160->SetBinContent(10,556.1224); h_SL1L160->SetBinContent(11,627.551); h_SL1L160->SetBinContent(12,693.8776); h_SL1L160->SetBinContent(13,841.8367); h_SL1L160->SetBinContent(14,826.5306); h_SL1L160->SetBinContent(15,627.551); h_SL1L160->SetBinContent(16,801.0204); h_SL1L160->SetBinContent(17,928.5714); h_SL1L160->SetBinContent(18,1071.429); h_SL1L160->SetBinContent(19,1214.286); h_SL1L160->SetBinContent(20,1418.367); h_SL1L160->SetBinContent(21,1408.163); h_SL1L160->SetBinContent(22,1443.878); h_SL1L160->SetBinContent(23,1729.592); h_SL1L160->SetBinContent(24,2045.918); h_SL1L160->SetBinContent(25,1785.714); h_SL1L160->SetBinContent(26,2045.918); h_SL1L160->SetBinContent(27,2285.714); h_SL1L160->SetBinContent(28,2969.388); h_SL1L160->SetBinContent(29,3020.408); h_SL1L160->SetBinContent(30,3413.265); h_SL1L160->SetBinContent(31,4576.531); h_SL1L160->SetBinContent(32,7938.775); h_SL1L160->SetBinContent(33,32887.75); h_SL1L160->SetBinContent(34,49127.55); h_SL1L160->SetBinContent(35,54173.47); h_SL1L160->SetBinContent(36,57658.16); h_SL1L160->SetBinContent(37,60576.53); h_SL1L160->SetBinContent(38,55377.55); h_SL1L160->SetBinContent(39,35204.08); h_SL1L160->SetBinContent(40,8035.714); h_SL1L160->SetBinContent(41,4857.143); h_SL1L160->SetBinContent(42,3795.918); h_SL1L160->SetBinContent(43,3612.245); h_SL1L160->SetBinContent(44,3132.653); h_SL1L160->SetBinContent(45,2836.735); h_SL1L160->SetBinContent(46,2545.918); h_SL1L160->SetBinContent(47,2454.082); h_SL1L160->SetBinContent(48,2102.041); h_SL1L160->SetBinContent(49,1969.388); h_SL1L160->SetBinContent(50,2102.041); h_SL1L160->SetBinContent(51,1816.327); h_SL1L160->SetBinContent(52,1729.592); h_SL1L160->SetBinContent(53,1647.959); h_SL1L160->SetBinContent(54,1311.224); h_SL1L160->SetBinContent(55,1459.184); h_SL1L160->SetBinContent(56,1367.347); h_SL1L160->SetBinContent(57,1474.49); h_SL1L160->SetBinContent(58,1413.265); h_SL1L160->SetBinContent(59,1362.245); h_SL1L160->SetMaximum(89187.1); 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,265.3061); h_SL1L261->SetBinContent(2,362.2449); h_SL1L261->SetBinContent(3,357.1429); h_SL1L261->SetBinContent(4,311.2245); h_SL1L261->SetBinContent(5,372.449); h_SL1L261->SetBinContent(6,290.8163); h_SL1L261->SetBinContent(7,397.9592); h_SL1L261->SetBinContent(8,408.1633); h_SL1L261->SetBinContent(9,489.7959); h_SL1L261->SetBinContent(10,530.6122); h_SL1L261->SetBinContent(11,627.551); h_SL1L261->SetBinContent(12,607.1428); h_SL1L261->SetBinContent(13,790.8163); h_SL1L261->SetBinContent(14,734.6938); h_SL1L261->SetBinContent(15,719.3878); h_SL1L261->SetBinContent(16,678.5714); h_SL1L261->SetBinContent(17,892.8571); h_SL1L261->SetBinContent(18,1045.918); h_SL1L261->SetBinContent(19,1117.347); h_SL1L261->SetBinContent(20,1224.49); h_SL1L261->SetBinContent(21,1428.571); h_SL1L261->SetBinContent(22,1392.857); h_SL1L261->SetBinContent(23,1581.633); h_SL1L261->SetBinContent(24,1923.469); h_SL1L261->SetBinContent(25,1989.796); h_SL1L261->SetBinContent(26,1765.306); h_SL1L261->SetBinContent(27,2214.286); h_SL1L261->SetBinContent(28,2693.877); h_SL1L261->SetBinContent(29,3015.306); h_SL1L261->SetBinContent(30,3382.653); h_SL1L261->SetBinContent(31,4316.327); h_SL1L261->SetBinContent(32,7071.429); h_SL1L261->SetBinContent(33,18591.84); h_SL1L261->SetBinContent(34,49612.25); h_SL1L261->SetBinContent(35,57494.9); h_SL1L261->SetBinContent(36,63260.2); h_SL1L261->SetBinContent(37,66816.33); h_SL1L261->SetBinContent(38,65357.14); h_SL1L261->SetBinContent(39,53066.32); h_SL1L261->SetBinContent(40,18806.12); h_SL1L261->SetBinContent(41,7561.225); h_SL1L261->SetBinContent(42,4428.571); h_SL1L261->SetBinContent(43,4051.02); h_SL1L261->SetBinContent(44,3500); h_SL1L261->SetBinContent(45,3357.143); h_SL1L261->SetBinContent(46,2969.388); h_SL1L261->SetBinContent(47,2801.02); h_SL1L261->SetBinContent(48,2306.122); h_SL1L261->SetBinContent(49,2209.184); h_SL1L261->SetBinContent(50,2198.979); h_SL1L261->SetBinContent(51,1959.184); h_SL1L261->SetBinContent(52,1938.776); h_SL1L261->SetBinContent(53,1831.633); h_SL1L261->SetBinContent(54,1617.347); h_SL1L261->SetBinContent(55,1515.306); h_SL1L261->SetBinContent(56,1510.204); h_SL1L261->SetBinContent(57,1448.98); h_SL1L261->SetBinContent(58,1443.878); h_SL1L261->SetBinContent(59,1290.816); h_SL1L261->SetMaximum(77554.59); 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,295.9184); h_SL1L362->SetBinContent(2,367.3469); h_SL1L362->SetBinContent(3,367.3469); h_SL1L362->SetBinContent(4,321.4286); h_SL1L362->SetBinContent(5,285.7143); h_SL1L362->SetBinContent(6,341.8367); h_SL1L362->SetBinContent(7,336.7347); h_SL1L362->SetBinContent(8,367.3469); h_SL1L362->SetBinContent(9,464.2857); h_SL1L362->SetBinContent(10,576.5306); h_SL1L362->SetBinContent(11,474.4898); h_SL1L362->SetBinContent(12,647.9592); h_SL1L362->SetBinContent(13,688.7755); h_SL1L362->SetBinContent(14,688.7755); h_SL1L362->SetBinContent(15,693.8776); h_SL1L362->SetBinContent(16,780.6122); h_SL1L362->SetBinContent(17,846.9388); h_SL1L362->SetBinContent(18,954.0816); h_SL1L362->SetBinContent(19,1107.143); h_SL1L362->SetBinContent(20,1275.51); h_SL1L362->SetBinContent(21,1413.265); h_SL1L362->SetBinContent(22,1382.653); h_SL1L362->SetBinContent(23,1668.367); h_SL1L362->SetBinContent(24,1801.02); h_SL1L362->SetBinContent(25,1897.959); h_SL1L362->SetBinContent(26,2000); h_SL1L362->SetBinContent(27,2397.959); h_SL1L362->SetBinContent(28,2877.551); h_SL1L362->SetBinContent(29,3040.816); h_SL1L362->SetBinContent(30,3663.265); h_SL1L362->SetBinContent(31,5030.612); h_SL1L362->SetBinContent(32,8908.163); h_SL1L362->SetBinContent(33,37040.82); h_SL1L362->SetBinContent(34,54964.29); h_SL1L362->SetBinContent(35,60795.92); h_SL1L362->SetBinContent(36,65596.94); h_SL1L362->SetBinContent(37,67438.77); h_SL1L362->SetBinContent(38,61198.98); h_SL1L362->SetBinContent(39,38484.7); h_SL1L362->SetBinContent(40,9091.837); h_SL1L362->SetBinContent(41,5198.979); h_SL1L362->SetBinContent(42,4040.816); h_SL1L362->SetBinContent(43,3719.388); h_SL1L362->SetBinContent(44,3341.837); h_SL1L362->SetBinContent(45,3020.408); h_SL1L362->SetBinContent(46,2739.796); h_SL1L362->SetBinContent(47,2510.204); h_SL1L362->SetBinContent(48,2280.612); h_SL1L362->SetBinContent(49,2137.755); h_SL1L362->SetBinContent(50,2142.857); h_SL1L362->SetBinContent(51,1744.898); h_SL1L362->SetBinContent(52,1780.612); h_SL1L362->SetBinContent(53,1836.735); h_SL1L362->SetBinContent(54,1397.959); h_SL1L362->SetBinContent(55,1566.327); h_SL1L362->SetBinContent(56,1331.633); h_SL1L362->SetBinContent(57,1392.857); h_SL1L362->SetBinContent(58,1357.143); h_SL1L362->SetBinContent(59,1147.959); h_SL1L362->SetMaximum(77554.59); 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,331.6327); h_SL1L463->SetBinContent(3,321.4286); h_SL1L463->SetBinContent(4,285.7143); h_SL1L463->SetBinContent(5,290.8163); h_SL1L463->SetBinContent(6,265.3061); h_SL1L463->SetBinContent(7,260.2041); h_SL1L463->SetBinContent(8,316.3265); h_SL1L463->SetBinContent(9,362.2449); h_SL1L463->SetBinContent(10,403.0612); h_SL1L463->SetBinContent(11,428.5714); h_SL1L463->SetBinContent(12,494.8979); h_SL1L463->SetBinContent(13,632.6531); h_SL1L463->SetBinContent(14,602.0408); h_SL1L463->SetBinContent(15,653.0612); h_SL1L463->SetBinContent(16,647.9592); h_SL1L463->SetBinContent(17,790.8163); h_SL1L463->SetBinContent(18,857.1428); h_SL1L463->SetBinContent(19,897.9592); h_SL1L463->SetBinContent(20,994.8979); h_SL1L463->SetBinContent(21,1158.163); h_SL1L463->SetBinContent(22,1204.082); h_SL1L463->SetBinContent(23,1255.102); h_SL1L463->SetBinContent(24,1500); h_SL1L463->SetBinContent(25,1668.367); h_SL1L463->SetBinContent(26,1642.857); h_SL1L463->SetBinContent(27,2025.51); h_SL1L463->SetBinContent(28,2326.531); h_SL1L463->SetBinContent(29,2540.816); h_SL1L463->SetBinContent(30,2984.694); h_SL1L463->SetBinContent(31,3617.347); h_SL1L463->SetBinContent(32,5908.163); h_SL1L463->SetBinContent(33,15724.49); h_SL1L463->SetBinContent(34,46091.84); h_SL1L463->SetBinContent(35,54576.53); h_SL1L463->SetBinContent(36,59188.77); h_SL1L463->SetBinContent(37,61285.71); h_SL1L463->SetBinContent(38,60877.55); h_SL1L463->SetBinContent(39,50438.77); h_SL1L463->SetBinContent(40,16918.37); h_SL1L463->SetBinContent(41,6862.245); h_SL1L463->SetBinContent(42,3877.551); h_SL1L463->SetBinContent(43,3479.592); h_SL1L463->SetBinContent(44,3040.816); h_SL1L463->SetBinContent(45,2801.02); h_SL1L463->SetBinContent(46,2612.245); h_SL1L463->SetBinContent(47,2403.061); h_SL1L463->SetBinContent(48,1770.408); h_SL1L463->SetBinContent(49,1704.082); h_SL1L463->SetBinContent(50,1933.673); h_SL1L463->SetBinContent(51,1535.714); h_SL1L463->SetBinContent(52,1520.408); h_SL1L463->SetBinContent(53,1479.592); h_SL1L463->SetBinContent(54,1265.306); h_SL1L463->SetBinContent(56,1234.694); h_SL1L463->SetBinContent(57,1204.082); h_SL1L463->SetBinContent(58,1275.51); h_SL1L463->SetBinContent(59,1107.143); h_SL1L463->SetMaximum(77554.59); 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 6856"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }