void RatesPerCell_Removing_noisy_cells_run_6350_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7565.707,67.5,68091.36); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6350",60,0,60); h_SL1L160->SetBinContent(1,31614.29); h_SL1L160->SetBinContent(2,33342.86); h_SL1L160->SetBinContent(3,35557.14); h_SL1L160->SetBinContent(4,33704.76); h_SL1L160->SetBinContent(5,31466.67); h_SL1L160->SetBinContent(6,32766.67); h_SL1L160->SetBinContent(7,32200); h_SL1L160->SetBinContent(8,33780.95); h_SL1L160->SetBinContent(9,33938.09); h_SL1L160->SetBinContent(10,33909.52); h_SL1L160->SetBinContent(11,36409.52); h_SL1L160->SetBinContent(12,34638.09); h_SL1L160->SetBinContent(13,35723.81); h_SL1L160->SetBinContent(14,31600); h_SL1L160->SetBinContent(15,28966.67); h_SL1L160->SetBinContent(16,28252.38); h_SL1L160->SetBinContent(17,29100); h_SL1L160->SetBinContent(18,30723.81); h_SL1L160->SetBinContent(19,31300); h_SL1L160->SetBinContent(20,31304.76); h_SL1L160->SetBinContent(21,30104.76); h_SL1L160->SetBinContent(22,30661.9); h_SL1L160->SetBinContent(23,28809.52); h_SL1L160->SetBinContent(24,27180.95); h_SL1L160->SetBinContent(25,25528.57); h_SL1L160->SetBinContent(26,26080.95); h_SL1L160->SetBinContent(27,25361.9); h_SL1L160->SetBinContent(28,27290.48); h_SL1L160->SetBinContent(29,28561.9); h_SL1L160->SetBinContent(30,26138.1); h_SL1L160->SetBinContent(31,26823.81); h_SL1L160->SetBinContent(32,26080.95); h_SL1L160->SetBinContent(33,26347.62); h_SL1L160->SetBinContent(34,25557.14); h_SL1L160->SetBinContent(35,26238.1); h_SL1L160->SetBinContent(36,26019.05); h_SL1L160->SetBinContent(37,25928.57); h_SL1L160->SetBinContent(38,27557.14); h_SL1L160->SetBinContent(39,27228.57); h_SL1L160->SetBinContent(40,25666.67); h_SL1L160->SetBinContent(41,25652.38); h_SL1L160->SetBinContent(42,26547.62); h_SL1L160->SetBinContent(43,25795.24); h_SL1L160->SetBinContent(44,25933.33); h_SL1L160->SetBinContent(45,24519.05); h_SL1L160->SetBinContent(46,23761.9); h_SL1L160->SetBinContent(47,23861.9); h_SL1L160->SetBinContent(48,23566.67); h_SL1L160->SetBinContent(49,25042.86); h_SL1L160->SetBinContent(50,26395.24); h_SL1L160->SetBinContent(51,25938.1); h_SL1L160->SetBinContent(52,25228.57); h_SL1L160->SetBinContent(53,24519.05); h_SL1L160->SetBinContent(54,24823.81); h_SL1L160->SetBinContent(55,25471.43); h_SL1L160->SetBinContent(56,28066.67); h_SL1L160->SetBinContent(57,33695.24); h_SL1L160->SetBinContent(58,36209.52); h_SL1L160->SetBinContent(59,36161.91); h_SL1L160->SetMaximum(60525.65); 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,35576.19); h_SL1L261->SetBinContent(2,36138.09); h_SL1L261->SetBinContent(3,38628.57); h_SL1L261->SetBinContent(4,39319.05); h_SL1L261->SetBinContent(5,39914.29); h_SL1L261->SetBinContent(6,40409.52); h_SL1L261->SetBinContent(7,40966.67); h_SL1L261->SetBinContent(8,42695.24); h_SL1L261->SetBinContent(9,43133.33); h_SL1L261->SetBinContent(10,41533.33); h_SL1L261->SetBinContent(11,43942.86); h_SL1L261->SetBinContent(12,45185.71); h_SL1L261->SetBinContent(13,44923.81); h_SL1L261->SetBinContent(14,44242.86); h_SL1L261->SetBinContent(15,43838.09); h_SL1L261->SetBinContent(16,40790.48); h_SL1L261->SetBinContent(17,39471.43); h_SL1L261->SetBinContent(18,42333.33); h_SL1L261->SetBinContent(19,43085.71); h_SL1L261->SetBinContent(20,42166.67); h_SL1L261->SetBinContent(21,42909.52); h_SL1L261->SetBinContent(22,42904.76); h_SL1L261->SetBinContent(23,42019.05); h_SL1L261->SetBinContent(24,41171.43); h_SL1L261->SetBinContent(25,41638.09); h_SL1L261->SetBinContent(26,39052.38); h_SL1L261->SetBinContent(27,38738.09); h_SL1L261->SetBinContent(28,42552.38); h_SL1L261->SetBinContent(29,43871.43); h_SL1L261->SetBinContent(30,44328.57); h_SL1L261->SetBinContent(31,44404.76); h_SL1L261->SetBinContent(32,45147.62); h_SL1L261->SetBinContent(33,44747.62); h_SL1L261->SetBinContent(34,43980.95); h_SL1L261->SetBinContent(35,42509.52); h_SL1L261->SetBinContent(36,42438.09); h_SL1L261->SetBinContent(37,42190.48); h_SL1L261->SetBinContent(38,42795.24); h_SL1L261->SetBinContent(39,44042.86); h_SL1L261->SetBinContent(40,44171.43); h_SL1L261->SetBinContent(41,43290.48); h_SL1L261->SetBinContent(42,43138.09); h_SL1L261->SetBinContent(43,44571.43); h_SL1L261->SetBinContent(44,45766.67); h_SL1L261->SetBinContent(45,43147.62); h_SL1L261->SetBinContent(46,42171.43); h_SL1L261->SetBinContent(47,42652.38); h_SL1L261->SetBinContent(48,43314.29); h_SL1L261->SetBinContent(49,43757.14); h_SL1L261->SetBinContent(50,44480.95); h_SL1L261->SetBinContent(51,43976.19); h_SL1L261->SetBinContent(52,43190.48); h_SL1L261->SetBinContent(53,43676.19); h_SL1L261->SetBinContent(54,42780.95); h_SL1L261->SetBinContent(55,44238.09); h_SL1L261->SetBinContent(56,43876.19); h_SL1L261->SetBinContent(57,42319.05); h_SL1L261->SetBinContent(58,44714.29); h_SL1L261->SetBinContent(59,42800); h_SL1L261->SetMaximum(52631.67); 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,35333.33); h_SL1L362->SetBinContent(2,36647.62); h_SL1L362->SetBinContent(3,37323.81); h_SL1L362->SetBinContent(4,38228.57); h_SL1L362->SetBinContent(5,38942.86); h_SL1L362->SetBinContent(6,39252.38); h_SL1L362->SetBinContent(7,40447.62); h_SL1L362->SetBinContent(8,42071.43); h_SL1L362->SetBinContent(9,40247.62); h_SL1L362->SetBinContent(10,41933.33); h_SL1L362->SetBinContent(11,42990.48); h_SL1L362->SetBinContent(12,43995.24); h_SL1L362->SetBinContent(13,42523.81); h_SL1L362->SetBinContent(14,43928.57); h_SL1L362->SetBinContent(15,40014.29); h_SL1L362->SetBinContent(16,38857.14); h_SL1L362->SetBinContent(17,39466.67); h_SL1L362->SetBinContent(18,41395.24); h_SL1L362->SetBinContent(19,41457.14); h_SL1L362->SetBinContent(20,41500); h_SL1L362->SetBinContent(21,41619.05); h_SL1L362->SetBinContent(22,41738.09); h_SL1L362->SetBinContent(23,40409.52); h_SL1L362->SetBinContent(24,40076.19); h_SL1L362->SetBinContent(25,39523.81); h_SL1L362->SetBinContent(26,35709.52); h_SL1L362->SetBinContent(27,37638.09); h_SL1L362->SetBinContent(28,41333.33); h_SL1L362->SetBinContent(29,42780.95); h_SL1L362->SetBinContent(30,41995.24); h_SL1L362->SetBinContent(31,43747.62); h_SL1L362->SetBinContent(32,43076.19); h_SL1L362->SetBinContent(33,42985.71); h_SL1L362->SetBinContent(34,41428.57); h_SL1L362->SetBinContent(35,40538.09); h_SL1L362->SetBinContent(36,40080.95); h_SL1L362->SetBinContent(37,40542.86); h_SL1L362->SetBinContent(38,41819.05); h_SL1L362->SetBinContent(39,43152.38); h_SL1L362->SetBinContent(40,42180.95); h_SL1L362->SetBinContent(41,41804.76); h_SL1L362->SetBinContent(42,43347.62); h_SL1L362->SetBinContent(43,43623.81); h_SL1L362->SetBinContent(44,42119.05); h_SL1L362->SetBinContent(45,40819.05); h_SL1L362->SetBinContent(46,40942.86); h_SL1L362->SetBinContent(47,42238.09); h_SL1L362->SetBinContent(48,42523.81); h_SL1L362->SetBinContent(49,42480.95); h_SL1L362->SetBinContent(50,43128.57); h_SL1L362->SetBinContent(51,41366.67); h_SL1L362->SetBinContent(52,42738.09); h_SL1L362->SetBinContent(53,41461.91); h_SL1L362->SetBinContent(54,41028.57); h_SL1L362->SetBinContent(55,41490.48); h_SL1L362->SetBinContent(56,40519.05); h_SL1L362->SetBinContent(57,41623.81); h_SL1L362->SetBinContent(58,42066.67); h_SL1L362->SetBinContent(59,41861.91); h_SL1L362->SetMaximum(52631.67); 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,29280.95); h_SL1L463->SetBinContent(3,29038.1); h_SL1L463->SetBinContent(4,29361.9); h_SL1L463->SetBinContent(5,28400); h_SL1L463->SetBinContent(6,28947.62); h_SL1L463->SetBinContent(7,28461.9); h_SL1L463->SetBinContent(8,31114.29); h_SL1L463->SetBinContent(9,31723.81); h_SL1L463->SetBinContent(10,33285.71); h_SL1L463->SetBinContent(11,35985.71); h_SL1L463->SetBinContent(12,37466.67); h_SL1L463->SetBinContent(13,36066.67); h_SL1L463->SetBinContent(14,37666.67); h_SL1L463->SetBinContent(15,35052.38); h_SL1L463->SetBinContent(16,33290.48); h_SL1L463->SetBinContent(17,30928.57); h_SL1L463->SetBinContent(18,31304.76); h_SL1L463->SetBinContent(19,31495.24); h_SL1L463->SetBinContent(20,30685.71); h_SL1L463->SetBinContent(21,32333.33); h_SL1L463->SetBinContent(22,31047.62); h_SL1L463->SetBinContent(23,30661.9); h_SL1L463->SetBinContent(24,30161.9); h_SL1L463->SetBinContent(25,28766.67); h_SL1L463->SetBinContent(26,27752.38); h_SL1L463->SetBinContent(27,27509.52); h_SL1L463->SetBinContent(28,29461.9); h_SL1L463->SetBinContent(29,28828.57); h_SL1L463->SetBinContent(30,29990.48); h_SL1L463->SetBinContent(31,29533.33); h_SL1L463->SetBinContent(32,27380.95); h_SL1L463->SetBinContent(33,26533.33); h_SL1L463->SetBinContent(34,26614.29); h_SL1L463->SetBinContent(35,25876.19); h_SL1L463->SetBinContent(36,23833.33); h_SL1L463->SetBinContent(37,21795.24); h_SL1L463->SetBinContent(38,23309.52); h_SL1L463->SetBinContent(39,24476.19); h_SL1L463->SetBinContent(40,22371.43); h_SL1L463->SetBinContent(41,21733.33); h_SL1L463->SetBinContent(42,22442.86); h_SL1L463->SetBinContent(43,23885.71); h_SL1L463->SetBinContent(44,23033.33); h_SL1L463->SetBinContent(45,20409.52); h_SL1L463->SetBinContent(46,22076.19); h_SL1L463->SetBinContent(47,20161.9); h_SL1L463->SetBinContent(48,20704.76); h_SL1L463->SetBinContent(49,20657.14); h_SL1L463->SetBinContent(50,22071.43); h_SL1L463->SetBinContent(51,21500); h_SL1L463->SetBinContent(52,22285.71); h_SL1L463->SetBinContent(53,22066.67); h_SL1L463->SetBinContent(54,21747.62); h_SL1L463->SetBinContent(55,9.523809); h_SL1L463->SetBinContent(56,24666.67); h_SL1L463->SetBinContent(57,27404.76); h_SL1L463->SetBinContent(58,33552.38); h_SL1L463->SetBinContent(59,34538.09); h_SL1L463->SetMaximum(52631.67); 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 6350"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }