void RatesPerCell_Removing_noisy_cells_run_6185_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:02:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1618.913,67.5,14570.21); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6185",60,0,60); h_SL2L164->SetBinContent(1,4164.949); h_SL2L164->SetBinContent(2,5355.78); h_SL2L164->SetBinContent(3,6345.178); h_SL2L164->SetBinContent(4,7304.953); h_SL2L164->SetBinContent(5,8205.482); h_SL2L164->SetBinContent(6,8436.539); h_SL2L164->SetBinContent(7,8756.464); h_SL2L164->SetBinContent(8,8863.105); h_SL2L164->SetBinContent(9,8584.652); h_SL2L164->SetBinContent(10,8904.577); h_SL2L164->SetBinContent(11,8786.087); h_SL2L164->SetBinContent(12,8916.427); h_SL2L164->SetBinContent(13,9129.71); h_SL2L164->SetBinContent(14,8750.539); h_SL2L164->SetBinContent(15,8892.729); h_SL2L164->SetBinContent(16,8489.859); h_SL2L164->SetBinContent(17,8720.917); h_SL2L164->SetBinContent(18,8898.652); h_SL2L164->SetBinContent(19,9337.068); h_SL2L164->SetBinContent(20,9088.238); h_SL2L164->SetBinContent(21,9248.2); h_SL2L164->SetBinContent(22,9165.257); h_SL2L164->SetBinContent(23,9449.635); h_SL2L164->SetBinContent(24,8714.992); h_SL2L164->SetBinContent(25,8643.897); h_SL2L164->SetBinContent(26,9502.955); h_SL2L164->SetBinContent(27,9556.276); h_SL2L164->SetBinContent(28,9538.503); h_SL2L164->SetBinContent(29,9793.258); h_SL2L164->SetBinContent(30,9200.804); h_SL2L164->SetBinContent(31,8886.804); h_SL2L164->SetBinContent(32,8987.521); h_SL2L164->SetBinContent(33,8821.634); h_SL2L164->SetBinContent(34,8851.257); h_SL2L164->SetBinContent(36,9485.182); h_SL2L164->SetBinContent(37,8637.973); h_SL2L164->SetBinContent(38,8987.521); h_SL2L164->SetBinContent(39,9076.389); h_SL2L164->SetBinContent(40,7861.859); h_SL2L164->SetBinContent(41,8596.501); h_SL2L164->SetBinContent(42,8714.992); h_SL2L164->SetBinContent(43,8969.747); h_SL2L164->SetBinContent(44,8786.087); h_SL2L164->SetBinContent(45,8744.615); h_SL2L164->SetBinContent(46,8969.747); h_SL2L164->SetBinContent(47,8661.671); h_SL2L164->SetBinContent(48,8649.822); h_SL2L164->SetBinContent(49,8940.124); h_SL2L164->SetBinContent(50,8709.067); h_SL2L164->SetBinContent(51,8815.709); h_SL2L164->SetBinContent(52,8436.539); h_SL2L164->SetBinContent(53,7690.047); h_SL2L164->SetBinContent(54,7257.556); h_SL2L164->SetBinContent(55,5729.026); h_SL2L164->SetBinContent(56,4704.082); h_SL2L164->SetBinContent(57,2085.437); h_SL2L164->SetMaximum(12951.3); 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,2186.154); h_SL2L265->SetBinContent(2,4561.893); h_SL2L265->SetBinContent(3,6185.215); h_SL2L265->SetBinContent(4,7162.764); h_SL2L265->SetBinContent(5,7772.991); h_SL2L265->SetBinContent(6,8673.521); h_SL2L265->SetBinContent(7,8910.502); h_SL2L265->SetBinContent(8,8886.804); h_SL2L265->SetBinContent(9,8691.294); h_SL2L265->SetBinContent(10,8359.52); h_SL2L265->SetBinContent(11,8892.729); h_SL2L265->SetBinContent(12,8999.37); h_SL2L265->SetBinContent(13,8703.143); h_SL2L265->SetBinContent(14,9265.974); h_SL2L265->SetBinContent(15,8555.029); h_SL2L265->SetBinContent(16,8809.784); h_SL2L265->SetBinContent(17,8602.426); h_SL2L265->SetBinContent(18,9153.408); h_SL2L265->SetBinContent(19,8987.521); h_SL2L265->SetBinContent(20,9141.559); h_SL2L265->SetBinContent(21,9212.653); h_SL2L265->SetBinContent(22,8922.351); h_SL2L265->SetBinContent(23,9242.275); h_SL2L265->SetBinContent(24,8880.879); h_SL2L265->SetBinContent(25,8833.482); h_SL2L265->SetBinContent(26,8951.974); h_SL2L265->SetBinContent(27,9289.672); h_SL2L265->SetBinContent(28,9556.276); h_SL2L265->SetBinContent(29,9556.276); h_SL2L265->SetBinContent(30,8738.69); h_SL2L265->SetBinContent(31,8957.898); h_SL2L265->SetBinContent(32,8756.464); h_SL2L265->SetBinContent(33,8697.219); h_SL2L265->SetBinContent(34,8815.709); h_SL2L265->SetBinContent(35,7986.274); h_SL2L265->SetBinContent(36,7571.557); h_SL2L265->SetBinContent(37,8762.389); h_SL2L265->SetBinContent(38,8685.369); h_SL2L265->SetBinContent(39,9153.408); h_SL2L265->SetBinContent(40,8466.161); h_SL2L265->SetBinContent(41,8501.709); h_SL2L265->SetBinContent(42,8732.766); h_SL2L265->SetBinContent(43,9058.615); h_SL2L265->SetBinContent(44,8359.52); h_SL2L265->SetBinContent(45,8632.049); h_SL2L265->SetBinContent(46,8472.086); h_SL2L265->SetBinContent(47,9064.54); h_SL2L265->SetBinContent(48,8371.369); h_SL2L265->SetBinContent(49,8774.237); h_SL2L265->SetBinContent(50,8821.634); h_SL2L265->SetBinContent(51,8643.897); h_SL2L265->SetBinContent(52,8572.804); h_SL2L265->SetBinContent(53,8395.067); h_SL2L265->SetBinContent(54,7921.104); h_SL2L265->SetBinContent(55,7162.764); h_SL2L265->SetBinContent(56,5403.177); h_SL2L265->SetBinContent(57,3957.59); h_SL2L265->SetMaximum(11262.25); 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,2867.475); h_SL2L366->SetBinContent(2,5225.44); h_SL2L366->SetBinContent(3,7079.82); h_SL2L366->SetBinContent(4,7630.802); h_SL2L366->SetBinContent(5,8181.784); h_SL2L366->SetBinContent(6,8762.389); h_SL2L366->SetBinContent(7,8851.257); h_SL2L366->SetBinContent(8,8673.521); h_SL2L366->SetBinContent(9,8418.766); h_SL2L366->SetBinContent(10,8821.634); h_SL2L366->SetBinContent(11,8910.502); h_SL2L366->SetBinContent(12,8874.954); h_SL2L366->SetBinContent(13,8786.087); h_SL2L366->SetBinContent(14,8614.275); h_SL2L366->SetBinContent(15,8578.728); h_SL2L366->SetBinContent(16,8436.539); h_SL2L366->SetBinContent(17,8478.011); h_SL2L366->SetBinContent(18,9508.88); h_SL2L366->SetBinContent(19,9005.294); h_SL2L366->SetBinContent(20,9147.483); h_SL2L366->SetBinContent(21,9094.162); h_SL2L366->SetBinContent(22,8928.275); h_SL2L366->SetBinContent(23,8815.709); h_SL2L366->SetBinContent(24,8874.954); h_SL2L366->SetBinContent(25,9011.219); h_SL2L366->SetBinContent(26,9425.937); h_SL2L366->SetBinContent(27,9354.842); h_SL2L366->SetBinContent(28,9674.767); h_SL2L366->SetBinContent(29,9117.86); h_SL2L366->SetBinContent(30,8709.067); h_SL2L366->SetBinContent(31,9230.427); h_SL2L366->SetBinContent(32,8614.275); h_SL2L366->SetBinContent(33,8478.011); h_SL2L366->SetBinContent(34,8673.521); h_SL2L366->SetBinContent(35,8181.784); h_SL2L366->SetBinContent(36,8069.218); h_SL2L366->SetBinContent(37,8560.954); h_SL2L366->SetBinContent(38,8661.671); h_SL2L366->SetBinContent(39,8993.445); h_SL2L366->SetBinContent(40,8478.011); h_SL2L366->SetBinContent(41,8531.331); h_SL2L366->SetBinContent(42,8714.992); h_SL2L366->SetBinContent(43,8365.444); h_SL2L366->SetBinContent(44,8513.558); h_SL2L366->SetBinContent(45,8466.161); h_SL2L366->SetBinContent(46,8922.351); h_SL2L366->SetBinContent(47,8774.237); h_SL2L366->SetBinContent(48,8649.822); h_SL2L366->SetBinContent(49,8525.407); h_SL2L366->SetBinContent(50,8566.879); h_SL2L366->SetBinContent(51,8626.124); h_SL2L366->SetBinContent(52,8152.161); h_SL2L366->SetBinContent(53,8193.633); h_SL2L366->SetBinContent(54,7624.877); h_SL2L366->SetBinContent(55,6771.744); h_SL2L366->SetBinContent(56,4638.912); h_SL2L366->SetBinContent(57,3145.928); h_SL2L366->SetMaximum(11262.25); 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,3566.571); h_SL2L467->SetBinContent(3,6736.197); h_SL2L467->SetBinContent(4,7601.179); h_SL2L467->SetBinContent(5,8158.086); h_SL2L467->SetBinContent(6,8637.973); h_SL2L467->SetBinContent(7,8839.407); h_SL2L467->SetBinContent(8,9082.313); h_SL2L467->SetBinContent(9,8483.936); h_SL2L467->SetBinContent(10,8726.841); h_SL2L467->SetBinContent(11,8946.049); h_SL2L467->SetBinContent(12,8815.709); h_SL2L467->SetBinContent(13,8525.407); h_SL2L467->SetBinContent(14,8946.049); h_SL2L467->SetBinContent(15,9028.992); h_SL2L467->SetBinContent(16,8460.237); h_SL2L467->SetBinContent(17,8466.161); h_SL2L467->SetBinContent(18,8667.596); h_SL2L467->SetBinContent(19,9058.615); h_SL2L467->SetBinContent(20,9307.445); h_SL2L467->SetBinContent(21,8803.86); h_SL2L467->SetBinContent(22,9052.69); h_SL2L467->SetBinContent(23,8863.105); h_SL2L467->SetBinContent(24,8827.559); h_SL2L467->SetBinContent(25,8863.105); h_SL2L467->SetBinContent(26,9218.577); h_SL2L467->SetBinContent(27,9236.352); h_SL2L467->SetBinContent(28,9739.937); h_SL2L467->SetBinContent(29,9277.823); h_SL2L467->SetBinContent(30,8975.672); h_SL2L467->SetBinContent(31,8910.502); h_SL2L467->SetBinContent(32,8744.615); h_SL2L467->SetBinContent(33,8566.879); h_SL2L467->SetBinContent(34,8478.011); h_SL2L467->SetBinContent(35,8620.199); h_SL2L467->SetBinContent(36,8596.501); h_SL2L467->SetBinContent(37,8134.388); h_SL2L467->SetBinContent(38,8691.294); h_SL2L467->SetBinContent(39,8981.597); h_SL2L467->SetBinContent(40,8643.897); h_SL2L467->SetBinContent(41,8566.879); h_SL2L467->SetBinContent(42,8620.199); h_SL2L467->SetBinContent(43,8809.784); h_SL2L467->SetBinContent(44,8560.954); h_SL2L467->SetBinContent(45,8608.351); h_SL2L467->SetBinContent(46,8904.577); h_SL2L467->SetBinContent(47,8940.124); h_SL2L467->SetBinContent(48,9082.313); h_SL2L467->SetBinContent(49,8685.369); h_SL2L467->SetBinContent(50,8614.275); h_SL2L467->SetBinContent(51,8714.992); h_SL2L467->SetBinContent(52,8300.274); h_SL2L467->SetBinContent(53,8590.577); h_SL2L467->SetBinContent(54,8098.84); h_SL2L467->SetBinContent(55,7838.161); h_SL2L467->SetBinContent(56,6114.121); h_SL2L467->SetBinContent(57,2980.042); h_SL2L467->SetMaximum(11262.25); 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 6185"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }