void RatesPerCell_Removing_noisy_cells_run_7380_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:34:37 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13652.37,67.5,122871.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7380",60,0,60); h_SL1L160->SetBinContent(1,15707.14); h_SL1L160->SetBinContent(2,14607.14); h_SL1L160->SetBinContent(3,14192.86); h_SL1L160->SetBinContent(4,12792.86); h_SL1L160->SetBinContent(5,9735.714); h_SL1L160->SetBinContent(6,10428.57); h_SL1L160->SetBinContent(7,9764.285); h_SL1L160->SetBinContent(8,10421.43); h_SL1L160->SetBinContent(9,9192.857); h_SL1L160->SetBinContent(10,9364.285); h_SL1L160->SetBinContent(11,9200); h_SL1L160->SetBinContent(12,8942.857); h_SL1L160->SetBinContent(13,13750); h_SL1L160->SetBinContent(14,15957.14); h_SL1L160->SetBinContent(15,15021.43); h_SL1L160->SetBinContent(16,8378.571); h_SL1L160->SetBinContent(17,7128.571); h_SL1L160->SetBinContent(18,7307.143); h_SL1L160->SetBinContent(19,7928.571); h_SL1L160->SetBinContent(20,7621.429); h_SL1L160->SetBinContent(21,8121.429); h_SL1L160->SetBinContent(22,7485.714); h_SL1L160->SetBinContent(23,7078.571); h_SL1L160->SetBinContent(24,6035.714); h_SL1L160->SetBinContent(25,6171.429); h_SL1L160->SetBinContent(26,6485.714); h_SL1L160->SetBinContent(27,6057.143); h_SL1L160->SetBinContent(28,6050); h_SL1L160->SetBinContent(29,6385.714); h_SL1L160->SetBinContent(30,6607.143); h_SL1L160->SetBinContent(31,5935.714); h_SL1L160->SetBinContent(32,5371.429); h_SL1L160->SetBinContent(33,26935.71); h_SL1L160->SetBinContent(34,29335.71); h_SL1L160->SetBinContent(35,27957.14); h_SL1L160->SetBinContent(36,27492.86); h_SL1L160->SetBinContent(37,27928.57); h_SL1L160->SetBinContent(38,28514.29); h_SL1L160->SetBinContent(39,28707.14); h_SL1L160->SetBinContent(40,7.142857); h_SL1L160->SetBinContent(41,5878.571); h_SL1L160->SetBinContent(42,6542.857); h_SL1L160->SetBinContent(43,6135.714); h_SL1L160->SetBinContent(44,5728.571); h_SL1L160->SetBinContent(45,5778.571); h_SL1L160->SetBinContent(46,5014.286); h_SL1L160->SetBinContent(47,5607.143); h_SL1L160->SetBinContent(48,5585.714); h_SL1L160->SetBinContent(49,5771.429); h_SL1L160->SetBinContent(50,5892.857); h_SL1L160->SetBinContent(51,6507.143); h_SL1L160->SetBinContent(52,6485.714); h_SL1L160->SetBinContent(53,6171.429); h_SL1L160->SetBinContent(54,6828.571); h_SL1L160->SetBinContent(55,7157.143); h_SL1L160->SetBinContent(56,8242.857); h_SL1L160->SetMaximum(109218.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,42978.57); h_SL1L261->SetBinContent(2,43428.57); h_SL1L261->SetBinContent(3,47771.43); h_SL1L261->SetBinContent(4,48221.43); h_SL1L261->SetBinContent(5,46042.86); h_SL1L261->SetBinContent(6,47264.29); h_SL1L261->SetBinContent(7,46950); h_SL1L261->SetBinContent(8,47778.57); h_SL1L261->SetBinContent(9,62685.71); h_SL1L261->SetBinContent(10,43035.71); h_SL1L261->SetBinContent(11,41585.71); h_SL1L261->SetBinContent(12,39564.29); h_SL1L261->SetBinContent(13,36728.57); h_SL1L261->SetBinContent(14,37585.71); h_SL1L261->SetBinContent(15,39485.71); h_SL1L261->SetBinContent(16,40050); h_SL1L261->SetBinContent(17,41192.86); h_SL1L261->SetBinContent(18,44214.29); h_SL1L261->SetBinContent(19,44057.14); h_SL1L261->SetBinContent(20,44628.57); h_SL1L261->SetBinContent(21,47678.57); h_SL1L261->SetBinContent(22,47428.57); h_SL1L261->SetBinContent(23,47428.57); h_SL1L261->SetBinContent(24,47721.43); h_SL1L261->SetBinContent(25,48921.43); h_SL1L261->SetBinContent(26,43935.71); h_SL1L261->SetBinContent(27,42842.86); h_SL1L261->SetBinContent(28,45621.43); h_SL1L261->SetBinContent(29,48357.14); h_SL1L261->SetBinContent(30,46492.86); h_SL1L261->SetBinContent(31,46957.14); h_SL1L261->SetBinContent(32,46957.14); h_SL1L261->SetBinContent(33,45621.43); h_SL1L261->SetBinContent(34,46878.57); h_SL1L261->SetBinContent(35,45192.86); h_SL1L261->SetBinContent(36,44378.57); h_SL1L261->SetBinContent(37,46857.14); h_SL1L261->SetBinContent(38,48142.86); h_SL1L261->SetBinContent(39,46071.43); h_SL1L261->SetBinContent(40,46985.71); h_SL1L261->SetBinContent(41,48878.57); h_SL1L261->SetBinContent(42,49778.57); h_SL1L261->SetBinContent(43,51792.86); h_SL1L261->SetBinContent(44,51764.29); h_SL1L261->SetBinContent(45,52492.86); h_SL1L261->SetBinContent(46,53564.29); h_SL1L261->SetBinContent(47,54814.29); h_SL1L261->SetBinContent(48,56192.86); h_SL1L261->SetBinContent(49,82585.71); h_SL1L261->SetBinContent(50,56264.29); h_SL1L261->SetBinContent(51,55778.57); h_SL1L261->SetBinContent(52,59957.14); h_SL1L261->SetBinContent(53,61142.86); h_SL1L261->SetBinContent(54,62607.14); h_SL1L261->SetBinContent(55,63528.57); h_SL1L261->SetBinContent(56,65071.43); h_SL1L261->SetMaximum(94973.57); 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,41742.86); h_SL1L362->SetBinContent(2,44692.86); h_SL1L362->SetBinContent(3,45592.86); h_SL1L362->SetBinContent(4,45678.57); h_SL1L362->SetBinContent(5,46578.57); h_SL1L362->SetBinContent(6,45492.86); h_SL1L362->SetBinContent(7,44571.43); h_SL1L362->SetBinContent(8,44950); h_SL1L362->SetBinContent(9,42214.29); h_SL1L362->SetBinContent(10,42014.29); h_SL1L362->SetBinContent(11,39578.57); h_SL1L362->SetBinContent(12,37121.43); h_SL1L362->SetBinContent(13,36928.57); h_SL1L362->SetBinContent(14,39250); h_SL1L362->SetBinContent(15,42442.86); h_SL1L362->SetBinContent(16,40050); h_SL1L362->SetBinContent(17,41150); h_SL1L362->SetBinContent(18,43728.57); h_SL1L362->SetBinContent(19,44542.86); h_SL1L362->SetBinContent(20,45278.57); h_SL1L362->SetBinContent(21,46185.71); h_SL1L362->SetBinContent(22,45514.29); h_SL1L362->SetBinContent(23,46192.86); h_SL1L362->SetBinContent(24,46978.57); h_SL1L362->SetBinContent(25,44314.29); h_SL1L362->SetBinContent(26,42228.57); h_SL1L362->SetBinContent(27,43914.29); h_SL1L362->SetBinContent(28,45428.57); h_SL1L362->SetBinContent(29,45914.29); h_SL1L362->SetBinContent(30,46000); h_SL1L362->SetBinContent(31,44907.14); h_SL1L362->SetBinContent(32,44614.29); h_SL1L362->SetBinContent(33,44057.14); h_SL1L362->SetBinContent(34,45878.57); h_SL1L362->SetBinContent(35,44428.57); h_SL1L362->SetBinContent(36,45707.14); h_SL1L362->SetBinContent(37,47335.71); h_SL1L362->SetBinContent(38,46685.71); h_SL1L362->SetBinContent(39,46285.71); h_SL1L362->SetBinContent(40,46385.71); h_SL1L362->SetBinContent(41,49350); h_SL1L362->SetBinContent(42,50792.86); h_SL1L362->SetBinContent(43,52307.14); h_SL1L362->SetBinContent(44,50028.57); h_SL1L362->SetBinContent(45,51771.43); h_SL1L362->SetBinContent(46,53278.57); h_SL1L362->SetBinContent(47,56171.43); h_SL1L362->SetBinContent(48,55350); h_SL1L362->SetBinContent(49,54885.71); h_SL1L362->SetBinContent(50,56221.43); h_SL1L362->SetBinContent(51,56142.86); h_SL1L362->SetBinContent(52,60485.71); h_SL1L362->SetBinContent(53,70685.71); h_SL1L362->SetBinContent(54,62807.14); h_SL1L362->SetBinContent(55,63807.14); h_SL1L362->SetBinContent(56,74835.71); h_SL1L362->SetMaximum(94973.57); 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,38250); h_SL1L463->SetBinContent(3,38007.14); h_SL1L463->SetBinContent(4,36278.57); h_SL1L463->SetBinContent(5,34350); h_SL1L463->SetBinContent(6,34528.57); h_SL1L463->SetBinContent(7,34450); h_SL1L463->SetBinContent(8,34871.43); h_SL1L463->SetBinContent(9,35650); h_SL1L463->SetBinContent(10,35628.57); h_SL1L463->SetBinContent(11,35271.43); h_SL1L463->SetBinContent(12,33914.29); h_SL1L463->SetBinContent(13,33028.57); h_SL1L463->SetBinContent(14,44950); h_SL1L463->SetBinContent(15,42128.57); h_SL1L463->SetBinContent(16,41514.29); h_SL1L463->SetBinContent(17,34214.29); h_SL1L463->SetBinContent(18,35385.71); h_SL1L463->SetBinContent(19,34650); h_SL1L463->SetBinContent(20,35135.71); h_SL1L463->SetBinContent(21,36435.71); h_SL1L463->SetBinContent(22,35821.43); h_SL1L463->SetBinContent(23,36242.86); h_SL1L463->SetBinContent(24,35935.71); h_SL1L463->SetBinContent(25,32992.86); h_SL1L463->SetBinContent(26,31642.86); h_SL1L463->SetBinContent(27,30414.29); h_SL1L463->SetBinContent(28,32064.29); h_SL1L463->SetBinContent(29,31242.86); h_SL1L463->SetBinContent(30,32928.57); h_SL1L463->SetBinContent(31,32271.43); h_SL1L463->SetBinContent(32,31307.14); h_SL1L463->SetBinContent(33,29100); h_SL1L463->SetBinContent(34,32835.71); h_SL1L463->SetBinContent(35,33678.57); h_SL1L463->SetBinContent(36,30657.14); h_SL1L463->SetBinContent(37,264.2857); h_SL1L463->SetBinContent(38,14.28571); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(40,14.28571); h_SL1L463->SetBinContent(41,29450); h_SL1L463->SetBinContent(42,33021.43); h_SL1L463->SetBinContent(43,33342.86); h_SL1L463->SetBinContent(44,33507.14); h_SL1L463->SetBinContent(45,29485.71); h_SL1L463->SetBinContent(46,31457.14); h_SL1L463->SetBinContent(47,30892.86); h_SL1L463->SetBinContent(48,30735.71); h_SL1L463->SetBinContent(49,29528.57); h_SL1L463->SetBinContent(50,30571.43); h_SL1L463->SetBinContent(51,31235.71); h_SL1L463->SetBinContent(52,33014.29); h_SL1L463->SetBinContent(53,32800); h_SL1L463->SetBinContent(54,32900); h_SL1L463->SetBinContent(55,42.85714); h_SL1L463->SetBinContent(56,38571.43); h_SL1L463->SetMaximum(94973.57); 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 7380"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }