void RatesPerCell_Removing_noisy_cells_run_7554_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:38:10 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8750.926,67.5,78758.33); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7554",60,0,60); h_SL1L160->SetBinContent(1,17271.43); h_SL1L160->SetBinContent(2,16678.57); h_SL1L160->SetBinContent(3,16314.29); h_SL1L160->SetBinContent(4,14271.43); h_SL1L160->SetBinContent(5,11471.43); h_SL1L160->SetBinContent(6,12985.71); h_SL1L160->SetBinContent(7,12242.86); h_SL1L160->SetBinContent(8,13042.86); h_SL1L160->SetBinContent(9,12092.86); h_SL1L160->SetBinContent(10,12185.71); h_SL1L160->SetBinContent(11,13050); h_SL1L160->SetBinContent(12,12728.57); h_SL1L160->SetBinContent(13,20714.29); h_SL1L160->SetBinContent(14,21750); h_SL1L160->SetBinContent(15,20900); h_SL1L160->SetBinContent(16,11164.29); h_SL1L160->SetBinContent(17,10364.29); h_SL1L160->SetBinContent(18,10750); h_SL1L160->SetBinContent(19,10728.57); h_SL1L160->SetBinContent(20,11371.43); h_SL1L160->SetBinContent(21,10614.29); h_SL1L160->SetBinContent(22,10450); h_SL1L160->SetBinContent(23,10007.14); h_SL1L160->SetBinContent(24,8521.429); h_SL1L160->SetBinContent(25,8100); h_SL1L160->SetBinContent(26,9471.429); h_SL1L160->SetBinContent(27,8400); h_SL1L160->SetBinContent(28,9085.714); h_SL1L160->SetBinContent(29,9457.143); h_SL1L160->SetBinContent(30,8978.571); h_SL1L160->SetBinContent(31,8535.714); h_SL1L160->SetBinContent(32,8078.571); h_SL1L160->SetBinContent(33,31235.71); h_SL1L160->SetBinContent(34,33892.86); h_SL1L160->SetBinContent(35,33271.43); h_SL1L160->SetBinContent(36,32742.86); h_SL1L160->SetBinContent(37,33050); h_SL1L160->SetBinContent(38,34685.71); h_SL1L160->SetBinContent(39,33114.29); h_SL1L160->SetBinContent(41,8307.143); h_SL1L160->SetBinContent(42,8735.714); h_SL1L160->SetBinContent(43,8142.857); h_SL1L160->SetBinContent(44,7735.714); h_SL1L160->SetBinContent(45,7057.143); h_SL1L160->SetBinContent(46,6885.714); h_SL1L160->SetBinContent(47,7135.714); h_SL1L160->SetBinContent(48,6571.429); h_SL1L160->SetBinContent(49,6985.714); h_SL1L160->SetBinContent(50,7757.143); h_SL1L160->SetBinContent(51,7557.143); h_SL1L160->SetBinContent(52,7414.286); h_SL1L160->SetBinContent(53,8100); h_SL1L160->SetBinContent(54,7671.429); h_SL1L160->SetBinContent(55,8278.571); h_SL1L160->SetBinContent(56,9007.143); h_SL1L160->SetMaximum(70007.4); 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,36478.57); h_SL1L261->SetBinContent(2,37328.57); h_SL1L261->SetBinContent(3,38878.57); h_SL1L261->SetBinContent(4,39842.86); h_SL1L261->SetBinContent(5,39707.14); h_SL1L261->SetBinContent(6,41392.86); h_SL1L261->SetBinContent(7,40792.86); h_SL1L261->SetBinContent(8,42314.29); h_SL1L261->SetBinContent(9,42471.43); h_SL1L261->SetBinContent(10,41992.86); h_SL1L261->SetBinContent(11,43842.86); h_SL1L261->SetBinContent(12,43278.57); h_SL1L261->SetBinContent(13,42742.86); h_SL1L261->SetBinContent(14,44221.43); h_SL1L261->SetBinContent(15,44321.43); h_SL1L261->SetBinContent(16,43700); h_SL1L261->SetBinContent(17,43135.71); h_SL1L261->SetBinContent(18,46421.43); h_SL1L261->SetBinContent(19,47042.86); h_SL1L261->SetBinContent(20,46614.29); h_SL1L261->SetBinContent(21,46757.14); h_SL1L261->SetBinContent(22,44878.57); h_SL1L261->SetBinContent(23,43371.43); h_SL1L261->SetBinContent(24,43657.14); h_SL1L261->SetBinContent(25,44492.86); h_SL1L261->SetBinContent(26,40064.29); h_SL1L261->SetBinContent(27,40907.14); h_SL1L261->SetBinContent(28,43650); h_SL1L261->SetBinContent(29,44585.71); h_SL1L261->SetBinContent(30,45478.57); h_SL1L261->SetBinContent(31,44671.43); h_SL1L261->SetBinContent(32,43742.86); h_SL1L261->SetBinContent(33,41300); h_SL1L261->SetBinContent(34,44114.29); h_SL1L261->SetBinContent(35,41828.57); h_SL1L261->SetBinContent(36,43435.71); h_SL1L261->SetBinContent(37,44607.14); h_SL1L261->SetBinContent(38,45300); h_SL1L261->SetBinContent(39,43621.43); h_SL1L261->SetBinContent(40,44500); h_SL1L261->SetBinContent(41,43828.57); h_SL1L261->SetBinContent(42,44164.29); h_SL1L261->SetBinContent(43,43557.14); h_SL1L261->SetBinContent(44,42114.29); h_SL1L261->SetBinContent(45,42607.14); h_SL1L261->SetBinContent(46,43285.71); h_SL1L261->SetBinContent(47,43592.86); h_SL1L261->SetBinContent(48,42435.71); h_SL1L261->SetBinContent(49,47750); h_SL1L261->SetBinContent(50,44592.86); h_SL1L261->SetBinContent(51,43464.29); h_SL1L261->SetBinContent(52,42128.57); h_SL1L261->SetBinContent(53,44250); h_SL1L261->SetBinContent(54,42557.14); h_SL1L261->SetBinContent(55,42542.86); h_SL1L261->SetBinContent(56,42421.43); h_SL1L261->SetMaximum(60876.07); 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,34864.29); h_SL1L362->SetBinContent(2,37300); h_SL1L362->SetBinContent(3,38364.29); h_SL1L362->SetBinContent(4,39021.43); h_SL1L362->SetBinContent(5,38628.57); h_SL1L362->SetBinContent(6,39850); h_SL1L362->SetBinContent(7,40400); h_SL1L362->SetBinContent(8,41792.86); h_SL1L362->SetBinContent(9,40300); h_SL1L362->SetBinContent(10,41707.14); h_SL1L362->SetBinContent(11,41807.14); h_SL1L362->SetBinContent(12,43828.57); h_SL1L362->SetBinContent(13,42714.29); h_SL1L362->SetBinContent(14,44807.14); h_SL1L362->SetBinContent(15,47050); h_SL1L362->SetBinContent(16,42157.14); h_SL1L362->SetBinContent(17,43107.14); h_SL1L362->SetBinContent(18,45257.14); h_SL1L362->SetBinContent(19,45242.86); h_SL1L362->SetBinContent(20,46235.71); h_SL1L362->SetBinContent(21,45121.43); h_SL1L362->SetBinContent(22,43457.14); h_SL1L362->SetBinContent(23,42471.43); h_SL1L362->SetBinContent(24,42171.43); h_SL1L362->SetBinContent(25,41114.29); h_SL1L362->SetBinContent(26,39707.14); h_SL1L362->SetBinContent(27,40328.57); h_SL1L362->SetBinContent(28,44242.86); h_SL1L362->SetBinContent(29,43364.29); h_SL1L362->SetBinContent(30,44221.43); h_SL1L362->SetBinContent(31,42764.29); h_SL1L362->SetBinContent(32,41985.71); h_SL1L362->SetBinContent(33,42621.43); h_SL1L362->SetBinContent(34,42085.71); h_SL1L362->SetBinContent(35,41878.57); h_SL1L362->SetBinContent(36,43457.14); h_SL1L362->SetBinContent(37,44985.71); h_SL1L362->SetBinContent(38,43764.29); h_SL1L362->SetBinContent(39,42728.57); h_SL1L362->SetBinContent(40,42914.29); h_SL1L362->SetBinContent(41,43700); h_SL1L362->SetBinContent(42,43171.43); h_SL1L362->SetBinContent(43,40571.43); h_SL1L362->SetBinContent(44,40457.14); h_SL1L362->SetBinContent(45,41935.71); h_SL1L362->SetBinContent(46,42214.29); h_SL1L362->SetBinContent(47,41035.71); h_SL1L362->SetBinContent(48,41942.86); h_SL1L362->SetBinContent(49,42000); h_SL1L362->SetBinContent(50,42285.71); h_SL1L362->SetBinContent(51,41242.86); h_SL1L362->SetBinContent(52,41050); h_SL1L362->SetBinContent(53,42392.86); h_SL1L362->SetBinContent(54,41192.86); h_SL1L362->SetBinContent(55,41600); h_SL1L362->SetBinContent(56,41957.14); h_SL1L362->SetMaximum(60876.07); 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,31885.71); h_SL1L463->SetBinContent(3,31250); h_SL1L463->SetBinContent(4,31878.57); h_SL1L463->SetBinContent(5,31085.71); h_SL1L463->SetBinContent(6,32057.14); h_SL1L463->SetBinContent(7,32428.57); h_SL1L463->SetBinContent(8,33785.71); h_SL1L463->SetBinContent(9,34285.71); h_SL1L463->SetBinContent(10,34400); h_SL1L463->SetBinContent(11,37578.57); h_SL1L463->SetBinContent(12,38321.43); h_SL1L463->SetBinContent(13,38564.29); h_SL1L463->SetBinContent(14,52935.71); h_SL1L463->SetBinContent(15,47221.43); h_SL1L463->SetBinContent(16,47035.71); h_SL1L463->SetBinContent(17,36492.86); h_SL1L463->SetBinContent(18,37535.71); h_SL1L463->SetBinContent(19,36085.71); h_SL1L463->SetBinContent(20,36850); h_SL1L463->SetBinContent(21,36607.14); h_SL1L463->SetBinContent(22,35028.57); h_SL1L463->SetBinContent(23,32871.43); h_SL1L463->SetBinContent(24,33478.57); h_SL1L463->SetBinContent(25,31985.71); h_SL1L463->SetBinContent(26,30257.14); h_SL1L463->SetBinContent(27,30271.43); h_SL1L463->SetBinContent(28,31892.86); h_SL1L463->SetBinContent(29,32250); h_SL1L463->SetBinContent(30,32907.14); h_SL1L463->SetBinContent(31,32550); h_SL1L463->SetBinContent(32,29635.71); h_SL1L463->SetBinContent(33,28578.57); h_SL1L463->SetBinContent(34,32207.14); h_SL1L463->SetBinContent(35,33292.86); h_SL1L463->SetBinContent(36,29828.57); h_SL1L463->SetBinContent(37,4714.286); h_SL1L463->SetBinContent(38,14.28571); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,26364.29); h_SL1L463->SetBinContent(42,27850); h_SL1L463->SetBinContent(43,27950); h_SL1L463->SetBinContent(44,26835.71); h_SL1L463->SetBinContent(45,25550); h_SL1L463->SetBinContent(46,26271.43); h_SL1L463->SetBinContent(47,24592.86); h_SL1L463->SetBinContent(48,24692.86); h_SL1L463->SetBinContent(49,23171.43); h_SL1L463->SetBinContent(50,25328.57); h_SL1L463->SetBinContent(51,24385.71); h_SL1L463->SetBinContent(52,25921.43); h_SL1L463->SetBinContent(53,25450); h_SL1L463->SetBinContent(54,24850); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,26157.14); h_SL1L463->SetMaximum(60876.07); 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 7554"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }