void RatesPerCell_Removing_noisy_cells_run_6595_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:27:10 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11314.56,67.5,101831.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6595",60,0,60); h_SL1L160->SetBinContent(1,444.2857); h_SL1L160->SetBinContent(2,440); h_SL1L160->SetBinContent(3,471.4286); h_SL1L160->SetBinContent(4,431.4286); h_SL1L160->SetBinContent(5,440); h_SL1L160->SetBinContent(6,541.4286); h_SL1L160->SetBinContent(7,534.2857); h_SL1L160->SetBinContent(8,520); h_SL1L160->SetBinContent(9,585.7143); h_SL1L160->SetBinContent(10,600); h_SL1L160->SetBinContent(11,754.2857); h_SL1L160->SetBinContent(12,831.4286); h_SL1L160->SetBinContent(13,875.7143); h_SL1L160->SetBinContent(14,1001.429); h_SL1L160->SetBinContent(15,882.8572); h_SL1L160->SetBinContent(16,847.1429); h_SL1L160->SetBinContent(17,998.5715); h_SL1L160->SetBinContent(18,1311.429); h_SL1L160->SetBinContent(19,1471.429); h_SL1L160->SetBinContent(20,1520); h_SL1L160->SetBinContent(21,1777.143); h_SL1L160->SetBinContent(22,1767.143); h_SL1L160->SetBinContent(23,2045.714); h_SL1L160->SetBinContent(24,2335.714); h_SL1L160->SetBinContent(25,2228.572); h_SL1L160->SetBinContent(26,2271.429); h_SL1L160->SetBinContent(27,2487.143); h_SL1L160->SetBinContent(28,3210); h_SL1L160->SetBinContent(29,3597.143); h_SL1L160->SetBinContent(30,4021.429); h_SL1L160->SetBinContent(31,5417.143); h_SL1L160->SetBinContent(32,9352.857); h_SL1L160->SetBinContent(33,37215.71); h_SL1L160->SetBinContent(34,54675.71); h_SL1L160->SetBinContent(35,59338.57); h_SL1L160->SetBinContent(36,63578.57); h_SL1L160->SetBinContent(37,67928.57); h_SL1L160->SetBinContent(38,63325.71); h_SL1L160->SetBinContent(39,39288.57); h_SL1L160->SetBinContent(40,9707.144); h_SL1L160->SetBinContent(41,5895.714); h_SL1L160->SetBinContent(42,4728.572); h_SL1L160->SetBinContent(43,4011.429); h_SL1L160->SetBinContent(44,3702.857); h_SL1L160->SetBinContent(45,3361.429); h_SL1L160->SetBinContent(46,3100); h_SL1L160->SetBinContent(47,3015.714); h_SL1L160->SetBinContent(48,2710); h_SL1L160->SetBinContent(49,2640); h_SL1L160->SetBinContent(50,2565.714); h_SL1L160->SetBinContent(51,2244.286); h_SL1L160->SetBinContent(52,2137.143); h_SL1L160->SetBinContent(53,2037.143); h_SL1L160->SetBinContent(54,1790); h_SL1L160->SetBinContent(55,1805.714); h_SL1L160->SetBinContent(56,1665.714); h_SL1L160->SetBinContent(57,1802.857); h_SL1L160->SetBinContent(58,1662.857); h_SL1L160->SetBinContent(59,1620); h_SL1L160->SetMaximum(90516.5); 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,397.1429); h_SL1L261->SetBinContent(2,361.4286); h_SL1L261->SetBinContent(3,418.5714); h_SL1L261->SetBinContent(4,382.8571); h_SL1L261->SetBinContent(5,410); h_SL1L261->SetBinContent(6,440); h_SL1L261->SetBinContent(7,468.5714); h_SL1L261->SetBinContent(8,480); h_SL1L261->SetBinContent(9,468.5714); h_SL1L261->SetBinContent(10,491.4286); h_SL1L261->SetBinContent(11,624.2857); h_SL1L261->SetBinContent(12,735.7143); h_SL1L261->SetBinContent(13,797.1429); h_SL1L261->SetBinContent(14,887.1429); h_SL1L261->SetBinContent(15,881.4286); h_SL1L261->SetBinContent(16,737.1429); h_SL1L261->SetBinContent(17,881.4286); h_SL1L261->SetBinContent(18,1178.571); h_SL1L261->SetBinContent(19,1284.286); h_SL1L261->SetBinContent(20,1398.571); h_SL1L261->SetBinContent(21,1491.429); h_SL1L261->SetBinContent(22,1660); h_SL1L261->SetBinContent(23,1881.429); h_SL1L261->SetBinContent(24,2054.286); h_SL1L261->SetBinContent(25,2244.286); h_SL1L261->SetBinContent(26,2081.429); h_SL1L261->SetBinContent(27,2288.572); h_SL1L261->SetBinContent(28,2711.429); h_SL1L261->SetBinContent(29,3252.857); h_SL1L261->SetBinContent(30,3754.286); h_SL1L261->SetBinContent(31,4481.429); h_SL1L261->SetBinContent(32,7535.714); h_SL1L261->SetBinContent(33,19448.57); h_SL1L261->SetBinContent(34,51455.71); h_SL1L261->SetBinContent(35,58792.86); h_SL1L261->SetBinContent(36,63392.86); h_SL1L261->SetBinContent(37,68277.14); h_SL1L261->SetBinContent(38,68444.29); h_SL1L261->SetBinContent(39,55824.29); h_SL1L261->SetBinContent(40,19620); h_SL1L261->SetBinContent(41,8307.143); h_SL1L261->SetBinContent(42,5035.714); h_SL1L261->SetBinContent(43,4345.714); h_SL1L261->SetBinContent(44,3830); h_SL1L261->SetBinContent(45,3455.714); h_SL1L261->SetBinContent(46,3218.572); h_SL1L261->SetBinContent(47,3017.143); h_SL1L261->SetBinContent(48,2745.714); h_SL1L261->SetBinContent(49,14191.43); h_SL1L261->SetBinContent(50,2538.572); h_SL1L261->SetBinContent(51,2347.143); h_SL1L261->SetBinContent(52,2321.429); h_SL1L261->SetBinContent(53,2160); h_SL1L261->SetBinContent(54,1862.857); h_SL1L261->SetBinContent(55,1757.143); h_SL1L261->SetBinContent(56,5522.857); h_SL1L261->SetBinContent(57,1631.429); h_SL1L261->SetBinContent(58,1694.286); h_SL1L261->SetBinContent(59,1584.286); h_SL1L261->SetMaximum(78710.93); 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,322.8571); h_SL1L362->SetBinContent(2,282.8571); h_SL1L362->SetBinContent(3,278.5714); h_SL1L362->SetBinContent(4,337.1429); h_SL1L362->SetBinContent(5,307.1429); h_SL1L362->SetBinContent(6,364.2857); h_SL1L362->SetBinContent(7,390); h_SL1L362->SetBinContent(8,390); h_SL1L362->SetBinContent(9,357.1429); h_SL1L362->SetBinContent(10,402.8571); h_SL1L362->SetBinContent(11,554.2857); h_SL1L362->SetBinContent(12,612.8572); h_SL1L362->SetBinContent(13,668.5715); h_SL1L362->SetBinContent(14,720); h_SL1L362->SetBinContent(15,627.1429); h_SL1L362->SetBinContent(16,705.7143); h_SL1L362->SetBinContent(17,821.4286); h_SL1L362->SetBinContent(18,958.5715); h_SL1L362->SetBinContent(19,1052.857); h_SL1L362->SetBinContent(20,1104.286); h_SL1L362->SetBinContent(21,1337.143); h_SL1L362->SetBinContent(22,1351.429); h_SL1L362->SetBinContent(23,1521.429); h_SL1L362->SetBinContent(24,1778.571); h_SL1L362->SetBinContent(25,1672.857); h_SL1L362->SetBinContent(26,1778.571); h_SL1L362->SetBinContent(27,2014.286); h_SL1L362->SetBinContent(28,2445.714); h_SL1L362->SetBinContent(29,2918.572); h_SL1L362->SetBinContent(30,3224.286); h_SL1L362->SetBinContent(31,4660); h_SL1L362->SetBinContent(32,8298.571); h_SL1L362->SetBinContent(33,33431.43); h_SL1L362->SetBinContent(34,49990); h_SL1L362->SetBinContent(35,54345.71); h_SL1L362->SetBinContent(36,58134.29); h_SL1L362->SetBinContent(37,61867.14); h_SL1L362->SetBinContent(38,56047.14); h_SL1L362->SetBinContent(39,36367.14); h_SL1L362->SetBinContent(40,8350); h_SL1L362->SetBinContent(41,4990); h_SL1L362->SetBinContent(42,3961.429); h_SL1L362->SetBinContent(43,3465.714); h_SL1L362->SetBinContent(44,3100); h_SL1L362->SetBinContent(45,2814.286); h_SL1L362->SetBinContent(46,2542.857); h_SL1L362->SetBinContent(47,2487.143); h_SL1L362->SetBinContent(48,2151.429); h_SL1L362->SetBinContent(49,2107.143); h_SL1L362->SetBinContent(50,1978.572); h_SL1L362->SetBinContent(51,1894.286); h_SL1L362->SetBinContent(52,1757.143); h_SL1L362->SetBinContent(53,4352.857); h_SL1L362->SetBinContent(54,1412.857); h_SL1L362->SetBinContent(55,1431.429); h_SL1L362->SetBinContent(56,5668.572); h_SL1L362->SetBinContent(57,1618.571); h_SL1L362->SetBinContent(58,1285.714); h_SL1L362->SetBinContent(59,1281.429); h_SL1L362->SetMaximum(78710.93); 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,298.5714); h_SL1L463->SetBinContent(3,331.4286); h_SL1L463->SetBinContent(4,362.8571); h_SL1L463->SetBinContent(5,334.2857); h_SL1L463->SetBinContent(6,348.5714); h_SL1L463->SetBinContent(7,395.7143); h_SL1L463->SetBinContent(8,425.7143); h_SL1L463->SetBinContent(9,407.1429); h_SL1L463->SetBinContent(10,455.7143); h_SL1L463->SetBinContent(11,505.7143); h_SL1L463->SetBinContent(12,632.8572); h_SL1L463->SetBinContent(13,652.8572); h_SL1L463->SetBinContent(14,758.5715); h_SL1L463->SetBinContent(15,718.5715); h_SL1L463->SetBinContent(16,708.5715); h_SL1L463->SetBinContent(17,831.4286); h_SL1L463->SetBinContent(18,1014.286); h_SL1L463->SetBinContent(19,1141.429); h_SL1L463->SetBinContent(20,1158.571); h_SL1L463->SetBinContent(21,1267.143); h_SL1L463->SetBinContent(22,1400); h_SL1L463->SetBinContent(23,1581.429); h_SL1L463->SetBinContent(24,1824.286); h_SL1L463->SetBinContent(25,1925.714); h_SL1L463->SetBinContent(26,1938.572); h_SL1L463->SetBinContent(27,2070); h_SL1L463->SetBinContent(28,2475.714); h_SL1L463->SetBinContent(29,2984.286); h_SL1L463->SetBinContent(30,3522.857); h_SL1L463->SetBinContent(31,4161.429); h_SL1L463->SetBinContent(32,7174.286); h_SL1L463->SetBinContent(33,18790); h_SL1L463->SetBinContent(34,50934.29); h_SL1L463->SetBinContent(35,58550); h_SL1L463->SetBinContent(36,62375.71); h_SL1L463->SetBinContent(37,67515.72); h_SL1L463->SetBinContent(38,66747.14); h_SL1L463->SetBinContent(39,55481.43); h_SL1L463->SetBinContent(40,19452.86); h_SL1L463->SetBinContent(41,7777.143); h_SL1L463->SetBinContent(42,4755.714); h_SL1L463->SetBinContent(43,4001.429); h_SL1L463->SetBinContent(44,3594.286); h_SL1L463->SetBinContent(45,3170); h_SL1L463->SetBinContent(46,2952.857); h_SL1L463->SetBinContent(47,2844.286); h_SL1L463->SetBinContent(48,2510); h_SL1L463->SetBinContent(49,2401.429); h_SL1L463->SetBinContent(50,2291.429); h_SL1L463->SetBinContent(51,2160); h_SL1L463->SetBinContent(52,2000); h_SL1L463->SetBinContent(53,1818.571); h_SL1L463->SetBinContent(54,1694.286); h_SL1L463->SetBinContent(55,1.428571); h_SL1L463->SetBinContent(56,1607.143); h_SL1L463->SetBinContent(57,1485.714); h_SL1L463->SetBinContent(58,1542.857); h_SL1L463->SetBinContent(59,1411.429); h_SL1L463->SetMaximum(78710.93); 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 6595"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }