void RatesPerCell_Removing_noisy_cells_run_5065_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:45:48 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-39122.57,67.5,352103.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5065",60,0,60); h_SL3L168->SetBinContent(1,17340.17); h_SL3L168->SetBinContent(2,3860.327); h_SL3L168->SetBinContent(4,7459.821); h_SL3L168->SetBinContent(5,7647.621); h_SL3L168->SetBinContent(6,8054.52); h_SL3L168->SetBinContent(7,8075.387); h_SL3L168->SetBinContent(8,7689.354); h_SL3L168->SetBinContent(9,7939.753); h_SL3L168->SetBinContent(10,8555.319); h_SL3L168->SetBinContent(11,8628.353); h_SL3L168->SetBinContent(12,7981.487); h_SL3L168->SetBinContent(13,7585.021); h_SL3L168->SetBinContent(14,8868.318); h_SL3L168->SetBinContent(15,7710.221); h_SL3L168->SetBinContent(16,7856.287); h_SL3L168->SetBinContent(17,7741.521); h_SL3L168->SetBinContent(18,9056.118); h_SL3L168->SetBinContent(19,8826.586); h_SL3L168->SetBinContent(20,7313.755); h_SL3L168->SetBinContent(21,7856.287); h_SL3L168->SetBinContent(22,8701.386); h_SL3L168->SetBinContent(23,8732.686); h_SL3L168->SetBinContent(24,8544.886); h_SL3L168->SetBinContent(25,8137.987); h_SL3L168->SetBinContent(26,9191.752); h_SL3L168->SetBinContent(27,9369.118); h_SL3L168->SetBinContent(28,8242.319); h_SL3L168->SetBinContent(29,8409.253); h_SL3L168->SetBinContent(30,9233.485); h_SL3L168->SetBinContent(31,9640.384); h_SL3L168->SetBinContent(32,9066.552); h_SL3L168->SetBinContent(33,8586.619); h_SL3L168->SetBinContent(34,11048.88); h_SL3L168->SetBinContent(35,10245.52); h_SL3L168->SetBinContent(36,9056.118); h_SL3L168->SetBinContent(37,8461.42); h_SL3L168->SetBinContent(38,10193.35); h_SL3L168->SetBinContent(39,9577.784); h_SL3L168->SetBinContent(40,8816.152); h_SL3L168->SetBinContent(41,8461.42); h_SL3L168->SetBinContent(42,9546.484); h_SL3L168->SetBinContent(43,9410.852); h_SL3L168->SetBinContent(44,8732.686); h_SL3L168->SetBinContent(45,7543.288); h_SL3L168->SetBinContent(46,9358.685); h_SL3L168->SetBinContent(47,9181.318); h_SL3L168->SetBinContent(48,7971.054); h_SL3L168->SetBinContent(50,4277.66); h_SL3L168->SetBinContent(51,5310.558); h_SL3L168->SetBinContent(52,6729.489); h_SL3L168->SetBinContent(53,6656.456); h_SL3L168->SetBinContent(54,8137.987); h_SL3L168->SetBinContent(55,7198.988); h_SL3L168->SetBinContent(56,7501.554); h_SL3L168->SetBinContent(57,7407.654); h_SL3L168->SetBinContent(58,7522.421); h_SL3L168->SetBinContent(59,4830.625); h_SL3L168->SetMaximum(312980.5); 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,6959.022); h_SL3L269->SetBinContent(2,5352.291); h_SL3L269->SetBinContent(4,3870.76); h_SL3L269->SetBinContent(5,7000.755); h_SL3L269->SetBinContent(6,8670.086); h_SL3L269->SetBinContent(7,8002.354); h_SL3L269->SetBinContent(8,7574.587); h_SL3L269->SetBinContent(9,9494.317); h_SL3L269->SetBinContent(10,8273.62); h_SL3L269->SetBinContent(11,8649.219); h_SL3L269->SetBinContent(12,8002.354); h_SL3L269->SetBinContent(13,7678.921); h_SL3L269->SetBinContent(14,8482.286); h_SL3L269->SetBinContent(15,8023.22); h_SL3L269->SetBinContent(16,7459.821); h_SL3L269->SetBinContent(17,7720.654); h_SL3L269->SetBinContent(18,7918.887); h_SL3L269->SetBinContent(19,8450.986); h_SL3L269->SetBinContent(20,7981.487); h_SL3L269->SetBinContent(21,7230.288); h_SL3L269->SetBinContent(22,8450.986); h_SL3L269->SetBinContent(23,8847.452); h_SL3L269->SetBinContent(24,8774.419); h_SL3L269->SetBinContent(25,8169.287); h_SL3L269->SetBinContent(26,8795.285); h_SL3L269->SetBinContent(27,8670.086); h_SL3L269->SetBinContent(28,9108.285); h_SL3L269->SetBinContent(29,7480.688); h_SL3L269->SetBinContent(30,9473.451); h_SL3L269->SetBinContent(31,9045.686); h_SL3L269->SetBinContent(32,9129.151); h_SL3L269->SetBinContent(33,8763.985); h_SL3L269->SetBinContent(34,8753.553); h_SL3L269->SetBinContent(35,9692.551); h_SL3L269->SetBinContent(36,8972.652); h_SL3L269->SetBinContent(37,8576.186); h_SL3L269->SetBinContent(38,9097.852); h_SL3L269->SetBinContent(39,9556.918); h_SL3L269->SetBinContent(40,9306.519); h_SL3L269->SetBinContent(41,10621.12); h_SL3L269->SetBinContent(42,8941.352); h_SL3L269->SetBinContent(43,8972.652); h_SL3L269->SetBinContent(44,8920.485); h_SL3L269->SetBinContent(45,7626.754); h_SL3L269->SetBinContent(46,8200.587); h_SL3L269->SetBinContent(47,9463.018); h_SL3L269->SetBinContent(48,8315.354); h_SL3L269->SetBinContent(49,236658.9); h_SL3L269->SetBinContent(50,7887.587); h_SL3L269->SetBinContent(51,2357.929); h_SL3L269->SetBinContent(52,182468.3); h_SL3L269->SetBinContent(53,224754.5); h_SL3L269->SetBinContent(54,7939.753); h_SL3L269->SetBinContent(55,7741.521); h_SL3L269->SetBinContent(56,104750.5); h_SL3L269->SetBinContent(57,7407.654); h_SL3L269->SetBinContent(58,7637.188); h_SL3L269->SetBinContent(59,6520.823); h_SL3L269->SetMaximum(272157.7); 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,2681.362); h_SL3L370->SetBinContent(2,3578.627); h_SL3L370->SetBinContent(3,1293.731); h_SL3L370->SetBinContent(4,6499.956); h_SL3L370->SetBinContent(5,8263.187); h_SL3L370->SetBinContent(6,7783.254); h_SL3L370->SetBinContent(7,7668.487); h_SL3L370->SetBinContent(8,7282.455); h_SL3L370->SetBinContent(9,8597.053); h_SL3L370->SetBinContent(10,8367.52); h_SL3L370->SetBinContent(11,8085.82); h_SL3L370->SetBinContent(12,7845.854); h_SL3L370->SetBinContent(13,8659.652); h_SL3L370->SetBinContent(14,7939.753); h_SL3L370->SetBinContent(15,7772.821); h_SL3L370->SetBinContent(16,7710.221); h_SL3L370->SetBinContent(17,8252.753); h_SL3L370->SetBinContent(18,7939.753); h_SL3L370->SetBinContent(19,8482.286); h_SL3L370->SetBinContent(20,7272.021); h_SL3L370->SetBinContent(21,8513.586); h_SL3L370->SetBinContent(22,8659.652); h_SL3L370->SetBinContent(23,8732.686); h_SL3L370->SetBinContent(24,8002.354); h_SL3L370->SetBinContent(25,8617.919); h_SL3L370->SetBinContent(26,9327.385); h_SL3L370->SetBinContent(27,8419.687); h_SL3L370->SetBinContent(28,8064.954); h_SL3L370->SetBinContent(29,9150.019); h_SL3L370->SetBinContent(30,8962.219); h_SL3L370->SetBinContent(31,9087.418); h_SL3L370->SetBinContent(32,8544.886); h_SL3L370->SetBinContent(33,9369.118); h_SL3L370->SetBinContent(34,9348.251); h_SL3L370->SetBinContent(35,9254.352); h_SL3L370->SetBinContent(36,8440.553); h_SL3L370->SetBinContent(37,9932.517); h_SL3L370->SetBinContent(38,9181.318); h_SL3L370->SetBinContent(39,9421.284); h_SL3L370->SetBinContent(40,8158.854); h_SL3L370->SetBinContent(41,10015.98); h_SL3L370->SetBinContent(42,8899.619); h_SL3L370->SetBinContent(43,8555.319); h_SL3L370->SetBinContent(44,8409.253); h_SL3L370->SetBinContent(45,9911.65); h_SL3L370->SetBinContent(46,8878.752); h_SL3L370->SetBinContent(47,8763.985); h_SL3L370->SetBinContent(48,7386.788); h_SL3L370->SetBinContent(49,9212.618); h_SL3L370->SetBinContent(50,4528.059); h_SL3L370->SetBinContent(51,4830.625); h_SL3L370->SetBinContent(52,6447.79); h_SL3L370->SetBinContent(53,63914.5); h_SL3L370->SetBinContent(54,7866.72); h_SL3L370->SetBinContent(55,7397.221); h_SL3L370->SetBinContent(56,20668.4); h_SL3L370->SetBinContent(57,7303.321); h_SL3L370->SetBinContent(58,7198.988); h_SL3L370->SetBinContent(59,4726.292); h_SL3L370->SetMaximum(272157.7); 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,4945.392); h_SL3L471->SetBinContent(3,1064.198); h_SL3L471->SetBinContent(4,3881.194); h_SL3L471->SetBinContent(5,6854.689); h_SL3L471->SetBinContent(6,8377.953); h_SL3L471->SetBinContent(7,7898.021); h_SL3L471->SetBinContent(8,7543.288); h_SL3L471->SetBinContent(9,7564.154); h_SL3L471->SetBinContent(10,8826.586); h_SL3L471->SetBinContent(11,8336.22); h_SL3L471->SetBinContent(12,8002.354); h_SL3L471->SetBinContent(13,8221.453); h_SL3L471->SetBinContent(14,8784.853); h_SL3L471->SetBinContent(15,7751.954); h_SL3L471->SetBinContent(16,7710.221); h_SL3L471->SetBinContent(17,8002.354); h_SL3L471->SetBinContent(18,8054.52); h_SL3L471->SetBinContent(19,8252.753); h_SL3L471->SetBinContent(20,7971.054); h_SL3L471->SetBinContent(21,7793.687); h_SL3L471->SetBinContent(22,8659.652); h_SL3L471->SetBinContent(23,8419.687); h_SL3L471->SetBinContent(24,8597.053); h_SL3L471->SetBinContent(25,8555.319); h_SL3L471->SetBinContent(26,9212.618); h_SL3L471->SetBinContent(27,8690.952); h_SL3L471->SetBinContent(28,9150.019); h_SL3L471->SetBinContent(29,8179.72); h_SL3L471->SetBinContent(30,10109.88); h_SL3L471->SetBinContent(31,8826.586); h_SL3L471->SetBinContent(32,8816.152); h_SL3L471->SetBinContent(33,9056.118); h_SL3L471->SetBinContent(34,9087.418); h_SL3L471->SetBinContent(35,9609.084); h_SL3L471->SetBinContent(36,9024.818); h_SL3L471->SetBinContent(37,8847.452); h_SL3L471->SetBinContent(38,9515.185); h_SL3L471->SetBinContent(39,9024.818); h_SL3L471->SetBinContent(40,8805.719); h_SL3L471->SetBinContent(41,8910.052); h_SL3L471->SetBinContent(42,9744.718); h_SL3L471->SetBinContent(43,9118.719); h_SL3L471->SetBinContent(44,8169.287); h_SL3L471->SetBinContent(45,10548.08); h_SL3L471->SetBinContent(46,9076.985); h_SL3L471->SetBinContent(47,8920.485); h_SL3L471->SetBinContent(48,7991.92); h_SL3L471->SetBinContent(49,7313.755); h_SL3L471->SetBinContent(50,7616.321); h_SL3L471->SetBinContent(51,2337.063); h_SL3L471->SetBinContent(52,6666.889); h_SL3L471->SetBinContent(53,6812.956); h_SL3L471->SetBinContent(54,8096.253); h_SL3L471->SetBinContent(55,7720.654); h_SL3L471->SetBinContent(56,7188.555); h_SL3L471->SetBinContent(57,7397.221); h_SL3L471->SetBinContent(58,7491.121); h_SL3L471->SetBinContent(59,6145.223); h_SL3L471->SetMaximum(272157.7); 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 5065"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }