void RatesPerCell_Removing_noisy_cells_run_7356_SL2() { //=========Macro generated from canvas: c/c //========= (Thu Dec 27 12:28:54 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1665.344,67.5,14988.09); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7356",60,0,60); h_SL2L164->SetBinContent(1,4320.435); h_SL2L164->SetBinContent(2,4752.479); h_SL2L164->SetBinContent(3,6028.97); h_SL2L164->SetBinContent(4,7089.441); h_SL2L164->SetBinContent(5,8090.996); h_SL2L164->SetBinContent(6,8326.656); h_SL2L164->SetBinContent(7,8032.081); h_SL2L164->SetBinContent(8,8424.848); h_SL2L164->SetBinContent(9,8483.763); h_SL2L164->SetBinContent(10,8915.807); h_SL2L164->SetBinContent(11,8149.911); h_SL2L164->SetBinContent(12,9446.042); h_SL2L164->SetBinContent(13,8601.593); h_SL2L164->SetBinContent(14,8601.593); h_SL2L164->SetBinContent(15,9033.637); h_SL2L164->SetBinContent(16,8621.231); h_SL2L164->SetBinContent(17,8248.103); h_SL2L164->SetBinContent(18,8699.784); h_SL2L164->SetBinContent(19,9092.552); h_SL2L164->SetBinContent(20,9662.063); h_SL2L164->SetBinContent(21,9190.743); h_SL2L164->SetBinContent(22,8974.722); h_SL2L164->SetBinContent(23,8365.933); h_SL2L164->SetBinContent(24,8935.444); h_SL2L164->SetBinContent(25,9406.765); h_SL2L164->SetBinContent(26,8797.977); h_SL2L164->SetBinContent(27,9210.382); h_SL2L164->SetBinContent(28,8974.722); h_SL2L164->SetBinContent(29,9151.467); h_SL2L164->SetBinContent(30,9151.467); h_SL2L164->SetBinContent(31,8758.699); h_SL2L164->SetBinContent(32,9426.403); h_SL2L164->SetBinContent(33,9013.998); h_SL2L164->SetBinContent(34,8856.892); h_SL2L164->SetBinContent(36,7894.613); h_SL2L164->SetBinContent(37,8307.018); h_SL2L164->SetBinContent(38,9328.212); h_SL2L164->SetBinContent(39,9367.488); h_SL2L164->SetBinContent(40,8012.443); h_SL2L164->SetBinContent(41,8090.996); h_SL2L164->SetBinContent(42,9013.998); h_SL2L164->SetBinContent(43,9151.467); h_SL2L164->SetBinContent(44,9544.233); h_SL2L164->SetBinContent(45,9131.828); h_SL2L164->SetBinContent(46,9151.467); h_SL2L164->SetBinContent(47,9230.02); h_SL2L164->SetBinContent(48,8424.848); h_SL2L164->SetBinContent(49,8405.21); h_SL2L164->SetBinContent(50,8640.869); h_SL2L164->SetBinContent(51,8974.722); h_SL2L164->SetBinContent(52,9171.104); h_SL2L164->SetBinContent(53,8955.083); h_SL2L164->SetBinContent(54,8149.911); h_SL2L164->SetBinContent(55,6677.036); h_SL2L164->SetBinContent(56,4889.947); h_SL2L164->SetBinContent(57,2297.686); h_SL2L164->SetMaximum(13322.75); 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,2631.538); h_SL2L265->SetBinContent(2,4752.479); h_SL2L265->SetBinContent(3,5636.204); h_SL2L265->SetBinContent(4,6893.057); h_SL2L265->SetBinContent(5,7894.613); h_SL2L265->SetBinContent(6,8856.892); h_SL2L265->SetBinContent(7,8130.273); h_SL2L265->SetBinContent(8,8405.21); h_SL2L265->SetBinContent(9,7914.251); h_SL2L265->SetBinContent(10,7835.698); h_SL2L265->SetBinContent(11,8542.678); h_SL2L265->SetBinContent(12,8307.018); h_SL2L265->SetBinContent(13,9269.297); h_SL2L265->SetBinContent(14,7894.613); h_SL2L265->SetBinContent(15,9249.658); h_SL2L265->SetBinContent(16,9308.573); h_SL2L265->SetBinContent(17,7855.336); h_SL2L265->SetBinContent(18,8346.295); h_SL2L265->SetBinContent(19,9190.743); h_SL2L265->SetBinContent(20,8896.168); h_SL2L265->SetBinContent(21,10074.47); h_SL2L265->SetBinContent(22,9308.573); h_SL2L265->SetBinContent(23,8346.295); h_SL2L265->SetBinContent(24,8621.231); h_SL2L265->SetBinContent(25,8640.869); h_SL2L265->SetBinContent(26,9603.148); h_SL2L265->SetBinContent(27,9406.765); h_SL2L265->SetBinContent(28,9406.765); h_SL2L265->SetBinContent(29,8955.083); h_SL2L265->SetBinContent(30,8856.892); h_SL2L265->SetBinContent(31,9308.573); h_SL2L265->SetBinContent(32,8542.678); h_SL2L265->SetBinContent(33,9603.148); h_SL2L265->SetBinContent(34,8896.168); h_SL2L265->SetBinContent(35,7423.292); h_SL2L265->SetBinContent(36,6696.674); h_SL2L265->SetBinContent(37,8464.125); h_SL2L265->SetBinContent(38,9112.189); h_SL2L265->SetBinContent(39,9131.828); h_SL2L265->SetBinContent(40,8778.338); h_SL2L265->SetBinContent(41,8523.04); h_SL2L265->SetBinContent(42,8110.634); h_SL2L265->SetBinContent(43,9072.913); h_SL2L265->SetBinContent(44,9151.467); h_SL2L265->SetBinContent(45,9308.573); h_SL2L265->SetBinContent(46,8758.699); h_SL2L265->SetBinContent(47,9092.552); h_SL2L265->SetBinContent(48,8149.911); h_SL2L265->SetBinContent(49,8424.848); h_SL2L265->SetBinContent(50,8365.933); h_SL2L265->SetBinContent(51,8562.316); h_SL2L265->SetBinContent(52,9053.274); h_SL2L265->SetBinContent(53,9288.935); h_SL2L265->SetBinContent(54,8365.933); h_SL2L265->SetBinContent(55,8012.443); h_SL2L265->SetBinContent(56,5734.396); h_SL2L265->SetBinContent(57,4045.498); h_SL2L265->SetMaximum(11585.64); 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,3043.943); h_SL2L366->SetBinContent(2,5577.289); h_SL2L366->SetBinContent(3,6677.036); h_SL2L366->SetBinContent(4,7658.953); h_SL2L366->SetBinContent(5,8523.04); h_SL2L366->SetBinContent(6,8444.486); h_SL2L366->SetBinContent(7,8797.977); h_SL2L366->SetBinContent(8,8267.741); h_SL2L366->SetBinContent(9,7973.166); h_SL2L366->SetBinContent(10,7816.059); h_SL2L366->SetBinContent(11,8837.253); h_SL2L366->SetBinContent(12,9210.382); h_SL2L366->SetBinContent(13,8444.486); h_SL2L366->SetBinContent(14,8051.719); h_SL2L366->SetBinContent(15,9367.488); h_SL2L366->SetBinContent(16,8110.634); h_SL2L366->SetBinContent(17,7953.528); h_SL2L366->SetBinContent(18,9171.104); h_SL2L366->SetBinContent(19,9053.274); h_SL2L366->SetBinContent(20,9269.297); h_SL2L366->SetBinContent(21,9701.34); h_SL2L366->SetBinContent(22,8562.316); h_SL2L366->SetBinContent(23,8699.784); h_SL2L366->SetBinContent(24,8169.549); h_SL2L366->SetBinContent(25,8739.062); h_SL2L366->SetBinContent(26,8955.083); h_SL2L366->SetBinContent(27,9603.148); h_SL2L366->SetBinContent(28,9367.488); h_SL2L366->SetBinContent(29,9092.552); h_SL2L366->SetBinContent(30,9230.02); h_SL2L366->SetBinContent(31,9485.318); h_SL2L366->SetBinContent(32,8542.678); h_SL2L366->SetBinContent(33,9760.255); h_SL2L366->SetBinContent(34,8130.273); h_SL2L366->SetBinContent(35,8032.081); h_SL2L366->SetBinContent(36,7776.783); h_SL2L366->SetBinContent(37,8523.04); h_SL2L366->SetBinContent(38,9347.85); h_SL2L366->SetBinContent(39,8640.869); h_SL2L366->SetBinContent(40,8797.977); h_SL2L366->SetBinContent(41,8149.911); h_SL2L366->SetBinContent(42,8071.358); h_SL2L366->SetBinContent(43,8739.062); h_SL2L366->SetBinContent(44,9878.085); h_SL2L366->SetBinContent(45,8994.359); h_SL2L366->SetBinContent(46,9387.127); h_SL2L366->SetBinContent(47,8581.954); h_SL2L366->SetBinContent(48,8149.911); h_SL2L366->SetBinContent(49,8523.04); h_SL2L366->SetBinContent(50,8444.486); h_SL2L366->SetBinContent(51,8424.848); h_SL2L366->SetBinContent(52,9328.212); h_SL2L366->SetBinContent(53,8856.892); h_SL2L366->SetBinContent(54,9033.637); h_SL2L366->SetBinContent(55,7148.356); h_SL2L366->SetBinContent(56,4477.542); h_SL2L366->SetBinContent(57,2985.028); h_SL2L366->SetMaximum(11585.64); 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,3770.561); h_SL2L467->SetBinContent(3,6893.057); h_SL2L467->SetBinContent(4,7344.739); h_SL2L467->SetBinContent(5,8110.634); h_SL2L467->SetBinContent(6,8405.21); h_SL2L467->SetBinContent(7,8110.634); h_SL2L467->SetBinContent(8,8562.316); h_SL2L467->SetBinContent(9,8640.869); h_SL2L467->SetBinContent(10,8130.273); h_SL2L467->SetBinContent(11,8307.018); h_SL2L467->SetBinContent(12,9190.743); h_SL2L467->SetBinContent(13,8699.784); h_SL2L467->SetBinContent(14,8189.188); h_SL2L467->SetBinContent(15,8778.338); h_SL2L467->SetBinContent(16,8483.763); h_SL2L467->SetBinContent(17,8365.933); h_SL2L467->SetBinContent(18,8464.125); h_SL2L467->SetBinContent(19,9112.189); h_SL2L467->SetBinContent(20,9347.85); h_SL2L467->SetBinContent(21,9485.318); h_SL2L467->SetBinContent(22,9347.85); h_SL2L467->SetBinContent(23,8817.614); h_SL2L467->SetBinContent(24,8365.933); h_SL2L467->SetBinContent(25,8503.401); h_SL2L467->SetBinContent(26,8935.444); h_SL2L467->SetBinContent(27,9387.127); h_SL2L467->SetBinContent(28,9426.403); h_SL2L467->SetBinContent(29,9426.403); h_SL2L467->SetBinContent(30,9131.828); h_SL2L467->SetBinContent(31,9544.233); h_SL2L467->SetBinContent(32,9387.127); h_SL2L467->SetBinContent(33,8699.784); h_SL2L467->SetBinContent(34,8758.699); h_SL2L467->SetBinContent(35,8208.826); h_SL2L467->SetBinContent(36,8130.273); h_SL2L467->SetBinContent(37,8405.21); h_SL2L467->SetBinContent(38,8876.529); h_SL2L467->SetBinContent(39,9151.467); h_SL2L467->SetBinContent(40,8680.146); h_SL2L467->SetBinContent(41,8405.21); h_SL2L467->SetBinContent(42,8248.103); h_SL2L467->SetBinContent(43,7894.613); h_SL2L467->SetBinContent(44,9622.786); h_SL2L467->SetBinContent(45,9720.979); h_SL2L467->SetBinContent(46,9072.913); h_SL2L467->SetBinContent(47,9230.02); h_SL2L467->SetBinContent(48,8307.018); h_SL2L467->SetBinContent(49,8856.892); h_SL2L467->SetBinContent(50,9072.913); h_SL2L467->SetBinContent(51,8149.911); h_SL2L467->SetBinContent(52,8444.486); h_SL2L467->SetBinContent(53,8974.722); h_SL2L467->SetBinContent(54,9779.894); h_SL2L467->SetBinContent(55,7992.804); h_SL2L467->SetBinContent(56,6794.866); h_SL2L467->SetBinContent(57,3102.858); h_SL2L467->SetMaximum(11585.64); 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 7356"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }