void RatesPerCell_Removing_noisy_cells_run_7295_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:23:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7508.207,67.5,67573.86); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7295",60,0,60); h_SL2L164->SetBinContent(1,3936.413); h_SL2L164->SetBinContent(2,4652.84); h_SL2L164->SetBinContent(3,6109.312); h_SL2L164->SetBinContent(4,7459.502); h_SL2L164->SetBinContent(5,7239.063); h_SL2L164->SetBinContent(6,7656.323); h_SL2L164->SetBinContent(7,7660.259); h_SL2L164->SetBinContent(8,8313.704); h_SL2L164->SetBinContent(9,8451.479); h_SL2L164->SetBinContent(10,8349.132); h_SL2L164->SetBinContent(11,8542.016); h_SL2L164->SetBinContent(12,8467.224); h_SL2L164->SetBinContent(13,8274.34); h_SL2L164->SetBinContent(14,8357.005); h_SL2L164->SetBinContent(15,8128.692); h_SL2L164->SetBinContent(16,8518.397); h_SL2L164->SetBinContent(17,8447.542); h_SL2L164->SetBinContent(18,8357.005); h_SL2L164->SetBinContent(19,8715.218); h_SL2L164->SetBinContent(20,8845.119); h_SL2L164->SetBinContent(21,8534.143); h_SL2L164->SetBinContent(22,8786.073); h_SL2L164->SetBinContent(23,8475.097); h_SL2L164->SetBinContent(24,8380.623); h_SL2L164->SetBinContent(25,8349.132); h_SL2L164->SetBinContent(26,8754.582); h_SL2L164->SetBinContent(27,8963.212); h_SL2L164->SetBinContent(28,8982.894); h_SL2L164->SetBinContent(29,8549.889); h_SL2L164->SetBinContent(30,8667.981); h_SL2L164->SetBinContent(31,8786.073); h_SL2L164->SetBinContent(32,8423.924); h_SL2L164->SetBinContent(33,8384.56); h_SL2L164->SetBinContent(34,8156.248); h_SL2L164->SetBinContent(35,3.936413); h_SL2L164->SetBinContent(36,8152.311); h_SL2L164->SetBinContent(37,14840.28); h_SL2L164->SetBinContent(38,10864.5); h_SL2L164->SetBinContent(39,12372.15); h_SL2L164->SetBinContent(40,45418.33); h_SL2L164->SetBinContent(41,14155.34); h_SL2L164->SetBinContent(42,14993.8); h_SL2L164->SetBinContent(43,16509.31); h_SL2L164->SetBinContent(44,15104.02); h_SL2L164->SetBinContent(45,8305.831); h_SL2L164->SetBinContent(46,8427.859); h_SL2L164->SetBinContent(47,8353.068); h_SL2L164->SetBinContent(48,8053.9); h_SL2L164->SetBinContent(49,8388.496); h_SL2L164->SetBinContent(50,8388.496); h_SL2L164->SetBinContent(51,7916.126); h_SL2L164->SetBinContent(52,7920.062); h_SL2L164->SetBinContent(53,7557.913); h_SL2L164->SetBinContent(54,6841.485); h_SL2L164->SetBinContent(55,5648.752); h_SL2L164->SetBinContent(56,4085.997); h_SL2L164->SetBinContent(57,1857.987); h_SL2L164->SetMaximum(60065.65); 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,2153.218); h_SL2L265->SetBinContent(2,4235.58); h_SL2L265->SetBinContent(3,5684.18); h_SL2L265->SetBinContent(4,7069.797); h_SL2L265->SetBinContent(5,7790.161); h_SL2L265->SetBinContent(6,7270.555); h_SL2L265->SetBinContent(7,8046.028); h_SL2L265->SetBinContent(8,7947.618); h_SL2L265->SetBinContent(9,8545.952); h_SL2L265->SetBinContent(10,8451.479); h_SL2L265->SetBinContent(11,8160.184); h_SL2L265->SetBinContent(12,8510.524); h_SL2L265->SetBinContent(13,8262.53); h_SL2L265->SetBinContent(14,8597.126); h_SL2L265->SetBinContent(15,8219.229); h_SL2L265->SetBinContent(16,8416.051); h_SL2L265->SetBinContent(17,8388.496); h_SL2L265->SetBinContent(18,8616.808); h_SL2L265->SetBinContent(19,8345.195); h_SL2L265->SetBinContent(20,8608.935); h_SL2L265->SetBinContent(21,8416.051); h_SL2L265->SetBinContent(22,8581.38); h_SL2L265->SetBinContent(23,8719.154); h_SL2L265->SetBinContent(24,8211.357); h_SL2L265->SetBinContent(25,8313.704); h_SL2L265->SetBinContent(26,8750.646); h_SL2L265->SetBinContent(27,8841.184); h_SL2L265->SetBinContent(28,8896.293); h_SL2L265->SetBinContent(29,8754.582); h_SL2L265->SetBinContent(30,8616.808); h_SL2L265->SetBinContent(31,8652.235); h_SL2L265->SetBinContent(32,8479.033); h_SL2L265->SetBinContent(33,8455.415); h_SL2L265->SetBinContent(34,8412.114); h_SL2L265->SetBinContent(35,7258.745); h_SL2L265->SetBinContent(36,6865.104); h_SL2L265->SetBinContent(37,8341.259); h_SL2L265->SetBinContent(38,8652.235); h_SL2L265->SetBinContent(39,9368.662); h_SL2L265->SetBinContent(40,10317.34); h_SL2L265->SetBinContent(41,7833.461); h_SL2L265->SetBinContent(42,8734.9); h_SL2L265->SetBinContent(43,8762.455); h_SL2L265->SetBinContent(44,9258.443); h_SL2L265->SetBinContent(45,8231.039); h_SL2L265->SetBinContent(46,8644.362); h_SL2L265->SetBinContent(47,8297.958); h_SL2L265->SetBinContent(48,8305.831); h_SL2L265->SetBinContent(49,8309.768); h_SL2L265->SetBinContent(50,8089.328); h_SL2L265->SetBinContent(51,8286.149); h_SL2L265->SetBinContent(52,7790.161); h_SL2L265->SetBinContent(53,7975.172); h_SL2L265->SetBinContent(54,7664.196); h_SL2L265->SetBinContent(55,6841.485); h_SL2L265->SetBinContent(56,4967.753); h_SL2L265->SetBinContent(57,3259.35); h_SL2L265->SetMaximum(52231.08); 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,2692.506); h_SL2L366->SetBinContent(2,5113.4); h_SL2L366->SetBinContent(3,6621.046); h_SL2L366->SetBinContent(4,7483.121); h_SL2L366->SetBinContent(5,7861.017); h_SL2L366->SetBinContent(6,7518.548); h_SL2L366->SetBinContent(7,7979.109); h_SL2L366->SetBinContent(8,8046.028); h_SL2L366->SetBinContent(9,8530.207); h_SL2L366->SetBinContent(10,8258.594); h_SL2L366->SetBinContent(11,8408.178); h_SL2L366->SetBinContent(12,8231.039); h_SL2L366->SetBinContent(13,8175.929); h_SL2L366->SetBinContent(14,8502.651); h_SL2L366->SetBinContent(15,8494.779); h_SL2L366->SetBinContent(16,8270.403); h_SL2L366->SetBinContent(17,8620.744); h_SL2L366->SetBinContent(18,8514.461); h_SL2L366->SetBinContent(19,8372.75); h_SL2L366->SetBinContent(20,8498.715); h_SL2L366->SetBinContent(21,8593.189); h_SL2L366->SetBinContent(22,8766.392); h_SL2L366->SetBinContent(23,8144.438); h_SL2L366->SetBinContent(24,8187.739); h_SL2L366->SetBinContent(25,8392.432); h_SL2L366->SetBinContent(26,9053.749); h_SL2L366->SetBinContent(27,8837.247); h_SL2L366->SetBinContent(28,8825.438); h_SL2L366->SetBinContent(29,8837.247); h_SL2L366->SetBinContent(30,8514.461); h_SL2L366->SetBinContent(31,8392.432); h_SL2L366->SetBinContent(32,8534.143); h_SL2L366->SetBinContent(33,8215.294); h_SL2L366->SetBinContent(34,7916.126); h_SL2L366->SetBinContent(35,7321.728); h_SL2L366->SetBinContent(36,7246.936); h_SL2L366->SetBinContent(37,8589.253); h_SL2L366->SetBinContent(38,8813.628); h_SL2L366->SetBinContent(39,8112.947); h_SL2L366->SetBinContent(40,9380.472); h_SL2L366->SetBinContent(41,7947.618); h_SL2L366->SetBinContent(42,8660.108); h_SL2L366->SetBinContent(43,8734.9); h_SL2L366->SetBinContent(44,8585.316); h_SL2L366->SetBinContent(45,8148.375); h_SL2L366->SetBinContent(46,8333.386); h_SL2L366->SetBinContent(47,8274.34); h_SL2L366->SetBinContent(48,8085.392); h_SL2L366->SetBinContent(49,8065.71); h_SL2L366->SetBinContent(50,8018.473); h_SL2L366->SetBinContent(51,7884.635); h_SL2L366->SetBinContent(52,7758.669); h_SL2L366->SetBinContent(53,8038.155); h_SL2L366->SetBinContent(54,7628.768); h_SL2L366->SetBinContent(55,6428.162); h_SL2L366->SetBinContent(56,3975.777); h_SL2L366->SetBinContent(57,2893.263); h_SL2L366->SetMaximum(52231.08); 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,3664.8); h_SL2L467->SetBinContent(3,6534.445); h_SL2L467->SetBinContent(4,7199.699); h_SL2L467->SetBinContent(5,7939.745); h_SL2L467->SetBinContent(6,8014.537); h_SL2L467->SetBinContent(7,8014.537); h_SL2L467->SetBinContent(8,7923.999); h_SL2L467->SetBinContent(9,8199.548); h_SL2L467->SetBinContent(10,8400.305); h_SL2L467->SetBinContent(11,8294.021); h_SL2L467->SetBinContent(12,8573.507); h_SL2L467->SetBinContent(13,7951.554); h_SL2L467->SetBinContent(14,8427.859); h_SL2L467->SetBinContent(15,8427.859); h_SL2L467->SetBinContent(16,8313.704); h_SL2L467->SetBinContent(17,8353.068); h_SL2L467->SetBinContent(18,8538.079); h_SL2L467->SetBinContent(19,8467.224); h_SL2L467->SetBinContent(20,8758.519); h_SL2L467->SetBinContent(21,8175.929); h_SL2L467->SetBinContent(22,8703.409); h_SL2L467->SetBinContent(23,8416.051); h_SL2L467->SetBinContent(24,8360.94); h_SL2L467->SetBinContent(25,8337.322); h_SL2L467->SetBinContent(26,8790.01); h_SL2L467->SetBinContent(27,8919.911); h_SL2L467->SetBinContent(28,8793.946); h_SL2L467->SetBinContent(29,9203.333); h_SL2L467->SetBinContent(30,8719.154); h_SL2L467->SetBinContent(31,8514.461); h_SL2L467->SetBinContent(32,8191.675); h_SL2L467->SetBinContent(33,8530.207); h_SL2L467->SetBinContent(34,8030.282); h_SL2L467->SetBinContent(35,8120.82); h_SL2L467->SetBinContent(36,7455.566); h_SL2L467->SetBinContent(37,7888.571); h_SL2L467->SetBinContent(38,8538.079); h_SL2L467->SetBinContent(39,8305.831); h_SL2L467->SetBinContent(40,8195.611); h_SL2L467->SetBinContent(41,7975.172); h_SL2L467->SetBinContent(42,8282.213); h_SL2L467->SetBinContent(43,8793.946); h_SL2L467->SetBinContent(44,8813.628); h_SL2L467->SetBinContent(45,8790.01); h_SL2L467->SetBinContent(46,8274.34); h_SL2L467->SetBinContent(47,8467.224); h_SL2L467->SetBinContent(48,8112.947); h_SL2L467->SetBinContent(49,8364.877); h_SL2L467->SetBinContent(50,8191.675); h_SL2L467->SetBinContent(51,7841.334); h_SL2L467->SetBinContent(52,8109.01); h_SL2L467->SetBinContent(53,8105.074); h_SL2L467->SetBinContent(54,8081.456); h_SL2L467->SetBinContent(55,7518.548); h_SL2L467->SetBinContent(56,5562.151); h_SL2L467->SetBinContent(57,2487.813); h_SL2L467->SetMaximum(52231.08); 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 7295"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }