void RatesPerCell_Removing_noisy_cells_run_6897_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:35 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13373.35,67.5,120360.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6897",60,0,60); h_SL1L160->SetBinContent(1,15301.02); h_SL1L160->SetBinContent(2,15117.35); h_SL1L160->SetBinContent(3,15081.63); h_SL1L160->SetBinContent(4,13744.9); h_SL1L160->SetBinContent(5,13147.96); h_SL1L160->SetBinContent(6,14086.73); h_SL1L160->SetBinContent(7,13561.22); h_SL1L160->SetBinContent(8,13566.33); h_SL1L160->SetBinContent(9,12418.37); h_SL1L160->SetBinContent(10,11515.31); h_SL1L160->SetBinContent(11,11326.53); h_SL1L160->SetBinContent(12,11331.63); h_SL1L160->SetBinContent(13,11903.06); h_SL1L160->SetBinContent(14,12209.18); h_SL1L160->SetBinContent(15,11647.96); h_SL1L160->SetBinContent(16,11117.35); h_SL1L160->SetBinContent(17,11260.2); h_SL1L160->SetBinContent(18,12025.51); h_SL1L160->SetBinContent(19,12663.27); h_SL1L160->SetBinContent(20,12454.08); h_SL1L160->SetBinContent(21,12913.27); h_SL1L160->SetBinContent(22,12418.37); h_SL1L160->SetBinContent(23,12928.57); h_SL1L160->SetBinContent(24,12040.82); h_SL1L160->SetBinContent(25,12540.82); h_SL1L160->SetBinContent(26,12474.49); h_SL1L160->SetBinContent(27,12112.25); h_SL1L160->SetBinContent(28,12188.78); h_SL1L160->SetBinContent(29,12122.45); h_SL1L160->SetBinContent(30,12127.55); h_SL1L160->SetBinContent(31,11688.78); h_SL1L160->SetBinContent(32,12729.59); h_SL1L160->SetBinContent(33,23683.67); h_SL1L160->SetBinContent(34,31653.06); h_SL1L160->SetBinContent(35,33122.45); h_SL1L160->SetBinContent(36,33688.77); h_SL1L160->SetBinContent(37,36397.96); h_SL1L160->SetBinContent(38,35887.75); h_SL1L160->SetBinContent(39,26086.73); h_SL1L160->SetBinContent(40,12428.57); h_SL1L160->SetBinContent(41,11566.33); h_SL1L160->SetBinContent(42,11188.78); h_SL1L160->SetBinContent(43,10265.31); h_SL1L160->SetBinContent(44,9632.653); h_SL1L160->SetBinContent(45,9755.102); h_SL1L160->SetBinContent(46,8836.734); h_SL1L160->SetBinContent(47,8933.674); h_SL1L160->SetBinContent(48,7867.347); h_SL1L160->SetBinContent(49,8234.693); h_SL1L160->SetBinContent(50,8096.938); h_SL1L160->SetBinContent(51,8438.775); h_SL1L160->SetBinContent(52,8183.673); h_SL1L160->SetBinContent(53,8454.082); h_SL1L160->SetBinContent(54,8163.265); h_SL1L160->SetBinContent(55,8392.857); h_SL1L160->SetBinContent(56,9428.571); h_SL1L160->SetBinContent(57,9653.062); h_SL1L160->SetBinContent(58,10137.75); h_SL1L160->SetBinContent(59,10964.29); h_SL1L160->SetMaximum(106986.8); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,18045.92); h_SL1L261->SetBinContent(2,17403.06); h_SL1L261->SetBinContent(3,17408.16); h_SL1L261->SetBinContent(4,17627.55); h_SL1L261->SetBinContent(5,17545.92); h_SL1L261->SetBinContent(6,19112.24); h_SL1L261->SetBinContent(7,18198.98); h_SL1L261->SetBinContent(8,18209.18); h_SL1L261->SetBinContent(9,18066.33); h_SL1L261->SetBinContent(10,15719.39); h_SL1L261->SetBinContent(11,15015.31); h_SL1L261->SetBinContent(12,15755.1); h_SL1L261->SetBinContent(13,16204.08); h_SL1L261->SetBinContent(14,17637.76); h_SL1L261->SetBinContent(15,16474.49); h_SL1L261->SetBinContent(16,16908.16); h_SL1L261->SetBinContent(17,17107.14); h_SL1L261->SetBinContent(18,17566.33); h_SL1L261->SetBinContent(19,18137.76); h_SL1L261->SetBinContent(20,18158.16); h_SL1L261->SetBinContent(21,19301.02); h_SL1L261->SetBinContent(22,20086.73); h_SL1L261->SetBinContent(23,20790.82); h_SL1L261->SetBinContent(24,20056.12); h_SL1L261->SetBinContent(25,21219.39); h_SL1L261->SetBinContent(26,19520.41); h_SL1L261->SetBinContent(27,19540.82); h_SL1L261->SetBinContent(28,19622.45); h_SL1L261->SetBinContent(29,20551.02); h_SL1L261->SetBinContent(30,20642.86); h_SL1L261->SetBinContent(31,21178.57); h_SL1L261->SetBinContent(32,22234.69); h_SL1L261->SetBinContent(33,33795.92); h_SL1L261->SetBinContent(34,65102.04); h_SL1L261->SetBinContent(35,72147.96); h_SL1L261->SetBinContent(36,77357.14); h_SL1L261->SetBinContent(37,80897.96); h_SL1L261->SetBinContent(38,77979.59); h_SL1L261->SetBinContent(39,67862.24); h_SL1L261->SetBinContent(40,32591.84); h_SL1L261->SetBinContent(41,21862.24); h_SL1L261->SetBinContent(42,18438.78); h_SL1L261->SetBinContent(43,17984.69); h_SL1L261->SetBinContent(44,17637.76); h_SL1L261->SetBinContent(45,17076.53); h_SL1L261->SetBinContent(46,16632.65); h_SL1L261->SetBinContent(47,17301.02); h_SL1L261->SetBinContent(48,16198.98); h_SL1L261->SetBinContent(49,16153.06); h_SL1L261->SetBinContent(50,16214.29); h_SL1L261->SetBinContent(51,14846.94); h_SL1L261->SetBinContent(52,14377.55); h_SL1L261->SetBinContent(53,14540.82); h_SL1L261->SetBinContent(54,15234.69); h_SL1L261->SetBinContent(55,14632.65); h_SL1L261->SetBinContent(56,14561.22); h_SL1L261->SetBinContent(57,14418.37); h_SL1L261->SetBinContent(58,14071.43); h_SL1L261->SetBinContent(59,13520.41); h_SL1L261->SetMaximum(93032.66); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,17137.76); h_SL1L362->SetBinContent(2,16403.06); h_SL1L362->SetBinContent(3,16974.49); h_SL1L362->SetBinContent(4,16214.29); h_SL1L362->SetBinContent(5,18051.02); h_SL1L362->SetBinContent(6,17892.86); h_SL1L362->SetBinContent(7,17673.47); h_SL1L362->SetBinContent(8,17989.79); h_SL1L362->SetBinContent(9,15489.8); h_SL1L362->SetBinContent(10,15744.9); h_SL1L362->SetBinContent(11,14428.57); h_SL1L362->SetBinContent(12,15168.37); h_SL1L362->SetBinContent(13,16000); h_SL1L362->SetBinContent(14,16581.63); h_SL1L362->SetBinContent(15,17484.69); h_SL1L362->SetBinContent(16,15852.04); h_SL1L362->SetBinContent(17,16678.57); h_SL1L362->SetBinContent(18,17928.57); h_SL1L362->SetBinContent(19,17801.02); h_SL1L362->SetBinContent(20,18586.73); h_SL1L362->SetBinContent(21,19000); h_SL1L362->SetBinContent(22,19086.73); h_SL1L362->SetBinContent(23,20163.27); h_SL1L362->SetBinContent(24,20102.04); h_SL1L362->SetBinContent(25,20081.63); h_SL1L362->SetBinContent(26,18209.18); h_SL1L362->SetBinContent(27,19056.12); h_SL1L362->SetBinContent(28,19489.79); h_SL1L362->SetBinContent(29,19826.53); h_SL1L362->SetBinContent(30,20627.55); h_SL1L362->SetBinContent(31,20474.49); h_SL1L362->SetBinContent(32,23688.78); h_SL1L362->SetBinContent(33,51311.22); h_SL1L362->SetBinContent(34,69571.43); h_SL1L362->SetBinContent(35,74734.7); h_SL1L362->SetBinContent(36,79107.14); h_SL1L362->SetBinContent(37,79520.41); h_SL1L362->SetBinContent(38,74403.06); h_SL1L362->SetBinContent(39,52173.47); h_SL1L362->SetBinContent(40,22734.69); h_SL1L362->SetBinContent(41,18806.12); h_SL1L362->SetBinContent(42,17892.86); h_SL1L362->SetBinContent(43,17505.1); h_SL1L362->SetBinContent(44,16566.33); h_SL1L362->SetBinContent(45,16091.84); h_SL1L362->SetBinContent(46,16852.04); h_SL1L362->SetBinContent(47,16688.78); h_SL1L362->SetBinContent(48,15525.51); h_SL1L362->SetBinContent(49,15362.25); h_SL1L362->SetBinContent(50,14678.57); h_SL1L362->SetBinContent(51,14617.35); h_SL1L362->SetBinContent(52,14464.29); h_SL1L362->SetBinContent(53,14382.65); h_SL1L362->SetBinContent(54,14025.51); h_SL1L362->SetBinContent(55,14484.69); h_SL1L362->SetBinContent(56,13826.53); h_SL1L362->SetBinContent(57,13867.35); h_SL1L362->SetBinContent(58,12892.86); h_SL1L362->SetBinContent(59,13270.41); h_SL1L362->SetMaximum(93032.66); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,13214.29); h_SL1L463->SetBinContent(3,12275.51); h_SL1L463->SetBinContent(4,12408.16); h_SL1L463->SetBinContent(5,11612.25); h_SL1L463->SetBinContent(6,12229.59); h_SL1L463->SetBinContent(7,12525.51); h_SL1L463->SetBinContent(8,12173.47); h_SL1L463->SetBinContent(9,12586.73); h_SL1L463->SetBinContent(10,11571.43); h_SL1L463->SetBinContent(11,11729.59); h_SL1L463->SetBinContent(12,11785.71); h_SL1L463->SetBinContent(13,12826.53); h_SL1L463->SetBinContent(14,13750); h_SL1L463->SetBinContent(15,12576.53); h_SL1L463->SetBinContent(16,12693.88); h_SL1L463->SetBinContent(17,11663.27); h_SL1L463->SetBinContent(18,11647.96); h_SL1L463->SetBinContent(19,12102.04); h_SL1L463->SetBinContent(20,12158.16); h_SL1L463->SetBinContent(21,11892.86); h_SL1L463->SetBinContent(22,12239.8); h_SL1L463->SetBinContent(23,12071.43); h_SL1L463->SetBinContent(24,12392.86); h_SL1L463->SetBinContent(25,11943.88); h_SL1L463->SetBinContent(26,12352.04); h_SL1L463->SetBinContent(27,11433.67); h_SL1L463->SetBinContent(28,12326.53); h_SL1L463->SetBinContent(29,11821.43); h_SL1L463->SetBinContent(30,11377.55); h_SL1L463->SetBinContent(31,11693.88); h_SL1L463->SetBinContent(32,12005.1); h_SL1L463->SetBinContent(33,15448.98); h_SL1L463->SetBinContent(34,30428.57); h_SL1L463->SetBinContent(35,34336.73); h_SL1L463->SetBinContent(36,37188.77); h_SL1L463->SetBinContent(37,33765.3); h_SL1L463->SetBinContent(38,36903.06); h_SL1L463->SetBinContent(39,33908.16); h_SL1L463->SetBinContent(40,14020.41); h_SL1L463->SetBinContent(41,10724.49); h_SL1L463->SetBinContent(42,9760.204); h_SL1L463->SetBinContent(43,8943.878); h_SL1L463->SetBinContent(44,9336.734); h_SL1L463->SetBinContent(45,8030.612); h_SL1L463->SetBinContent(46,8341.837); h_SL1L463->SetBinContent(47,8173.469); h_SL1L463->SetBinContent(48,7653.061); h_SL1L463->SetBinContent(49,7362.245); h_SL1L463->SetBinContent(50,7607.143); h_SL1L463->SetBinContent(51,7239.796); h_SL1L463->SetBinContent(52,7198.979); h_SL1L463->SetBinContent(53,7275.51); h_SL1L463->SetBinContent(54,7392.857); h_SL1L463->SetBinContent(56,7719.388); h_SL1L463->SetBinContent(57,8137.755); h_SL1L463->SetBinContent(58,9520.408); h_SL1L463->SetBinContent(59,9591.837); h_SL1L463->SetMaximum(93032.66); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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 6897"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }