void RatesPerCell_Removing_noisy_cells_run_6379_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:42 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1332.275,67.5,11990.48); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6379",60,0,60); h_SL1L160->SetBinContent(1,3014.286); h_SL1L160->SetBinContent(2,4066.667); h_SL1L160->SetBinContent(3,4552.381); h_SL1L160->SetBinContent(4,5333.333); h_SL1L160->SetBinContent(5,5785.714); h_SL1L160->SetBinContent(6,6235.714); h_SL1L160->SetBinContent(7,6119.047); h_SL1L160->SetBinContent(8,6357.143); h_SL1L160->SetBinContent(9,6914.286); h_SL1L160->SetBinContent(10,6938.095); h_SL1L160->SetBinContent(11,6564.286); h_SL1L160->SetBinContent(12,6450); h_SL1L160->SetBinContent(13,6719.047); h_SL1L160->SetBinContent(14,6876.19); h_SL1L160->SetBinContent(15,6188.095); h_SL1L160->SetBinContent(16,6852.381); h_SL1L160->SetBinContent(17,6869.047); h_SL1L160->SetBinContent(18,7195.238); h_SL1L160->SetBinContent(19,6642.857); h_SL1L160->SetBinContent(20,6635.714); h_SL1L160->SetBinContent(21,7040.476); h_SL1L160->SetBinContent(22,7100); h_SL1L160->SetBinContent(23,6590.476); h_SL1L160->SetBinContent(24,6778.571); h_SL1L160->SetBinContent(25,7185.714); h_SL1L160->SetBinContent(26,7257.143); h_SL1L160->SetBinContent(27,6807.143); h_SL1L160->SetBinContent(28,6804.762); h_SL1L160->SetBinContent(29,7502.381); h_SL1L160->SetBinContent(30,7521.429); h_SL1L160->SetBinContent(31,6971.429); h_SL1L160->SetBinContent(32,7426.19); h_SL1L160->SetBinContent(33,7557.143); h_SL1L160->SetBinContent(34,7369.047); h_SL1L160->SetBinContent(35,7133.333); h_SL1L160->SetBinContent(36,6966.667); h_SL1L160->SetBinContent(37,7516.667); h_SL1L160->SetBinContent(38,7478.571); h_SL1L160->SetBinContent(39,6576.19); h_SL1L160->SetBinContent(40,7047.619); h_SL1L160->SetBinContent(41,7511.905); h_SL1L160->SetBinContent(42,7461.905); h_SL1L160->SetBinContent(43,6733.333); h_SL1L160->SetBinContent(44,6809.524); h_SL1L160->SetBinContent(45,7195.238); h_SL1L160->SetBinContent(46,7171.429); h_SL1L160->SetBinContent(47,5480.952); h_SL1L160->SetBinContent(48,5242.857); h_SL1L160->SetBinContent(49,5583.333); h_SL1L160->SetBinContent(50,5371.429); h_SL1L160->SetBinContent(51,4930.952); h_SL1L160->SetBinContent(52,4752.381); h_SL1L160->SetBinContent(53,5166.667); h_SL1L160->SetBinContent(54,5269.047); h_SL1L160->SetBinContent(55,4347.619); h_SL1L160->SetBinContent(56,4088.095); h_SL1L160->SetBinContent(57,3897.619); h_SL1L160->SetBinContent(58,3323.81); h_SL1L160->SetBinContent(59,2823.81); h_SL1L160->SetMaximum(10658.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,2745.238); h_SL1L261->SetBinContent(2,3495.238); h_SL1L261->SetBinContent(3,4338.095); h_SL1L261->SetBinContent(4,5178.571); h_SL1L261->SetBinContent(5,5845.238); h_SL1L261->SetBinContent(6,6257.143); h_SL1L261->SetBinContent(7,6252.381); h_SL1L261->SetBinContent(8,6302.381); h_SL1L261->SetBinContent(9,6911.905); h_SL1L261->SetBinContent(10,7302.381); h_SL1L261->SetBinContent(11,6795.238); h_SL1L261->SetBinContent(12,6597.619); h_SL1L261->SetBinContent(13,6840.476); h_SL1L261->SetBinContent(14,7200); h_SL1L261->SetBinContent(15,6392.857); h_SL1L261->SetBinContent(16,6745.238); h_SL1L261->SetBinContent(17,7152.381); h_SL1L261->SetBinContent(18,7416.667); h_SL1L261->SetBinContent(19,6914.286); h_SL1L261->SetBinContent(20,6892.857); h_SL1L261->SetBinContent(21,6976.19); h_SL1L261->SetBinContent(22,7404.762); h_SL1L261->SetBinContent(23,6952.381); h_SL1L261->SetBinContent(24,6745.238); h_SL1L261->SetBinContent(25,7295.238); h_SL1L261->SetBinContent(26,7564.286); h_SL1L261->SetBinContent(27,7019.047); h_SL1L261->SetBinContent(28,7373.81); h_SL1L261->SetBinContent(29,7285.714); h_SL1L261->SetBinContent(30,7821.429); h_SL1L261->SetBinContent(31,7359.524); h_SL1L261->SetBinContent(32,7352.381); h_SL1L261->SetBinContent(33,7769.047); h_SL1L261->SetBinContent(34,7940.476); h_SL1L261->SetBinContent(35,7309.524); h_SL1L261->SetBinContent(36,7166.667); h_SL1L261->SetBinContent(37,7742.857); h_SL1L261->SetBinContent(38,7792.857); h_SL1L261->SetBinContent(39,6997.619); h_SL1L261->SetBinContent(40,6980.952); h_SL1L261->SetBinContent(41,7554.762); h_SL1L261->SetBinContent(42,7778.571); h_SL1L261->SetBinContent(43,7242.857); h_SL1L261->SetBinContent(44,7164.286); h_SL1L261->SetBinContent(45,7330.952); h_SL1L261->SetBinContent(46,7585.714); h_SL1L261->SetBinContent(47,6428.571); h_SL1L261->SetBinContent(48,5304.762); h_SL1L261->SetBinContent(49,5657.143); h_SL1L261->SetBinContent(50,5721.429); h_SL1L261->SetBinContent(51,4997.619); h_SL1L261->SetBinContent(52,5002.381); h_SL1L261->SetBinContent(53,5354.762); h_SL1L261->SetBinContent(54,5511.905); h_SL1L261->SetBinContent(55,4871.429); h_SL1L261->SetBinContent(56,4688.095); h_SL1L261->SetBinContent(57,4254.762); h_SL1L261->SetBinContent(58,3721.428); h_SL1L261->SetBinContent(59,3169.048); h_SL1L261->SetMaximum(9268.453); 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,3019.048); h_SL1L362->SetBinContent(2,3988.095); h_SL1L362->SetBinContent(3,4845.238); h_SL1L362->SetBinContent(4,5540.476); h_SL1L362->SetBinContent(5,6285.714); h_SL1L362->SetBinContent(6,6459.524); h_SL1L362->SetBinContent(7,6316.667); h_SL1L362->SetBinContent(8,6880.952); h_SL1L362->SetBinContent(9,7264.286); h_SL1L362->SetBinContent(10,6909.524); h_SL1L362->SetBinContent(11,6828.571); h_SL1L362->SetBinContent(12,6961.905); h_SL1L362->SetBinContent(13,7059.524); h_SL1L362->SetBinContent(14,6785.714); h_SL1L362->SetBinContent(15,6469.047); h_SL1L362->SetBinContent(16,7180.952); h_SL1L362->SetBinContent(17,7423.81); h_SL1L362->SetBinContent(18,7190.476); h_SL1L362->SetBinContent(19,6750); h_SL1L362->SetBinContent(20,7021.429); h_SL1L362->SetBinContent(21,7611.905); h_SL1L362->SetBinContent(22,7107.143); h_SL1L362->SetBinContent(23,6683.333); h_SL1L362->SetBinContent(24,7269.047); h_SL1L362->SetBinContent(25,7714.286); h_SL1L362->SetBinContent(26,7128.571); h_SL1L362->SetBinContent(27,7004.762); h_SL1L362->SetBinContent(28,7204.762); h_SL1L362->SetBinContent(29,8059.524); h_SL1L362->SetBinContent(30,7469.047); h_SL1L362->SetBinContent(31,7269.047); h_SL1L362->SetBinContent(32,7616.667); h_SL1L362->SetBinContent(33,7990.476); h_SL1L362->SetBinContent(34,7550); h_SL1L362->SetBinContent(35,7247.619); h_SL1L362->SetBinContent(36,7526.19); h_SL1L362->SetBinContent(37,8035.714); h_SL1L362->SetBinContent(38,7395.238); h_SL1L362->SetBinContent(39,6938.095); h_SL1L362->SetBinContent(40,7409.524); h_SL1L362->SetBinContent(41,8019.047); h_SL1L362->SetBinContent(42,7523.81); h_SL1L362->SetBinContent(43,7238.095); h_SL1L362->SetBinContent(44,7273.81); h_SL1L362->SetBinContent(45,7754.762); h_SL1L362->SetBinContent(46,7116.667); h_SL1L362->SetBinContent(47,5683.333); h_SL1L362->SetBinContent(48,5566.667); h_SL1L362->SetBinContent(49,5954.762); h_SL1L362->SetBinContent(50,5197.619); h_SL1L362->SetBinContent(51,4966.667); h_SL1L362->SetBinContent(52,5128.571); h_SL1L362->SetBinContent(53,5573.81); h_SL1L362->SetBinContent(54,5483.333); h_SL1L362->SetBinContent(55,4769.047); h_SL1L362->SetBinContent(56,4652.381); h_SL1L362->SetBinContent(57,4080.952); h_SL1L362->SetBinContent(58,3647.619); h_SL1L362->SetBinContent(59,2795.238); h_SL1L362->SetMaximum(9268.453); 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,1545.238); h_SL1L463->SetBinContent(3,1788.095); h_SL1L463->SetBinContent(4,1923.809); h_SL1L463->SetBinContent(5,2371.428); h_SL1L463->SetBinContent(6,2547.619); h_SL1L463->SetBinContent(7,2342.857); h_SL1L463->SetBinContent(8,2447.619); h_SL1L463->SetBinContent(9,2995.238); h_SL1L463->SetBinContent(10,2930.952); h_SL1L463->SetBinContent(11,2659.524); h_SL1L463->SetBinContent(12,2985.714); h_SL1L463->SetBinContent(13,3085.714); h_SL1L463->SetBinContent(14,3345.238); h_SL1L463->SetBinContent(15,2697.619); h_SL1L463->SetBinContent(16,2930.952); h_SL1L463->SetBinContent(17,3014.286); h_SL1L463->SetBinContent(18,2797.619); h_SL1L463->SetBinContent(19,2650); h_SL1L463->SetBinContent(20,2697.619); h_SL1L463->SetBinContent(21,2790.476); h_SL1L463->SetBinContent(22,3100); h_SL1L463->SetBinContent(23,2742.857); h_SL1L463->SetBinContent(24,2545.238); h_SL1L463->SetBinContent(25,2604.762); h_SL1L463->SetBinContent(26,2819.048); h_SL1L463->SetBinContent(27,2530.952); h_SL1L463->SetBinContent(28,2650); h_SL1L463->SetBinContent(29,2554.762); h_SL1L463->SetBinContent(30,2773.81); h_SL1L463->SetBinContent(31,2878.571); h_SL1L463->SetBinContent(32,2459.524); h_SL1L463->SetBinContent(33,2433.333); h_SL1L463->SetBinContent(34,2835.714); h_SL1L463->SetBinContent(35,2816.667); h_SL1L463->SetBinContent(36,2666.667); h_SL1L463->SetBinContent(37,2266.667); h_SL1L463->SetBinContent(38,2578.571); h_SL1L463->SetBinContent(39,2597.619); h_SL1L463->SetBinContent(40,2254.762); h_SL1L463->SetBinContent(41,2423.81); h_SL1L463->SetBinContent(42,2516.667); h_SL1L463->SetBinContent(43,2535.714); h_SL1L463->SetBinContent(44,2769.048); h_SL1L463->SetBinContent(45,2461.905); h_SL1L463->SetBinContent(46,2464.286); h_SL1L463->SetBinContent(47,2085.714); h_SL1L463->SetBinContent(48,1892.857); h_SL1L463->SetBinContent(49,1797.619); h_SL1L463->SetBinContent(50,1840.476); h_SL1L463->SetBinContent(51,1780.952); h_SL1L463->SetBinContent(52,1852.381); h_SL1L463->SetBinContent(53,1785.714); h_SL1L463->SetBinContent(54,1933.333); h_SL1L463->SetBinContent(55,4.761905); h_SL1L463->SetBinContent(56,1707.143); h_SL1L463->SetBinContent(57,1497.619); h_SL1L463->SetBinContent(58,1640.476); h_SL1L463->SetBinContent(59,1364.286); h_SL1L463->SetMaximum(9268.453); 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 6379"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }