void RatesPerCell_Removing_noisy_cells_run_7749_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:22:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5733.9,67.5,51605.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7749",60,0,60); h_SL1L160->SetBinContent(1,13871.43); h_SL1L160->SetBinContent(2,13150); h_SL1L160->SetBinContent(3,13821.43); h_SL1L160->SetBinContent(4,12871.43); h_SL1L160->SetBinContent(5,10885.71); h_SL1L160->SetBinContent(6,11878.57); h_SL1L160->SetBinContent(7,10957.14); h_SL1L160->SetBinContent(8,11721.43); h_SL1L160->SetBinContent(9,10992.86); h_SL1L160->SetBinContent(10,12000); h_SL1L160->SetBinContent(11,12192.86); h_SL1L160->SetBinContent(12,11592.86); h_SL1L160->SetBinContent(13,18871.43); h_SL1L160->SetBinContent(14,20842.86); h_SL1L160->SetBinContent(15,20264.29); h_SL1L160->SetBinContent(16,10350); h_SL1L160->SetBinContent(17,9885.714); h_SL1L160->SetBinContent(18,10985.71); h_SL1L160->SetBinContent(19,10928.57); h_SL1L160->SetBinContent(20,10778.57); h_SL1L160->SetBinContent(21,10135.71); h_SL1L160->SetBinContent(22,9928.571); h_SL1L160->SetBinContent(23,9307.143); h_SL1L160->SetBinContent(24,8071.429); h_SL1L160->SetBinContent(25,8414.285); h_SL1L160->SetBinContent(26,9242.857); h_SL1L160->SetBinContent(27,8864.285); h_SL1L160->SetBinContent(28,8621.429); h_SL1L160->SetBinContent(29,9285.714); h_SL1L160->SetBinContent(30,8507.143); h_SL1L160->SetBinContent(31,8271.429); h_SL1L160->SetBinContent(32,7314.286); h_SL1L160->SetBinContent(33,22807.14); h_SL1L160->SetBinContent(34,23135.71); h_SL1L160->SetBinContent(35,22492.86); h_SL1L160->SetBinContent(36,22700); h_SL1L160->SetBinContent(37,23164.29); h_SL1L160->SetBinContent(38,23600); h_SL1L160->SetBinContent(39,22200); h_SL1L160->SetBinContent(41,8264.285); h_SL1L160->SetBinContent(42,8950); h_SL1L160->SetBinContent(43,7750); h_SL1L160->SetBinContent(44,7485.714); h_SL1L160->SetBinContent(45,7228.571); h_SL1L160->SetBinContent(46,6714.286); h_SL1L160->SetBinContent(47,6528.571); h_SL1L160->SetBinContent(48,6585.714); h_SL1L160->SetBinContent(49,7335.714); h_SL1L160->SetBinContent(50,7421.429); h_SL1L160->SetBinContent(51,7300); h_SL1L160->SetBinContent(52,7642.857); h_SL1L160->SetBinContent(53,7250); h_SL1L160->SetBinContent(54,7971.429); h_SL1L160->SetBinContent(55,8164.286); h_SL1L160->SetBinContent(56,8235.714); h_SL1L160->SetMaximum(45871.2); 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,18521.43); h_SL1L261->SetBinContent(2,20142.86); h_SL1L261->SetBinContent(3,20678.57); h_SL1L261->SetBinContent(4,21235.71); h_SL1L261->SetBinContent(5,21278.57); h_SL1L261->SetBinContent(6,22328.57); h_SL1L261->SetBinContent(7,23450); h_SL1L261->SetBinContent(8,22892.86); h_SL1L261->SetBinContent(9,23150); h_SL1L261->SetBinContent(10,22028.57); h_SL1L261->SetBinContent(11,23435.71); h_SL1L261->SetBinContent(12,25150); h_SL1L261->SetBinContent(13,24471.43); h_SL1L261->SetBinContent(14,25607.14); h_SL1L261->SetBinContent(15,27092.86); h_SL1L261->SetBinContent(16,23635.71); h_SL1L261->SetBinContent(17,23992.86); h_SL1L261->SetBinContent(18,25271.43); h_SL1L261->SetBinContent(19,25464.29); h_SL1L261->SetBinContent(20,25921.43); h_SL1L261->SetBinContent(21,25464.29); h_SL1L261->SetBinContent(22,25564.29); h_SL1L261->SetBinContent(23,23435.71); h_SL1L261->SetBinContent(24,23900); h_SL1L261->SetBinContent(25,24578.57); h_SL1L261->SetBinContent(26,22992.86); h_SL1L261->SetBinContent(27,22842.86); h_SL1L261->SetBinContent(28,24228.57); h_SL1L261->SetBinContent(29,24707.14); h_SL1L261->SetBinContent(30,25578.57); h_SL1L261->SetBinContent(31,24657.14); h_SL1L261->SetBinContent(32,24414.29); h_SL1L261->SetBinContent(33,23950); h_SL1L261->SetBinContent(34,25771.43); h_SL1L261->SetBinContent(35,24192.86); h_SL1L261->SetBinContent(36,23457.14); h_SL1L261->SetBinContent(37,26750); h_SL1L261->SetBinContent(38,25214.29); h_SL1L261->SetBinContent(39,24357.14); h_SL1L261->SetBinContent(40,24664.29); h_SL1L261->SetBinContent(41,24421.43); h_SL1L261->SetBinContent(42,25535.71); h_SL1L261->SetBinContent(43,24707.14); h_SL1L261->SetBinContent(44,23471.43); h_SL1L261->SetBinContent(45,24400); h_SL1L261->SetBinContent(46,24335.71); h_SL1L261->SetBinContent(47,23371.43); h_SL1L261->SetBinContent(48,23928.57); h_SL1L261->SetBinContent(49,24400); h_SL1L261->SetBinContent(50,24300); h_SL1L261->SetBinContent(51,24892.86); h_SL1L261->SetBinContent(52,24078.57); h_SL1L261->SetBinContent(53,24342.86); h_SL1L261->SetBinContent(54,24107.14); h_SL1L261->SetBinContent(55,23285.71); h_SL1L261->SetBinContent(56,23178.57); h_SL1L261->SetMaximum(39888.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,19107.14); h_SL1L362->SetBinContent(2,19764.29); h_SL1L362->SetBinContent(3,19921.43); h_SL1L362->SetBinContent(4,20592.86); h_SL1L362->SetBinContent(5,22485.71); h_SL1L362->SetBinContent(6,21728.57); h_SL1L362->SetBinContent(7,22114.29); h_SL1L362->SetBinContent(8,23357.14); h_SL1L362->SetBinContent(9,22214.29); h_SL1L362->SetBinContent(10,23642.86); h_SL1L362->SetBinContent(11,22714.29); h_SL1L362->SetBinContent(12,24442.86); h_SL1L362->SetBinContent(13,24435.71); h_SL1L362->SetBinContent(14,26828.57); h_SL1L362->SetBinContent(15,30121.43); h_SL1L362->SetBinContent(16,23521.43); h_SL1L362->SetBinContent(17,23964.29); h_SL1L362->SetBinContent(18,25292.86); h_SL1L362->SetBinContent(19,24914.29); h_SL1L362->SetBinContent(20,25692.86); h_SL1L362->SetBinContent(21,24928.57); h_SL1L362->SetBinContent(22,24007.14); h_SL1L362->SetBinContent(23,22935.71); h_SL1L362->SetBinContent(24,24021.43); h_SL1L362->SetBinContent(25,23664.29); h_SL1L362->SetBinContent(26,21557.14); h_SL1L362->SetBinContent(27,23114.29); h_SL1L362->SetBinContent(28,24728.57); h_SL1L362->SetBinContent(29,24900); h_SL1L362->SetBinContent(30,23714.29); h_SL1L362->SetBinContent(31,24257.14); h_SL1L362->SetBinContent(32,23685.71); h_SL1L362->SetBinContent(33,24228.57); h_SL1L362->SetBinContent(34,23807.14); h_SL1L362->SetBinContent(35,23150); h_SL1L362->SetBinContent(36,25921.43); h_SL1L362->SetBinContent(37,28221.43); h_SL1L362->SetBinContent(38,24942.86); h_SL1L362->SetBinContent(39,23771.43); h_SL1L362->SetBinContent(40,23714.29); h_SL1L362->SetBinContent(41,24614.29); h_SL1L362->SetBinContent(42,24607.14); h_SL1L362->SetBinContent(43,24057.14); h_SL1L362->SetBinContent(44,23107.14); h_SL1L362->SetBinContent(45,24385.71); h_SL1L362->SetBinContent(46,23978.57); h_SL1L362->SetBinContent(47,23378.57); h_SL1L362->SetBinContent(48,23564.29); h_SL1L362->SetBinContent(49,23607.14); h_SL1L362->SetBinContent(50,24185.71); h_SL1L362->SetBinContent(51,22821.43); h_SL1L362->SetBinContent(52,23064.29); h_SL1L362->SetBinContent(53,24685.71); h_SL1L362->SetBinContent(54,23178.57); h_SL1L362->SetBinContent(55,22835.71); h_SL1L362->SetBinContent(56,21871.43); h_SL1L362->SetMaximum(39888.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,16050); h_SL1L463->SetBinContent(3,15407.14); h_SL1L463->SetBinContent(4,15450); h_SL1L463->SetBinContent(5,15671.43); h_SL1L463->SetBinContent(6,15721.43); h_SL1L463->SetBinContent(7,16700); h_SL1L463->SetBinContent(8,17614.29); h_SL1L463->SetBinContent(9,17792.86); h_SL1L463->SetBinContent(10,18707.14); h_SL1L463->SetBinContent(11,19442.86); h_SL1L463->SetBinContent(12,19964.29); h_SL1L463->SetBinContent(13,21592.86); h_SL1L463->SetBinContent(14,34685.71); h_SL1L463->SetBinContent(15,30657.14); h_SL1L463->SetBinContent(16,29078.57); h_SL1L463->SetBinContent(17,18678.57); h_SL1L463->SetBinContent(18,20128.57); h_SL1L463->SetBinContent(19,19671.43); h_SL1L463->SetBinContent(20,19007.14); h_SL1L463->SetBinContent(21,19107.14); h_SL1L463->SetBinContent(22,17728.57); h_SL1L463->SetBinContent(23,16607.14); h_SL1L463->SetBinContent(24,17257.14); h_SL1L463->SetBinContent(25,15942.86); h_SL1L463->SetBinContent(26,15992.86); h_SL1L463->SetBinContent(27,15057.14); h_SL1L463->SetBinContent(28,15907.14); h_SL1L463->SetBinContent(29,15557.14); h_SL1L463->SetBinContent(30,16407.14); h_SL1L463->SetBinContent(31,15550); h_SL1L463->SetBinContent(32,15492.86); h_SL1L463->SetBinContent(33,14928.57); h_SL1L463->SetBinContent(34,18285.71); h_SL1L463->SetBinContent(35,17764.29); h_SL1L463->SetBinContent(36,15535.71); h_SL1L463->SetBinContent(37,18571.43); h_SL1L463->SetBinContent(38,35.71429); h_SL1L463->SetBinContent(41,14528.57); h_SL1L463->SetBinContent(42,15350); h_SL1L463->SetBinContent(43,15721.43); h_SL1L463->SetBinContent(44,15428.57); h_SL1L463->SetBinContent(45,13921.43); h_SL1L463->SetBinContent(46,14607.14); h_SL1L463->SetBinContent(47,13228.57); h_SL1L463->SetBinContent(48,13164.29); h_SL1L463->SetBinContent(49,12585.71); h_SL1L463->SetBinContent(50,12607.14); h_SL1L463->SetBinContent(51,12650); h_SL1L463->SetBinContent(52,12950); h_SL1L463->SetBinContent(53,12521.43); h_SL1L463->SetBinContent(54,12464.29); h_SL1L463->SetBinContent(55,1100); h_SL1L463->SetBinContent(56,13242.86); h_SL1L463->SetMaximum(39888.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 7749"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }