void RatesPerCell_Removing_noisy_cells_run_6900_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:10 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13597.74,67.5,122379.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6900",60,0,60); h_SL1L160->SetBinContent(1,15857.14); h_SL1L160->SetBinContent(2,16561.22); h_SL1L160->SetBinContent(3,17066.33); h_SL1L160->SetBinContent(4,15612.25); h_SL1L160->SetBinContent(5,14811.22); h_SL1L160->SetBinContent(6,15816.33); h_SL1L160->SetBinContent(7,15183.67); h_SL1L160->SetBinContent(8,15397.96); h_SL1L160->SetBinContent(9,14188.78); h_SL1L160->SetBinContent(10,13122.45); h_SL1L160->SetBinContent(11,12994.9); h_SL1L160->SetBinContent(12,12908.16); h_SL1L160->SetBinContent(13,14290.82); h_SL1L160->SetBinContent(14,13591.84); h_SL1L160->SetBinContent(15,13637.75); h_SL1L160->SetBinContent(16,13035.71); h_SL1L160->SetBinContent(17,13433.67); h_SL1L160->SetBinContent(18,13836.73); h_SL1L160->SetBinContent(19,14872.45); h_SL1L160->SetBinContent(20,13938.78); h_SL1L160->SetBinContent(21,15602.04); h_SL1L160->SetBinContent(22,15571.43); h_SL1L160->SetBinContent(23,15239.8); h_SL1L160->SetBinContent(24,14469.39); h_SL1L160->SetBinContent(25,14862.25); h_SL1L160->SetBinContent(26,14321.43); h_SL1L160->SetBinContent(27,13586.73); h_SL1L160->SetBinContent(28,14158.16); h_SL1L160->SetBinContent(29,14622.45); h_SL1L160->SetBinContent(30,13933.67); h_SL1L160->SetBinContent(31,14122.45); h_SL1L160->SetBinContent(32,15285.71); h_SL1L160->SetBinContent(33,30545.92); h_SL1L160->SetBinContent(34,41739.8); h_SL1L160->SetBinContent(35,45545.92); h_SL1L160->SetBinContent(36,45250); h_SL1L160->SetBinContent(37,49561.22); h_SL1L160->SetBinContent(38,47500); h_SL1L160->SetBinContent(39,33433.67); h_SL1L160->SetBinContent(40,14668.37); h_SL1L160->SetBinContent(41,12938.78); h_SL1L160->SetBinContent(42,12862.25); h_SL1L160->SetBinContent(43,12678.57); h_SL1L160->SetBinContent(44,11994.9); h_SL1L160->SetBinContent(45,11938.78); h_SL1L160->SetBinContent(46,10974.49); h_SL1L160->SetBinContent(47,10341.84); h_SL1L160->SetBinContent(48,9811.225); h_SL1L160->SetBinContent(49,10147.96); h_SL1L160->SetBinContent(50,10086.73); h_SL1L160->SetBinContent(51,9897.959); h_SL1L160->SetBinContent(52,9714.285); h_SL1L160->SetBinContent(53,10290.82); h_SL1L160->SetBinContent(54,9954.081); h_SL1L160->SetBinContent(55,9892.857); h_SL1L160->SetBinContent(56,10535.71); h_SL1L160->SetBinContent(57,11244.9); h_SL1L160->SetBinContent(58,11642.86); h_SL1L160->SetBinContent(59,12734.69); h_SL1L160->SetMaximum(108781.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,18341.84); h_SL1L261->SetBinContent(2,17438.78); h_SL1L261->SetBinContent(3,17719.39); h_SL1L261->SetBinContent(4,17219.39); h_SL1L261->SetBinContent(5,17607.14); h_SL1L261->SetBinContent(6,18903.06); h_SL1L261->SetBinContent(7,18280.61); h_SL1L261->SetBinContent(8,18010.2); h_SL1L261->SetBinContent(9,17948.98); h_SL1L261->SetBinContent(10,15321.43); h_SL1L261->SetBinContent(11,16173.47); h_SL1L261->SetBinContent(12,15795.92); h_SL1L261->SetBinContent(13,16581.63); h_SL1L261->SetBinContent(14,17591.84); h_SL1L261->SetBinContent(15,17862.24); h_SL1L261->SetBinContent(16,17484.69); h_SL1L261->SetBinContent(17,17591.84); h_SL1L261->SetBinContent(18,17862.24); h_SL1L261->SetBinContent(19,18418.37); h_SL1L261->SetBinContent(20,18678.57); h_SL1L261->SetBinContent(21,19454.08); h_SL1L261->SetBinContent(22,19658.16); h_SL1L261->SetBinContent(23,19811.22); h_SL1L261->SetBinContent(24,20887.76); h_SL1L261->SetBinContent(25,21061.22); h_SL1L261->SetBinContent(26,19668.37); h_SL1L261->SetBinContent(27,19811.22); h_SL1L261->SetBinContent(28,19908.16); h_SL1L261->SetBinContent(29,21076.53); h_SL1L261->SetBinContent(30,20637.76); h_SL1L261->SetBinContent(31,20438.78); h_SL1L261->SetBinContent(32,22979.59); h_SL1L261->SetBinContent(33,33877.55); h_SL1L261->SetBinContent(34,65153.06); h_SL1L261->SetBinContent(35,73510.2); h_SL1L261->SetBinContent(36,78239.8); h_SL1L261->SetBinContent(37,82255.1); h_SL1L261->SetBinContent(38,80163.27); h_SL1L261->SetBinContent(39,67841.84); h_SL1L261->SetBinContent(40,33530.61); h_SL1L261->SetBinContent(41,22673.47); h_SL1L261->SetBinContent(42,18933.67); h_SL1L261->SetBinContent(43,17525.51); h_SL1L261->SetBinContent(44,17525.51); h_SL1L261->SetBinContent(45,17632.65); h_SL1L261->SetBinContent(46,17147.96); h_SL1L261->SetBinContent(47,17209.18); h_SL1L261->SetBinContent(48,16341.84); h_SL1L261->SetBinContent(49,16112.25); h_SL1L261->SetBinContent(50,15586.73); h_SL1L261->SetBinContent(51,15061.22); h_SL1L261->SetBinContent(52,14280.61); h_SL1L261->SetBinContent(53,15744.9); h_SL1L261->SetBinContent(54,14969.39); h_SL1L261->SetBinContent(55,15372.45); h_SL1L261->SetBinContent(56,15193.88); h_SL1L261->SetBinContent(57,14474.49); h_SL1L261->SetBinContent(58,14117.35); h_SL1L261->SetBinContent(59,13811.22); h_SL1L261->SetMaximum(94593.37); 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,17438.78); h_SL1L362->SetBinContent(2,17372.45); h_SL1L362->SetBinContent(3,17081.63); h_SL1L362->SetBinContent(4,16770.41); h_SL1L362->SetBinContent(5,17846.94); h_SL1L362->SetBinContent(6,18448.98); h_SL1L362->SetBinContent(7,16964.29); h_SL1L362->SetBinContent(8,18423.47); h_SL1L362->SetBinContent(9,15806.12); h_SL1L362->SetBinContent(10,15224.49); h_SL1L362->SetBinContent(11,14214.29); h_SL1L362->SetBinContent(12,15581.63); h_SL1L362->SetBinContent(13,16081.63); h_SL1L362->SetBinContent(14,17280.61); h_SL1L362->SetBinContent(15,17035.71); h_SL1L362->SetBinContent(16,16576.53); h_SL1L362->SetBinContent(17,16974.49); h_SL1L362->SetBinContent(18,17790.82); h_SL1L362->SetBinContent(19,18112.24); h_SL1L362->SetBinContent(20,18260.2); h_SL1L362->SetBinContent(21,19005.1); h_SL1L362->SetBinContent(22,19831.63); h_SL1L362->SetBinContent(23,20102.04); h_SL1L362->SetBinContent(24,20000); h_SL1L362->SetBinContent(25,19719.39); h_SL1L362->SetBinContent(26,18897.96); h_SL1L362->SetBinContent(27,19219.39); h_SL1L362->SetBinContent(28,19653.06); h_SL1L362->SetBinContent(29,20326.53); h_SL1L362->SetBinContent(30,20627.55); h_SL1L362->SetBinContent(31,21204.08); h_SL1L362->SetBinContent(32,24045.92); h_SL1L362->SetBinContent(33,51270.41); h_SL1L362->SetBinContent(34,70193.88); h_SL1L362->SetBinContent(35,75433.67); h_SL1L362->SetBinContent(36,80147.96); h_SL1L362->SetBinContent(37,82132.65); h_SL1L362->SetBinContent(38,74571.43); h_SL1L362->SetBinContent(39,52530.61); h_SL1L362->SetBinContent(40,22668.37); h_SL1L362->SetBinContent(41,19397.96); h_SL1L362->SetBinContent(42,18020.41); h_SL1L362->SetBinContent(43,17627.55); h_SL1L362->SetBinContent(44,16632.65); h_SL1L362->SetBinContent(45,16433.67); h_SL1L362->SetBinContent(46,16581.63); h_SL1L362->SetBinContent(47,17122.45); h_SL1L362->SetBinContent(48,15168.37); h_SL1L362->SetBinContent(49,15413.27); h_SL1L362->SetBinContent(50,14882.65); h_SL1L362->SetBinContent(51,14637.75); h_SL1L362->SetBinContent(52,14862.25); h_SL1L362->SetBinContent(53,14586.73); h_SL1L362->SetBinContent(54,14576.53); h_SL1L362->SetBinContent(55,14714.29); h_SL1L362->SetBinContent(56,14198.98); h_SL1L362->SetBinContent(57,14382.65); h_SL1L362->SetBinContent(58,13693.88); h_SL1L362->SetBinContent(59,13005.1); h_SL1L362->SetMaximum(94593.37); 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,14612.25); h_SL1L463->SetBinContent(3,14484.69); h_SL1L463->SetBinContent(4,13530.61); h_SL1L463->SetBinContent(5,13545.92); h_SL1L463->SetBinContent(6,14316.33); h_SL1L463->SetBinContent(7,14163.27); h_SL1L463->SetBinContent(8,13872.45); h_SL1L463->SetBinContent(9,14234.69); h_SL1L463->SetBinContent(10,13168.37); h_SL1L463->SetBinContent(11,12913.27); h_SL1L463->SetBinContent(12,12933.67); h_SL1L463->SetBinContent(13,13739.8); h_SL1L463->SetBinContent(14,15229.59); h_SL1L463->SetBinContent(15,14862.25); h_SL1L463->SetBinContent(16,13826.53); h_SL1L463->SetBinContent(17,13698.98); h_SL1L463->SetBinContent(18,13153.06); h_SL1L463->SetBinContent(19,14066.33); h_SL1L463->SetBinContent(20,13831.63); h_SL1L463->SetBinContent(21,14250); h_SL1L463->SetBinContent(22,14576.53); h_SL1L463->SetBinContent(23,14408.16); h_SL1L463->SetBinContent(24,14709.18); h_SL1L463->SetBinContent(25,14178.57); h_SL1L463->SetBinContent(26,14525.51); h_SL1L463->SetBinContent(27,13576.53); h_SL1L463->SetBinContent(28,14275.51); h_SL1L463->SetBinContent(29,13836.73); h_SL1L463->SetBinContent(30,14224.49); h_SL1L463->SetBinContent(31,14479.59); h_SL1L463->SetBinContent(32,15336.73); h_SL1L463->SetBinContent(33,19331.63); h_SL1L463->SetBinContent(34,40556.12); h_SL1L463->SetBinContent(35,48739.8); h_SL1L463->SetBinContent(36,49224.49); h_SL1L463->SetBinContent(37,45290.82); h_SL1L463->SetBinContent(38,49653.06); h_SL1L463->SetBinContent(39,44790.82); h_SL1L463->SetBinContent(40,19454.08); h_SL1L463->SetBinContent(41,12770.41); h_SL1L463->SetBinContent(42,12295.92); h_SL1L463->SetBinContent(43,11408.16); h_SL1L463->SetBinContent(44,11219.39); h_SL1L463->SetBinContent(45,10255.1); h_SL1L463->SetBinContent(46,9867.347); h_SL1L463->SetBinContent(47,9775.51); h_SL1L463->SetBinContent(48,9632.653); h_SL1L463->SetBinContent(49,8867.347); h_SL1L463->SetBinContent(50,8867.347); h_SL1L463->SetBinContent(51,9025.51); h_SL1L463->SetBinContent(52,8591.837); h_SL1L463->SetBinContent(53,9193.878); h_SL1L463->SetBinContent(54,9484.693); h_SL1L463->SetBinContent(55,15.30612); h_SL1L463->SetBinContent(56,9188.775); h_SL1L463->SetBinContent(57,9862.245); h_SL1L463->SetBinContent(58,10418.37); h_SL1L463->SetBinContent(59,11362.25); h_SL1L463->SetMaximum(94593.37); 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 6900"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }