void RatesPerCell_Removing_noisy_cells_run_6596_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 20:03:53 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11283.94,67.5,101555.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 6596",60,0,60); h_SL1L160->SetBinContent(1,478.5714); h_SL1L160->SetBinContent(2,465.7143); h_SL1L160->SetBinContent(3,425.7143); h_SL1L160->SetBinContent(4,454.2857); h_SL1L160->SetBinContent(5,512.8572); h_SL1L160->SetBinContent(6,544.2857); h_SL1L160->SetBinContent(7,531.4286); h_SL1L160->SetBinContent(8,490); h_SL1L160->SetBinContent(9,558.5715); h_SL1L160->SetBinContent(10,714.2857); h_SL1L160->SetBinContent(11,715.7143); h_SL1L160->SetBinContent(12,842.8572); h_SL1L160->SetBinContent(13,998.5715); h_SL1L160->SetBinContent(14,950); h_SL1L160->SetBinContent(15,867.1429); h_SL1L160->SetBinContent(16,871.4286); h_SL1L160->SetBinContent(17,1022.857); h_SL1L160->SetBinContent(18,1392.857); h_SL1L160->SetBinContent(19,1430); h_SL1L160->SetBinContent(20,1602.857); h_SL1L160->SetBinContent(21,1835.714); h_SL1L160->SetBinContent(22,1912.857); h_SL1L160->SetBinContent(23,2121.429); h_SL1L160->SetBinContent(24,2281.429); h_SL1L160->SetBinContent(25,2128.572); h_SL1L160->SetBinContent(26,2232.857); h_SL1L160->SetBinContent(27,2472.857); h_SL1L160->SetBinContent(28,3284.286); h_SL1L160->SetBinContent(29,3508.572); h_SL1L160->SetBinContent(30,4084.286); h_SL1L160->SetBinContent(31,5441.429); h_SL1L160->SetBinContent(32,9444.286); h_SL1L160->SetBinContent(33,36455.71); h_SL1L160->SetBinContent(34,55064.29); h_SL1L160->SetBinContent(35,59232.86); h_SL1L160->SetBinContent(36,63195.71); h_SL1L160->SetBinContent(37,67377.14); h_SL1L160->SetBinContent(38,62855.71); h_SL1L160->SetBinContent(39,39164.29); h_SL1L160->SetBinContent(40,9747.144); h_SL1L160->SetBinContent(41,5552.857); h_SL1L160->SetBinContent(42,4482.857); h_SL1L160->SetBinContent(43,4195.714); h_SL1L160->SetBinContent(44,3664.286); h_SL1L160->SetBinContent(45,3442.857); h_SL1L160->SetBinContent(46,3165.714); h_SL1L160->SetBinContent(47,2865.714); h_SL1L160->SetBinContent(48,2534.286); h_SL1L160->SetBinContent(49,2511.429); h_SL1L160->SetBinContent(50,2452.857); h_SL1L160->SetBinContent(51,2218.572); h_SL1L160->SetBinContent(52,2008.572); h_SL1L160->SetBinContent(53,1988.572); h_SL1L160->SetBinContent(54,1822.857); h_SL1L160->SetBinContent(55,1888.572); h_SL1L160->SetBinContent(56,1677.143); h_SL1L160->SetBinContent(57,1775.714); h_SL1L160->SetBinContent(58,1811.429); h_SL1L160->SetBinContent(59,1600); h_SL1L160->SetMaximum(90271.55); 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,372.8571); h_SL1L261->SetBinContent(2,401.4286); h_SL1L261->SetBinContent(3,387.1429); h_SL1L261->SetBinContent(4,360); h_SL1L261->SetBinContent(5,412.8571); h_SL1L261->SetBinContent(6,514.2857); h_SL1L261->SetBinContent(7,475.7143); h_SL1L261->SetBinContent(8,475.7143); h_SL1L261->SetBinContent(9,530); h_SL1L261->SetBinContent(10,565.7143); h_SL1L261->SetBinContent(11,665.7143); h_SL1L261->SetBinContent(12,690); h_SL1L261->SetBinContent(13,877.1429); h_SL1L261->SetBinContent(14,871.4286); h_SL1L261->SetBinContent(15,830); h_SL1L261->SetBinContent(16,844.2857); h_SL1L261->SetBinContent(17,825.7143); h_SL1L261->SetBinContent(18,1275.714); h_SL1L261->SetBinContent(19,1298.571); h_SL1L261->SetBinContent(20,1407.143); h_SL1L261->SetBinContent(21,1598.571); h_SL1L261->SetBinContent(22,1777.143); h_SL1L261->SetBinContent(23,1868.572); h_SL1L261->SetBinContent(24,2098.572); h_SL1L261->SetBinContent(25,2207.143); h_SL1L261->SetBinContent(26,2035.714); h_SL1L261->SetBinContent(27,2267.143); h_SL1L261->SetBinContent(28,2867.143); h_SL1L261->SetBinContent(29,3178.572); h_SL1L261->SetBinContent(30,3711.429); h_SL1L261->SetBinContent(31,4484.286); h_SL1L261->SetBinContent(32,7574.286); h_SL1L261->SetBinContent(33,19392.86); h_SL1L261->SetBinContent(34,51377.14); h_SL1L261->SetBinContent(35,59302.86); h_SL1L261->SetBinContent(36,63501.43); h_SL1L261->SetBinContent(37,68258.57); h_SL1L261->SetBinContent(38,67930); h_SL1L261->SetBinContent(39,56108.57); h_SL1L261->SetBinContent(40,19694.29); h_SL1L261->SetBinContent(41,8115.714); h_SL1L261->SetBinContent(42,4774.286); h_SL1L261->SetBinContent(43,4260); h_SL1L261->SetBinContent(44,3855.714); h_SL1L261->SetBinContent(45,3470); h_SL1L261->SetBinContent(46,3210); h_SL1L261->SetBinContent(47,2887.143); h_SL1L261->SetBinContent(48,2675.714); h_SL1L261->SetBinContent(49,14281.43); h_SL1L261->SetBinContent(50,2465.714); h_SL1L261->SetBinContent(51,2344.286); h_SL1L261->SetBinContent(52,2221.429); h_SL1L261->SetBinContent(53,2072.857); h_SL1L261->SetBinContent(54,2015.714); h_SL1L261->SetBinContent(55,1798.571); h_SL1L261->SetBinContent(56,5554.286); h_SL1L261->SetBinContent(57,1730); h_SL1L261->SetBinContent(58,1830); h_SL1L261->SetBinContent(59,1600); h_SL1L261->SetMaximum(78497.36); 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,250); h_SL1L362->SetBinContent(2,247.1429); h_SL1L362->SetBinContent(3,202.8571); h_SL1L362->SetBinContent(4,234.2857); h_SL1L362->SetBinContent(5,262.8571); h_SL1L362->SetBinContent(6,290); h_SL1L362->SetBinContent(7,291.4286); h_SL1L362->SetBinContent(8,278.5714); h_SL1L362->SetBinContent(9,318.5714); h_SL1L362->SetBinContent(10,370); h_SL1L362->SetBinContent(11,420); h_SL1L362->SetBinContent(12,508.5714); h_SL1L362->SetBinContent(13,584.2857); h_SL1L362->SetBinContent(14,484.2857); h_SL1L362->SetBinContent(15,535.7143); h_SL1L362->SetBinContent(16,595.7143); h_SL1L362->SetBinContent(17,650); h_SL1L362->SetBinContent(18,730); h_SL1L362->SetBinContent(19,800); h_SL1L362->SetBinContent(20,892.8572); h_SL1L362->SetBinContent(21,1072.857); h_SL1L362->SetBinContent(22,1097.143); h_SL1L362->SetBinContent(23,1312.857); h_SL1L362->SetBinContent(24,1305.714); h_SL1L362->SetBinContent(25,1215.714); h_SL1L362->SetBinContent(26,1335.714); h_SL1L362->SetBinContent(27,1652.857); h_SL1L362->SetBinContent(28,1887.143); h_SL1L362->SetBinContent(29,2237.143); h_SL1L362->SetBinContent(30,2552.857); h_SL1L362->SetBinContent(31,3587.143); h_SL1L362->SetBinContent(32,6311.429); h_SL1L362->SetBinContent(33,25580); h_SL1L362->SetBinContent(34,40810); h_SL1L362->SetBinContent(35,43764.29); h_SL1L362->SetBinContent(36,46031.43); h_SL1L362->SetBinContent(37,49642.86); h_SL1L362->SetBinContent(38,44657.14); h_SL1L362->SetBinContent(39,29632.86); h_SL1L362->SetBinContent(40,6497.143); h_SL1L362->SetBinContent(41,3720); h_SL1L362->SetBinContent(42,3097.143); h_SL1L362->SetBinContent(43,2874.286); h_SL1L362->SetBinContent(44,2465.714); h_SL1L362->SetBinContent(45,2247.143); h_SL1L362->SetBinContent(46,2067.143); h_SL1L362->SetBinContent(47,1894.286); h_SL1L362->SetBinContent(48,1552.857); h_SL1L362->SetBinContent(49,1645.714); h_SL1L362->SetBinContent(50,1498.571); h_SL1L362->SetBinContent(51,1498.571); h_SL1L362->SetBinContent(52,1298.571); h_SL1L362->SetBinContent(53,3912.857); h_SL1L362->SetBinContent(54,1175.714); h_SL1L362->SetBinContent(55,1151.429); h_SL1L362->SetBinContent(56,5454.286); h_SL1L362->SetBinContent(57,1262.857); h_SL1L362->SetBinContent(58,1142.857); h_SL1L362->SetBinContent(59,1030); h_SL1L362->SetMaximum(78497.36); 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,312.8571); h_SL1L463->SetBinContent(3,321.4286); h_SL1L463->SetBinContent(4,310); h_SL1L463->SetBinContent(5,331.4286); h_SL1L463->SetBinContent(6,437.1429); h_SL1L463->SetBinContent(7,394.2857); h_SL1L463->SetBinContent(8,391.4286); h_SL1L463->SetBinContent(9,434.2857); h_SL1L463->SetBinContent(10,471.4286); h_SL1L463->SetBinContent(11,557.1429); h_SL1L463->SetBinContent(12,591.4286); h_SL1L463->SetBinContent(13,768.5715); h_SL1L463->SetBinContent(14,712.8572); h_SL1L463->SetBinContent(15,730); h_SL1L463->SetBinContent(16,768.5715); h_SL1L463->SetBinContent(17,787.1429); h_SL1L463->SetBinContent(18,1115.714); h_SL1L463->SetBinContent(19,1088.571); h_SL1L463->SetBinContent(20,1181.429); h_SL1L463->SetBinContent(21,1372.857); h_SL1L463->SetBinContent(22,1435.714); h_SL1L463->SetBinContent(23,1574.286); h_SL1L463->SetBinContent(24,1841.429); h_SL1L463->SetBinContent(25,1831.429); h_SL1L463->SetBinContent(26,1884.286); h_SL1L463->SetBinContent(27,2068.572); h_SL1L463->SetBinContent(28,2720); h_SL1L463->SetBinContent(29,2931.429); h_SL1L463->SetBinContent(30,3525.714); h_SL1L463->SetBinContent(31,4231.429); h_SL1L463->SetBinContent(32,6991.429); h_SL1L463->SetBinContent(33,18534.29); h_SL1L463->SetBinContent(34,50667.14); h_SL1L463->SetBinContent(35,58895.71); h_SL1L463->SetBinContent(36,62524.29); h_SL1L463->SetBinContent(37,67212.86); h_SL1L463->SetBinContent(38,66200); h_SL1L463->SetBinContent(39,55732.86); h_SL1L463->SetBinContent(40,19332.86); h_SL1L463->SetBinContent(41,7688.572); h_SL1L463->SetBinContent(42,4571.429); h_SL1L463->SetBinContent(43,4001.429); h_SL1L463->SetBinContent(44,3530); h_SL1L463->SetBinContent(45,3255.714); h_SL1L463->SetBinContent(46,2997.143); h_SL1L463->SetBinContent(47,2681.429); h_SL1L463->SetBinContent(48,2460); h_SL1L463->SetBinContent(49,2305.714); h_SL1L463->SetBinContent(50,2264.286); h_SL1L463->SetBinContent(51,2058.572); h_SL1L463->SetBinContent(52,1927.143); h_SL1L463->SetBinContent(53,1745.714); h_SL1L463->SetBinContent(54,1788.571); h_SL1L463->SetBinContent(55,5.714286); h_SL1L463->SetBinContent(56,1584.286); h_SL1L463->SetBinContent(57,1502.857); h_SL1L463->SetBinContent(58,1605.714); h_SL1L463->SetBinContent(59,1522.857); h_SL1L463->SetMaximum(78497.36); 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 6596"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }