void RatesPerCell_Removing_noisy_cells_run_6899_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13865.12,67.5,124786.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6899",60,0,60); h_SL1L160->SetBinContent(1,17938.78); h_SL1L160->SetBinContent(2,17892.86); h_SL1L160->SetBinContent(3,18392.86); h_SL1L160->SetBinContent(4,17602.04); h_SL1L160->SetBinContent(5,17127.55); h_SL1L160->SetBinContent(6,18632.65); h_SL1L160->SetBinContent(7,17443.88); h_SL1L160->SetBinContent(8,17959.18); h_SL1L160->SetBinContent(9,15816.33); h_SL1L160->SetBinContent(10,14102.04); h_SL1L160->SetBinContent(11,14954.08); h_SL1L160->SetBinContent(12,15500); h_SL1L160->SetBinContent(13,16168.37); h_SL1L160->SetBinContent(14,16275.51); h_SL1L160->SetBinContent(15,15612.25); h_SL1L160->SetBinContent(16,15474.49); h_SL1L160->SetBinContent(17,15515.31); h_SL1L160->SetBinContent(18,16193.88); h_SL1L160->SetBinContent(19,16948.98); h_SL1L160->SetBinContent(20,17408.16); h_SL1L160->SetBinContent(21,18352.04); h_SL1L160->SetBinContent(22,17785.71); h_SL1L160->SetBinContent(23,18484.69); h_SL1L160->SetBinContent(24,17193.88); h_SL1L160->SetBinContent(25,17821.43); h_SL1L160->SetBinContent(26,17051.02); h_SL1L160->SetBinContent(27,17290.82); h_SL1L160->SetBinContent(28,17897.96); h_SL1L160->SetBinContent(29,17943.88); h_SL1L160->SetBinContent(30,17989.79); h_SL1L160->SetBinContent(31,18035.71); h_SL1L160->SetBinContent(32,19566.33); h_SL1L160->SetBinContent(33,41020.41); h_SL1L160->SetBinContent(34,56576.53); h_SL1L160->SetBinContent(35,61433.67); h_SL1L160->SetBinContent(36,62132.65); h_SL1L160->SetBinContent(37,68678.57); h_SL1L160->SetBinContent(38,66714.28); h_SL1L160->SetBinContent(39,45255.1); h_SL1L160->SetBinContent(40,19438.78); h_SL1L160->SetBinContent(41,17081.63); h_SL1L160->SetBinContent(42,16642.86); h_SL1L160->SetBinContent(43,15397.96); h_SL1L160->SetBinContent(44,15755.1); h_SL1L160->SetBinContent(45,14168.37); h_SL1L160->SetBinContent(46,14408.16); h_SL1L160->SetBinContent(47,13285.71); h_SL1L160->SetBinContent(48,12734.69); h_SL1L160->SetBinContent(49,13316.33); h_SL1L160->SetBinContent(50,12821.43); h_SL1L160->SetBinContent(51,12051.02); h_SL1L160->SetBinContent(52,12045.92); h_SL1L160->SetBinContent(53,12780.61); h_SL1L160->SetBinContent(54,11617.35); h_SL1L160->SetBinContent(55,12168.37); h_SL1L160->SetBinContent(56,12081.63); h_SL1L160->SetBinContent(57,13408.16); h_SL1L160->SetBinContent(58,13326.53); h_SL1L160->SetBinContent(59,14010.2); h_SL1L160->SetMaximum(110920.9); 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,18663.27); h_SL1L261->SetBinContent(2,18020.41); h_SL1L261->SetBinContent(3,18193.88); h_SL1L261->SetBinContent(4,18459.18); h_SL1L261->SetBinContent(5,17811.22); h_SL1L261->SetBinContent(6,20030.61); h_SL1L261->SetBinContent(7,19454.08); h_SL1L261->SetBinContent(8,18520.41); h_SL1L261->SetBinContent(9,18076.53); h_SL1L261->SetBinContent(10,16566.33); h_SL1L261->SetBinContent(11,15867.35); h_SL1L261->SetBinContent(12,16306.12); h_SL1L261->SetBinContent(13,16775.51); h_SL1L261->SetBinContent(14,17923.47); h_SL1L261->SetBinContent(15,17775.51); h_SL1L261->SetBinContent(16,17397.96); h_SL1L261->SetBinContent(17,17096.94); h_SL1L261->SetBinContent(18,17673.47); h_SL1L261->SetBinContent(19,18846.94); h_SL1L261->SetBinContent(20,18877.55); h_SL1L261->SetBinContent(21,20551.02); h_SL1L261->SetBinContent(22,20862.24); h_SL1L261->SetBinContent(23,20678.57); h_SL1L261->SetBinContent(24,21020.41); h_SL1L261->SetBinContent(25,21250); h_SL1L261->SetBinContent(26,20750); h_SL1L261->SetBinContent(27,20051.02); h_SL1L261->SetBinContent(28,20423.47); h_SL1L261->SetBinContent(29,21443.88); h_SL1L261->SetBinContent(30,21397.96); h_SL1L261->SetBinContent(31,21744.9); h_SL1L261->SetBinContent(32,23545.92); h_SL1L261->SetBinContent(33,35826.53); h_SL1L261->SetBinContent(34,65545.91); h_SL1L261->SetBinContent(35,75117.34); h_SL1L261->SetBinContent(36,79678.57); h_SL1L261->SetBinContent(37,83872.45); h_SL1L261->SetBinContent(38,81484.7); h_SL1L261->SetBinContent(39,69801.02); h_SL1L261->SetBinContent(40,33668.37); h_SL1L261->SetBinContent(41,22301.02); h_SL1L261->SetBinContent(42,19147.96); h_SL1L261->SetBinContent(43,18693.88); h_SL1L261->SetBinContent(44,17923.47); h_SL1L261->SetBinContent(45,17867.35); h_SL1L261->SetBinContent(46,17704.08); h_SL1L261->SetBinContent(47,17188.78); h_SL1L261->SetBinContent(48,17316.33); h_SL1L261->SetBinContent(49,26510.2); h_SL1L261->SetBinContent(50,15811.22); h_SL1L261->SetBinContent(51,15372.45); h_SL1L261->SetBinContent(52,14989.8); h_SL1L261->SetBinContent(53,15826.53); h_SL1L261->SetBinContent(54,15673.47); h_SL1L261->SetBinContent(55,15051.02); h_SL1L261->SetBinContent(56,18943.88); h_SL1L261->SetBinContent(57,14658.16); h_SL1L261->SetBinContent(58,15010.2); h_SL1L261->SetBinContent(59,14321.43); h_SL1L261->SetMaximum(96453.31); 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,18382.65); h_SL1L362->SetBinContent(2,17734.69); h_SL1L362->SetBinContent(3,17790.82); h_SL1L362->SetBinContent(4,17596.94); h_SL1L362->SetBinContent(5,18362.24); h_SL1L362->SetBinContent(6,18387.76); h_SL1L362->SetBinContent(7,18102.04); h_SL1L362->SetBinContent(8,17775.51); h_SL1L362->SetBinContent(9,16489.79); h_SL1L362->SetBinContent(10,15397.96); h_SL1L362->SetBinContent(11,15571.43); h_SL1L362->SetBinContent(12,16525.51); h_SL1L362->SetBinContent(13,16734.69); h_SL1L362->SetBinContent(14,17704.08); h_SL1L362->SetBinContent(15,17586.73); h_SL1L362->SetBinContent(16,16913.27); h_SL1L362->SetBinContent(17,16709.18); h_SL1L362->SetBinContent(18,18127.55); h_SL1L362->SetBinContent(19,18545.92); h_SL1L362->SetBinContent(20,18938.78); h_SL1L362->SetBinContent(21,19693.88); h_SL1L362->SetBinContent(22,19321.43); h_SL1L362->SetBinContent(23,20515.31); h_SL1L362->SetBinContent(24,19989.79); h_SL1L362->SetBinContent(25,20719.39); h_SL1L362->SetBinContent(26,19362.24); h_SL1L362->SetBinContent(27,19816.33); h_SL1L362->SetBinContent(28,19964.29); h_SL1L362->SetBinContent(29,20158.16); h_SL1L362->SetBinContent(30,21005.1); h_SL1L362->SetBinContent(31,20984.69); h_SL1L362->SetBinContent(32,24770.41); h_SL1L362->SetBinContent(33,52943.88); h_SL1L362->SetBinContent(34,71448.98); h_SL1L362->SetBinContent(35,77479.59); h_SL1L362->SetBinContent(36,81576.53); h_SL1L362->SetBinContent(37,83397.96); h_SL1L362->SetBinContent(38,77040.81); h_SL1L362->SetBinContent(39,53831.63); h_SL1L362->SetBinContent(40,23561.22); h_SL1L362->SetBinContent(41,19484.69); h_SL1L362->SetBinContent(42,18418.37); h_SL1L362->SetBinContent(43,18035.71); h_SL1L362->SetBinContent(44,16821.43); h_SL1L362->SetBinContent(45,17040.82); h_SL1L362->SetBinContent(46,17147.96); h_SL1L362->SetBinContent(47,16918.37); h_SL1L362->SetBinContent(48,16076.53); h_SL1L362->SetBinContent(49,15198.98); h_SL1L362->SetBinContent(50,14862.25); h_SL1L362->SetBinContent(51,14882.65); h_SL1L362->SetBinContent(52,14795.92); h_SL1L362->SetBinContent(53,18030.61); h_SL1L362->SetBinContent(54,14668.37); h_SL1L362->SetBinContent(55,14632.65); h_SL1L362->SetBinContent(56,17704.08); h_SL1L362->SetBinContent(57,14581.63); h_SL1L362->SetBinContent(58,13943.88); h_SL1L362->SetBinContent(59,14336.73); h_SL1L362->SetMaximum(96453.31); 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,16668.37); h_SL1L463->SetBinContent(3,15418.37); h_SL1L463->SetBinContent(4,16127.55); h_SL1L463->SetBinContent(5,15474.49); h_SL1L463->SetBinContent(6,16224.49); h_SL1L463->SetBinContent(7,16005.1); h_SL1L463->SetBinContent(8,15357.14); h_SL1L463->SetBinContent(9,15872.45); h_SL1L463->SetBinContent(10,14617.35); h_SL1L463->SetBinContent(11,13974.49); h_SL1L463->SetBinContent(12,14704.08); h_SL1L463->SetBinContent(13,15454.08); h_SL1L463->SetBinContent(14,16413.27); h_SL1L463->SetBinContent(15,16061.22); h_SL1L463->SetBinContent(16,14964.29); h_SL1L463->SetBinContent(17,14943.88); h_SL1L463->SetBinContent(18,14892.86); h_SL1L463->SetBinContent(19,15984.69); h_SL1L463->SetBinContent(20,15790.82); h_SL1L463->SetBinContent(21,16816.33); h_SL1L463->SetBinContent(22,16704.08); h_SL1L463->SetBinContent(23,16561.22); h_SL1L463->SetBinContent(24,16948.98); h_SL1L463->SetBinContent(25,16301.02); h_SL1L463->SetBinContent(26,16704.08); h_SL1L463->SetBinContent(27,16219.39); h_SL1L463->SetBinContent(28,16714.29); h_SL1L463->SetBinContent(29,17173.47); h_SL1L463->SetBinContent(30,17566.33); h_SL1L463->SetBinContent(31,17974.49); h_SL1L463->SetBinContent(32,18107.14); h_SL1L463->SetBinContent(33,25755.1); h_SL1L463->SetBinContent(34,52413.27); h_SL1L463->SetBinContent(35,64198.98); h_SL1L463->SetBinContent(36,64474.49); h_SL1L463->SetBinContent(37,62102.04); h_SL1L463->SetBinContent(38,64387.75); h_SL1L463->SetBinContent(39,60020.41); h_SL1L463->SetBinContent(40,25484.69); h_SL1L463->SetBinContent(41,16311.22); h_SL1L463->SetBinContent(42,15367.35); h_SL1L463->SetBinContent(43,15153.06); h_SL1L463->SetBinContent(44,14244.9); h_SL1L463->SetBinContent(45,12795.92); h_SL1L463->SetBinContent(46,13408.16); h_SL1L463->SetBinContent(47,13137.75); h_SL1L463->SetBinContent(48,12270.41); h_SL1L463->SetBinContent(49,11051.02); h_SL1L463->SetBinContent(50,11642.86); h_SL1L463->SetBinContent(51,11244.9); h_SL1L463->SetBinContent(52,10688.78); h_SL1L463->SetBinContent(53,11076.53); h_SL1L463->SetBinContent(54,11178.57); h_SL1L463->SetBinContent(56,11382.65); h_SL1L463->SetBinContent(57,11520.41); h_SL1L463->SetBinContent(58,11928.57); h_SL1L463->SetBinContent(59,12025.51); h_SL1L463->SetMaximum(96453.31); 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 6899"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }