void RatesPerCell_Removing_noisy_cells_run_6356_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:25:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2933.075,67.5,26397.68); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L159 = new TH1D("h_SL1L159","SL1, run 6356",60,0,60); h_SL1L159->SetBinContent(1,6247.619); h_SL1L159->SetBinContent(2,6057.143); h_SL1L159->SetBinContent(3,6028.571); h_SL1L159->SetBinContent(4,5442.857); h_SL1L159->SetBinContent(5,4266.667); h_SL1L159->SetBinContent(6,5009.524); h_SL1L159->SetBinContent(7,4547.619); h_SL1L159->SetBinContent(8,5100); h_SL1L159->SetBinContent(9,5000); h_SL1L159->SetBinContent(10,4952.381); h_SL1L159->SetBinContent(11,5219.047); h_SL1L159->SetBinContent(12,5071.429); h_SL1L159->SetBinContent(13,5057.143); h_SL1L159->SetBinContent(14,4333.333); h_SL1L159->SetBinContent(15,3600); h_SL1L159->SetBinContent(16,3552.381); h_SL1L159->SetBinContent(17,3452.381); h_SL1L159->SetBinContent(18,4176.19); h_SL1L159->SetBinContent(19,4114.286); h_SL1L159->SetBinContent(20,3652.381); h_SL1L159->SetBinContent(21,3700); h_SL1L159->SetBinContent(22,4000); h_SL1L159->SetBinContent(23,3566.667); h_SL1L159->SetBinContent(24,2961.905); h_SL1L159->SetBinContent(25,2919.048); h_SL1L159->SetBinContent(26,3500); h_SL1L159->SetBinContent(27,3409.524); h_SL1L159->SetBinContent(28,3214.286); h_SL1L159->SetBinContent(29,3742.857); h_SL1L159->SetBinContent(30,3114.286); h_SL1L159->SetBinContent(31,2942.857); h_SL1L159->SetBinContent(32,2776.19); h_SL1L159->SetBinContent(33,2900); h_SL1L159->SetBinContent(34,3257.143); h_SL1L159->SetBinContent(35,3171.428); h_SL1L159->SetBinContent(36,3033.333); h_SL1L159->SetBinContent(37,3600); h_SL1L159->SetBinContent(38,3780.952); h_SL1L159->SetBinContent(39,3542.857); h_SL1L159->SetBinContent(40,2557.143); h_SL1L159->SetBinContent(41,2938.095); h_SL1L159->SetBinContent(42,3180.952); h_SL1L159->SetBinContent(43,3219.048); h_SL1L159->SetBinContent(44,3285.714); h_SL1L159->SetBinContent(45,2938.095); h_SL1L159->SetBinContent(46,2447.619); h_SL1L159->SetBinContent(47,2571.428); h_SL1L159->SetBinContent(48,2376.19); h_SL1L159->SetBinContent(49,2761.905); h_SL1L159->SetBinContent(50,2952.381); h_SL1L159->SetBinContent(51,3042.857); h_SL1L159->SetBinContent(52,2761.905); h_SL1L159->SetBinContent(53,2947.619); h_SL1L159->SetBinContent(54,2676.19); h_SL1L159->SetBinContent(55,2461.905); h_SL1L159->SetBinContent(56,3252.381); h_SL1L159->SetBinContent(57,4561.905); h_SL1L159->SetBinContent(58,5338.095); h_SL1L159->SetBinContent(59,6185.714); h_SL1L159->SetMaximum(23464.6); h_SL1L159->SetEntries(60); h_SL1L159->SetDirectory(0); h_SL1L159->SetStats(0); h_SL1L159->SetLineWidth(2); h_SL1L159->GetXaxis()->SetTitle("Cell"); h_SL1L159->GetXaxis()->SetLabelFont(42); h_SL1L159->GetXaxis()->SetLabelSize(0.035); h_SL1L159->GetXaxis()->SetTitleSize(0.035); h_SL1L159->GetXaxis()->SetTitleFont(42); h_SL1L159->GetYaxis()->SetTitle("Hz"); h_SL1L159->GetYaxis()->SetLabelFont(42); h_SL1L159->GetYaxis()->SetLabelSize(0.035); h_SL1L159->GetYaxis()->SetTitleSize(0.035); h_SL1L159->GetYaxis()->SetTitleOffset(1.45); h_SL1L159->GetYaxis()->SetTitleFont(42); h_SL1L159->GetZaxis()->SetLabelFont(42); h_SL1L159->GetZaxis()->SetLabelSize(0.035); h_SL1L159->GetZaxis()->SetTitleSize(0.035); h_SL1L159->GetZaxis()->SetTitleFont(42); h_SL1L159->Draw(""); TH1D *h_SL1L260 = new TH1D("h_SL1L260","",60,0,60); h_SL1L260->SetBinContent(1,13571.43); h_SL1L260->SetBinContent(2,13547.62); h_SL1L260->SetBinContent(3,15166.67); h_SL1L260->SetBinContent(4,15576.19); h_SL1L260->SetBinContent(5,14490.48); h_SL1L260->SetBinContent(6,15280.95); h_SL1L260->SetBinContent(7,15014.29); h_SL1L260->SetBinContent(8,15219.05); h_SL1L260->SetBinContent(9,15757.14); h_SL1L260->SetBinContent(10,14938.09); h_SL1L260->SetBinContent(11,16514.29); h_SL1L260->SetBinContent(12,16152.38); h_SL1L260->SetBinContent(13,17519.05); h_SL1L260->SetBinContent(14,16295.24); h_SL1L260->SetBinContent(15,15966.67); h_SL1L260->SetBinContent(16,15100); h_SL1L260->SetBinContent(17,13328.57); h_SL1L260->SetBinContent(18,15285.71); h_SL1L260->SetBinContent(19,15680.95); h_SL1L260->SetBinContent(20,15738.09); h_SL1L260->SetBinContent(21,16214.29); h_SL1L260->SetBinContent(22,15947.62); h_SL1L260->SetBinContent(23,15838.09); h_SL1L260->SetBinContent(24,15314.29); h_SL1L260->SetBinContent(25,15514.29); h_SL1L260->SetBinContent(26,13671.43); h_SL1L260->SetBinContent(27,13728.57); h_SL1L260->SetBinContent(28,14147.62); h_SL1L260->SetBinContent(29,15333.33); h_SL1L260->SetBinContent(30,16380.95); h_SL1L260->SetBinContent(31,16571.43); h_SL1L260->SetBinContent(32,15500); h_SL1L260->SetBinContent(33,16376.19); h_SL1L260->SetBinContent(34,16161.9); h_SL1L260->SetBinContent(35,15733.33); h_SL1L260->SetBinContent(36,15838.09); h_SL1L260->SetBinContent(37,14428.57); h_SL1L260->SetBinContent(38,16585.71); h_SL1L260->SetBinContent(39,16176.19); h_SL1L260->SetBinContent(40,15780.95); h_SL1L260->SetBinContent(41,16809.52); h_SL1L260->SetBinContent(42,16023.81); h_SL1L260->SetBinContent(43,17742.86); h_SL1L260->SetBinContent(44,16547.62); h_SL1L260->SetBinContent(45,16747.62); h_SL1L260->SetBinContent(46,16947.62); h_SL1L260->SetBinContent(47,14614.29); h_SL1L260->SetBinContent(48,15219.05); h_SL1L260->SetBinContent(49,16090.48); h_SL1L260->SetBinContent(50,16790.48); h_SL1L260->SetBinContent(51,16719.05); h_SL1L260->SetBinContent(52,16109.52); h_SL1L260->SetBinContent(53,16609.52); h_SL1L260->SetBinContent(54,15461.9); h_SL1L260->SetBinContent(55,15966.67); h_SL1L260->SetBinContent(56,16123.81); h_SL1L260->SetBinContent(57,14323.81); h_SL1L260->SetBinContent(58,14752.38); h_SL1L260->SetBinContent(59,14785.71); h_SL1L260->SetMaximum(20404.29); h_SL1L260->SetEntries(60); h_SL1L260->SetDirectory(0); h_SL1L260->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L260->SetLineColor(ci); h_SL1L260->SetLineWidth(2); h_SL1L260->GetXaxis()->SetTitle("Cell"); h_SL1L260->GetXaxis()->SetLabelFont(42); h_SL1L260->GetXaxis()->SetLabelSize(0.035); h_SL1L260->GetXaxis()->SetTitleSize(0.035); h_SL1L260->GetXaxis()->SetTitleFont(42); h_SL1L260->GetYaxis()->SetTitle("Hz"); h_SL1L260->GetYaxis()->SetLabelFont(42); h_SL1L260->GetYaxis()->SetLabelSize(0.035); h_SL1L260->GetYaxis()->SetTitleSize(0.035); h_SL1L260->GetYaxis()->SetTitleOffset(1.45); h_SL1L260->GetYaxis()->SetTitleFont(42); h_SL1L260->GetZaxis()->SetLabelFont(42); h_SL1L260->GetZaxis()->SetLabelSize(0.035); h_SL1L260->GetZaxis()->SetTitleSize(0.035); h_SL1L260->GetZaxis()->SetTitleFont(42); h_SL1L260->Draw("same"); TH1D *h_SL1L361 = new TH1D("h_SL1L361","",60,0,60); h_SL1L361->SetBinContent(1,13290.48); h_SL1L361->SetBinContent(2,13761.9); h_SL1L361->SetBinContent(3,13680.95); h_SL1L361->SetBinContent(4,14885.71); h_SL1L361->SetBinContent(5,14600); h_SL1L361->SetBinContent(6,15514.29); h_SL1L361->SetBinContent(7,15071.43); h_SL1L361->SetBinContent(8,15890.48); h_SL1L361->SetBinContent(9,15014.29); h_SL1L361->SetBinContent(10,15133.33); h_SL1L361->SetBinContent(11,16109.52); h_SL1L361->SetBinContent(12,16257.14); h_SL1L361->SetBinContent(13,16909.52); h_SL1L361->SetBinContent(14,15333.33); h_SL1L361->SetBinContent(15,14947.62); h_SL1L361->SetBinContent(16,14652.38); h_SL1L361->SetBinContent(17,14338.09); h_SL1L361->SetBinContent(18,15023.81); h_SL1L361->SetBinContent(19,15014.29); h_SL1L361->SetBinContent(20,15561.9); h_SL1L361->SetBinContent(21,15585.71); h_SL1L361->SetBinContent(22,15657.14); h_SL1L361->SetBinContent(23,15323.81); h_SL1L361->SetBinContent(24,14747.62); h_SL1L361->SetBinContent(25,13600); h_SL1L361->SetBinContent(26,13571.43); h_SL1L361->SetBinContent(27,14985.71); h_SL1L361->SetBinContent(28,14828.57); h_SL1L361->SetBinContent(29,15614.29); h_SL1L361->SetBinContent(30,15438.09); h_SL1L361->SetBinContent(31,15500); h_SL1L361->SetBinContent(32,15719.05); h_SL1L361->SetBinContent(33,15395.24); h_SL1L361->SetBinContent(34,15742.86); h_SL1L361->SetBinContent(35,15157.14); h_SL1L361->SetBinContent(36,15695.24); h_SL1L361->SetBinContent(37,15528.57); h_SL1L361->SetBinContent(38,16085.71); h_SL1L361->SetBinContent(39,16728.57); h_SL1L361->SetBinContent(40,14595.24); h_SL1L361->SetBinContent(41,15585.71); h_SL1L361->SetBinContent(42,16961.9); h_SL1L361->SetBinContent(43,16747.62); h_SL1L361->SetBinContent(44,16533.33); h_SL1L361->SetBinContent(45,16080.95); h_SL1L361->SetBinContent(46,15228.57); h_SL1L361->SetBinContent(47,15719.05); h_SL1L361->SetBinContent(48,15080.95); h_SL1L361->SetBinContent(49,15719.05); h_SL1L361->SetBinContent(50,15442.86); h_SL1L361->SetBinContent(51,15976.19); h_SL1L361->SetBinContent(52,14833.33); h_SL1L361->SetBinContent(53,14519.05); h_SL1L361->SetBinContent(54,14314.29); h_SL1L361->SetBinContent(55,14185.71); h_SL1L361->SetBinContent(56,14776.19); h_SL1L361->SetBinContent(57,15528.57); h_SL1L361->SetBinContent(58,14747.62); h_SL1L361->SetBinContent(59,14142.86); h_SL1L361->SetMaximum(20404.29); h_SL1L361->SetEntries(60); h_SL1L361->SetDirectory(0); h_SL1L361->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L361->SetLineColor(ci); h_SL1L361->SetLineWidth(2); h_SL1L361->GetXaxis()->SetTitle("Cell"); h_SL1L361->GetXaxis()->SetLabelFont(42); h_SL1L361->GetXaxis()->SetLabelSize(0.035); h_SL1L361->GetXaxis()->SetTitleSize(0.035); h_SL1L361->GetXaxis()->SetTitleFont(42); h_SL1L361->GetYaxis()->SetTitle("Hz"); h_SL1L361->GetYaxis()->SetLabelFont(42); h_SL1L361->GetYaxis()->SetLabelSize(0.035); h_SL1L361->GetYaxis()->SetTitleSize(0.035); h_SL1L361->GetYaxis()->SetTitleOffset(1.45); h_SL1L361->GetYaxis()->SetTitleFont(42); h_SL1L361->GetZaxis()->SetLabelFont(42); h_SL1L361->GetZaxis()->SetLabelSize(0.035); h_SL1L361->GetZaxis()->SetTitleSize(0.035); h_SL1L361->GetZaxis()->SetTitleFont(42); h_SL1L361->Draw("same"); TH1D *h_SL1L462 = new TH1D("h_SL1L462","",60,0,60); h_SL1L462->SetBinContent(2,5376.19); h_SL1L462->SetBinContent(3,4828.571); h_SL1L462->SetBinContent(4,4376.19); h_SL1L462->SetBinContent(5,4271.429); h_SL1L462->SetBinContent(6,4576.19); h_SL1L462->SetBinContent(7,4338.095); h_SL1L462->SetBinContent(8,4323.81); h_SL1L462->SetBinContent(9,4852.381); h_SL1L462->SetBinContent(10,5128.571); h_SL1L462->SetBinContent(11,6052.381); h_SL1L462->SetBinContent(12,6809.524); h_SL1L462->SetBinContent(13,6509.524); h_SL1L462->SetBinContent(14,6800); h_SL1L462->SetBinContent(15,5623.81); h_SL1L462->SetBinContent(16,5338.095); h_SL1L462->SetBinContent(17,4814.286); h_SL1L462->SetBinContent(18,4871.429); h_SL1L462->SetBinContent(19,4757.143); h_SL1L462->SetBinContent(20,4671.429); h_SL1L462->SetBinContent(21,4423.81); h_SL1L462->SetBinContent(22,4990.476); h_SL1L462->SetBinContent(23,4495.238); h_SL1L462->SetBinContent(24,4428.571); h_SL1L462->SetBinContent(25,3919.048); h_SL1L462->SetBinContent(26,4109.524); h_SL1L462->SetBinContent(27,3938.095); h_SL1L462->SetBinContent(28,3952.381); h_SL1L462->SetBinContent(29,3704.762); h_SL1L462->SetBinContent(30,3576.19); h_SL1L462->SetBinContent(31,4009.524); h_SL1L462->SetBinContent(32,3480.952); h_SL1L462->SetBinContent(33,2800); h_SL1L462->SetBinContent(34,3042.857); h_SL1L462->SetBinContent(35,3919.048); h_SL1L462->SetBinContent(36,3009.524); h_SL1L462->SetBinContent(37,2485.714); h_SL1L462->SetBinContent(38,2719.048); h_SL1L462->SetBinContent(39,3361.905); h_SL1L462->SetBinContent(40,2409.524); h_SL1L462->SetBinContent(41,2566.667); h_SL1L462->SetBinContent(42,2738.095); h_SL1L462->SetBinContent(43,3290.476); h_SL1L462->SetBinContent(44,2842.857); h_SL1L462->SetBinContent(45,2109.524); h_SL1L462->SetBinContent(46,2580.952); h_SL1L462->SetBinContent(47,2385.714); h_SL1L462->SetBinContent(48,2290.476); h_SL1L462->SetBinContent(49,2342.857); h_SL1L462->SetBinContent(50,2361.905); h_SL1L462->SetBinContent(51,2638.095); h_SL1L462->SetBinContent(52,2604.762); h_SL1L462->SetBinContent(53,2347.619); h_SL1L462->SetBinContent(54,2533.333); h_SL1L462->SetBinContent(56,3023.81); h_SL1L462->SetBinContent(57,3342.857); h_SL1L462->SetBinContent(58,4785.714); h_SL1L462->SetBinContent(59,5457.143); h_SL1L462->SetMaximum(20404.29); h_SL1L462->SetEntries(60); h_SL1L462->SetDirectory(0); h_SL1L462->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L462->SetLineColor(ci); h_SL1L462->SetLineWidth(2); h_SL1L462->GetXaxis()->SetTitle("Cell"); h_SL1L462->GetXaxis()->SetLabelFont(42); h_SL1L462->GetXaxis()->SetLabelSize(0.035); h_SL1L462->GetXaxis()->SetTitleSize(0.035); h_SL1L462->GetXaxis()->SetTitleFont(42); h_SL1L462->GetYaxis()->SetTitle("Hz"); h_SL1L462->GetYaxis()->SetLabelFont(42); h_SL1L462->GetYaxis()->SetLabelSize(0.035); h_SL1L462->GetYaxis()->SetTitleSize(0.035); h_SL1L462->GetYaxis()->SetTitleOffset(1.45); h_SL1L462->GetYaxis()->SetTitleFont(42); h_SL1L462->GetZaxis()->SetLabelFont(42); h_SL1L462->GetZaxis()->SetLabelSize(0.035); h_SL1L462->GetZaxis()->SetTitleSize(0.035); h_SL1L462->GetZaxis()->SetTitleFont(42); h_SL1L462->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 6356"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }