void RatesPerCell_Removing_noisy_cells_run_7623_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:19:27 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13659.41,67.5,122934.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 7623",60,0,60); h_SL1L160->SetBinContent(1,40385.71); h_SL1L160->SetBinContent(2,40771.43); h_SL1L160->SetBinContent(3,40500); h_SL1L160->SetBinContent(4,38150); h_SL1L160->SetBinContent(5,34792.86); h_SL1L160->SetBinContent(6,36157.14); h_SL1L160->SetBinContent(7,33928.57); h_SL1L160->SetBinContent(8,35621.43); h_SL1L160->SetBinContent(9,33392.86); h_SL1L160->SetBinContent(10,34114.29); h_SL1L160->SetBinContent(11,32757.14); h_SL1L160->SetBinContent(12,31985.71); h_SL1L160->SetBinContent(13,53828.57); h_SL1L160->SetBinContent(14,61307.14); h_SL1L160->SetBinContent(15,61300); h_SL1L160->SetBinContent(16,31807.14); h_SL1L160->SetBinContent(17,30828.57); h_SL1L160->SetBinContent(18,32614.29); h_SL1L160->SetBinContent(19,33621.43); h_SL1L160->SetBinContent(20,32307.14); h_SL1L160->SetBinContent(21,30507.14); h_SL1L160->SetBinContent(22,30585.71); h_SL1L160->SetBinContent(23,28700); h_SL1L160->SetBinContent(24,25264.29); h_SL1L160->SetBinContent(25,25907.14); h_SL1L160->SetBinContent(26,26800); h_SL1L160->SetBinContent(27,24300); h_SL1L160->SetBinContent(28,25807.14); h_SL1L160->SetBinContent(29,27778.57); h_SL1L160->SetBinContent(30,25021.43); h_SL1L160->SetBinContent(31,24000); h_SL1L160->SetBinContent(32,23271.43); h_SL1L160->SetBinContent(33,49707.14); h_SL1L160->SetBinContent(34,51700); h_SL1L160->SetBinContent(35,49335.71); h_SL1L160->SetBinContent(36,50764.29); h_SL1L160->SetBinContent(37,51535.71); h_SL1L160->SetBinContent(38,52057.14); h_SL1L160->SetBinContent(39,50064.29); h_SL1L160->SetBinContent(41,23692.86); h_SL1L160->SetBinContent(42,25007.14); h_SL1L160->SetBinContent(43,23171.43); h_SL1L160->SetBinContent(44,23128.57); h_SL1L160->SetBinContent(45,21221.43); h_SL1L160->SetBinContent(46,20950); h_SL1L160->SetBinContent(47,20357.14); h_SL1L160->SetBinContent(48,20528.57); h_SL1L160->SetBinContent(49,22164.29); h_SL1L160->SetBinContent(50,23442.86); h_SL1L160->SetBinContent(51,22085.71); h_SL1L160->SetBinContent(52,23092.86); h_SL1L160->SetBinContent(53,23057.14); h_SL1L160->SetBinContent(54,23050); h_SL1L160->SetBinContent(55,23228.57); h_SL1L160->SetBinContent(56,26071.43); h_SL1L160->SetMaximum(109275.3); 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,44828.57); h_SL1L261->SetBinContent(2,44914.29); h_SL1L261->SetBinContent(3,47550); h_SL1L261->SetBinContent(4,46885.71); h_SL1L261->SetBinContent(5,46400); h_SL1L261->SetBinContent(6,49314.29); h_SL1L261->SetBinContent(7,47478.57); h_SL1L261->SetBinContent(8,48371.43); h_SL1L261->SetBinContent(9,47785.71); h_SL1L261->SetBinContent(10,45121.43); h_SL1L261->SetBinContent(11,45821.43); h_SL1L261->SetBinContent(12,46250); h_SL1L261->SetBinContent(13,48100); h_SL1L261->SetBinContent(14,50664.29); h_SL1L261->SetBinContent(15,56085.71); h_SL1L261->SetBinContent(16,49671.43); h_SL1L261->SetBinContent(17,50107.14); h_SL1L261->SetBinContent(18,53071.43); h_SL1L261->SetBinContent(19,53028.57); h_SL1L261->SetBinContent(20,54121.43); h_SL1L261->SetBinContent(21,50771.43); h_SL1L261->SetBinContent(22,48985.71); h_SL1L261->SetBinContent(23,50150); h_SL1L261->SetBinContent(24,49457.14); h_SL1L261->SetBinContent(25,50871.43); h_SL1L261->SetBinContent(26,47214.29); h_SL1L261->SetBinContent(27,46164.29); h_SL1L261->SetBinContent(28,49685.71); h_SL1L261->SetBinContent(29,49492.86); h_SL1L261->SetBinContent(30,48700); h_SL1L261->SetBinContent(31,50892.86); h_SL1L261->SetBinContent(32,48028.57); h_SL1L261->SetBinContent(33,49478.57); h_SL1L261->SetBinContent(34,50114.29); h_SL1L261->SetBinContent(35,48550); h_SL1L261->SetBinContent(36,49028.57); h_SL1L261->SetBinContent(37,52142.86); h_SL1L261->SetBinContent(38,52264.29); h_SL1L261->SetBinContent(39,51021.43); h_SL1L261->SetBinContent(40,50900); h_SL1L261->SetBinContent(41,50085.71); h_SL1L261->SetBinContent(42,50185.71); h_SL1L261->SetBinContent(43,49200); h_SL1L261->SetBinContent(44,47350); h_SL1L261->SetBinContent(45,48671.43); h_SL1L261->SetBinContent(46,49550); h_SL1L261->SetBinContent(47,49471.43); h_SL1L261->SetBinContent(48,49535.71); h_SL1L261->SetBinContent(49,54207.14); h_SL1L261->SetBinContent(50,50285.71); h_SL1L261->SetBinContent(51,49857.14); h_SL1L261->SetBinContent(52,48414.29); h_SL1L261->SetBinContent(53,49807.14); h_SL1L261->SetBinContent(54,48685.71); h_SL1L261->SetBinContent(55,48578.57); h_SL1L261->SetBinContent(56,47757.14); h_SL1L261->SetMaximum(95022.86); 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,42257.14); h_SL1L362->SetBinContent(2,45264.29); h_SL1L362->SetBinContent(3,45821.43); h_SL1L362->SetBinContent(4,46014.29); h_SL1L362->SetBinContent(5,45957.14); h_SL1L362->SetBinContent(6,47214.29); h_SL1L362->SetBinContent(7,45507.14); h_SL1L362->SetBinContent(8,48142.86); h_SL1L362->SetBinContent(9,44185.71); h_SL1L362->SetBinContent(10,45742.86); h_SL1L362->SetBinContent(11,45428.57); h_SL1L362->SetBinContent(12,44500); h_SL1L362->SetBinContent(13,44635.71); h_SL1L362->SetBinContent(14,54185.71); h_SL1L362->SetBinContent(15,67285.71); h_SL1L362->SetBinContent(16,51185.71); h_SL1L362->SetBinContent(17,49485.71); h_SL1L362->SetBinContent(18,53185.71); h_SL1L362->SetBinContent(19,53157.14); h_SL1L362->SetBinContent(20,52878.57); h_SL1L362->SetBinContent(21,48128.57); h_SL1L362->SetBinContent(22,46114.29); h_SL1L362->SetBinContent(23,48371.43); h_SL1L362->SetBinContent(24,49364.29); h_SL1L362->SetBinContent(25,45950); h_SL1L362->SetBinContent(26,45514.29); h_SL1L362->SetBinContent(27,46514.29); h_SL1L362->SetBinContent(28,49657.14); h_SL1L362->SetBinContent(29,48707.14); h_SL1L362->SetBinContent(30,47385.71); h_SL1L362->SetBinContent(31,48535.71); h_SL1L362->SetBinContent(32,46014.29); h_SL1L362->SetBinContent(33,49221.43); h_SL1L362->SetBinContent(34,48657.14); h_SL1L362->SetBinContent(35,47292.86); h_SL1L362->SetBinContent(36,49307.14); h_SL1L362->SetBinContent(37,53435.71); h_SL1L362->SetBinContent(38,51742.86); h_SL1L362->SetBinContent(39,49478.57); h_SL1L362->SetBinContent(40,48207.14); h_SL1L362->SetBinContent(41,47421.43); h_SL1L362->SetBinContent(42,49214.29); h_SL1L362->SetBinContent(43,47928.57); h_SL1L362->SetBinContent(44,45492.86); h_SL1L362->SetBinContent(45,47500); h_SL1L362->SetBinContent(46,47592.86); h_SL1L362->SetBinContent(47,47964.29); h_SL1L362->SetBinContent(48,49085.71); h_SL1L362->SetBinContent(49,48771.43); h_SL1L362->SetBinContent(50,48814.29); h_SL1L362->SetBinContent(51,48000); h_SL1L362->SetBinContent(52,48307.14); h_SL1L362->SetBinContent(53,48007.14); h_SL1L362->SetBinContent(54,47414.29); h_SL1L362->SetBinContent(55,47557.14); h_SL1L362->SetBinContent(56,48078.57); h_SL1L362->SetMaximum(95022.86); 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,38292.86); h_SL1L463->SetBinContent(3,36671.43); h_SL1L463->SetBinContent(4,36471.43); h_SL1L463->SetBinContent(5,34885.71); h_SL1L463->SetBinContent(6,34828.57); h_SL1L463->SetBinContent(7,34721.43); h_SL1L463->SetBinContent(8,36000); h_SL1L463->SetBinContent(9,36850); h_SL1L463->SetBinContent(10,39050); h_SL1L463->SetBinContent(11,38635.71); h_SL1L463->SetBinContent(12,39928.57); h_SL1L463->SetBinContent(13,42878.57); h_SL1L463->SetBinContent(14,82628.57); h_SL1L463->SetBinContent(15,72721.43); h_SL1L463->SetBinContent(16,71121.43); h_SL1L463->SetBinContent(17,41800); h_SL1L463->SetBinContent(18,43421.43); h_SL1L463->SetBinContent(19,41307.14); h_SL1L463->SetBinContent(20,41792.86); h_SL1L463->SetBinContent(21,38628.57); h_SL1L463->SetBinContent(22,36550); h_SL1L463->SetBinContent(23,36192.86); h_SL1L463->SetBinContent(24,36900); h_SL1L463->SetBinContent(25,35000); h_SL1L463->SetBinContent(26,33135.71); h_SL1L463->SetBinContent(27,33157.14); h_SL1L463->SetBinContent(28,33807.14); h_SL1L463->SetBinContent(29,32250); h_SL1L463->SetBinContent(30,33600); h_SL1L463->SetBinContent(31,33157.14); h_SL1L463->SetBinContent(32,32214.29); h_SL1L463->SetBinContent(33,30528.57); h_SL1L463->SetBinContent(34,35085.71); h_SL1L463->SetBinContent(35,34614.29); h_SL1L463->SetBinContent(36,30314.29); h_SL1L463->SetBinContent(37,6114.286); h_SL1L463->SetBinContent(38,57.14286); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,27850); h_SL1L463->SetBinContent(42,29357.14); h_SL1L463->SetBinContent(43,29957.14); h_SL1L463->SetBinContent(44,28707.14); h_SL1L463->SetBinContent(45,26342.86); h_SL1L463->SetBinContent(46,29285.71); h_SL1L463->SetBinContent(47,26921.43); h_SL1L463->SetBinContent(48,26157.14); h_SL1L463->SetBinContent(49,25942.86); h_SL1L463->SetBinContent(50,26635.71); h_SL1L463->SetBinContent(51,26400); h_SL1L463->SetBinContent(52,27285.71); h_SL1L463->SetBinContent(53,26721.43); h_SL1L463->SetBinContent(54,25464.29); h_SL1L463->SetBinContent(55,35.71429); h_SL1L463->SetBinContent(56,27328.57); h_SL1L463->SetMaximum(95022.86); 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 7623"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }