void RatesPerCell_Removing_noisy_cells_run_6342_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:01:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1633.431,67.5,14700.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6342",60,0,60); h_SL2L164->SetBinContent(1,4297.263); h_SL2L164->SetBinContent(2,5103); h_SL2L164->SetBinContent(3,6417.917); h_SL2L164->SetBinContent(4,7710.454); h_SL2L164->SetBinContent(5,8303.565); h_SL2L164->SetBinContent(6,8656.075); h_SL2L164->SetBinContent(7,8650.48); h_SL2L164->SetBinContent(8,8477.022); h_SL2L164->SetBinContent(9,8577.74); h_SL2L164->SetBinContent(10,8790.365); h_SL2L164->SetBinContent(11,9019.776); h_SL2L164->SetBinContent(12,8583.335); h_SL2L164->SetBinContent(13,8812.746); h_SL2L164->SetBinContent(14,8600.121); h_SL2L164->SetBinContent(15,9036.562); h_SL2L164->SetBinContent(16,9014.181); h_SL2L164->SetBinContent(17,9036.562); h_SL2L164->SetBinContent(18,9450.621); h_SL2L164->SetBinContent(19,9422.645); h_SL2L164->SetBinContent(20,8812.746); h_SL2L164->SetBinContent(21,9008.585); h_SL2L164->SetBinContent(22,8678.457); h_SL2L164->SetBinContent(23,8695.243); h_SL2L164->SetBinContent(24,9002.99); h_SL2L164->SetBinContent(25,9881.467); h_SL2L164->SetBinContent(26,9103.707); h_SL2L164->SetBinContent(27,9014.181); h_SL2L164->SetBinContent(28,9293.95); h_SL2L164->SetBinContent(29,9461.812); h_SL2L164->SetBinContent(30,9064.539); h_SL2L164->SetBinContent(31,8672.861); h_SL2L164->SetBinContent(32,8751.197); h_SL2L164->SetBinContent(33,8661.671); h_SL2L164->SetBinContent(34,8857.51); h_SL2L164->SetBinContent(36,9120.493); h_SL2L164->SetBinContent(37,8935.845); h_SL2L164->SetBinContent(38,8879.892); h_SL2L164->SetBinContent(39,9103.707); h_SL2L164->SetBinContent(40,8202.849); h_SL2L164->SetBinContent(41,8633.694); h_SL2L164->SetBinContent(42,9075.73); h_SL2L164->SetBinContent(43,9092.517); h_SL2L164->SetBinContent(44,8583.335); h_SL2L164->SetBinContent(45,8740.007); h_SL2L164->SetBinContent(46,8605.717); h_SL2L164->SetBinContent(47,8801.556); h_SL2L164->SetBinContent(48,8717.625); h_SL2L164->SetBinContent(49,8566.549); h_SL2L164->SetBinContent(50,8784.77); h_SL2L164->SetBinContent(51,8756.793); h_SL2L164->SetBinContent(52,8963.822); h_SL2L164->SetBinContent(53,8118.917); h_SL2L164->SetBinContent(54,7374.73); h_SL2L164->SetBinContent(55,6020.645); h_SL2L164->SetBinContent(56,4476.316); h_SL2L164->SetBinContent(57,2254.944); h_SL2L164->SetMaximum(13067.45); 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,2187.799); h_SL2L265->SetBinContent(2,4800.849); h_SL2L265->SetBinContent(3,5987.072); h_SL2L265->SetBinContent(4,7458.661); h_SL2L265->SetBinContent(5,8197.253); h_SL2L265->SetBinContent(6,8672.861); h_SL2L265->SetBinContent(7,8952.632); h_SL2L265->SetBinContent(8,8566.549); h_SL2L265->SetBinContent(9,8639.289); h_SL2L265->SetBinContent(10,8320.352); h_SL2L265->SetBinContent(11,8611.312); h_SL2L265->SetBinContent(12,8885.486); h_SL2L265->SetBinContent(13,8505); h_SL2L265->SetBinContent(14,8454.642); h_SL2L265->SetBinContent(15,8963.822); h_SL2L265->SetBinContent(16,9092.517); h_SL2L265->SetBinContent(17,8723.22); h_SL2L265->SetBinContent(18,9321.928); h_SL2L265->SetBinContent(19,9265.974); h_SL2L265->SetBinContent(20,9210.02); h_SL2L265->SetBinContent(21,8857.51); h_SL2L265->SetBinContent(22,8734.411); h_SL2L265->SetBinContent(23,8600.121); h_SL2L265->SetBinContent(24,8818.342); h_SL2L265->SetBinContent(25,9517.767); h_SL2L265->SetBinContent(26,9691.224); h_SL2L265->SetBinContent(27,9036.562); h_SL2L265->SetBinContent(28,8891.082); h_SL2L265->SetBinContent(29,9439.431); h_SL2L265->SetBinContent(30,8896.678); h_SL2L265->SetBinContent(31,9047.753); h_SL2L265->SetBinContent(32,8644.885); h_SL2L265->SetBinContent(33,8712.029); h_SL2L265->SetBinContent(34,8516.19); h_SL2L265->SetBinContent(35,7413.898); h_SL2L265->SetBinContent(36,7106.151); h_SL2L265->SetBinContent(37,8986.204); h_SL2L265->SetBinContent(38,8756.793); h_SL2L265->SetBinContent(39,9109.303); h_SL2L265->SetBinContent(40,9008.585); h_SL2L265->SetBinContent(41,8398.688); h_SL2L265->SetBinContent(42,8728.815); h_SL2L265->SetBinContent(43,8795.96); h_SL2L265->SetBinContent(44,8812.746); h_SL2L265->SetBinContent(45,8532.977); h_SL2L265->SetBinContent(46,8667.267); h_SL2L265->SetBinContent(47,8325.947); h_SL2L265->SetBinContent(48,8583.335); h_SL2L265->SetBinContent(49,8594.526); h_SL2L265->SetBinContent(50,8622.503); h_SL2L265->SetBinContent(51,8963.822); h_SL2L265->SetBinContent(52,8846.319); h_SL2L265->SetBinContent(53,8594.526); h_SL2L265->SetBinContent(54,8186.062); h_SL2L265->SetBinContent(55,7072.579); h_SL2L265->SetBinContent(56,5416.342); h_SL2L265->SetBinContent(57,3295.688); h_SL2L265->SetMaximum(11363.69); 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,2892.819); h_SL2L366->SetBinContent(2,5438.724); h_SL2L366->SetBinContent(3,7083.77); h_SL2L366->SetBinContent(4,8247.611); h_SL2L366->SetBinContent(5,8840.724); h_SL2L366->SetBinContent(6,8857.51); h_SL2L366->SetBinContent(7,8605.717); h_SL2L366->SetBinContent(8,8762.388); h_SL2L366->SetBinContent(9,8616.907); h_SL2L366->SetBinContent(10,8404.282); h_SL2L366->SetBinContent(11,8997.395); h_SL2L366->SetBinContent(12,8784.77); h_SL2L366->SetBinContent(13,8449.046); h_SL2L366->SetBinContent(14,8868.7); h_SL2L366->SetBinContent(15,8997.395); h_SL2L366->SetBinContent(16,8365.115); h_SL2L366->SetBinContent(17,8969.418); h_SL2L366->SetBinContent(18,9310.736); h_SL2L366->SetBinContent(19,9237.996); h_SL2L366->SetBinContent(20,9025.371); h_SL2L366->SetBinContent(21,8555.358); h_SL2L366->SetBinContent(22,8493.809); h_SL2L366->SetBinContent(23,8616.907); h_SL2L366->SetBinContent(24,8919.059); h_SL2L366->SetBinContent(25,9579.315); h_SL2L366->SetBinContent(26,9372.286); h_SL2L366->SetBinContent(27,9025.371); h_SL2L366->SetBinContent(28,8963.822); h_SL2L366->SetBinContent(29,9562.529); h_SL2L366->SetBinContent(30,8594.526); h_SL2L366->SetBinContent(31,8611.312); h_SL2L366->SetBinContent(32,9271.569); h_SL2L366->SetBinContent(33,8566.549); h_SL2L366->SetBinContent(34,8169.276); h_SL2L366->SetBinContent(35,7363.54); h_SL2L366->SetBinContent(36,7682.477); h_SL2L366->SetBinContent(37,8784.77); h_SL2L366->SetBinContent(38,9081.325); h_SL2L366->SetBinContent(39,9092.517); h_SL2L366->SetBinContent(40,8656.075); h_SL2L366->SetBinContent(41,8566.549); h_SL2L366->SetBinContent(42,8779.174); h_SL2L366->SetBinContent(43,8751.197); h_SL2L366->SetBinContent(44,8812.746); h_SL2L366->SetBinContent(45,8728.815); h_SL2L366->SetBinContent(46,8499.404); h_SL2L366->SetBinContent(47,8348.329); h_SL2L366->SetBinContent(48,8577.74); h_SL2L366->SetBinContent(49,8376.306); h_SL2L366->SetBinContent(50,8795.96); h_SL2L366->SetBinContent(51,9053.349); h_SL2L366->SetBinContent(52,8667.267); h_SL2L366->SetBinContent(53,8499.404); h_SL2L366->SetBinContent(54,8219.635); h_SL2L366->SetBinContent(55,6708.878); h_SL2L366->SetBinContent(56,4174.165); h_SL2L366->SetBinContent(57,2825.674); h_SL2L366->SetMaximum(11363.69); 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,4011.898); h_SL2L467->SetBinContent(3,6675.306); h_SL2L467->SetBinContent(4,7895.102); h_SL2L467->SetBinContent(5,8712.029); h_SL2L467->SetBinContent(6,8784.77); h_SL2L467->SetBinContent(7,8728.815); h_SL2L467->SetBinContent(8,8437.855); h_SL2L467->SetBinContent(9,8857.51); h_SL2L467->SetBinContent(10,8549.763); h_SL2L467->SetBinContent(11,8835.128); h_SL2L467->SetBinContent(12,8891.082); h_SL2L467->SetBinContent(13,8762.388); h_SL2L467->SetBinContent(14,9058.944); h_SL2L467->SetBinContent(15,8952.632); h_SL2L467->SetBinContent(16,8577.74); h_SL2L467->SetBinContent(17,8538.572); h_SL2L467->SetBinContent(18,9310.736); h_SL2L467->SetBinContent(19,8924.654); h_SL2L467->SetBinContent(20,9478.599); h_SL2L467->SetBinContent(21,9210.02); h_SL2L467->SetBinContent(22,8656.075); h_SL2L467->SetBinContent(23,8807.151); h_SL2L467->SetBinContent(24,8505); h_SL2L467->SetBinContent(25,9506.575); h_SL2L467->SetBinContent(26,9842.299); h_SL2L467->SetBinContent(27,9333.118); h_SL2L467->SetBinContent(28,8924.654); h_SL2L467->SetBinContent(29,9254.782); h_SL2L467->SetBinContent(30,9047.753); h_SL2L467->SetBinContent(31,8616.907); h_SL2L467->SetBinContent(32,9193.233); h_SL2L467->SetBinContent(33,8661.671); h_SL2L467->SetBinContent(34,8532.977); h_SL2L467->SetBinContent(35,8029.391); h_SL2L467->SetBinContent(36,7788.789); h_SL2L467->SetBinContent(37,8001.414); h_SL2L467->SetBinContent(38,8728.815); h_SL2L467->SetBinContent(39,9086.921); h_SL2L467->SetBinContent(40,8807.151); h_SL2L467->SetBinContent(41,8751.197); h_SL2L467->SetBinContent(42,8560.954); h_SL2L467->SetBinContent(43,8958.227); h_SL2L467->SetBinContent(44,8728.815); h_SL2L467->SetBinContent(45,8958.227); h_SL2L467->SetBinContent(46,8740.007); h_SL2L467->SetBinContent(47,8560.954); h_SL2L467->SetBinContent(48,8381.901); h_SL2L467->SetBinContent(49,8365.115); h_SL2L467->SetBinContent(50,8426.664); h_SL2L467->SetBinContent(51,9193.233); h_SL2L467->SetBinContent(52,8941.44); h_SL2L467->SetBinContent(53,8650.48); h_SL2L467->SetBinContent(54,8835.128); h_SL2L467->SetBinContent(55,7620.927); h_SL2L467->SetBinContent(56,5981.477); h_SL2L467->SetBinContent(57,2663.408); h_SL2L467->SetMaximum(11363.69); 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 6342"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }