void RatesPerCell_Removing_noisy_cells_run_5990_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:24 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1379.569,67.5,12416.12); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5990",60,0,60); h_SL1L160->SetBinContent(1,2404.762); h_SL1L160->SetBinContent(2,2657.143); h_SL1L160->SetBinContent(3,3178.571); h_SL1L160->SetBinContent(4,3523.81); h_SL1L160->SetBinContent(5,3685.714); h_SL1L160->SetBinContent(6,4064.286); h_SL1L160->SetBinContent(7,3954.762); h_SL1L160->SetBinContent(8,4121.429); h_SL1L160->SetBinContent(9,4373.81); h_SL1L160->SetBinContent(10,4209.524); h_SL1L160->SetBinContent(11,4071.428); h_SL1L160->SetBinContent(12,3976.19); h_SL1L160->SetBinContent(13,4611.905); h_SL1L160->SetBinContent(14,4354.762); h_SL1L160->SetBinContent(15,4002.381); h_SL1L160->SetBinContent(16,4123.81); h_SL1L160->SetBinContent(17,4147.619); h_SL1L160->SetBinContent(18,4559.524); h_SL1L160->SetBinContent(19,4195.238); h_SL1L160->SetBinContent(20,4107.143); h_SL1L160->SetBinContent(21,4554.762); h_SL1L160->SetBinContent(22,4380.952); h_SL1L160->SetBinContent(23,4490.476); h_SL1L160->SetBinContent(24,4021.428); h_SL1L160->SetBinContent(25,4547.619); h_SL1L160->SetBinContent(26,4423.81); h_SL1L160->SetBinContent(27,4059.524); h_SL1L160->SetBinContent(28,4314.286); h_SL1L160->SetBinContent(29,4678.571); h_SL1L160->SetBinContent(30,4916.667); h_SL1L160->SetBinContent(31,4404.762); h_SL1L160->SetBinContent(32,4288.095); h_SL1L160->SetBinContent(33,5280.952); h_SL1L160->SetBinContent(34,5233.333); h_SL1L160->SetBinContent(35,4690.476); h_SL1L160->SetBinContent(36,4326.19); h_SL1L160->SetBinContent(37,4819.047); h_SL1L160->SetBinContent(38,5233.333); h_SL1L160->SetBinContent(39,4261.905); h_SL1L160->SetBinContent(40,4159.524); h_SL1L160->SetBinContent(41,4692.857); h_SL1L160->SetBinContent(42,4878.571); h_SL1L160->SetBinContent(43,4414.286); h_SL1L160->SetBinContent(44,4252.381); h_SL1L160->SetBinContent(45,4292.857); h_SL1L160->SetBinContent(46,4019.048); h_SL1L160->SetBinContent(47,3342.857); h_SL1L160->SetBinContent(48,3159.524); h_SL1L160->SetBinContent(49,3730.952); h_SL1L160->SetBinContent(50,3409.524); h_SL1L160->SetBinContent(51,3169.048); h_SL1L160->SetBinContent(52,3009.524); h_SL1L160->SetBinContent(53,3140.476); h_SL1L160->SetBinContent(54,3090.476); h_SL1L160->SetBinContent(55,2516.667); h_SL1L160->SetBinContent(56,2478.571); h_SL1L160->SetBinContent(57,2416.667); h_SL1L160->SetBinContent(58,2326.19); h_SL1L160->SetBinContent(59,1973.809); h_SL1L160->SetMaximum(11036.55); 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,3073.81); h_SL1L261->SetBinContent(2,3776.19); h_SL1L261->SetBinContent(3,4442.857); h_SL1L261->SetBinContent(4,5452.381); h_SL1L261->SetBinContent(5,6221.429); h_SL1L261->SetBinContent(6,6411.905); h_SL1L261->SetBinContent(7,6650); h_SL1L261->SetBinContent(8,6535.714); h_SL1L261->SetBinContent(9,7214.286); h_SL1L261->SetBinContent(10,7097.619); h_SL1L261->SetBinContent(11,6988.095); h_SL1L261->SetBinContent(12,6669.047); h_SL1L261->SetBinContent(13,6971.429); h_SL1L261->SetBinContent(14,7404.762); h_SL1L261->SetBinContent(15,6747.619); h_SL1L261->SetBinContent(16,6740.476); h_SL1L261->SetBinContent(17,6878.571); h_SL1L261->SetBinContent(18,7185.714); h_SL1L261->SetBinContent(19,6745.238); h_SL1L261->SetBinContent(20,6769.047); h_SL1L261->SetBinContent(21,7121.429); h_SL1L261->SetBinContent(22,7359.524); h_SL1L261->SetBinContent(23,6985.714); h_SL1L261->SetBinContent(24,6992.857); h_SL1L261->SetBinContent(25,7435.714); h_SL1L261->SetBinContent(26,7371.429); h_SL1L261->SetBinContent(27,6607.143); h_SL1L261->SetBinContent(28,7195.238); h_SL1L261->SetBinContent(29,7452.381); h_SL1L261->SetBinContent(30,7835.714); h_SL1L261->SetBinContent(31,7628.571); h_SL1L261->SetBinContent(32,7580.952); h_SL1L261->SetBinContent(33,8028.571); h_SL1L261->SetBinContent(34,8142.857); h_SL1L261->SetBinContent(35,7169.047); h_SL1L261->SetBinContent(36,7045.238); h_SL1L261->SetBinContent(37,7383.333); h_SL1L261->SetBinContent(38,7938.095); h_SL1L261->SetBinContent(39,7126.19); h_SL1L261->SetBinContent(40,7102.381); h_SL1L261->SetBinContent(41,7373.81); h_SL1L261->SetBinContent(42,7864.286); h_SL1L261->SetBinContent(43,6811.905); h_SL1L261->SetBinContent(44,7100); h_SL1L261->SetBinContent(45,7171.429); h_SL1L261->SetBinContent(46,7426.19); h_SL1L261->SetBinContent(47,6395.238); h_SL1L261->SetBinContent(48,5202.381); h_SL1L261->SetBinContent(49,5564.286); h_SL1L261->SetBinContent(50,5833.333); h_SL1L261->SetBinContent(51,5102.381); h_SL1L261->SetBinContent(52,5126.19); h_SL1L261->SetBinContent(53,5483.333); h_SL1L261->SetBinContent(54,5569.047); h_SL1L261->SetBinContent(55,4880.952); h_SL1L261->SetBinContent(56,4464.286); h_SL1L261->SetBinContent(57,4026.19); h_SL1L261->SetBinContent(58,3807.143); h_SL1L261->SetBinContent(59,3128.571); h_SL1L261->SetMaximum(9597.024); 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,3114.286); h_SL1L362->SetBinContent(2,3773.81); h_SL1L362->SetBinContent(3,4654.762); h_SL1L362->SetBinContent(4,5633.333); h_SL1L362->SetBinContent(5,6469.047); h_SL1L362->SetBinContent(6,6400); h_SL1L362->SetBinContent(7,6516.667); h_SL1L362->SetBinContent(8,6792.857); h_SL1L362->SetBinContent(9,7178.571); h_SL1L362->SetBinContent(10,6733.333); h_SL1L362->SetBinContent(11,6497.619); h_SL1L362->SetBinContent(12,6792.857); h_SL1L362->SetBinContent(13,7266.667); h_SL1L362->SetBinContent(14,7135.714); h_SL1L362->SetBinContent(15,6807.143); h_SL1L362->SetBinContent(16,6804.762); h_SL1L362->SetBinContent(17,7107.143); h_SL1L362->SetBinContent(18,6990.476); h_SL1L362->SetBinContent(19,6626.19); h_SL1L362->SetBinContent(20,7092.857); h_SL1L362->SetBinContent(21,7592.857); h_SL1L362->SetBinContent(22,7128.571); h_SL1L362->SetBinContent(23,6992.857); h_SL1L362->SetBinContent(24,7404.762); h_SL1L362->SetBinContent(25,7571.429); h_SL1L362->SetBinContent(26,6797.619); h_SL1L362->SetBinContent(27,6811.905); h_SL1L362->SetBinContent(28,7321.429); h_SL1L362->SetBinContent(29,7711.905); h_SL1L362->SetBinContent(30,7671.429); h_SL1L362->SetBinContent(31,7454.762); h_SL1L362->SetBinContent(32,7976.19); h_SL1L362->SetBinContent(33,8130.952); h_SL1L362->SetBinContent(34,7833.333); h_SL1L362->SetBinContent(35,7009.524); h_SL1L362->SetBinContent(36,7266.667); h_SL1L362->SetBinContent(37,7757.143); h_SL1L362->SetBinContent(38,7640.476); h_SL1L362->SetBinContent(39,6885.714); h_SL1L362->SetBinContent(40,7511.905); h_SL1L362->SetBinContent(41,7850); h_SL1L362->SetBinContent(42,7433.333); h_SL1L362->SetBinContent(43,6857.143); h_SL1L362->SetBinContent(44,7383.333); h_SL1L362->SetBinContent(45,7500); h_SL1L362->SetBinContent(46,7257.143); h_SL1L362->SetBinContent(47,5483.333); h_SL1L362->SetBinContent(48,5452.381); h_SL1L362->SetBinContent(49,5833.333); h_SL1L362->SetBinContent(50,5511.905); h_SL1L362->SetBinContent(51,5073.81); h_SL1L362->SetBinContent(52,5404.762); h_SL1L362->SetBinContent(53,5740.476); h_SL1L362->SetBinContent(54,5383.333); h_SL1L362->SetBinContent(55,4692.857); h_SL1L362->SetBinContent(56,4307.143); h_SL1L362->SetBinContent(57,4095.238); h_SL1L362->SetBinContent(58,3628.571); h_SL1L362->SetBinContent(59,2769.048); h_SL1L362->SetMaximum(9597.024); 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,3452.381); h_SL1L463->SetBinContent(3,4247.619); h_SL1L463->SetBinContent(4,5111.905); h_SL1L463->SetBinContent(5,6373.81); h_SL1L463->SetBinContent(6,6476.19); h_SL1L463->SetBinContent(7,6323.81); h_SL1L463->SetBinContent(8,6671.429); h_SL1L463->SetBinContent(9,7133.333); h_SL1L463->SetBinContent(10,6995.238); h_SL1L463->SetBinContent(11,6547.619); h_SL1L463->SetBinContent(12,6707.143); h_SL1L463->SetBinContent(13,7104.762); h_SL1L463->SetBinContent(14,7364.286); h_SL1L463->SetBinContent(15,6735.714); h_SL1L463->SetBinContent(16,7128.571); h_SL1L463->SetBinContent(17,7073.81); h_SL1L463->SetBinContent(18,7135.714); h_SL1L463->SetBinContent(19,6769.047); h_SL1L463->SetBinContent(20,6919.047); h_SL1L463->SetBinContent(21,7535.714); h_SL1L463->SetBinContent(22,7421.429); h_SL1L463->SetBinContent(23,6859.524); h_SL1L463->SetBinContent(24,7145.238); h_SL1L463->SetBinContent(25,7504.762); h_SL1L463->SetBinContent(26,7369.047); h_SL1L463->SetBinContent(27,6545.238); h_SL1L463->SetBinContent(28,7111.905); h_SL1L463->SetBinContent(29,7726.19); h_SL1L463->SetBinContent(30,7873.81); h_SL1L463->SetBinContent(31,7419.047); h_SL1L463->SetBinContent(32,7600); h_SL1L463->SetBinContent(33,8345.238); h_SL1L463->SetBinContent(34,8138.095); h_SL1L463->SetBinContent(35,7157.143); h_SL1L463->SetBinContent(36,7280.952); h_SL1L463->SetBinContent(37,7635.714); h_SL1L463->SetBinContent(38,7802.381); h_SL1L463->SetBinContent(39,7119.047); h_SL1L463->SetBinContent(40,7169.047); h_SL1L463->SetBinContent(41,7761.905); h_SL1L463->SetBinContent(42,7780.952); h_SL1L463->SetBinContent(43,6964.286); h_SL1L463->SetBinContent(44,7288.095); h_SL1L463->SetBinContent(45,7533.333); h_SL1L463->SetBinContent(46,7519.047); h_SL1L463->SetBinContent(47,6333.333); h_SL1L463->SetBinContent(48,5483.333); h_SL1L463->SetBinContent(49,5650); h_SL1L463->SetBinContent(50,5692.857); h_SL1L463->SetBinContent(51,4985.714); h_SL1L463->SetBinContent(52,5335.714); h_SL1L463->SetBinContent(53,5704.762); h_SL1L463->SetBinContent(54,5676.19); h_SL1L463->SetBinContent(55,4.761905); h_SL1L463->SetBinContent(56,4776.19); h_SL1L463->SetBinContent(57,4402.381); h_SL1L463->SetBinContent(58,3928.571); h_SL1L463->SetBinContent(59,3197.619); h_SL1L463->SetMaximum(9597.024); 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 5990"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }