void RatesPerCell_Removing_noisy_cells_run_6445_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:44:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15163.18,67.5,136468.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6445",60,0,60); h_SL2L164->SetBinContent(1,5142.857); h_SL2L164->SetBinContent(2,6450); h_SL2L164->SetBinContent(3,7803.571); h_SL2L164->SetBinContent(4,8935.714); h_SL2L164->SetBinContent(5,9650); h_SL2L164->SetBinContent(6,9971.429); h_SL2L164->SetBinContent(7,10339.29); h_SL2L164->SetBinContent(8,10192.86); h_SL2L164->SetBinContent(9,10310.71); h_SL2L164->SetBinContent(10,10396.43); h_SL2L164->SetBinContent(11,10514.29); h_SL2L164->SetBinContent(12,10500); h_SL2L164->SetBinContent(13,10675); h_SL2L164->SetBinContent(14,10364.29); h_SL2L164->SetBinContent(15,10457.14); h_SL2L164->SetBinContent(16,10078.57); h_SL2L164->SetBinContent(17,10278.57); h_SL2L164->SetBinContent(18,10489.29); h_SL2L164->SetBinContent(19,10460.71); h_SL2L164->SetBinContent(20,10357.14); h_SL2L164->SetBinContent(21,10453.57); h_SL2L164->SetBinContent(22,9864.285); h_SL2L164->SetBinContent(23,10292.86); h_SL2L164->SetBinContent(24,10125); h_SL2L164->SetBinContent(25,10207.14); h_SL2L164->SetBinContent(26,10310.71); h_SL2L164->SetBinContent(27,10582.14); h_SL2L164->SetBinContent(28,10310.71); h_SL2L164->SetBinContent(29,10296.43); h_SL2L164->SetBinContent(30,10060.71); h_SL2L164->SetBinContent(31,9435.714); h_SL2L164->SetBinContent(32,9807.143); h_SL2L164->SetBinContent(33,9835.714); h_SL2L164->SetBinContent(34,9692.857); h_SL2L164->SetBinContent(36,10542.86); h_SL2L164->SetBinContent(37,12364.29); h_SL2L164->SetBinContent(38,10810.71); h_SL2L164->SetBinContent(39,12832.14); h_SL2L164->SetBinContent(40,24096.43); h_SL2L164->SetBinContent(41,91725); h_SL2L164->SetBinContent(42,19703.57); h_SL2L164->SetBinContent(43,20467.86); h_SL2L164->SetBinContent(44,20317.86); h_SL2L164->SetBinContent(45,9835.714); h_SL2L164->SetBinContent(46,9800); h_SL2L164->SetBinContent(47,9825); h_SL2L164->SetBinContent(48,9410.714); h_SL2L164->SetBinContent(49,9510.714); h_SL2L164->SetBinContent(50,10096.43); h_SL2L164->SetBinContent(51,9850); h_SL2L164->SetBinContent(52,9878.571); h_SL2L164->SetBinContent(53,9128.571); h_SL2L164->SetBinContent(54,8600); h_SL2L164->SetBinContent(55,7221.429); h_SL2L164->SetBinContent(56,5410.714); h_SL2L164->SetBinContent(57,2875); h_SL2L164->SetMaximum(121305.4); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,2953.571); h_SL2L265->SetBinContent(2,5596.429); h_SL2L265->SetBinContent(3,7150); h_SL2L265->SetBinContent(4,8796.429); h_SL2L265->SetBinContent(5,8910.714); h_SL2L265->SetBinContent(6,9835.714); h_SL2L265->SetBinContent(7,10228.57); h_SL2L265->SetBinContent(8,9992.857); h_SL2L265->SetBinContent(9,9882.143); h_SL2L265->SetBinContent(10,9914.285); h_SL2L265->SetBinContent(11,10246.43); h_SL2L265->SetBinContent(12,10564.29); h_SL2L265->SetBinContent(13,10592.86); h_SL2L265->SetBinContent(14,10717.86); h_SL2L265->SetBinContent(15,10160.71); h_SL2L265->SetBinContent(16,10078.57); h_SL2L265->SetBinContent(17,9967.857); h_SL2L265->SetBinContent(18,10492.86); h_SL2L265->SetBinContent(19,10592.86); h_SL2L265->SetBinContent(20,10200); h_SL2L265->SetBinContent(21,10217.86); h_SL2L265->SetBinContent(22,10032.14); h_SL2L265->SetBinContent(23,9889.285); h_SL2L265->SetBinContent(24,10100); h_SL2L265->SetBinContent(25,9917.857); h_SL2L265->SetBinContent(26,10503.57); h_SL2L265->SetBinContent(27,10328.57); h_SL2L265->SetBinContent(28,10421.43); h_SL2L265->SetBinContent(29,9964.285); h_SL2L265->SetBinContent(30,9832.143); h_SL2L265->SetBinContent(31,9464.285); h_SL2L265->SetBinContent(32,9432.143); h_SL2L265->SetBinContent(33,9635.714); h_SL2L265->SetBinContent(34,9767.857); h_SL2L265->SetBinContent(35,8610.714); h_SL2L265->SetBinContent(36,8317.857); h_SL2L265->SetBinContent(37,9825); h_SL2L265->SetBinContent(38,10164.29); h_SL2L265->SetBinContent(39,10807.14); h_SL2L265->SetBinContent(40,11996.43); h_SL2L265->SetBinContent(41,11017.86); h_SL2L265->SetBinContent(42,10721.43); h_SL2L265->SetBinContent(43,9800); h_SL2L265->SetBinContent(44,9903.571); h_SL2L265->SetBinContent(45,9750); h_SL2L265->SetBinContent(46,9760.714); h_SL2L265->SetBinContent(47,9646.429); h_SL2L265->SetBinContent(48,9492.857); h_SL2L265->SetBinContent(49,9375); h_SL2L265->SetBinContent(50,9778.571); h_SL2L265->SetBinContent(51,9882.143); h_SL2L265->SetBinContent(52,9700); h_SL2L265->SetBinContent(53,9714.285); h_SL2L265->SetBinContent(54,8985.714); h_SL2L265->SetBinContent(55,8571.429); h_SL2L265->SetBinContent(56,6442.857); h_SL2L265->SetBinContent(57,4871.429); h_SL2L265->SetMaximum(105483.7); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,3810.714); h_SL2L366->SetBinContent(2,6500); h_SL2L366->SetBinContent(3,8442.857); h_SL2L366->SetBinContent(4,9282.143); h_SL2L366->SetBinContent(5,9582.143); h_SL2L366->SetBinContent(6,10260.71); h_SL2L366->SetBinContent(7,9978.571); h_SL2L366->SetBinContent(8,9953.571); h_SL2L366->SetBinContent(9,9871.429); h_SL2L366->SetBinContent(10,10235.71); h_SL2L366->SetBinContent(11,10200); h_SL2L366->SetBinContent(12,10275); h_SL2L366->SetBinContent(13,10364.29); h_SL2L366->SetBinContent(14,10435.71); h_SL2L366->SetBinContent(15,10164.29); h_SL2L366->SetBinContent(16,9871.429); h_SL2L366->SetBinContent(17,10303.57); h_SL2L366->SetBinContent(18,10332.14); h_SL2L366->SetBinContent(19,10378.57); h_SL2L366->SetBinContent(20,9792.857); h_SL2L366->SetBinContent(21,9857.143); h_SL2L366->SetBinContent(22,9996.429); h_SL2L366->SetBinContent(23,9867.857); h_SL2L366->SetBinContent(24,9650); h_SL2L366->SetBinContent(25,9957.143); h_SL2L366->SetBinContent(26,10178.57); h_SL2L366->SetBinContent(27,10225); h_SL2L366->SetBinContent(28,10292.86); h_SL2L366->SetBinContent(29,9867.857); h_SL2L366->SetBinContent(30,9750); h_SL2L366->SetBinContent(31,9217.857); h_SL2L366->SetBinContent(32,9371.429); h_SL2L366->SetBinContent(33,9821.429); h_SL2L366->SetBinContent(34,9046.429); h_SL2L366->SetBinContent(35,8825); h_SL2L366->SetBinContent(36,8625); h_SL2L366->SetBinContent(37,9875); h_SL2L366->SetBinContent(38,10010.71); h_SL2L366->SetBinContent(39,9160.714); h_SL2L366->SetBinContent(40,10582.14); h_SL2L366->SetBinContent(41,9989.285); h_SL2L366->SetBinContent(42,9171.429); h_SL2L366->SetBinContent(43,9567.857); h_SL2L366->SetBinContent(44,9721.429); h_SL2L366->SetBinContent(45,9571.429); h_SL2L366->SetBinContent(46,9585.714); h_SL2L366->SetBinContent(47,9764.285); h_SL2L366->SetBinContent(48,9496.429); h_SL2L366->SetBinContent(49,9571.429); h_SL2L366->SetBinContent(50,9671.429); h_SL2L366->SetBinContent(51,9471.429); h_SL2L366->SetBinContent(52,9685.714); h_SL2L366->SetBinContent(53,9285.714); h_SL2L366->SetBinContent(54,8953.571); h_SL2L366->SetBinContent(55,8150); h_SL2L366->SetBinContent(56,5260.714); h_SL2L366->SetBinContent(57,4164.286); h_SL2L366->SetMaximum(105483.7); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,5075); h_SL2L467->SetBinContent(3,7871.429); h_SL2L467->SetBinContent(4,9217.857); h_SL2L467->SetBinContent(5,9603.571); h_SL2L467->SetBinContent(6,9985.714); h_SL2L467->SetBinContent(7,9821.429); h_SL2L467->SetBinContent(8,9989.285); h_SL2L467->SetBinContent(9,9732.143); h_SL2L467->SetBinContent(10,10307.14); h_SL2L467->SetBinContent(11,10228.57); h_SL2L467->SetBinContent(12,10321.43); h_SL2L467->SetBinContent(13,10589.29); h_SL2L467->SetBinContent(14,10367.86); h_SL2L467->SetBinContent(15,10285.71); h_SL2L467->SetBinContent(16,10085.71); h_SL2L467->SetBinContent(17,9982.143); h_SL2L467->SetBinContent(18,10378.57); h_SL2L467->SetBinContent(19,10325); h_SL2L467->SetBinContent(20,10203.57); h_SL2L467->SetBinContent(21,9696.429); h_SL2L467->SetBinContent(22,10132.14); h_SL2L467->SetBinContent(23,10060.71); h_SL2L467->SetBinContent(24,9692.857); h_SL2L467->SetBinContent(25,9989.285); h_SL2L467->SetBinContent(26,10114.29); h_SL2L467->SetBinContent(27,10185.71); h_SL2L467->SetBinContent(28,10389.29); h_SL2L467->SetBinContent(29,10328.57); h_SL2L467->SetBinContent(30,9903.571); h_SL2L467->SetBinContent(31,9642.857); h_SL2L467->SetBinContent(32,9575); h_SL2L467->SetBinContent(33,9810.714); h_SL2L467->SetBinContent(34,9260.714); h_SL2L467->SetBinContent(35,9139.285); h_SL2L467->SetBinContent(36,9171.429); h_SL2L467->SetBinContent(37,9028.571); h_SL2L467->SetBinContent(38,10050); h_SL2L467->SetBinContent(39,9639.285); h_SL2L467->SetBinContent(40,8785.714); h_SL2L467->SetBinContent(41,8842.857); h_SL2L467->SetBinContent(42,10460.71); h_SL2L467->SetBinContent(43,9017.857); h_SL2L467->SetBinContent(44,9710.714); h_SL2L467->SetBinContent(45,9739.285); h_SL2L467->SetBinContent(46,9492.857); h_SL2L467->SetBinContent(47,9950); h_SL2L467->SetBinContent(48,9764.285); h_SL2L467->SetBinContent(49,9821.429); h_SL2L467->SetBinContent(50,9589.285); h_SL2L467->SetBinContent(51,9792.857); h_SL2L467->SetBinContent(52,9910.714); h_SL2L467->SetBinContent(53,9785.714); h_SL2L467->SetBinContent(54,9646.429); h_SL2L467->SetBinContent(55,9078.571); h_SL2L467->SetBinContent(56,7092.857); h_SL2L467->SetBinContent(57,3735.714); h_SL2L467->SetMaximum(105483.7); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6445"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }