void RatesPerCell_Removing_noisy_cells_run_7696_SL1() { //=========Macro generated from canvas: c/c //========= (Thu Dec 27 12:06:55 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6829.707,67.5,61467.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 7696",60,0,60); h_SL1L160->SetBinContent(1,16000); h_SL1L160->SetBinContent(2,15957.14); h_SL1L160->SetBinContent(3,15200); h_SL1L160->SetBinContent(4,13707.14); h_SL1L160->SetBinContent(5,11621.43); h_SL1L160->SetBinContent(6,11635.71); h_SL1L160->SetBinContent(7,11285.71); h_SL1L160->SetBinContent(8,12235.71); h_SL1L160->SetBinContent(9,12007.14); h_SL1L160->SetBinContent(10,12321.43); h_SL1L160->SetBinContent(11,11942.86); h_SL1L160->SetBinContent(12,11828.57); h_SL1L160->SetBinContent(13,11314.29); h_SL1L160->SetBinContent(14,10992.86); h_SL1L160->SetBinContent(15,10157.14); h_SL1L160->SetBinContent(16,9700); h_SL1L160->SetBinContent(17,9692.857); h_SL1L160->SetBinContent(18,9021.429); h_SL1L160->SetBinContent(19,9435.714); h_SL1L160->SetBinContent(20,10085.71); h_SL1L160->SetBinContent(21,8778.571); h_SL1L160->SetBinContent(22,8828.571); h_SL1L160->SetBinContent(23,7871.429); h_SL1L160->SetBinContent(24,7457.143); h_SL1L160->SetBinContent(25,6650); h_SL1L160->SetBinContent(26,7300); h_SL1L160->SetBinContent(27,7450); h_SL1L160->SetBinContent(28,7221.429); h_SL1L160->SetBinContent(29,8485.714); h_SL1L160->SetBinContent(30,6778.571); h_SL1L160->SetBinContent(31,6235.714); h_SL1L160->SetBinContent(32,6492.857); h_SL1L160->SetBinContent(33,31185.71); h_SL1L160->SetBinContent(34,32585.71); h_SL1L160->SetBinContent(35,31471.43); h_SL1L160->SetBinContent(36,31478.57); h_SL1L160->SetBinContent(37,32285.71); h_SL1L160->SetBinContent(38,32850); h_SL1L160->SetBinContent(39,31921.43); h_SL1L160->SetBinContent(41,5728.571); h_SL1L160->SetBinContent(42,5950); h_SL1L160->SetBinContent(43,5314.286); h_SL1L160->SetBinContent(44,5085.714); h_SL1L160->SetBinContent(45,5207.143); h_SL1L160->SetBinContent(46,5142.857); h_SL1L160->SetBinContent(47,4935.714); h_SL1L160->SetBinContent(48,5100); h_SL1L160->SetBinContent(49,4900); h_SL1L160->SetBinContent(50,5621.429); h_SL1L160->SetBinContent(51,6214.286); h_SL1L160->SetBinContent(52,6071.429); h_SL1L160->SetBinContent(53,5907.143); h_SL1L160->SetBinContent(54,6307.143); h_SL1L160->SetBinContent(55,6407.143); h_SL1L160->SetBinContent(56,7435.714); h_SL1L160->SetMaximum(54637.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,32650); h_SL1L261->SetBinContent(2,32750); h_SL1L261->SetBinContent(3,34278.57); h_SL1L261->SetBinContent(4,35221.43); h_SL1L261->SetBinContent(5,35507.14); h_SL1L261->SetBinContent(6,36664.29); h_SL1L261->SetBinContent(7,36964.29); h_SL1L261->SetBinContent(8,37242.86); h_SL1L261->SetBinContent(9,37250); h_SL1L261->SetBinContent(10,38371.43); h_SL1L261->SetBinContent(11,38135.71); h_SL1L261->SetBinContent(12,38414.29); h_SL1L261->SetBinContent(13,38271.43); h_SL1L261->SetBinContent(14,38850); h_SL1L261->SetBinContent(15,38650); h_SL1L261->SetBinContent(16,36321.43); h_SL1L261->SetBinContent(17,38157.14); h_SL1L261->SetBinContent(18,41071.43); h_SL1L261->SetBinContent(19,40971.43); h_SL1L261->SetBinContent(20,41314.29); h_SL1L261->SetBinContent(21,41107.14); h_SL1L261->SetBinContent(22,40757.14); h_SL1L261->SetBinContent(23,38614.29); h_SL1L261->SetBinContent(24,38735.71); h_SL1L261->SetBinContent(25,38278.57); h_SL1L261->SetBinContent(26,35435.71); h_SL1L261->SetBinContent(27,36942.86); h_SL1L261->SetBinContent(28,37042.86); h_SL1L261->SetBinContent(29,39921.43); h_SL1L261->SetBinContent(30,39978.57); h_SL1L261->SetBinContent(31,38992.86); h_SL1L261->SetBinContent(32,38085.71); h_SL1L261->SetBinContent(33,37121.43); h_SL1L261->SetBinContent(34,37942.86); h_SL1L261->SetBinContent(35,36464.29); h_SL1L261->SetBinContent(36,37700); h_SL1L261->SetBinContent(37,39492.86); h_SL1L261->SetBinContent(38,39800); h_SL1L261->SetBinContent(39,39964.29); h_SL1L261->SetBinContent(40,38642.86); h_SL1L261->SetBinContent(41,37900); h_SL1L261->SetBinContent(42,39235.71); h_SL1L261->SetBinContent(43,38714.29); h_SL1L261->SetBinContent(44,36535.71); h_SL1L261->SetBinContent(45,37500); h_SL1L261->SetBinContent(46,38385.71); h_SL1L261->SetBinContent(47,37764.29); h_SL1L261->SetBinContent(48,37550); h_SL1L261->SetBinContent(49,39507.14); h_SL1L261->SetBinContent(50,39692.86); h_SL1L261->SetBinContent(51,38314.29); h_SL1L261->SetBinContent(52,37600); h_SL1L261->SetBinContent(53,38828.57); h_SL1L261->SetBinContent(54,37685.71); h_SL1L261->SetBinContent(55,38235.71); h_SL1L261->SetBinContent(56,38107.14); h_SL1L261->SetMaximum(47511.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,31828.57); h_SL1L362->SetBinContent(2,33064.29); h_SL1L362->SetBinContent(3,34328.57); h_SL1L362->SetBinContent(4,34807.14); h_SL1L362->SetBinContent(5,35064.29); h_SL1L362->SetBinContent(6,35878.57); h_SL1L362->SetBinContent(7,35450); h_SL1L362->SetBinContent(8,36950); h_SL1L362->SetBinContent(9,36242.86); h_SL1L362->SetBinContent(10,37150); h_SL1L362->SetBinContent(11,37514.29); h_SL1L362->SetBinContent(12,37750); h_SL1L362->SetBinContent(13,38192.86); h_SL1L362->SetBinContent(14,36857.14); h_SL1L362->SetBinContent(15,37150); h_SL1L362->SetBinContent(16,37150); h_SL1L362->SetBinContent(17,38128.57); h_SL1L362->SetBinContent(18,40121.43); h_SL1L362->SetBinContent(19,40471.43); h_SL1L362->SetBinContent(20,40807.14); h_SL1L362->SetBinContent(21,39292.86); h_SL1L362->SetBinContent(22,37657.14); h_SL1L362->SetBinContent(23,37871.43); h_SL1L362->SetBinContent(24,37328.57); h_SL1L362->SetBinContent(25,35185.71); h_SL1L362->SetBinContent(26,34300); h_SL1L362->SetBinContent(27,36621.43); h_SL1L362->SetBinContent(28,39078.57); h_SL1L362->SetBinContent(29,39671.43); h_SL1L362->SetBinContent(30,38878.57); h_SL1L362->SetBinContent(31,37878.57); h_SL1L362->SetBinContent(32,36650); h_SL1L362->SetBinContent(33,36142.86); h_SL1L362->SetBinContent(34,36342.86); h_SL1L362->SetBinContent(35,36007.14); h_SL1L362->SetBinContent(36,37200); h_SL1L362->SetBinContent(37,38592.86); h_SL1L362->SetBinContent(38,37807.14); h_SL1L362->SetBinContent(39,38314.29); h_SL1L362->SetBinContent(40,36821.43); h_SL1L362->SetBinContent(41,38471.43); h_SL1L362->SetBinContent(42,38007.14); h_SL1L362->SetBinContent(43,35964.29); h_SL1L362->SetBinContent(44,36471.43); h_SL1L362->SetBinContent(45,35678.57); h_SL1L362->SetBinContent(46,37692.86); h_SL1L362->SetBinContent(47,37435.71); h_SL1L362->SetBinContent(48,37935.71); h_SL1L362->SetBinContent(49,38114.29); h_SL1L362->SetBinContent(50,37935.71); h_SL1L362->SetBinContent(51,36764.29); h_SL1L362->SetBinContent(52,37400); h_SL1L362->SetBinContent(53,37728.57); h_SL1L362->SetBinContent(54,36742.86); h_SL1L362->SetBinContent(55,36221.43); h_SL1L362->SetBinContent(56,35664.29); h_SL1L362->SetMaximum(47511.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,12921.43); h_SL1L463->SetBinContent(3,10557.14); h_SL1L463->SetBinContent(4,10442.86); h_SL1L463->SetBinContent(5,9328.571); h_SL1L463->SetBinContent(6,8714.285); h_SL1L463->SetBinContent(7,9550); h_SL1L463->SetBinContent(8,10307.14); h_SL1L463->SetBinContent(9,10885.71); h_SL1L463->SetBinContent(10,11714.29); h_SL1L463->SetBinContent(11,12928.57); h_SL1L463->SetBinContent(12,14950); h_SL1L463->SetBinContent(13,14371.43); h_SL1L463->SetBinContent(14,13714.29); h_SL1L463->SetBinContent(15,13814.29); h_SL1L463->SetBinContent(16,13071.43); h_SL1L463->SetBinContent(17,12235.71); h_SL1L463->SetBinContent(18,11671.43); h_SL1L463->SetBinContent(19,11571.43); h_SL1L463->SetBinContent(20,11185.71); h_SL1L463->SetBinContent(21,10064.29); h_SL1L463->SetBinContent(22,10214.29); h_SL1L463->SetBinContent(23,9957.143); h_SL1L463->SetBinContent(24,9528.571); h_SL1L463->SetBinContent(25,8285.714); h_SL1L463->SetBinContent(26,8414.285); h_SL1L463->SetBinContent(27,8507.143); h_SL1L463->SetBinContent(28,8392.857); h_SL1L463->SetBinContent(29,7742.857); h_SL1L463->SetBinContent(30,7728.571); h_SL1L463->SetBinContent(31,7692.857); h_SL1L463->SetBinContent(32,7500); h_SL1L463->SetBinContent(33,6935.714); h_SL1L463->SetBinContent(34,7128.571); h_SL1L463->SetBinContent(35,7007.143); h_SL1L463->SetBinContent(36,6478.571); h_SL1L463->SetBinContent(37,3885.714); h_SL1L463->SetBinContent(41,5550); h_SL1L463->SetBinContent(42,5728.571); h_SL1L463->SetBinContent(43,5428.571); h_SL1L463->SetBinContent(44,5392.857); h_SL1L463->SetBinContent(45,5421.429); h_SL1L463->SetBinContent(46,5442.857); h_SL1L463->SetBinContent(47,5285.714); h_SL1L463->SetBinContent(48,5157.143); h_SL1L463->SetBinContent(49,4971.429); h_SL1L463->SetBinContent(50,5350); h_SL1L463->SetBinContent(51,5871.429); h_SL1L463->SetBinContent(52,6007.143); h_SL1L463->SetBinContent(53,5821.429); h_SL1L463->SetBinContent(54,5235.714); h_SL1L463->SetBinContent(56,5950); h_SL1L463->SetMaximum(47511.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 7696"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }