void RatesPerCell_Removing_noisy_cells_run_6951_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5718.519,67.5,51466.67); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6951",60,0,60); h_SL1L160->SetBinContent(1,17214.29); h_SL1L160->SetBinContent(2,18078.57); h_SL1L160->SetBinContent(3,19235.71); h_SL1L160->SetBinContent(4,20557.14); h_SL1L160->SetBinContent(5,20685.71); h_SL1L160->SetBinContent(6,21121.43); h_SL1L160->SetBinContent(7,22200); h_SL1L160->SetBinContent(8,21685.71); h_SL1L160->SetBinContent(9,21292.86); h_SL1L160->SetBinContent(10,22064.29); h_SL1L160->SetBinContent(11,20964.29); h_SL1L160->SetBinContent(12,22371.43); h_SL1L160->SetBinContent(13,21914.29); h_SL1L160->SetBinContent(14,21321.43); h_SL1L160->SetBinContent(15,20042.86); h_SL1L160->SetBinContent(16,19314.29); h_SL1L160->SetBinContent(17,19614.29); h_SL1L160->SetBinContent(18,21771.43); h_SL1L160->SetBinContent(19,21414.29); h_SL1L160->SetBinContent(20,21642.86); h_SL1L160->SetBinContent(21,22871.43); h_SL1L160->SetBinContent(22,23050); h_SL1L160->SetBinContent(23,21385.71); h_SL1L160->SetBinContent(24,21071.43); h_SL1L160->SetBinContent(25,21500); h_SL1L160->SetBinContent(26,22700); h_SL1L160->SetBinContent(27,20657.14); h_SL1L160->SetBinContent(28,21128.57); h_SL1L160->SetBinContent(29,20850); h_SL1L160->SetBinContent(30,21735.71); h_SL1L160->SetBinContent(31,20628.57); h_SL1L160->SetBinContent(32,19735.71); h_SL1L160->SetBinContent(33,19700); h_SL1L160->SetBinContent(34,19900); h_SL1L160->SetBinContent(35,18907.14); h_SL1L160->SetBinContent(36,18650); h_SL1L160->SetBinContent(37,19285.71); h_SL1L160->SetBinContent(38,31757.14); h_SL1L160->SetBinContent(39,19021.43); h_SL1L160->SetBinContent(40,17971.43); h_SL1L160->SetBinContent(41,19235.71); h_SL1L160->SetBinContent(42,18885.71); h_SL1L160->SetBinContent(43,18142.86); h_SL1L160->SetBinContent(44,18285.71); h_SL1L160->SetBinContent(45,17028.57); h_SL1L160->SetBinContent(46,17300); h_SL1L160->SetBinContent(47,16371.43); h_SL1L160->SetBinContent(48,16207.14); h_SL1L160->SetBinContent(49,17285.71); h_SL1L160->SetBinContent(50,18057.14); h_SL1L160->SetBinContent(51,16535.71); h_SL1L160->SetBinContent(52,16592.86); h_SL1L160->SetBinContent(53,17014.29); h_SL1L160->SetBinContent(54,15928.57); h_SL1L160->SetBinContent(55,15628.57); h_SL1L160->SetBinContent(56,16807.14); h_SL1L160->SetBinContent(57,18471.43); h_SL1L160->SetBinContent(58,18971.43); h_SL1L160->SetBinContent(59,16828.57); h_SL1L160->SetMaximum(45748.15); 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,16657.14); h_SL1L261->SetBinContent(2,17478.57); h_SL1L261->SetBinContent(3,18864.29); h_SL1L261->SetBinContent(4,19850); h_SL1L261->SetBinContent(5,21785.71); h_SL1L261->SetBinContent(6,23300); h_SL1L261->SetBinContent(7,23050); h_SL1L261->SetBinContent(8,23350); h_SL1L261->SetBinContent(9,23835.71); h_SL1L261->SetBinContent(10,23535.71); h_SL1L261->SetBinContent(11,23650); h_SL1L261->SetBinContent(12,23907.14); h_SL1L261->SetBinContent(13,23850); h_SL1L261->SetBinContent(14,24528.57); h_SL1L261->SetBinContent(15,22685.71); h_SL1L261->SetBinContent(16,22985.71); h_SL1L261->SetBinContent(17,22900); h_SL1L261->SetBinContent(18,25000); h_SL1L261->SetBinContent(19,25214.29); h_SL1L261->SetBinContent(20,25557.14); h_SL1L261->SetBinContent(21,26957.14); h_SL1L261->SetBinContent(22,27635.71); h_SL1L261->SetBinContent(23,27300); h_SL1L261->SetBinContent(24,26600); h_SL1L261->SetBinContent(25,28071.43); h_SL1L261->SetBinContent(26,26564.29); h_SL1L261->SetBinContent(27,26414.29); h_SL1L261->SetBinContent(28,29585.71); h_SL1L261->SetBinContent(29,27992.86); h_SL1L261->SetBinContent(30,27692.86); h_SL1L261->SetBinContent(31,29135.71); h_SL1L261->SetBinContent(32,25442.86); h_SL1L261->SetBinContent(33,26307.14); h_SL1L261->SetBinContent(34,25614.29); h_SL1L261->SetBinContent(35,24800); h_SL1L261->SetBinContent(36,23914.29); h_SL1L261->SetBinContent(37,24685.71); h_SL1L261->SetBinContent(38,25850); h_SL1L261->SetBinContent(39,25071.43); h_SL1L261->SetBinContent(40,25085.71); h_SL1L261->SetBinContent(41,25550); h_SL1L261->SetBinContent(42,23207.14); h_SL1L261->SetBinContent(43,21928.57); h_SL1L261->SetBinContent(44,22435.71); h_SL1L261->SetBinContent(45,21900); h_SL1L261->SetBinContent(46,22771.43); h_SL1L261->SetBinContent(47,23235.71); h_SL1L261->SetBinContent(48,22357.14); h_SL1L261->SetBinContent(49,34592.86); h_SL1L261->SetBinContent(50,22428.57); h_SL1L261->SetBinContent(51,22278.57); h_SL1L261->SetBinContent(52,21750); h_SL1L261->SetBinContent(53,22607.14); h_SL1L261->SetBinContent(54,23100); h_SL1L261->SetBinContent(55,21614.29); h_SL1L261->SetBinContent(56,26692.86); h_SL1L261->SetBinContent(57,22057.14); h_SL1L261->SetBinContent(58,21550); h_SL1L261->SetBinContent(59,17121.43); h_SL1L261->SetMaximum(39781.78); 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,16421.43); h_SL1L362->SetBinContent(2,17042.86); h_SL1L362->SetBinContent(3,19178.57); h_SL1L362->SetBinContent(4,20328.57); h_SL1L362->SetBinContent(5,22942.86); h_SL1L362->SetBinContent(6,22928.57); h_SL1L362->SetBinContent(7,22764.29); h_SL1L362->SetBinContent(8,23792.86); h_SL1L362->SetBinContent(9,23128.57); h_SL1L362->SetBinContent(10,22750); h_SL1L362->SetBinContent(11,23750); h_SL1L362->SetBinContent(12,23850); h_SL1L362->SetBinContent(13,23871.43); h_SL1L362->SetBinContent(14,23907.14); h_SL1L362->SetBinContent(15,22792.86); h_SL1L362->SetBinContent(16,23164.29); h_SL1L362->SetBinContent(17,23664.29); h_SL1L362->SetBinContent(18,25600); h_SL1L362->SetBinContent(19,24314.29); h_SL1L362->SetBinContent(20,26907.14); h_SL1L362->SetBinContent(21,26385.71); h_SL1L362->SetBinContent(22,26021.43); h_SL1L362->SetBinContent(23,26228.57); h_SL1L362->SetBinContent(24,27157.14); h_SL1L362->SetBinContent(25,27042.86); h_SL1L362->SetBinContent(26,26050); h_SL1L362->SetBinContent(27,27028.57); h_SL1L362->SetBinContent(28,27435.71); h_SL1L362->SetBinContent(29,26821.43); h_SL1L362->SetBinContent(30,26000); h_SL1L362->SetBinContent(31,26014.29); h_SL1L362->SetBinContent(32,26100); h_SL1L362->SetBinContent(33,25492.86); h_SL1L362->SetBinContent(34,24621.43); h_SL1L362->SetBinContent(35,24271.43); h_SL1L362->SetBinContent(36,23914.29); h_SL1L362->SetBinContent(37,25000); h_SL1L362->SetBinContent(38,24457.14); h_SL1L362->SetBinContent(39,24428.57); h_SL1L362->SetBinContent(40,24178.57); h_SL1L362->SetBinContent(41,23214.29); h_SL1L362->SetBinContent(42,21642.86); h_SL1L362->SetBinContent(43,21864.29); h_SL1L362->SetBinContent(44,21264.29); h_SL1L362->SetBinContent(45,22414.29); h_SL1L362->SetBinContent(46,23150); h_SL1L362->SetBinContent(47,22235.71); h_SL1L362->SetBinContent(48,22207.14); h_SL1L362->SetBinContent(49,22607.14); h_SL1L362->SetBinContent(50,23242.86); h_SL1L362->SetBinContent(51,21300); h_SL1L362->SetBinContent(52,22578.57); h_SL1L362->SetBinContent(53,26092.86); h_SL1L362->SetBinContent(54,21635.71); h_SL1L362->SetBinContent(55,21035.71); h_SL1L362->SetBinContent(56,26128.57); h_SL1L362->SetBinContent(57,21892.86); h_SL1L362->SetBinContent(58,20728.57); h_SL1L362->SetBinContent(59,16585.71); h_SL1L362->SetMaximum(39781.78); 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,16064.29); h_SL1L463->SetBinContent(3,17271.43); h_SL1L463->SetBinContent(4,18792.86); h_SL1L463->SetBinContent(5,20857.14); h_SL1L463->SetBinContent(6,19928.57); h_SL1L463->SetBinContent(7,20378.57); h_SL1L463->SetBinContent(8,21385.71); h_SL1L463->SetBinContent(9,21300); h_SL1L463->SetBinContent(10,21592.86); h_SL1L463->SetBinContent(11,21571.43); h_SL1L463->SetBinContent(12,22357.14); h_SL1L463->SetBinContent(13,22742.86); h_SL1L463->SetBinContent(14,23171.43); h_SL1L463->SetBinContent(15,21971.43); h_SL1L463->SetBinContent(16,22157.14); h_SL1L463->SetBinContent(17,21264.29); h_SL1L463->SetBinContent(18,23450); h_SL1L463->SetBinContent(19,22528.57); h_SL1L463->SetBinContent(20,23535.71); h_SL1L463->SetBinContent(21,24292.86); h_SL1L463->SetBinContent(22,23707.14); h_SL1L463->SetBinContent(23,23807.14); h_SL1L463->SetBinContent(24,23885.71); h_SL1L463->SetBinContent(25,23900); h_SL1L463->SetBinContent(26,23814.29); h_SL1L463->SetBinContent(27,23614.29); h_SL1L463->SetBinContent(28,24171.43); h_SL1L463->SetBinContent(29,24478.57); h_SL1L463->SetBinContent(30,24414.29); h_SL1L463->SetBinContent(31,23292.86); h_SL1L463->SetBinContent(32,21650); h_SL1L463->SetBinContent(33,21750); h_SL1L463->SetBinContent(34,22742.86); h_SL1L463->SetBinContent(35,22642.86); h_SL1L463->SetBinContent(36,20735.71); h_SL1L463->SetBinContent(37,20657.14); h_SL1L463->SetBinContent(38,21535.71); h_SL1L463->SetBinContent(39,22121.43); h_SL1L463->SetBinContent(40,20764.29); h_SL1L463->SetBinContent(41,21071.43); h_SL1L463->SetBinContent(42,20078.57); h_SL1L463->SetBinContent(43,19000); h_SL1L463->SetBinContent(44,19692.86); h_SL1L463->SetBinContent(45,19021.43); h_SL1L463->SetBinContent(46,20428.57); h_SL1L463->SetBinContent(47,19078.57); h_SL1L463->SetBinContent(48,19400); h_SL1L463->SetBinContent(49,18957.14); h_SL1L463->SetBinContent(50,18728.57); h_SL1L463->SetBinContent(51,17178.57); h_SL1L463->SetBinContent(52,17978.57); h_SL1L463->SetBinContent(53,17485.71); h_SL1L463->SetBinContent(54,17571.43); h_SL1L463->SetBinContent(56,17407.14); h_SL1L463->SetBinContent(57,17507.14); h_SL1L463->SetBinContent(58,18878.57); h_SL1L463->SetBinContent(59,15692.86); h_SL1L463->SetMaximum(39781.78); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6951"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }