void RatesPerCell_Removing_noisy_cells_run_6559_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11247.86,67.5,101230.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6559",60,0,60); h_SL1L160->SetBinContent(1,407.1429); h_SL1L160->SetBinContent(2,452.8571); h_SL1L160->SetBinContent(3,455.7143); h_SL1L160->SetBinContent(4,498.5714); h_SL1L160->SetBinContent(5,517.1429); h_SL1L160->SetBinContent(6,525.7143); h_SL1L160->SetBinContent(7,422.8571); h_SL1L160->SetBinContent(8,505.7143); h_SL1L160->SetBinContent(9,582.8572); h_SL1L160->SetBinContent(10,645.7143); h_SL1L160->SetBinContent(11,725.7143); h_SL1L160->SetBinContent(12,854.2857); h_SL1L160->SetBinContent(13,855.7143); h_SL1L160->SetBinContent(14,957.1429); h_SL1L160->SetBinContent(15,904.2857); h_SL1L160->SetBinContent(16,817.1429); h_SL1L160->SetBinContent(17,1017.143); h_SL1L160->SetBinContent(18,1204.286); h_SL1L160->SetBinContent(19,1318.571); h_SL1L160->SetBinContent(20,1512.857); h_SL1L160->SetBinContent(21,1778.571); h_SL1L160->SetBinContent(22,1775.714); h_SL1L160->SetBinContent(23,1944.286); h_SL1L160->SetBinContent(24,2257.143); h_SL1L160->SetBinContent(25,2097.143); h_SL1L160->SetBinContent(26,2174.286); h_SL1L160->SetBinContent(27,2481.429); h_SL1L160->SetBinContent(28,3242.857); h_SL1L160->SetBinContent(29,3504.286); h_SL1L160->SetBinContent(30,4115.714); h_SL1L160->SetBinContent(31,5168.572); h_SL1L160->SetBinContent(32,9117.144); h_SL1L160->SetBinContent(33,36710); h_SL1L160->SetBinContent(34,54900); h_SL1L160->SetBinContent(35,58760); h_SL1L160->SetBinContent(36,63164.29); h_SL1L160->SetBinContent(37,66885.72); h_SL1L160->SetBinContent(38,62085.71); h_SL1L160->SetBinContent(39,38862.86); h_SL1L160->SetBinContent(40,9347.144); h_SL1L160->SetBinContent(41,5581.429); h_SL1L160->SetBinContent(42,4335.714); h_SL1L160->SetBinContent(43,3904.286); h_SL1L160->SetBinContent(44,3504.286); h_SL1L160->SetBinContent(45,3261.429); h_SL1L160->SetBinContent(46,2897.143); h_SL1L160->SetBinContent(47,2905.714); h_SL1L160->SetBinContent(48,2687.143); h_SL1L160->SetBinContent(49,2428.572); h_SL1L160->SetBinContent(50,2310); h_SL1L160->SetBinContent(51,2134.286); h_SL1L160->SetBinContent(52,2017.143); h_SL1L160->SetBinContent(53,1980); h_SL1L160->SetBinContent(54,1824.286); h_SL1L160->SetBinContent(55,1645.714); h_SL1L160->SetBinContent(56,1740); h_SL1L160->SetBinContent(57,1552.857); h_SL1L160->SetBinContent(58,1608.571); h_SL1L160->SetBinContent(59,1578.571); h_SL1L160->SetMaximum(89982.9); 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,324.2857); h_SL1L261->SetBinContent(2,388.5714); h_SL1L261->SetBinContent(3,345.7143); h_SL1L261->SetBinContent(4,445.7143); h_SL1L261->SetBinContent(5,454.2857); h_SL1L261->SetBinContent(6,462.8571); h_SL1L261->SetBinContent(7,430); h_SL1L261->SetBinContent(8,432.8571); h_SL1L261->SetBinContent(9,522.8572); h_SL1L261->SetBinContent(10,555.7143); h_SL1L261->SetBinContent(11,680); h_SL1L261->SetBinContent(12,697.1429); h_SL1L261->SetBinContent(13,797.1429); h_SL1L261->SetBinContent(14,814.2857); h_SL1L261->SetBinContent(15,895.7143); h_SL1L261->SetBinContent(16,742.8572); h_SL1L261->SetBinContent(17,892.8572); h_SL1L261->SetBinContent(18,1061.429); h_SL1L261->SetBinContent(19,1192.857); h_SL1L261->SetBinContent(20,1377.143); h_SL1L261->SetBinContent(21,1538.571); h_SL1L261->SetBinContent(22,1698.571); h_SL1L261->SetBinContent(23,1782.857); h_SL1L261->SetBinContent(24,2058.572); h_SL1L261->SetBinContent(25,2222.857); h_SL1L261->SetBinContent(26,1985.714); h_SL1L261->SetBinContent(27,2184.286); h_SL1L261->SetBinContent(28,2841.429); h_SL1L261->SetBinContent(29,3202.857); h_SL1L261->SetBinContent(30,3757.143); h_SL1L261->SetBinContent(31,4444.286); h_SL1L261->SetBinContent(32,7308.572); h_SL1L261->SetBinContent(33,19485.71); h_SL1L261->SetBinContent(34,51411.43); h_SL1L261->SetBinContent(35,59324.29); h_SL1L261->SetBinContent(36,63231.43); h_SL1L261->SetBinContent(37,68040); h_SL1L261->SetBinContent(38,67530); h_SL1L261->SetBinContent(39,55832.86); h_SL1L261->SetBinContent(40,19522.86); h_SL1L261->SetBinContent(41,7817.143); h_SL1L261->SetBinContent(42,4620); h_SL1L261->SetBinContent(43,4117.143); h_SL1L261->SetBinContent(44,3665.714); h_SL1L261->SetBinContent(45,3158.572); h_SL1L261->SetBinContent(46,3158.572); h_SL1L261->SetBinContent(47,2784.286); h_SL1L261->SetBinContent(48,2748.572); h_SL1L261->SetBinContent(49,11102.86); h_SL1L261->SetBinContent(50,2202.857); h_SL1L261->SetBinContent(51,2231.429); h_SL1L261->SetBinContent(52,2115.714); h_SL1L261->SetBinContent(53,2060); h_SL1L261->SetBinContent(54,1852.857); h_SL1L261->SetBinContent(55,1778.571); h_SL1L261->SetBinContent(56,4078.572); h_SL1L261->SetBinContent(57,1634.286); h_SL1L261->SetBinContent(58,1544.286); h_SL1L261->SetBinContent(59,1517.143); h_SL1L261->SetMaximum(78246); 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,217.1429); h_SL1L362->SetBinContent(2,222.8571); h_SL1L362->SetBinContent(3,245.7143); h_SL1L362->SetBinContent(4,287.1429); h_SL1L362->SetBinContent(5,275.7143); h_SL1L362->SetBinContent(6,277.1429); h_SL1L362->SetBinContent(7,234.2857); h_SL1L362->SetBinContent(8,295.7143); h_SL1L362->SetBinContent(9,332.8571); h_SL1L362->SetBinContent(10,367.1429); h_SL1L362->SetBinContent(11,382.8571); h_SL1L362->SetBinContent(12,460); h_SL1L362->SetBinContent(13,515.7143); h_SL1L362->SetBinContent(14,525.7143); h_SL1L362->SetBinContent(15,498.5714); h_SL1L362->SetBinContent(16,565.7143); h_SL1L362->SetBinContent(17,614.2857); h_SL1L362->SetBinContent(18,692.8572); h_SL1L362->SetBinContent(19,755.7143); h_SL1L362->SetBinContent(20,872.8572); h_SL1L362->SetBinContent(21,1078.571); h_SL1L362->SetBinContent(22,1007.143); h_SL1L362->SetBinContent(23,1164.286); h_SL1L362->SetBinContent(24,1340); h_SL1L362->SetBinContent(25,1228.571); h_SL1L362->SetBinContent(26,1328.571); h_SL1L362->SetBinContent(27,1695.714); h_SL1L362->SetBinContent(28,1850); h_SL1L362->SetBinContent(29,2247.143); h_SL1L362->SetBinContent(30,2635.714); h_SL1L362->SetBinContent(31,3591.429); h_SL1L362->SetBinContent(32,6307.143); h_SL1L362->SetBinContent(33,25841.43); h_SL1L362->SetBinContent(34,40941.43); h_SL1L362->SetBinContent(35,43894.29); h_SL1L362->SetBinContent(36,46434.29); h_SL1L362->SetBinContent(37,49644.29); h_SL1L362->SetBinContent(38,44560); h_SL1L362->SetBinContent(39,29671.43); h_SL1L362->SetBinContent(40,6371.429); h_SL1L362->SetBinContent(41,3677.143); h_SL1L362->SetBinContent(42,3045.714); h_SL1L362->SetBinContent(43,2732.857); h_SL1L362->SetBinContent(44,2375.714); h_SL1L362->SetBinContent(45,2091.429); h_SL1L362->SetBinContent(46,1932.857); h_SL1L362->SetBinContent(47,1845.714); h_SL1L362->SetBinContent(48,1615.714); h_SL1L362->SetBinContent(49,1454.286); h_SL1L362->SetBinContent(50,1512.857); h_SL1L362->SetBinContent(51,1454.286); h_SL1L362->SetBinContent(52,1294.286); h_SL1L362->SetBinContent(53,3000); h_SL1L362->SetBinContent(54,1130); h_SL1L362->SetBinContent(55,1041.429); h_SL1L362->SetBinContent(56,3945.714); h_SL1L362->SetBinContent(57,1071.429); h_SL1L362->SetBinContent(58,1002.857); h_SL1L362->SetBinContent(59,950); h_SL1L362->SetMaximum(78246); 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,311.4286); h_SL1L463->SetBinContent(3,294.2857); h_SL1L463->SetBinContent(4,368.5714); h_SL1L463->SetBinContent(5,364.2857); h_SL1L463->SetBinContent(6,375.7143); h_SL1L463->SetBinContent(7,381.4286); h_SL1L463->SetBinContent(8,391.4286); h_SL1L463->SetBinContent(9,454.2857); h_SL1L463->SetBinContent(10,462.8571); h_SL1L463->SetBinContent(11,521.4286); h_SL1L463->SetBinContent(12,575.7143); h_SL1L463->SetBinContent(13,662.8572); h_SL1L463->SetBinContent(14,728.5715); h_SL1L463->SetBinContent(15,731.4286); h_SL1L463->SetBinContent(16,710); h_SL1L463->SetBinContent(17,815.7143); h_SL1L463->SetBinContent(18,910); h_SL1L463->SetBinContent(19,1011.429); h_SL1L463->SetBinContent(20,1185.714); h_SL1L463->SetBinContent(21,1304.286); h_SL1L463->SetBinContent(22,1462.857); h_SL1L463->SetBinContent(23,1531.429); h_SL1L463->SetBinContent(24,1802.857); h_SL1L463->SetBinContent(25,1835.714); h_SL1L463->SetBinContent(26,1867.143); h_SL1L463->SetBinContent(27,2052.857); h_SL1L463->SetBinContent(28,2620); h_SL1L463->SetBinContent(29,2882.857); h_SL1L463->SetBinContent(30,3452.857); h_SL1L463->SetBinContent(31,4105.714); h_SL1L463->SetBinContent(32,6897.143); h_SL1L463->SetBinContent(33,18584.29); h_SL1L463->SetBinContent(34,50772.86); h_SL1L463->SetBinContent(35,59004.29); h_SL1L463->SetBinContent(36,62317.14); h_SL1L463->SetBinContent(37,67051.43); h_SL1L463->SetBinContent(38,66060); h_SL1L463->SetBinContent(39,55545.71); h_SL1L463->SetBinContent(40,19248.57); h_SL1L463->SetBinContent(41,7452.857); h_SL1L463->SetBinContent(42,4531.429); h_SL1L463->SetBinContent(43,3830); h_SL1L463->SetBinContent(44,3377.143); h_SL1L463->SetBinContent(45,2908.572); h_SL1L463->SetBinContent(46,2945.714); h_SL1L463->SetBinContent(47,2551.429); h_SL1L463->SetBinContent(48,2514.286); h_SL1L463->SetBinContent(49,2221.429); h_SL1L463->SetBinContent(50,2030); h_SL1L463->SetBinContent(51,2001.429); h_SL1L463->SetBinContent(52,1920); h_SL1L463->SetBinContent(53,1760); h_SL1L463->SetBinContent(54,1601.429); h_SL1L463->SetBinContent(56,1487.143); h_SL1L463->SetBinContent(57,1405.714); h_SL1L463->SetBinContent(58,1382.857); h_SL1L463->SetBinContent(59,1372.857); h_SL1L463->SetMaximum(78246); 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 6559"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }