void RatesPerCell_Removing_noisy_cells_run_7753_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:20:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4879.019,67.5,43911.17); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7753",60,0,60); h_SL1L160->SetBinContent(1,1621.429); h_SL1L160->SetBinContent(2,1700); h_SL1L160->SetBinContent(3,1414.286); h_SL1L160->SetBinContent(4,1285.714); h_SL1L160->SetBinContent(5,850); h_SL1L160->SetBinContent(6,1207.143); h_SL1L160->SetBinContent(7,1085.714); h_SL1L160->SetBinContent(8,1178.571); h_SL1L160->SetBinContent(9,1064.286); h_SL1L160->SetBinContent(10,950); h_SL1L160->SetBinContent(11,971.4286); h_SL1L160->SetBinContent(12,1035.714); h_SL1L160->SetBinContent(13,1328.571); h_SL1L160->SetBinContent(14,1478.571); h_SL1L160->SetBinContent(15,1392.857); h_SL1L160->SetBinContent(16,985.7143); h_SL1L160->SetBinContent(17,492.8571); h_SL1L160->SetBinContent(18,450); h_SL1L160->SetBinContent(19,542.8571); h_SL1L160->SetBinContent(20,400); h_SL1L160->SetBinContent(21,385.7143); h_SL1L160->SetBinContent(22,514.2857); h_SL1L160->SetBinContent(23,507.1429); h_SL1L160->SetBinContent(24,257.1429); h_SL1L160->SetBinContent(25,207.1429); h_SL1L160->SetBinContent(26,342.8571); h_SL1L160->SetBinContent(27,321.4286); h_SL1L160->SetBinContent(28,371.4286); h_SL1L160->SetBinContent(29,328.5714); h_SL1L160->SetBinContent(30,300); h_SL1L160->SetBinContent(31,285.7143); h_SL1L160->SetBinContent(32,178.5714); h_SL1L160->SetBinContent(33,2214.286); h_SL1L160->SetBinContent(34,2335.714); h_SL1L160->SetBinContent(35,2407.143); h_SL1L160->SetBinContent(36,2385.714); h_SL1L160->SetBinContent(37,2257.143); h_SL1L160->SetBinContent(38,2507.143); h_SL1L160->SetBinContent(39,2350); h_SL1L160->SetBinContent(41,221.4286); h_SL1L160->SetBinContent(42,250); h_SL1L160->SetBinContent(43,264.2857); h_SL1L160->SetBinContent(44,314.2857); h_SL1L160->SetBinContent(45,221.4286); h_SL1L160->SetBinContent(46,171.4286); h_SL1L160->SetBinContent(47,214.2857); h_SL1L160->SetBinContent(48,150); h_SL1L160->SetBinContent(49,164.2857); h_SL1L160->SetBinContent(50,192.8571); h_SL1L160->SetBinContent(51,214.2857); h_SL1L160->SetBinContent(52,307.1429); h_SL1L160->SetBinContent(53,171.4286); h_SL1L160->SetBinContent(54,242.8571); h_SL1L160->SetBinContent(55,378.5714); h_SL1L160->SetBinContent(56,300); h_SL1L160->SetMaximum(39032.15); 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,18671.43); h_SL1L261->SetBinContent(2,19142.86); h_SL1L261->SetBinContent(3,20385.71); h_SL1L261->SetBinContent(4,21714.29); h_SL1L261->SetBinContent(5,21685.71); h_SL1L261->SetBinContent(6,22435.71); h_SL1L261->SetBinContent(7,22921.43); h_SL1L261->SetBinContent(8,23428.57); h_SL1L261->SetBinContent(9,23321.43); h_SL1L261->SetBinContent(10,22928.57); h_SL1L261->SetBinContent(11,24100); h_SL1L261->SetBinContent(12,23028.57); h_SL1L261->SetBinContent(13,23821.43); h_SL1L261->SetBinContent(14,23807.14); h_SL1L261->SetBinContent(15,23928.57); h_SL1L261->SetBinContent(16,24042.86); h_SL1L261->SetBinContent(17,24714.29); h_SL1L261->SetBinContent(18,24921.43); h_SL1L261->SetBinContent(19,25700); h_SL1L261->SetBinContent(20,26178.57); h_SL1L261->SetBinContent(21,26471.43); h_SL1L261->SetBinContent(22,24764.29); h_SL1L261->SetBinContent(23,23807.14); h_SL1L261->SetBinContent(24,24357.14); h_SL1L261->SetBinContent(25,24128.57); h_SL1L261->SetBinContent(26,22785.71); h_SL1L261->SetBinContent(27,22692.86); h_SL1L261->SetBinContent(28,24835.71); h_SL1L261->SetBinContent(29,24978.57); h_SL1L261->SetBinContent(30,25735.71); h_SL1L261->SetBinContent(31,24857.14); h_SL1L261->SetBinContent(32,24571.43); h_SL1L261->SetBinContent(33,23757.14); h_SL1L261->SetBinContent(34,24321.43); h_SL1L261->SetBinContent(35,23535.71); h_SL1L261->SetBinContent(36,23550); h_SL1L261->SetBinContent(37,27707.14); h_SL1L261->SetBinContent(38,25057.14); h_SL1L261->SetBinContent(39,24164.29); h_SL1L261->SetBinContent(40,25271.43); h_SL1L261->SetBinContent(41,24678.57); h_SL1L261->SetBinContent(42,25335.71); h_SL1L261->SetBinContent(43,24314.29); h_SL1L261->SetBinContent(44,22942.86); h_SL1L261->SetBinContent(45,24014.29); h_SL1L261->SetBinContent(46,24350); h_SL1L261->SetBinContent(47,24414.29); h_SL1L261->SetBinContent(48,23871.43); h_SL1L261->SetBinContent(49,24335.71); h_SL1L261->SetBinContent(50,24764.29); h_SL1L261->SetBinContent(51,24171.43); h_SL1L261->SetBinContent(52,23550); h_SL1L261->SetBinContent(53,24914.29); h_SL1L261->SetBinContent(54,24521.43); h_SL1L261->SetBinContent(55,23664.29); h_SL1L261->SetBinContent(56,22457.14); h_SL1L261->SetMaximum(33941.43); 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,18621.43); h_SL1L362->SetBinContent(2,19014.29); h_SL1L362->SetBinContent(3,20442.86); h_SL1L362->SetBinContent(4,20535.71); h_SL1L362->SetBinContent(5,22842.86); h_SL1L362->SetBinContent(6,22228.57); h_SL1L362->SetBinContent(7,22821.43); h_SL1L362->SetBinContent(8,22664.29); h_SL1L362->SetBinContent(9,23828.57); h_SL1L362->SetBinContent(10,22935.71); h_SL1L362->SetBinContent(11,23292.86); h_SL1L362->SetBinContent(12,23307.14); h_SL1L362->SetBinContent(13,23685.71); h_SL1L362->SetBinContent(14,23757.14); h_SL1L362->SetBinContent(15,23200); h_SL1L362->SetBinContent(16,23678.57); h_SL1L362->SetBinContent(17,24850); h_SL1L362->SetBinContent(18,25092.86); h_SL1L362->SetBinContent(19,24757.14); h_SL1L362->SetBinContent(20,26707.14); h_SL1L362->SetBinContent(21,25371.43); h_SL1L362->SetBinContent(22,24135.71); h_SL1L362->SetBinContent(23,23871.43); h_SL1L362->SetBinContent(24,25092.86); h_SL1L362->SetBinContent(25,24307.14); h_SL1L362->SetBinContent(26,22528.57); h_SL1L362->SetBinContent(27,22928.57); h_SL1L362->SetBinContent(28,25014.29); h_SL1L362->SetBinContent(29,24821.43); h_SL1L362->SetBinContent(30,24814.29); h_SL1L362->SetBinContent(31,23464.29); h_SL1L362->SetBinContent(32,23614.29); h_SL1L362->SetBinContent(33,23442.86); h_SL1L362->SetBinContent(34,24000); h_SL1L362->SetBinContent(35,22878.57); h_SL1L362->SetBinContent(36,25321.43); h_SL1L362->SetBinContent(37,29514.29); h_SL1L362->SetBinContent(38,24642.86); h_SL1L362->SetBinContent(39,23750); h_SL1L362->SetBinContent(40,24700); h_SL1L362->SetBinContent(41,24735.71); h_SL1L362->SetBinContent(42,23935.71); h_SL1L362->SetBinContent(43,23750); h_SL1L362->SetBinContent(44,23300); h_SL1L362->SetBinContent(45,24392.86); h_SL1L362->SetBinContent(46,24364.29); h_SL1L362->SetBinContent(47,23478.57); h_SL1L362->SetBinContent(48,23250); h_SL1L362->SetBinContent(49,23750); h_SL1L362->SetBinContent(50,23871.43); h_SL1L362->SetBinContent(51,23550); h_SL1L362->SetBinContent(52,23528.57); h_SL1L362->SetBinContent(53,23514.29); h_SL1L362->SetBinContent(54,23300); h_SL1L362->SetBinContent(55,22157.14); h_SL1L362->SetBinContent(56,21457.14); h_SL1L362->SetMaximum(33941.43); 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,16921.43); h_SL1L463->SetBinContent(3,15464.29); h_SL1L463->SetBinContent(4,16150); h_SL1L463->SetBinContent(5,15578.57); h_SL1L463->SetBinContent(6,16164.29); h_SL1L463->SetBinContent(7,15685.71); h_SL1L463->SetBinContent(8,17664.29); h_SL1L463->SetBinContent(9,18228.57); h_SL1L463->SetBinContent(10,18971.43); h_SL1L463->SetBinContent(11,19864.29); h_SL1L463->SetBinContent(12,19892.86); h_SL1L463->SetBinContent(13,20600); h_SL1L463->SetBinContent(14,20942.86); h_SL1L463->SetBinContent(15,20828.57); h_SL1L463->SetBinContent(16,19607.14); h_SL1L463->SetBinContent(17,19150); h_SL1L463->SetBinContent(18,19785.71); h_SL1L463->SetBinContent(19,19614.29); h_SL1L463->SetBinContent(20,18692.86); h_SL1L463->SetBinContent(21,19150); h_SL1L463->SetBinContent(22,18464.29); h_SL1L463->SetBinContent(23,17292.86); h_SL1L463->SetBinContent(24,16650); h_SL1L463->SetBinContent(25,15835.71); h_SL1L463->SetBinContent(26,15385.71); h_SL1L463->SetBinContent(27,15428.57); h_SL1L463->SetBinContent(28,15878.57); h_SL1L463->SetBinContent(29,15742.86); h_SL1L463->SetBinContent(30,15878.57); h_SL1L463->SetBinContent(31,15728.57); h_SL1L463->SetBinContent(32,14964.29); h_SL1L463->SetBinContent(33,13900); h_SL1L463->SetBinContent(34,17535.71); h_SL1L463->SetBinContent(35,17442.86); h_SL1L463->SetBinContent(36,15207.14); h_SL1L463->SetBinContent(37,17728.57); h_SL1L463->SetBinContent(38,35.71429); h_SL1L463->SetBinContent(41,13978.57); h_SL1L463->SetBinContent(42,15271.43); h_SL1L463->SetBinContent(43,15142.86); h_SL1L463->SetBinContent(44,14657.14); h_SL1L463->SetBinContent(45,13014.29); h_SL1L463->SetBinContent(46,13621.43); h_SL1L463->SetBinContent(47,13092.86); h_SL1L463->SetBinContent(48,12721.43); h_SL1L463->SetBinContent(49,12621.43); h_SL1L463->SetBinContent(50,12878.57); h_SL1L463->SetBinContent(51,12914.29); h_SL1L463->SetBinContent(52,12535.71); h_SL1L463->SetBinContent(53,12050); h_SL1L463->SetBinContent(54,12007.14); h_SL1L463->SetBinContent(55,1157.143); h_SL1L463->SetBinContent(56,12342.86); h_SL1L463->SetMaximum(33941.43); 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 7753"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }