void RatesPerCell_Removing_noisy_cells_run_7371_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:24 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9906.819,67.5,89161.37); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7371",60,0,60); h_SL1L160->SetBinContent(1,15164.29); h_SL1L160->SetBinContent(2,14585.71); h_SL1L160->SetBinContent(3,13878.57); h_SL1L160->SetBinContent(4,11828.57); h_SL1L160->SetBinContent(5,9728.571); h_SL1L160->SetBinContent(6,10092.86); h_SL1L160->SetBinContent(7,9778.571); h_SL1L160->SetBinContent(8,9621.429); h_SL1L160->SetBinContent(9,9978.571); h_SL1L160->SetBinContent(10,9628.571); h_SL1L160->SetBinContent(11,9621.429); h_SL1L160->SetBinContent(12,8564.285); h_SL1L160->SetBinContent(13,8864.285); h_SL1L160->SetBinContent(14,12964.29); h_SL1L160->SetBinContent(15,12714.29); h_SL1L160->SetBinContent(16,7957.143); h_SL1L160->SetBinContent(17,6864.286); h_SL1L160->SetBinContent(18,7007.143); h_SL1L160->SetBinContent(19,7350); h_SL1L160->SetBinContent(20,7314.286); h_SL1L160->SetBinContent(21,7885.714); h_SL1L160->SetBinContent(22,7092.857); h_SL1L160->SetBinContent(23,6742.857); h_SL1L160->SetBinContent(24,6042.857); h_SL1L160->SetBinContent(25,5671.429); h_SL1L160->SetBinContent(26,5892.857); h_SL1L160->SetBinContent(27,5928.571); h_SL1L160->SetBinContent(28,5957.143); h_SL1L160->SetBinContent(29,6335.714); h_SL1L160->SetBinContent(30,5607.143); h_SL1L160->SetBinContent(31,5635.714); h_SL1L160->SetBinContent(32,5114.286); h_SL1L160->SetBinContent(33,27485.71); h_SL1L160->SetBinContent(34,29185.71); h_SL1L160->SetBinContent(35,28328.57); h_SL1L160->SetBinContent(36,27842.86); h_SL1L160->SetBinContent(37,30521.43); h_SL1L160->SetBinContent(38,29371.43); h_SL1L160->SetBinContent(39,29321.43); h_SL1L160->SetBinContent(41,5264.286); h_SL1L160->SetBinContent(42,5721.429); h_SL1L160->SetBinContent(43,5207.143); h_SL1L160->SetBinContent(44,5207.143); h_SL1L160->SetBinContent(45,5342.857); h_SL1L160->SetBinContent(46,4907.143); h_SL1L160->SetBinContent(47,4935.714); h_SL1L160->SetBinContent(48,5085.714); h_SL1L160->SetBinContent(49,5207.143); h_SL1L160->SetBinContent(50,5564.286); h_SL1L160->SetBinContent(51,6385.714); h_SL1L160->SetBinContent(52,6028.571); h_SL1L160->SetBinContent(53,5878.571); h_SL1L160->SetBinContent(54,6335.714); h_SL1L160->SetBinContent(55,6535.714); h_SL1L160->SetBinContent(56,7607.143); h_SL1L160->SetMaximum(79254.55); 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,43150); h_SL1L261->SetBinContent(2,44357.14); h_SL1L261->SetBinContent(3,44814.29); h_SL1L261->SetBinContent(4,47042.86); h_SL1L261->SetBinContent(5,45314.29); h_SL1L261->SetBinContent(6,46092.86); h_SL1L261->SetBinContent(7,46042.86); h_SL1L261->SetBinContent(8,46092.86); h_SL1L261->SetBinContent(9,44257.14); h_SL1L261->SetBinContent(10,41857.14); h_SL1L261->SetBinContent(11,41714.29); h_SL1L261->SetBinContent(12,37942.86); h_SL1L261->SetBinContent(13,37021.43); h_SL1L261->SetBinContent(14,36650); h_SL1L261->SetBinContent(15,38385.71); h_SL1L261->SetBinContent(16,39428.57); h_SL1L261->SetBinContent(17,40021.43); h_SL1L261->SetBinContent(18,43435.71); h_SL1L261->SetBinContent(19,43700); h_SL1L261->SetBinContent(20,44507.14); h_SL1L261->SetBinContent(21,46257.14); h_SL1L261->SetBinContent(22,47064.29); h_SL1L261->SetBinContent(23,45071.43); h_SL1L261->SetBinContent(24,46050); h_SL1L261->SetBinContent(25,46621.43); h_SL1L261->SetBinContent(26,43435.71); h_SL1L261->SetBinContent(27,42307.14); h_SL1L261->SetBinContent(28,44757.14); h_SL1L261->SetBinContent(29,46121.43); h_SL1L261->SetBinContent(30,45235.71); h_SL1L261->SetBinContent(31,44435.71); h_SL1L261->SetBinContent(32,44971.43); h_SL1L261->SetBinContent(33,43707.14); h_SL1L261->SetBinContent(34,43757.14); h_SL1L261->SetBinContent(35,42457.14); h_SL1L261->SetBinContent(36,44242.86); h_SL1L261->SetBinContent(37,45092.86); h_SL1L261->SetBinContent(38,46778.57); h_SL1L261->SetBinContent(39,45978.57); h_SL1L261->SetBinContent(40,46242.86); h_SL1L261->SetBinContent(41,46935.71); h_SL1L261->SetBinContent(42,48550); h_SL1L261->SetBinContent(43,50221.43); h_SL1L261->SetBinContent(44,48928.57); h_SL1L261->SetBinContent(45,49442.86); h_SL1L261->SetBinContent(46,50985.71); h_SL1L261->SetBinContent(47,53742.86); h_SL1L261->SetBinContent(48,53585.71); h_SL1L261->SetBinContent(49,54485.71); h_SL1L261->SetBinContent(50,52771.43); h_SL1L261->SetBinContent(51,53628.57); h_SL1L261->SetBinContent(52,56035.71); h_SL1L261->SetBinContent(53,56142.86); h_SL1L261->SetBinContent(54,57035.71); h_SL1L261->SetBinContent(55,59414.29); h_SL1L261->SetBinContent(56,59928.57); h_SL1L261->SetMaximum(68917.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,41457.14); h_SL1L362->SetBinContent(2,45007.14); h_SL1L362->SetBinContent(3,45650); h_SL1L362->SetBinContent(4,44264.29); h_SL1L362->SetBinContent(5,45292.86); h_SL1L362->SetBinContent(6,44714.29); h_SL1L362->SetBinContent(7,44178.57); h_SL1L362->SetBinContent(8,43921.43); h_SL1L362->SetBinContent(9,41707.14); h_SL1L362->SetBinContent(10,41450); h_SL1L362->SetBinContent(11,38978.57); h_SL1L362->SetBinContent(12,36650); h_SL1L362->SetBinContent(13,35235.71); h_SL1L362->SetBinContent(14,35907.14); h_SL1L362->SetBinContent(15,36928.57); h_SL1L362->SetBinContent(16,38421.43); h_SL1L362->SetBinContent(17,41142.86); h_SL1L362->SetBinContent(18,42635.71); h_SL1L362->SetBinContent(19,42521.43); h_SL1L362->SetBinContent(20,45135.71); h_SL1L362->SetBinContent(21,46521.43); h_SL1L362->SetBinContent(22,45214.29); h_SL1L362->SetBinContent(23,45778.57); h_SL1L362->SetBinContent(24,44171.43); h_SL1L362->SetBinContent(25,43150); h_SL1L362->SetBinContent(26,40771.43); h_SL1L362->SetBinContent(27,41842.86); h_SL1L362->SetBinContent(28,45085.71); h_SL1L362->SetBinContent(29,44692.86); h_SL1L362->SetBinContent(30,43892.86); h_SL1L362->SetBinContent(31,44214.29); h_SL1L362->SetBinContent(32,43350); h_SL1L362->SetBinContent(33,42692.86); h_SL1L362->SetBinContent(34,43564.29); h_SL1L362->SetBinContent(35,42978.57); h_SL1L362->SetBinContent(36,44592.86); h_SL1L362->SetBinContent(37,45807.14); h_SL1L362->SetBinContent(38,44407.14); h_SL1L362->SetBinContent(39,45635.71); h_SL1L362->SetBinContent(40,44985.71); h_SL1L362->SetBinContent(41,46478.57); h_SL1L362->SetBinContent(42,48978.57); h_SL1L362->SetBinContent(43,47935.71); h_SL1L362->SetBinContent(44,48050); h_SL1L362->SetBinContent(45,49692.86); h_SL1L362->SetBinContent(46,50600); h_SL1L362->SetBinContent(47,51114.29); h_SL1L362->SetBinContent(48,52064.29); h_SL1L362->SetBinContent(49,53557.14); h_SL1L362->SetBinContent(50,53707.14); h_SL1L362->SetBinContent(51,52600); h_SL1L362->SetBinContent(52,55378.57); h_SL1L362->SetBinContent(53,55871.43); h_SL1L362->SetBinContent(54,58585.71); h_SL1L362->SetBinContent(55,58428.57); h_SL1L362->SetBinContent(56,57985.71); h_SL1L362->SetMaximum(68917.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,35014.29); h_SL1L463->SetBinContent(3,33314.29); h_SL1L463->SetBinContent(4,31121.43); h_SL1L463->SetBinContent(5,28814.29); h_SL1L463->SetBinContent(6,27507.14); h_SL1L463->SetBinContent(7,28607.14); h_SL1L463->SetBinContent(8,29721.43); h_SL1L463->SetBinContent(9,30792.86); h_SL1L463->SetBinContent(10,30307.14); h_SL1L463->SetBinContent(11,32328.57); h_SL1L463->SetBinContent(12,30014.29); h_SL1L463->SetBinContent(13,29807.14); h_SL1L463->SetBinContent(14,28942.86); h_SL1L463->SetBinContent(15,37171.43); h_SL1L463->SetBinContent(16,31821.43); h_SL1L463->SetBinContent(17,29657.14); h_SL1L463->SetBinContent(18,31071.43); h_SL1L463->SetBinContent(19,29000); h_SL1L463->SetBinContent(20,29607.14); h_SL1L463->SetBinContent(21,30771.43); h_SL1L463->SetBinContent(22,30421.43); h_SL1L463->SetBinContent(23,28857.14); h_SL1L463->SetBinContent(24,29350); h_SL1L463->SetBinContent(25,26650); h_SL1L463->SetBinContent(26,25642.86); h_SL1L463->SetBinContent(27,24292.86); h_SL1L463->SetBinContent(28,25578.57); h_SL1L463->SetBinContent(29,24314.29); h_SL1L463->SetBinContent(30,25714.29); h_SL1L463->SetBinContent(31,25128.57); h_SL1L463->SetBinContent(32,23350); h_SL1L463->SetBinContent(33,22400); h_SL1L463->SetBinContent(34,24442.86); h_SL1L463->SetBinContent(35,24707.14); h_SL1L463->SetBinContent(36,23285.71); h_SL1L463->SetBinContent(37,192.8571); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,21150); h_SL1L463->SetBinContent(42,22435.71); h_SL1L463->SetBinContent(43,22492.86); h_SL1L463->SetBinContent(44,22592.86); h_SL1L463->SetBinContent(45,20757.14); h_SL1L463->SetBinContent(46,22428.57); h_SL1L463->SetBinContent(47,20342.86); h_SL1L463->SetBinContent(48,21142.86); h_SL1L463->SetBinContent(49,20807.14); h_SL1L463->SetBinContent(50,21964.29); h_SL1L463->SetBinContent(51,21992.86); h_SL1L463->SetBinContent(52,22707.14); h_SL1L463->SetBinContent(53,23100); h_SL1L463->SetBinContent(54,22935.71); h_SL1L463->SetBinContent(56,26457.14); h_SL1L463->SetMaximum(68917.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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7371"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }