void RatesPerCell_Removing_noisy_cells_run_6608_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:26:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11387.3,67.5,102485.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6608",60,0,60); h_SL2L164->SetBinContent(1,907.1429); h_SL2L164->SetBinContent(2,957.1429); h_SL2L164->SetBinContent(3,1037.143); h_SL2L164->SetBinContent(4,1175.714); h_SL2L164->SetBinContent(5,1185.714); h_SL2L164->SetBinContent(6,1274.286); h_SL2L164->SetBinContent(7,1294.286); h_SL2L164->SetBinContent(8,1441.429); h_SL2L164->SetBinContent(9,1497.143); h_SL2L164->SetBinContent(10,1664.286); h_SL2L164->SetBinContent(11,1718.571); h_SL2L164->SetBinContent(12,1918.572); h_SL2L164->SetBinContent(13,2032.857); h_SL2L164->SetBinContent(14,2150); h_SL2L164->SetBinContent(15,2147.143); h_SL2L164->SetBinContent(16,2321.429); h_SL2L164->SetBinContent(17,2340); h_SL2L164->SetBinContent(18,2488.572); h_SL2L164->SetBinContent(19,2871.429); h_SL2L164->SetBinContent(20,2791.429); h_SL2L164->SetBinContent(21,2754.286); h_SL2L164->SetBinContent(22,3030); h_SL2L164->SetBinContent(23,3408.572); h_SL2L164->SetBinContent(24,3897.143); h_SL2L164->SetBinContent(25,9044.286); h_SL2L164->SetBinContent(26,27905.71); h_SL2L164->SetBinContent(27,42362.86); h_SL2L164->SetBinContent(28,50480); h_SL2L164->SetBinContent(29,53658.57); h_SL2L164->SetBinContent(30,52081.43); h_SL2L164->SetBinContent(31,50031.43); h_SL2L164->SetBinContent(32,49961.43); h_SL2L164->SetBinContent(33,48050); h_SL2L164->SetBinContent(34,27287.14); h_SL2L164->SetBinContent(36,3800); h_SL2L164->SetBinContent(37,9021.429); h_SL2L164->SetBinContent(38,5544.286); h_SL2L164->SetBinContent(39,6905.714); h_SL2L164->SetBinContent(40,58957.14); h_SL2L164->SetBinContent(41,68884.29); h_SL2L164->SetBinContent(42,13964.29); h_SL2L164->SetBinContent(43,13965.71); h_SL2L164->SetBinContent(44,14512.86); h_SL2L164->SetBinContent(45,1512.857); h_SL2L164->SetBinContent(46,1334.286); h_SL2L164->SetBinContent(47,1154.286); h_SL2L164->SetBinContent(48,1155.714); h_SL2L164->SetBinContent(49,1101.429); h_SL2L164->SetBinContent(50,971.4286); h_SL2L164->SetBinContent(51,918.5715); h_SL2L164->SetBinContent(52,927.1429); h_SL2L164->SetBinContent(53,858.5715); h_SL2L164->SetBinContent(54,797.1429); h_SL2L164->SetBinContent(55,810); h_SL2L164->SetBinContent(56,647.1429); h_SL2L164->SetBinContent(57,6678.572); h_SL2L164->SetMaximum(91098.4); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,838.5715); h_SL2L265->SetBinContent(2,934.2858); h_SL2L265->SetBinContent(3,964.2858); h_SL2L265->SetBinContent(4,1128.571); h_SL2L265->SetBinContent(5,1187.143); h_SL2L265->SetBinContent(6,1217.143); h_SL2L265->SetBinContent(7,1284.286); h_SL2L265->SetBinContent(8,1358.571); h_SL2L265->SetBinContent(9,1354.286); h_SL2L265->SetBinContent(10,1557.143); h_SL2L265->SetBinContent(11,1682.857); h_SL2L265->SetBinContent(12,1765.714); h_SL2L265->SetBinContent(13,1958.572); h_SL2L265->SetBinContent(14,1990); h_SL2L265->SetBinContent(15,2150); h_SL2L265->SetBinContent(16,2198.572); h_SL2L265->SetBinContent(17,2185.714); h_SL2L265->SetBinContent(18,2404.286); h_SL2L265->SetBinContent(19,2654.286); h_SL2L265->SetBinContent(20,2814.286); h_SL2L265->SetBinContent(21,2798.572); h_SL2L265->SetBinContent(22,2781.429); h_SL2L265->SetBinContent(23,3174.286); h_SL2L265->SetBinContent(24,3500); h_SL2L265->SetBinContent(25,4628.572); h_SL2L265->SetBinContent(26,18222.86); h_SL2L265->SetBinContent(27,35240); h_SL2L265->SetBinContent(28,47372.86); h_SL2L265->SetBinContent(29,52337.14); h_SL2L265->SetBinContent(30,53074.29); h_SL2L265->SetBinContent(31,50274.29); h_SL2L265->SetBinContent(32,49561.43); h_SL2L265->SetBinContent(33,49901.43); h_SL2L265->SetBinContent(34,40884.29); h_SL2L265->SetBinContent(35,14585.71); h_SL2L265->SetBinContent(36,4848.572); h_SL2L265->SetBinContent(37,3405.714); h_SL2L265->SetBinContent(38,2787.143); h_SL2L265->SetBinContent(39,4001.429); h_SL2L265->SetBinContent(40,5355.714); h_SL2L265->SetBinContent(41,4177.143); h_SL2L265->SetBinContent(42,3678.572); h_SL2L265->SetBinContent(43,2450); h_SL2L265->SetBinContent(44,3555.714); h_SL2L265->SetBinContent(45,1501.429); h_SL2L265->SetBinContent(46,1378.571); h_SL2L265->SetBinContent(47,1298.571); h_SL2L265->SetBinContent(48,1111.429); h_SL2L265->SetBinContent(49,1092.857); h_SL2L265->SetBinContent(50,1084.286); h_SL2L265->SetBinContent(51,928.5715); h_SL2L265->SetBinContent(52,895.7143); h_SL2L265->SetBinContent(53,875.7143); h_SL2L265->SetBinContent(54,855.7143); h_SL2L265->SetBinContent(55,801.4286); h_SL2L265->SetBinContent(56,707.1429); h_SL2L265->SetBinContent(57,662.8572); h_SL2L265->SetMaximum(79216.93); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,922.8572); h_SL2L366->SetBinContent(2,935.7143); h_SL2L366->SetBinContent(3,1025.714); h_SL2L366->SetBinContent(4,1125.714); h_SL2L366->SetBinContent(5,1137.143); h_SL2L366->SetBinContent(6,1230); h_SL2L366->SetBinContent(7,1310); h_SL2L366->SetBinContent(8,1392.857); h_SL2L366->SetBinContent(9,1442.857); h_SL2L366->SetBinContent(10,1618.571); h_SL2L366->SetBinContent(11,1665.714); h_SL2L366->SetBinContent(12,1884.286); h_SL2L366->SetBinContent(13,1928.572); h_SL2L366->SetBinContent(14,2094.286); h_SL2L366->SetBinContent(15,2124.286); h_SL2L366->SetBinContent(16,2175.714); h_SL2L366->SetBinContent(17,2290); h_SL2L366->SetBinContent(18,2420); h_SL2L366->SetBinContent(19,2772.857); h_SL2L366->SetBinContent(20,2717.143); h_SL2L366->SetBinContent(21,2661.429); h_SL2L366->SetBinContent(22,2882.857); h_SL2L366->SetBinContent(23,3228.572); h_SL2L366->SetBinContent(24,3701.429); h_SL2L366->SetBinContent(25,8961.429); h_SL2L366->SetBinContent(26,27884.29); h_SL2L366->SetBinContent(27,42148.57); h_SL2L366->SetBinContent(28,50344.29); h_SL2L366->SetBinContent(29,53224.29); h_SL2L366->SetBinContent(30,51901.43); h_SL2L366->SetBinContent(31,50042.86); h_SL2L366->SetBinContent(32,50171.43); h_SL2L366->SetBinContent(33,48067.14); h_SL2L366->SetBinContent(34,27347.14); h_SL2L366->SetBinContent(35,7214.286); h_SL2L366->SetBinContent(36,3960); h_SL2L366->SetBinContent(37,3022.857); h_SL2L366->SetBinContent(38,2630); h_SL2L366->SetBinContent(39,2252.857); h_SL2L366->SetBinContent(40,3930); h_SL2L366->SetBinContent(41,2475.714); h_SL2L366->SetBinContent(42,1781.429); h_SL2L366->SetBinContent(43,1560); h_SL2L366->SetBinContent(44,1502.857); h_SL2L366->SetBinContent(45,1430); h_SL2L366->SetBinContent(46,1288.571); h_SL2L366->SetBinContent(47,1157.143); h_SL2L366->SetBinContent(48,1187.143); h_SL2L366->SetBinContent(49,1058.571); h_SL2L366->SetBinContent(50,960); h_SL2L366->SetBinContent(51,871.4286); h_SL2L366->SetBinContent(52,904.2857); h_SL2L366->SetBinContent(53,842.8572); h_SL2L366->SetBinContent(54,780); h_SL2L366->SetBinContent(55,752.8572); h_SL2L366->SetBinContent(56,658.5715); h_SL2L366->SetBinContent(57,707.1429); h_SL2L366->SetMaximum(79216.93); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,920); h_SL2L467->SetBinContent(3,945.7143); h_SL2L467->SetBinContent(4,1087.143); h_SL2L467->SetBinContent(5,1147.143); h_SL2L467->SetBinContent(6,1190); h_SL2L467->SetBinContent(7,1251.429); h_SL2L467->SetBinContent(8,1325.714); h_SL2L467->SetBinContent(9,1280); h_SL2L467->SetBinContent(10,1510); h_SL2L467->SetBinContent(11,1644.286); h_SL2L467->SetBinContent(12,1717.143); h_SL2L467->SetBinContent(13,1885.714); h_SL2L467->SetBinContent(14,1977.143); h_SL2L467->SetBinContent(15,2121.429); h_SL2L467->SetBinContent(16,2084.286); h_SL2L467->SetBinContent(17,2201.429); h_SL2L467->SetBinContent(18,2300); h_SL2L467->SetBinContent(19,2540); h_SL2L467->SetBinContent(20,2741.429); h_SL2L467->SetBinContent(21,2657.143); h_SL2L467->SetBinContent(22,2702.857); h_SL2L467->SetBinContent(23,3060); h_SL2L467->SetBinContent(24,3377.143); h_SL2L467->SetBinContent(25,4507.143); h_SL2L467->SetBinContent(26,18240); h_SL2L467->SetBinContent(27,35544.29); h_SL2L467->SetBinContent(28,47285.71); h_SL2L467->SetBinContent(29,52355.71); h_SL2L467->SetBinContent(30,53677.14); h_SL2L467->SetBinContent(31,50302.86); h_SL2L467->SetBinContent(32,49742.86); h_SL2L467->SetBinContent(33,49825.71); h_SL2L467->SetBinContent(34,40767.14); h_SL2L467->SetBinContent(35,14582.86); h_SL2L467->SetBinContent(36,4772.857); h_SL2L467->SetBinContent(37,3247.143); h_SL2L467->SetBinContent(38,2644.286); h_SL2L467->SetBinContent(39,2487.143); h_SL2L467->SetBinContent(40,2085.714); h_SL2L467->SetBinContent(41,1850); h_SL2L467->SetBinContent(42,2338.572); h_SL2L467->SetBinContent(43,1600); h_SL2L467->SetBinContent(44,1515.714); h_SL2L467->SetBinContent(45,1395.714); h_SL2L467->SetBinContent(46,1302.857); h_SL2L467->SetBinContent(47,1235.714); h_SL2L467->SetBinContent(48,1055.714); h_SL2L467->SetBinContent(49,1051.429); h_SL2L467->SetBinContent(50,1097.143); h_SL2L467->SetBinContent(51,904.2857); h_SL2L467->SetBinContent(52,895.7143); h_SL2L467->SetBinContent(53,854.2857); h_SL2L467->SetBinContent(54,834.2857); h_SL2L467->SetBinContent(55,737.1429); h_SL2L467->SetBinContent(56,697.1429); h_SL2L467->SetBinContent(57,650); h_SL2L467->SetMaximum(79216.93); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6608"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }