void RatesPerCell_Removing_noisy_cells_run_6598_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-25255.15,67.5,227296.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6598",60,0,60); h_SL3L168->SetBinContent(1,560.7806); h_SL3L168->SetBinContent(2,231.2224); h_SL3L168->SetBinContent(4,259.1285); h_SL3L168->SetBinContent(5,591.3445); h_SL3L168->SetBinContent(6,321.5851); h_SL3L168->SetBinContent(7,291.0212); h_SL3L168->SetBinContent(8,340.1892); h_SL3L168->SetBinContent(9,352.149); h_SL3L168->SetBinContent(10,386.6995); h_SL3L168->SetBinContent(11,410.619); h_SL3L168->SetBinContent(12,470.4179); h_SL3L168->SetBinContent(13,530.2168); h_SL3L168->SetBinContent(14,579.3848); h_SL3L168->SetBinContent(15,639.1837); h_SL3L168->SetBinContent(16,659.1166); h_SL3L168->SetBinContent(17,691.0093); h_SL3L168->SetBinContent(18,829.2112); h_SL3L168->SetBinContent(19,799.9762); h_SL3L168->SetBinContent(20,908.9431); h_SL3L168->SetBinContent(21,1120.232); h_SL3L168->SetBinContent(22,1126.877); h_SL3L168->SetBinContent(23,1263.75); h_SL3L168->SetBinContent(24,1346.139); h_SL3L168->SetBinContent(25,1566.731); h_SL3L168->SetBinContent(26,1615.899); h_SL3L168->SetBinContent(27,1974.692); h_SL3L168->SetBinContent(28,2160.733); h_SL3L168->SetBinContent(29,2378.667); h_SL3L168->SetBinContent(30,2882.306); h_SL3L168->SetBinContent(31,3383.288); h_SL3L168->SetBinContent(32,4771.951); h_SL3L168->SetBinContent(33,9489.419); h_SL3L168->SetBinContent(34,39311.79); h_SL3L168->SetBinContent(35,58103.25); h_SL3L168->SetBinContent(36,62532.36); h_SL3L168->SetBinContent(37,67276.41); h_SL3L168->SetBinContent(38,71766.63); h_SL3L168->SetBinContent(39,65051.88); h_SL3L168->SetBinContent(40,41519.03); h_SL3L168->SetBinContent(41,9723.299); h_SL3L168->SetBinContent(42,5373.926); h_SL3L168->SetBinContent(43,3893.572); h_SL3L168->SetBinContent(44,3456.375); h_SL3L168->SetBinContent(45,3001.904); h_SL3L168->SetBinContent(46,2774.668); h_SL3L168->SetBinContent(47,2585.969); h_SL3L168->SetBinContent(48,2426.506); h_SL3L168->SetBinContent(49,23500.96); h_SL3L168->SetBinContent(50,2086.317); h_SL3L168->SetBinContent(51,1859.081); h_SL3L168->SetBinContent(52,1767.389); h_SL3L168->SetBinContent(53,1638.489); h_SL3L168->SetBinContent(54,1663.738); h_SL3L168->SetBinContent(55,1498.959); h_SL3L168->SetBinContent(56,1408.596); h_SL3L168->SetBinContent(57,1310.26); h_SL3L168->SetBinContent(58,1328.864); h_SL3L168->SetBinContent(59,1310.26); h_SL3L168->SetMaximum(202041.2); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,273.746); h_SL3L269->SetBinContent(2,213.9471); h_SL3L269->SetBinContent(4,277.7326); h_SL3L269->SetBinContent(5,272.4171); h_SL3L269->SetBinContent(6,515.5992); h_SL3L269->SetBinContent(7,284.3769); h_SL3L269->SetBinContent(8,328.2294); h_SL3L269->SetBinContent(9,357.4644); h_SL3L269->SetBinContent(10,382.7129); h_SL3L269->SetBinContent(11,374.7397); h_SL3L269->SetBinContent(12,431.8808); h_SL3L269->SetBinContent(13,518.257); h_SL3L269->SetBinContent(14,555.4652); h_SL3L269->SetBinContent(15,594.0023); h_SL3L269->SetBinContent(16,616.593); h_SL3L269->SetBinContent(17,700.3114); h_SL3L269->SetBinContent(18,708.2845); h_SL3L269->SetBinContent(19,857.1174); h_SL3L269->SetBinContent(20,794.6607); h_SL3L269->SetBinContent(21,992.6615); h_SL3L269->SetBinContent(22,1060.434); h_SL3L269->SetBinContent(23,1243.817); h_SL3L269->SetBinContent(24,1253.119); h_SL3L269->SetBinContent(25,1437.831); h_SL3L269->SetBinContent(26,1627.859); h_SL3L269->SetBinContent(27,1673.04); h_SL3L269->SetBinContent(28,2049.108); h_SL3L269->SetBinContent(29,2139.471); h_SL3L269->SetBinContent(30,2563.379); h_SL3L269->SetBinContent(31,2977.984); h_SL3L269->SetBinContent(32,3821.813); h_SL3L269->SetBinContent(33,6822.388); h_SL3L269->SetBinContent(34,19596.76); h_SL3L269->SetBinContent(35,51708.76); h_SL3L269->SetBinContent(36,60095.22); h_SL3L269->SetBinContent(37,63693.79); h_SL3L269->SetBinContent(38,69948.75); h_SL3L269->SetBinContent(39,69106.25); h_SL3L269->SetBinContent(40,56897.97); h_SL3L269->SetBinContent(41,20512.35); h_SL3L269->SetBinContent(42,7636.982); h_SL3L269->SetBinContent(43,4247.05); h_SL3L269->SetBinContent(44,3680.954); h_SL3L269->SetBinContent(45,3126.817); h_SL3L269->SetBinContent(46,2794.601); h_SL3L269->SetBinContent(47,2656.399); h_SL3L269->SetBinContent(48,2406.573); h_SL3L269->SetBinContent(49,4248.378); h_SL3L269->SetBinContent(50,2114.223); h_SL3L269->SetBinContent(51,1954.759); h_SL3L269->SetBinContent(52,2200.599); h_SL3L269->SetBinContent(53,4777.267); h_SL3L269->SetBinContent(54,1650.449); h_SL3L269->SetBinContent(55,1586.664); h_SL3L269->SetBinContent(56,1708.919); h_SL3L269->SetBinContent(57,1401.952); h_SL3L269->SetBinContent(58,1332.851); h_SL3L269->SetBinContent(59,1304.945); h_SL3L269->SetMaximum(175688.8); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,228.5646); h_SL3L370->SetBinContent(2,241.8533); h_SL3L370->SetBinContent(3,272.4171); h_SL3L370->SetBinContent(4,281.7192); h_SL3L370->SetBinContent(5,681.7073); h_SL3L370->SetBinContent(6,798.6473); h_SL3L370->SetBinContent(7,295.0078); h_SL3L370->SetBinContent(8,338.8604); h_SL3L370->SetBinContent(9,385.3706); h_SL3L370->SetBinContent(10,402.6458); h_SL3L370->SetBinContent(11,389.3572); h_SL3L370->SetBinContent(12,477.0622); h_SL3L370->SetBinContent(13,502.3106); h_SL3L370->SetBinContent(14,579.3848); h_SL3L370->SetBinContent(15,628.5527); h_SL3L370->SetBinContent(16,619.2507); h_SL3L370->SetBinContent(17,697.6536); h_SL3L370->SetBinContent(18,746.8216); h_SL3L370->SetBinContent(19,740.1773); h_SL3L370->SetBinContent(20,873.0637); h_SL3L370->SetBinContent(21,1056.447); h_SL3L370->SetBinContent(22,1102.957); h_SL3L370->SetBinContent(23,1215.911); h_SL3L370->SetBinContent(24,1243.817); h_SL3L370->SetBinContent(25,1538.825); h_SL3L370->SetBinContent(26,1540.153); h_SL3L370->SetBinContent(27,1897.618); h_SL3L370->SetBinContent(28,2015.887); h_SL3L370->SetBinContent(29,2227.176); h_SL3L370->SetBinContent(30,2726.829); h_SL3L370->SetBinContent(31,3303.556); h_SL3L370->SetBinContent(32,4693.548); h_SL3L370->SetBinContent(33,9219.659); h_SL3L370->SetBinContent(34,38336.4); h_SL3L370->SetBinContent(35,57371.05); h_SL3L370->SetBinContent(36,62160.28); h_SL3L370->SetBinContent(37,66816.62); h_SL3L370->SetBinContent(38,70513.52); h_SL3L370->SetBinContent(39,64829.96); h_SL3L370->SetBinContent(40,41342.29); h_SL3L370->SetBinContent(41,9570.479); h_SL3L370->SetBinContent(42,5295.523); h_SL3L370->SetBinContent(43,3759.356); h_SL3L370->SetBinContent(44,3287.61); h_SL3L370->SetBinContent(45,227.2358); h_SL3L370->SetBinContent(46,2712.212); h_SL3L370->SetBinContent(47,2510.224); h_SL3L370->SetBinContent(48,2306.908); h_SL3L370->SetBinContent(49,2146.115); h_SL3L370->SetBinContent(50,2001.269); h_SL3L370->SetBinContent(51,1849.779); h_SL3L370->SetBinContent(52,1722.208); h_SL3L370->SetBinContent(53,1716.892); h_SL3L370->SetBinContent(54,1562.744); h_SL3L370->SetBinContent(55,1464.408); h_SL3L370->SetBinContent(56,1407.267); h_SL3L370->SetBinContent(57,1320.891); h_SL3L370->SetBinContent(58,1386.005); h_SL3L370->SetBinContent(59,1320.891); h_SL3L370->SetMaximum(175688.8); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,219.2626); h_SL3L471->SetBinContent(3,257.7996); h_SL3L471->SetBinContent(4,302.981); h_SL3L471->SetBinContent(5,1154.783); h_SL3L471->SetBinContent(6,152772.9); h_SL3L471->SetBinContent(7,1477.697); h_SL3L471->SetBinContent(8,1335.508); h_SL3L471->SetBinContent(9,325.5717); h_SL3L471->SetBinContent(10,394.6726); h_SL3L471->SetBinContent(11,357.4644); h_SL3L471->SetBinContent(12,455.8004); h_SL3L471->SetBinContent(13,494.3374); h_SL3L471->SetBinContent(14,560.7806); h_SL3L471->SetBinContent(15,600.6465); h_SL3L471->SetBinContent(16,588.6868); h_SL3L471->SetBinContent(17,687.0228); h_SL3L471->SetBinContent(18,724.231); h_SL3L471->SetBinContent(19,845.1576); h_SL3L471->SetBinContent(20,780.0432); h_SL3L471->SetBinContent(21,980.7017); h_SL3L471->SetBinContent(22,1088.34); h_SL3L471->SetBinContent(23,1194.649); h_SL3L471->SetBinContent(24,1190.662); h_SL3L471->SetBinContent(25,1374.046); h_SL3L471->SetBinContent(26,1564.073); h_SL3L471->SetBinContent(27,1670.382); h_SL3L471->SetBinContent(28,1986.652); h_SL3L471->SetBinContent(29,2053.095); h_SL3L471->SetBinContent(30,2491.62); h_SL3L471->SetBinContent(31,2891.608); h_SL3L471->SetBinContent(32,3691.584); h_SL3L471->SetBinContent(33,6863.583); h_SL3L471->SetBinContent(34,19532.97); h_SL3L471->SetBinContent(35,52007.75); h_SL3L471->SetBinContent(36,59853.37); h_SL3L471->SetBinContent(37,63591.46); h_SL3L471->SetBinContent(38,69624.51); h_SL3L471->SetBinContent(39,68658.42); h_SL3L471->SetBinContent(40,56718.58); h_SL3L471->SetBinContent(41,20545.57); h_SL3L471->SetBinContent(42,7752.593); h_SL3L471->SetBinContent(43,4180.606); h_SL3L471->SetBinContent(44,3506.872); h_SL3L471->SetBinContent(45,3035.125); h_SL3L471->SetBinContent(46,2706.896); h_SL3L471->SetBinContent(47,2568.694); h_SL3L471->SetBinContent(48,2353.418); h_SL3L471->SetBinContent(49,2162.062); h_SL3L471->SetBinContent(50,2088.974); h_SL3L471->SetBinContent(51,1864.396); h_SL3L471->SetBinContent(52,1785.993); h_SL3L471->SetBinContent(53,1621.214); h_SL3L471->SetBinContent(54,1590.65); h_SL3L471->SetBinContent(55,1520.221); h_SL3L471->SetBinContent(56,1393.978); h_SL3L471->SetBinContent(57,1623.872); h_SL3L471->SetBinContent(58,1518.892); h_SL3L471->SetBinContent(59,1603.939); h_SL3L471->SetMaximum(175688.8); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6598"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }