void RatesPerCell_Removing_noisy_cells_run_6304_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2562.775,67.5,23064.98); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L159 = new TH1D("h_SL1L159","SL1, run 6304",60,0,60); h_SL1L159->SetBinContent(1,9845.528); h_SL1L159->SetBinContent(2,10574); h_SL1L159->SetBinContent(3,10310.32); h_SL1L159->SetBinContent(4,9501.404); h_SL1L159->SetBinContent(5,8571.821); h_SL1L159->SetBinContent(6,9023.205); h_SL1L159->SetBinContent(7,8652.267); h_SL1L159->SetBinContent(8,9246.663); h_SL1L159->SetBinContent(9,9117.058); h_SL1L159->SetBinContent(10,9389.675); h_SL1L159->SetBinContent(11,9939.38); h_SL1L159->SetBinContent(12,9403.083); h_SL1L159->SetBinContent(13,9353.922); h_SL1L159->SetBinContent(14,8513.723); h_SL1L159->SetBinContent(15,7204.263); h_SL1L159->SetBinContent(16,7155.103); h_SL1L159->SetBinContent(17,7481.35); h_SL1L159->SetBinContent(18,8075.747); h_SL1L159->SetBinContent(19,8120.438); h_SL1L159->SetBinContent(20,8241.104); h_SL1L159->SetBinContent(21,8209.82); h_SL1L159->SetBinContent(22,8035.524); h_SL1L159->SetBinContent(23,7758.437); h_SL1L159->SetBinContent(24,7262.362); h_SL1L159->SetBinContent(25,7199.794); h_SL1L159->SetBinContent(26,6936.114); h_SL1L159->SetBinContent(27,6717.126); h_SL1L159->SetBinContent(28,6770.756); h_SL1L159->SetBinContent(29,7789.721); h_SL1L159->SetBinContent(30,7164.041); h_SL1L159->SetBinContent(31,7052.312); h_SL1L159->SetBinContent(32,6507.076); h_SL1L159->SetBinContent(33,6998.682); h_SL1L159->SetBinContent(34,6976.336); h_SL1L159->SetBinContent(35,6654.558); h_SL1L159->SetBinContent(36,6761.817); h_SL1L159->SetBinContent(37,6743.941); h_SL1L159->SetBinContent(38,7423.251); h_SL1L159->SetBinContent(39,6958.46); h_SL1L159->SetBinContent(40,6095.915); h_SL1L159->SetBinContent(41,6587.521); h_SL1L159->SetBinContent(42,6873.546); h_SL1L159->SetBinContent(43,6681.373); h_SL1L159->SetBinContent(44,6681.373); h_SL1L159->SetBinContent(45,6761.817); h_SL1L159->SetBinContent(46,5984.186); h_SL1L159->SetBinContent(47,6118.261); h_SL1L159->SetBinContent(48,6078.038); h_SL1L159->SetBinContent(49,6395.348); h_SL1L159->SetBinContent(50,6297.026); h_SL1L159->SetBinContent(51,6395.348); h_SL1L159->SetBinContent(52,6176.359); h_SL1L159->SetBinContent(53,6002.063); h_SL1L159->SetBinContent(54,6243.396); h_SL1L159->SetBinContent(55,5979.717); h_SL1L159->SetBinContent(56,6408.755); h_SL1L159->SetBinContent(57,7856.758); h_SL1L159->SetBinContent(58,7910.388); h_SL1L159->SetBinContent(59,8960.638); h_SL1L159->SetMaximum(20502.2); h_SL1L159->SetEntries(60); h_SL1L159->SetDirectory(0); h_SL1L159->SetStats(0); h_SL1L159->SetLineWidth(2); h_SL1L159->GetXaxis()->SetTitle("Cell"); h_SL1L159->GetXaxis()->SetLabelFont(42); h_SL1L159->GetXaxis()->SetLabelSize(0.035); h_SL1L159->GetXaxis()->SetTitleSize(0.035); h_SL1L159->GetXaxis()->SetTitleFont(42); h_SL1L159->GetYaxis()->SetTitle("Hz"); h_SL1L159->GetYaxis()->SetLabelFont(42); h_SL1L159->GetYaxis()->SetLabelSize(0.035); h_SL1L159->GetYaxis()->SetTitleSize(0.035); h_SL1L159->GetYaxis()->SetTitleOffset(1.45); h_SL1L159->GetYaxis()->SetTitleFont(42); h_SL1L159->GetZaxis()->SetLabelFont(42); h_SL1L159->GetZaxis()->SetLabelSize(0.035); h_SL1L159->GetZaxis()->SetTitleSize(0.035); h_SL1L159->GetZaxis()->SetTitleFont(42); h_SL1L159->Draw(""); TH1D *h_SL1L260 = new TH1D("h_SL1L260","",60,0,60); h_SL1L260->SetBinContent(1,13805.19); h_SL1L260->SetBinContent(2,14573.88); h_SL1L260->SetBinContent(3,14538.13); h_SL1L260->SetBinContent(4,14877.79); h_SL1L260->SetBinContent(5,14815.22); h_SL1L260->SetBinContent(6,14824.16); h_SL1L260->SetBinContent(7,14560.48); h_SL1L260->SetBinContent(8,14792.87); h_SL1L260->SetBinContent(9,14891.19); h_SL1L260->SetBinContent(10,15137); h_SL1L260->SetBinContent(11,15472.18); h_SL1L260->SetBinContent(12,15503.47); h_SL1L260->SetBinContent(13,15364.92); h_SL1L260->SetBinContent(14,14993.98); h_SL1L260->SetBinContent(15,14788.4); h_SL1L260->SetBinContent(16,14426.4); h_SL1L260->SetBinContent(17,13465.54); h_SL1L260->SetBinContent(18,14547.07); h_SL1L260->SetBinContent(19,14631.98); h_SL1L260->SetBinContent(20,14569.42); h_SL1L260->SetBinContent(21,14962.7); h_SL1L260->SetBinContent(22,15293.42); h_SL1L260->SetBinContent(23,14663.27); h_SL1L260->SetBinContent(24,14681.14); h_SL1L260->SetBinContent(25,14497.91); h_SL1L260->SetBinContent(26,13742.62); h_SL1L260->SetBinContent(27,13036.5); h_SL1L260->SetBinContent(28,13863.29); h_SL1L260->SetBinContent(29,14918.01); h_SL1L260->SetBinContent(30,14909.07); h_SL1L260->SetBinContent(31,14703.49); h_SL1L260->SetBinContent(32,14873.32); h_SL1L260->SetBinContent(33,14971.64); h_SL1L260->SetBinContent(34,14582.82); h_SL1L260->SetBinContent(35,14131.44); h_SL1L260->SetBinContent(36,14676.67); h_SL1L260->SetBinContent(37,13134.82); h_SL1L260->SetBinContent(38,13832.01); h_SL1L260->SetBinContent(39,14042.06); h_SL1L260->SetBinContent(40,13729.22); h_SL1L260->SetBinContent(41,13738.15); h_SL1L260->SetBinContent(42,13778.38); h_SL1L260->SetBinContent(43,14256.58); h_SL1L260->SetBinContent(44,14033.12); h_SL1L260->SetBinContent(45,13550.45); h_SL1L260->SetBinContent(46,14305.74); h_SL1L260->SetBinContent(47,13876.7); h_SL1L260->SetBinContent(48,14176.13); h_SL1L260->SetBinContent(49,14556.01); h_SL1L260->SetBinContent(50,14310.21); h_SL1L260->SetBinContent(51,14006.3); h_SL1L260->SetBinContent(52,13688.99); h_SL1L260->SetBinContent(53,14238.7); h_SL1L260->SetBinContent(54,13353.81); h_SL1L260->SetBinContent(55,13380.62); h_SL1L260->SetBinContent(56,13429.78); h_SL1L260->SetBinContent(57,12705.78); h_SL1L260->SetBinContent(58,13304.65); h_SL1L260->SetBinContent(59,13090.13); h_SL1L260->SetMaximum(17828.99); h_SL1L260->SetEntries(60); h_SL1L260->SetDirectory(0); h_SL1L260->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L260->SetLineColor(ci); h_SL1L260->SetLineWidth(2); h_SL1L260->GetXaxis()->SetTitle("Cell"); h_SL1L260->GetXaxis()->SetLabelFont(42); h_SL1L260->GetXaxis()->SetLabelSize(0.035); h_SL1L260->GetXaxis()->SetTitleSize(0.035); h_SL1L260->GetXaxis()->SetTitleFont(42); h_SL1L260->GetYaxis()->SetTitle("Hz"); h_SL1L260->GetYaxis()->SetLabelFont(42); h_SL1L260->GetYaxis()->SetLabelSize(0.035); h_SL1L260->GetYaxis()->SetTitleSize(0.035); h_SL1L260->GetYaxis()->SetTitleOffset(1.45); h_SL1L260->GetYaxis()->SetTitleFont(42); h_SL1L260->GetZaxis()->SetLabelFont(42); h_SL1L260->GetZaxis()->SetLabelSize(0.035); h_SL1L260->GetZaxis()->SetTitleSize(0.035); h_SL1L260->GetZaxis()->SetTitleFont(42); h_SL1L260->Draw("same"); TH1D *h_SL1L361 = new TH1D("h_SL1L361","",60,0,60); h_SL1L361->SetBinContent(1,12701.31); h_SL1L361->SetBinContent(2,13773.91); h_SL1L361->SetBinContent(3,14390.65); h_SL1L361->SetBinContent(4,15159.34); h_SL1L361->SetBinContent(5,13957.14); h_SL1L361->SetBinContent(6,14502.38); h_SL1L361->SetBinContent(7,14448.75); h_SL1L361->SetBinContent(8,14806.28); h_SL1L361->SetBinContent(9,14068.87); h_SL1L361->SetBinContent(10,14752.65); h_SL1L361->SetBinContent(11,15163.81); h_SL1L361->SetBinContent(12,15002.92); h_SL1L361->SetBinContent(13,14815.22); h_SL1L361->SetBinContent(14,15177.22); h_SL1L361->SetBinContent(15,14068.87); h_SL1L361->SetBinContent(16,13228.67); h_SL1L361->SetBinContent(17,13800.72); h_SL1L361->SetBinContent(18,14859.91); h_SL1L361->SetBinContent(19,14332.55); h_SL1L361->SetBinContent(20,14028.65); h_SL1L361->SetBinContent(21,14993.98); h_SL1L361->SetBinContent(22,14529.19); h_SL1L361->SetBinContent(23,14399.59); h_SL1L361->SetBinContent(24,14033.12); h_SL1L361->SetBinContent(25,13559.39); h_SL1L361->SetBinContent(26,13353.81); h_SL1L361->SetBinContent(27,12906.89); h_SL1L361->SetBinContent(28,14046.53); h_SL1L361->SetBinContent(29,14413); h_SL1L361->SetBinContent(30,14471.09); h_SL1L361->SetBinContent(31,14381.71); h_SL1L361->SetBinContent(32,14109.09); h_SL1L361->SetBinContent(33,14050.99); h_SL1L361->SetBinContent(34,13992.9); h_SL1L361->SetBinContent(35,13948.2); h_SL1L361->SetBinContent(36,13134.82); h_SL1L361->SetBinContent(37,13438.72); h_SL1L361->SetBinContent(38,13577.26); h_SL1L361->SetBinContent(39,13983.96); h_SL1L361->SetBinContent(40,13219.73); h_SL1L361->SetBinContent(41,12973.93); h_SL1L361->SetBinContent(42,13742.62); h_SL1L361->SetBinContent(43,13840.94); h_SL1L361->SetBinContent(44,13800.72); h_SL1L361->SetBinContent(45,13563.86); h_SL1L361->SetBinContent(46,13425.31); h_SL1L361->SetBinContent(47,13577.26); h_SL1L361->SetBinContent(48,13242.08); h_SL1L361->SetBinContent(49,14216.35); h_SL1L361->SetBinContent(50,13671.12); h_SL1L361->SetBinContent(51,12933.71); h_SL1L361->SetBinContent(52,13568.33); h_SL1L361->SetBinContent(53,13326.99); h_SL1L361->SetBinContent(54,12982.87); h_SL1L361->SetBinContent(55,12897.96); h_SL1L361->SetBinContent(56,13197.39); h_SL1L361->SetBinContent(57,12920.3); h_SL1L361->SetBinContent(58,13000.75); h_SL1L361->SetBinContent(59,12678.97); h_SL1L361->SetMaximum(17828.99); h_SL1L361->SetEntries(60); h_SL1L361->SetDirectory(0); h_SL1L361->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L361->SetLineColor(ci); h_SL1L361->SetLineWidth(2); h_SL1L361->GetXaxis()->SetTitle("Cell"); h_SL1L361->GetXaxis()->SetLabelFont(42); h_SL1L361->GetXaxis()->SetLabelSize(0.035); h_SL1L361->GetXaxis()->SetTitleSize(0.035); h_SL1L361->GetXaxis()->SetTitleFont(42); h_SL1L361->GetYaxis()->SetTitle("Hz"); h_SL1L361->GetYaxis()->SetLabelFont(42); h_SL1L361->GetYaxis()->SetLabelSize(0.035); h_SL1L361->GetYaxis()->SetTitleSize(0.035); h_SL1L361->GetYaxis()->SetTitleOffset(1.45); h_SL1L361->GetYaxis()->SetTitleFont(42); h_SL1L361->GetZaxis()->SetLabelFont(42); h_SL1L361->GetZaxis()->SetLabelSize(0.035); h_SL1L361->GetZaxis()->SetTitleSize(0.035); h_SL1L361->GetZaxis()->SetTitleFont(42); h_SL1L361->Draw("same"); TH1D *h_SL1L462 = new TH1D("h_SL1L462","",60,0,60); h_SL1L462->SetBinContent(2,8951.699); h_SL1L462->SetBinContent(3,8902.538); h_SL1L462->SetBinContent(4,8397.525); h_SL1L462->SetBinContent(5,8348.364); h_SL1L462->SetBinContent(6,8214.29); h_SL1L462->SetBinContent(7,7972.956); h_SL1L462->SetBinContent(8,8281.327); h_SL1L462->SetBinContent(9,8723.772); h_SL1L462->SetBinContent(10,9501.404); h_SL1L462->SetBinContent(11,9872.343); h_SL1L462->SetBinContent(12,10381.83); h_SL1L462->SetBinContent(13,10296.91); h_SL1L462->SetBinContent(14,10372.89); h_SL1L462->SetBinContent(15,9501.404); h_SL1L462->SetBinContent(16,9152.811); h_SL1L462->SetBinContent(17,8401.994); h_SL1L462->SetBinContent(18,8598.637); h_SL1L462->SetBinContent(19,8857.847); h_SL1L462->SetBinContent(20,8209.82); h_SL1L462->SetBinContent(21,8486.908); h_SL1L462->SetBinContent(22,8428.809); h_SL1L462->SetBinContent(23,8241.104); h_SL1L462->SetBinContent(24,8334.957); h_SL1L462->SetBinContent(25,7753.968); h_SL1L462->SetBinContent(26,7628.832); h_SL1L462->SetBinContent(27,7155.103); h_SL1L462->SetBinContent(28,7584.14); h_SL1L462->SetBinContent(29,7333.868); h_SL1L462->SetBinContent(30,7526.042); h_SL1L462->SetBinContent(31,7660.116); h_SL1L462->SetBinContent(32,7610.955); h_SL1L462->SetBinContent(33,6721.595); h_SL1L462->SetBinContent(34,6953.991); h_SL1L462->SetBinContent(35,7172.979); h_SL1L462->SetBinContent(36,6618.805); h_SL1L462->SetBinContent(37,5581.963); h_SL1L462->SetBinContent(38,6323.841); h_SL1L462->SetBinContent(39,6538.36); h_SL1L462->SetBinContent(40,5474.704); h_SL1L462->SetBinContent(41,5787.544); h_SL1L462->SetBinContent(42,6136.137); h_SL1L462->SetBinContent(43,6645.62); h_SL1L462->SetBinContent(44,6386.409); h_SL1L462->SetBinContent(45,5555.148); h_SL1L462->SetBinContent(46,5809.89); h_SL1L462->SetBinContent(47,5505.988); h_SL1L462->SetBinContent(48,5742.853); h_SL1L462->SetBinContent(49,5550.679); h_SL1L462->SetBinContent(50,5577.494); h_SL1L462->SetBinContent(51,5564.086); h_SL1L462->SetBinContent(52,5662.408); h_SL1L462->SetBinContent(53,5215.493); h_SL1L462->SetBinContent(54,5322.752); h_SL1L462->SetBinContent(56,5751.791); h_SL1L462->SetBinContent(57,6466.854); h_SL1L462->SetBinContent(58,7914.857); h_SL1L462->SetBinContent(59,7776.313); h_SL1L462->SetMaximum(17828.99); h_SL1L462->SetEntries(60); h_SL1L462->SetDirectory(0); h_SL1L462->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L462->SetLineColor(ci); h_SL1L462->SetLineWidth(2); h_SL1L462->GetXaxis()->SetTitle("Cell"); h_SL1L462->GetXaxis()->SetLabelFont(42); h_SL1L462->GetXaxis()->SetLabelSize(0.035); h_SL1L462->GetXaxis()->SetTitleSize(0.035); h_SL1L462->GetXaxis()->SetTitleFont(42); h_SL1L462->GetYaxis()->SetTitle("Hz"); h_SL1L462->GetYaxis()->SetLabelFont(42); h_SL1L462->GetYaxis()->SetLabelSize(0.035); h_SL1L462->GetYaxis()->SetTitleSize(0.035); h_SL1L462->GetYaxis()->SetTitleOffset(1.45); h_SL1L462->GetYaxis()->SetTitleFont(42); h_SL1L462->GetZaxis()->SetLabelFont(42); h_SL1L462->GetZaxis()->SetLabelSize(0.035); h_SL1L462->GetZaxis()->SetTitleSize(0.035); h_SL1L462->GetZaxis()->SetTitleFont(42); h_SL1L462->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6304"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }