void RatesPerCell_Removing_noisy_cells_run_6609_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:24:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11411.16,67.5,102700.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 6609",60,0,60); h_SL1L160->SetBinContent(1,441.4286); h_SL1L160->SetBinContent(2,505.7143); h_SL1L160->SetBinContent(3,491.4286); h_SL1L160->SetBinContent(4,472.8571); h_SL1L160->SetBinContent(5,551.4286); h_SL1L160->SetBinContent(6,531.4286); h_SL1L160->SetBinContent(7,564.2857); h_SL1L160->SetBinContent(8,590); h_SL1L160->SetBinContent(9,617.1429); h_SL1L160->SetBinContent(10,685.7143); h_SL1L160->SetBinContent(11,824.2857); h_SL1L160->SetBinContent(12,887.1429); h_SL1L160->SetBinContent(13,982.8572); h_SL1L160->SetBinContent(14,1018.571); h_SL1L160->SetBinContent(15,950); h_SL1L160->SetBinContent(16,968.5715); h_SL1L160->SetBinContent(17,1025.714); h_SL1L160->SetBinContent(18,1437.143); h_SL1L160->SetBinContent(19,1478.571); h_SL1L160->SetBinContent(20,1515.714); h_SL1L160->SetBinContent(21,1814.286); h_SL1L160->SetBinContent(22,1844.286); h_SL1L160->SetBinContent(23,2147.143); h_SL1L160->SetBinContent(24,2201.429); h_SL1L160->SetBinContent(25,2300); h_SL1L160->SetBinContent(26,2262.857); h_SL1L160->SetBinContent(27,2555.714); h_SL1L160->SetBinContent(28,3292.857); h_SL1L160->SetBinContent(29,3465.714); h_SL1L160->SetBinContent(30,4121.429); h_SL1L160->SetBinContent(31,5467.143); h_SL1L160->SetBinContent(32,9297.144); h_SL1L160->SetBinContent(33,36492.86); h_SL1L160->SetBinContent(34,54122.86); h_SL1L160->SetBinContent(35,58425.71); h_SL1L160->SetBinContent(36,63715.71); h_SL1L160->SetBinContent(37,67654.29); h_SL1L160->SetBinContent(38,63084.29); h_SL1L160->SetBinContent(39,39164.29); h_SL1L160->SetBinContent(40,9738.571); h_SL1L160->SetBinContent(41,5905.714); h_SL1L160->SetBinContent(42,4625.714); h_SL1L160->SetBinContent(43,4154.286); h_SL1L160->SetBinContent(44,3700); h_SL1L160->SetBinContent(45,3344.286); h_SL1L160->SetBinContent(46,3160); h_SL1L160->SetBinContent(47,2877.143); h_SL1L160->SetBinContent(48,2842.857); h_SL1L160->SetBinContent(49,2594.286); h_SL1L160->SetBinContent(50,2441.429); h_SL1L160->SetBinContent(51,2184.286); h_SL1L160->SetBinContent(52,2077.143); h_SL1L160->SetBinContent(53,2092.857); h_SL1L160->SetBinContent(54,1890); h_SL1L160->SetBinContent(55,1872.857); h_SL1L160->SetBinContent(56,1748.571); h_SL1L160->SetBinContent(57,1700); h_SL1L160->SetBinContent(58,1701.429); h_SL1L160->SetBinContent(59,1627.143); h_SL1L160->SetMaximum(91289.3); 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,387.1429); h_SL1L261->SetBinContent(2,382.8571); h_SL1L261->SetBinContent(3,477.1429); h_SL1L261->SetBinContent(4,421.4286); h_SL1L261->SetBinContent(5,460); h_SL1L261->SetBinContent(6,450); h_SL1L261->SetBinContent(7,514.2857); h_SL1L261->SetBinContent(8,488.5714); h_SL1L261->SetBinContent(9,591.4286); h_SL1L261->SetBinContent(10,601.4286); h_SL1L261->SetBinContent(11,734.2857); h_SL1L261->SetBinContent(12,712.8572); h_SL1L261->SetBinContent(13,852.8572); h_SL1L261->SetBinContent(14,862.8572); h_SL1L261->SetBinContent(15,955.7143); h_SL1L261->SetBinContent(16,922.8572); h_SL1L261->SetBinContent(17,950); h_SL1L261->SetBinContent(18,1251.429); h_SL1L261->SetBinContent(19,1328.571); h_SL1L261->SetBinContent(20,1410); h_SL1L261->SetBinContent(21,1565.714); h_SL1L261->SetBinContent(22,1734.286); h_SL1L261->SetBinContent(23,1828.572); h_SL1L261->SetBinContent(24,2091.429); h_SL1L261->SetBinContent(25,2140); h_SL1L261->SetBinContent(26,2132.857); h_SL1L261->SetBinContent(27,2304.286); h_SL1L261->SetBinContent(28,2774.286); h_SL1L261->SetBinContent(29,3298.572); h_SL1L261->SetBinContent(30,3751.429); h_SL1L261->SetBinContent(31,4550); h_SL1L261->SetBinContent(32,7448.572); h_SL1L261->SetBinContent(33,19294.29); h_SL1L261->SetBinContent(34,51078.57); h_SL1L261->SetBinContent(35,58592.86); h_SL1L261->SetBinContent(36,63402.86); h_SL1L261->SetBinContent(37,69028.57); h_SL1L261->SetBinContent(38,68124.29); h_SL1L261->SetBinContent(39,56532.86); h_SL1L261->SetBinContent(40,19875.71); h_SL1L261->SetBinContent(41,8432.857); h_SL1L261->SetBinContent(42,4991.429); h_SL1L261->SetBinContent(43,4365.714); h_SL1L261->SetBinContent(44,3882.857); h_SL1L261->SetBinContent(45,3505.714); h_SL1L261->SetBinContent(46,3228.572); h_SL1L261->SetBinContent(47,2862.857); h_SL1L261->SetBinContent(48,2770); h_SL1L261->SetBinContent(49,15757.14); h_SL1L261->SetBinContent(50,2488.572); h_SL1L261->SetBinContent(51,2265.714); h_SL1L261->SetBinContent(52,2338.572); h_SL1L261->SetBinContent(53,2181.429); h_SL1L261->SetBinContent(54,1994.286); h_SL1L261->SetBinContent(55,1898.572); h_SL1L261->SetBinContent(56,5722.857); h_SL1L261->SetBinContent(57,1724.286); h_SL1L261->SetBinContent(58,1702.857); h_SL1L261->SetBinContent(59,1615.714); h_SL1L261->SetMaximum(79382.86); 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,268.5714); h_SL1L362->SetBinContent(2,315.7143); h_SL1L362->SetBinContent(3,294.2857); h_SL1L362->SetBinContent(4,324.2857); h_SL1L362->SetBinContent(5,332.8571); h_SL1L362->SetBinContent(6,370); h_SL1L362->SetBinContent(7,401.4286); h_SL1L362->SetBinContent(8,407.1429); h_SL1L362->SetBinContent(9,422.8571); h_SL1L362->SetBinContent(10,471.4286); h_SL1L362->SetBinContent(11,560); h_SL1L362->SetBinContent(12,617.1429); h_SL1L362->SetBinContent(13,688.5715); h_SL1L362->SetBinContent(14,708.5715); h_SL1L362->SetBinContent(15,721.4286); h_SL1L362->SetBinContent(16,764.2857); h_SL1L362->SetBinContent(17,801.4286); h_SL1L362->SetBinContent(18,1044.286); h_SL1L362->SetBinContent(19,1027.143); h_SL1L362->SetBinContent(20,1085.714); h_SL1L362->SetBinContent(21,1327.143); h_SL1L362->SetBinContent(22,1371.429); h_SL1L362->SetBinContent(23,1551.429); h_SL1L362->SetBinContent(24,1635.714); h_SL1L362->SetBinContent(25,1628.571); h_SL1L362->SetBinContent(26,1715.714); h_SL1L362->SetBinContent(27,2112.857); h_SL1L362->SetBinContent(28,2500); h_SL1L362->SetBinContent(29,2748.572); h_SL1L362->SetBinContent(30,3225.714); h_SL1L362->SetBinContent(31,4485.714); h_SL1L362->SetBinContent(32,7871.429); h_SL1L362->SetBinContent(33,31644.29); h_SL1L362->SetBinContent(34,48380); h_SL1L362->SetBinContent(35,52368.57); h_SL1L362->SetBinContent(36,56501.43); h_SL1L362->SetBinContent(37,59840); h_SL1L362->SetBinContent(38,54374.29); h_SL1L362->SetBinContent(39,35334.29); h_SL1L362->SetBinContent(40,8045.714); h_SL1L362->SetBinContent(41,4831.429); h_SL1L362->SetBinContent(42,3917.143); h_SL1L362->SetBinContent(43,3477.143); h_SL1L362->SetBinContent(44,3057.143); h_SL1L362->SetBinContent(45,2698.572); h_SL1L362->SetBinContent(46,2530); h_SL1L362->SetBinContent(47,2180); h_SL1L362->SetBinContent(48,2120); h_SL1L362->SetBinContent(49,2027.143); h_SL1L362->SetBinContent(50,1827.143); h_SL1L362->SetBinContent(51,1718.571); h_SL1L362->SetBinContent(52,1660); h_SL1L362->SetBinContent(53,4660); h_SL1L362->SetBinContent(54,1512.857); h_SL1L362->SetBinContent(55,1475.714); h_SL1L362->SetBinContent(56,6214.286); h_SL1L362->SetBinContent(57,1528.571); h_SL1L362->SetBinContent(58,1271.429); h_SL1L362->SetBinContent(59,1231.429); h_SL1L362->SetMaximum(79382.86); 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,344.2857); h_SL1L463->SetBinContent(3,394.2857); h_SL1L463->SetBinContent(4,332.8571); h_SL1L463->SetBinContent(5,374.2857); h_SL1L463->SetBinContent(6,390); h_SL1L463->SetBinContent(7,421.4286); h_SL1L463->SetBinContent(8,392.8571); h_SL1L463->SetBinContent(9,504.2857); h_SL1L463->SetBinContent(10,490); h_SL1L463->SetBinContent(11,600); h_SL1L463->SetBinContent(12,627.1429); h_SL1L463->SetBinContent(13,712.8572); h_SL1L463->SetBinContent(14,771.4286); h_SL1L463->SetBinContent(15,805.7143); h_SL1L463->SetBinContent(16,845.7143); h_SL1L463->SetBinContent(17,891.4286); h_SL1L463->SetBinContent(18,1070); h_SL1L463->SetBinContent(19,1215.714); h_SL1L463->SetBinContent(20,1214.286); h_SL1L463->SetBinContent(21,1334.286); h_SL1L463->SetBinContent(22,1477.143); h_SL1L463->SetBinContent(23,1624.286); h_SL1L463->SetBinContent(24,1920); h_SL1L463->SetBinContent(25,1872.857); h_SL1L463->SetBinContent(26,1950); h_SL1L463->SetBinContent(27,2125.714); h_SL1L463->SetBinContent(28,2635.714); h_SL1L463->SetBinContent(29,2981.429); h_SL1L463->SetBinContent(30,3488.572); h_SL1L463->SetBinContent(31,4347.143); h_SL1L463->SetBinContent(32,7070); h_SL1L463->SetBinContent(33,18651.43); h_SL1L463->SetBinContent(34,50510); h_SL1L463->SetBinContent(35,58372.86); h_SL1L463->SetBinContent(36,62424.29); h_SL1L463->SetBinContent(37,67847.14); h_SL1L463->SetBinContent(38,66222.86); h_SL1L463->SetBinContent(39,56127.14); h_SL1L463->SetBinContent(40,19450); h_SL1L463->SetBinContent(41,7950); h_SL1L463->SetBinContent(42,4715.714); h_SL1L463->SetBinContent(43,4054.286); h_SL1L463->SetBinContent(44,3657.143); h_SL1L463->SetBinContent(45,3245.714); h_SL1L463->SetBinContent(46,3001.429); h_SL1L463->SetBinContent(47,2668.572); h_SL1L463->SetBinContent(48,2418.572); h_SL1L463->SetBinContent(49,2441.429); h_SL1L463->SetBinContent(50,2318.572); h_SL1L463->SetBinContent(51,2025.714); h_SL1L463->SetBinContent(52,1941.429); h_SL1L463->SetBinContent(53,1791.429); h_SL1L463->SetBinContent(54,1752.857); h_SL1L463->SetBinContent(55,5.714286); h_SL1L463->SetBinContent(56,1614.286); h_SL1L463->SetBinContent(57,1540); h_SL1L463->SetBinContent(58,1595.714); h_SL1L463->SetBinContent(59,1465.714); h_SL1L463->SetMaximum(79382.86); 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 6609"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }