void RatesPerCell_Removing_noisy_cells_run_7380_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:34:37 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13007.65,67.5,117068.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7380",60,0,60); h_SL2L164->SetBinContent(1,35292.86); h_SL2L164->SetBinContent(2,45557.14); h_SL2L164->SetBinContent(3,55085.71); h_SL2L164->SetBinContent(4,57507.14); h_SL2L164->SetBinContent(5,56635.71); h_SL2L164->SetBinContent(6,53492.86); h_SL2L164->SetBinContent(7,48857.14); h_SL2L164->SetBinContent(8,46964.29); h_SL2L164->SetBinContent(9,51150); h_SL2L164->SetBinContent(10,52671.43); h_SL2L164->SetBinContent(11,53835.71); h_SL2L164->SetBinContent(12,52614.29); h_SL2L164->SetBinContent(13,48321.43); h_SL2L164->SetBinContent(14,47692.86); h_SL2L164->SetBinContent(15,47700); h_SL2L164->SetBinContent(16,47621.43); h_SL2L164->SetBinContent(17,44207.14); h_SL2L164->SetBinContent(18,42450); h_SL2L164->SetBinContent(19,40292.86); h_SL2L164->SetBinContent(20,41521.43); h_SL2L164->SetBinContent(21,41078.57); h_SL2L164->SetBinContent(22,40335.71); h_SL2L164->SetBinContent(23,41171.43); h_SL2L164->SetBinContent(24,38750); h_SL2L164->SetBinContent(25,37557.14); h_SL2L164->SetBinContent(26,36700); h_SL2L164->SetBinContent(27,35957.14); h_SL2L164->SetBinContent(28,35657.14); h_SL2L164->SetBinContent(29,35457.14); h_SL2L164->SetBinContent(30,33385.71); h_SL2L164->SetBinContent(31,34621.43); h_SL2L164->SetBinContent(32,35071.43); h_SL2L164->SetBinContent(33,35371.43); h_SL2L164->SetBinContent(34,36707.14); h_SL2L164->SetBinContent(36,37342.86); h_SL2L164->SetBinContent(37,45607.14); h_SL2L164->SetBinContent(38,41492.86); h_SL2L164->SetBinContent(39,42428.57); h_SL2L164->SetBinContent(40,70185.71); h_SL2L164->SetBinContent(41,78685.71); h_SL2L164->SetBinContent(42,46792.86); h_SL2L164->SetBinContent(43,46507.14); h_SL2L164->SetBinContent(44,45121.43); h_SL2L164->SetBinContent(45,36350); h_SL2L164->SetBinContent(46,34942.86); h_SL2L164->SetBinContent(47,34028.57); h_SL2L164->SetBinContent(48,34107.14); h_SL2L164->SetBinContent(49,33800); h_SL2L164->SetBinContent(50,32542.86); h_SL2L164->SetBinContent(51,35085.71); h_SL2L164->SetBinContent(52,38921.43); h_SL2L164->SetBinContent(53,42471.43); h_SL2L164->SetBinContent(54,43500); h_SL2L164->SetBinContent(55,42471.43); h_SL2L164->SetBinContent(56,36528.57); h_SL2L164->SetBinContent(57,28714.29); h_SL2L164->SetMaximum(104061.2); 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,28878.57); h_SL2L265->SetBinContent(2,43057.14); h_SL2L265->SetBinContent(3,49000); h_SL2L265->SetBinContent(4,54421.43); h_SL2L265->SetBinContent(5,55271.43); h_SL2L265->SetBinContent(6,52728.57); h_SL2L265->SetBinContent(7,50271.43); h_SL2L265->SetBinContent(8,43507.14); h_SL2L265->SetBinContent(9,48257.14); h_SL2L265->SetBinContent(10,49807.14); h_SL2L265->SetBinContent(11,53800); h_SL2L265->SetBinContent(12,51150); h_SL2L265->SetBinContent(13,48450); h_SL2L265->SetBinContent(14,47528.57); h_SL2L265->SetBinContent(15,46564.29); h_SL2L265->SetBinContent(16,46742.86); h_SL2L265->SetBinContent(17,44571.43); h_SL2L265->SetBinContent(18,41257.14); h_SL2L265->SetBinContent(19,39657.14); h_SL2L265->SetBinContent(20,40250); h_SL2L265->SetBinContent(21,39942.86); h_SL2L265->SetBinContent(22,41200); h_SL2L265->SetBinContent(23,39635.71); h_SL2L265->SetBinContent(24,38557.14); h_SL2L265->SetBinContent(25,37550); h_SL2L265->SetBinContent(26,35842.86); h_SL2L265->SetBinContent(27,35321.43); h_SL2L265->SetBinContent(28,35278.57); h_SL2L265->SetBinContent(29,33678.57); h_SL2L265->SetBinContent(30,33950); h_SL2L265->SetBinContent(31,32242.86); h_SL2L265->SetBinContent(32,34057.14); h_SL2L265->SetBinContent(33,34735.71); h_SL2L265->SetBinContent(34,35078.57); h_SL2L265->SetBinContent(35,34957.14); h_SL2L265->SetBinContent(36,35200); h_SL2L265->SetBinContent(37,36571.43); h_SL2L265->SetBinContent(38,38185.71); h_SL2L265->SetBinContent(39,38892.86); h_SL2L265->SetBinContent(40,39350); h_SL2L265->SetBinContent(41,39207.14); h_SL2L265->SetBinContent(42,38892.86); h_SL2L265->SetBinContent(43,37792.86); h_SL2L265->SetBinContent(44,36500); h_SL2L265->SetBinContent(45,36221.43); h_SL2L265->SetBinContent(46,34914.29); h_SL2L265->SetBinContent(47,34035.71); h_SL2L265->SetBinContent(48,32407.14); h_SL2L265->SetBinContent(49,32692.86); h_SL2L265->SetBinContent(50,33328.57); h_SL2L265->SetBinContent(51,32700); h_SL2L265->SetBinContent(52,35792.86); h_SL2L265->SetBinContent(53,40371.43); h_SL2L265->SetBinContent(54,41571.43); h_SL2L265->SetBinContent(55,42585.71); h_SL2L265->SetBinContent(56,38335.71); h_SL2L265->SetBinContent(57,34178.57); h_SL2L265->SetMaximum(90488.57); 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,33700); h_SL2L366->SetBinContent(2,43092.86); h_SL2L366->SetBinContent(3,52650); h_SL2L366->SetBinContent(4,52107.14); h_SL2L366->SetBinContent(5,53592.86); h_SL2L366->SetBinContent(6,48457.14); h_SL2L366->SetBinContent(7,46742.86); h_SL2L366->SetBinContent(8,45478.57); h_SL2L366->SetBinContent(9,48264.29); h_SL2L366->SetBinContent(10,50557.14); h_SL2L366->SetBinContent(11,51971.43); h_SL2L366->SetBinContent(12,49335.71); h_SL2L366->SetBinContent(13,45185.71); h_SL2L366->SetBinContent(14,45000); h_SL2L366->SetBinContent(15,45242.86); h_SL2L366->SetBinContent(16,43864.29); h_SL2L366->SetBinContent(17,41492.86); h_SL2L366->SetBinContent(18,38928.57); h_SL2L366->SetBinContent(19,38850); h_SL2L366->SetBinContent(20,39264.29); h_SL2L366->SetBinContent(21,38742.86); h_SL2L366->SetBinContent(22,38935.71); h_SL2L366->SetBinContent(23,38771.43); h_SL2L366->SetBinContent(24,37142.86); h_SL2L366->SetBinContent(25,35692.86); h_SL2L366->SetBinContent(26,34778.57); h_SL2L366->SetBinContent(27,33600); h_SL2L366->SetBinContent(28,34000); h_SL2L366->SetBinContent(29,33635.71); h_SL2L366->SetBinContent(30,32614.29); h_SL2L366->SetBinContent(31,31664.29); h_SL2L366->SetBinContent(32,33778.57); h_SL2L366->SetBinContent(33,34242.86); h_SL2L366->SetBinContent(34,35307.14); h_SL2L366->SetBinContent(35,33442.86); h_SL2L366->SetBinContent(36,34500); h_SL2L366->SetBinContent(37,36785.71); h_SL2L366->SetBinContent(38,37842.86); h_SL2L366->SetBinContent(39,36900); h_SL2L366->SetBinContent(40,38185.71); h_SL2L366->SetBinContent(41,36864.29); h_SL2L366->SetBinContent(42,36564.29); h_SL2L366->SetBinContent(43,36500); h_SL2L366->SetBinContent(44,35050); h_SL2L366->SetBinContent(45,33878.57); h_SL2L366->SetBinContent(46,34000); h_SL2L366->SetBinContent(47,31964.29); h_SL2L366->SetBinContent(48,31807.14); h_SL2L366->SetBinContent(49,32400); h_SL2L366->SetBinContent(50,31542.86); h_SL2L366->SetBinContent(51,32907.14); h_SL2L366->SetBinContent(52,35835.71); h_SL2L366->SetBinContent(53,39171.43); h_SL2L366->SetBinContent(54,41142.86); h_SL2L366->SetBinContent(55,40157.14); h_SL2L366->SetBinContent(56,34114.29); h_SL2L366->SetBinContent(57,30992.86); h_SL2L366->SetMaximum(90488.57); 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,40578.57); h_SL2L467->SetBinContent(3,45792.86); h_SL2L467->SetBinContent(4,51907.14); h_SL2L467->SetBinContent(5,51064.29); h_SL2L467->SetBinContent(6,48914.29); h_SL2L467->SetBinContent(7,47328.57); h_SL2L467->SetBinContent(8,41550); h_SL2L467->SetBinContent(9,46442.86); h_SL2L467->SetBinContent(10,46835.71); h_SL2L467->SetBinContent(11,49957.14); h_SL2L467->SetBinContent(12,48671.43); h_SL2L467->SetBinContent(13,45285.71); h_SL2L467->SetBinContent(14,44307.14); h_SL2L467->SetBinContent(15,42950); h_SL2L467->SetBinContent(16,44235.71); h_SL2L467->SetBinContent(17,42464.29); h_SL2L467->SetBinContent(18,39750); h_SL2L467->SetBinContent(19,38057.14); h_SL2L467->SetBinContent(20,38121.43); h_SL2L467->SetBinContent(21,39150); h_SL2L467->SetBinContent(22,39035.71); h_SL2L467->SetBinContent(23,38214.29); h_SL2L467->SetBinContent(24,36785.71); h_SL2L467->SetBinContent(25,35714.29); h_SL2L467->SetBinContent(26,35107.14); h_SL2L467->SetBinContent(27,34928.57); h_SL2L467->SetBinContent(28,33814.29); h_SL2L467->SetBinContent(29,33328.57); h_SL2L467->SetBinContent(30,32807.14); h_SL2L467->SetBinContent(31,31578.57); h_SL2L467->SetBinContent(32,33450); h_SL2L467->SetBinContent(33,32985.71); h_SL2L467->SetBinContent(34,33892.86); h_SL2L467->SetBinContent(35,34114.29); h_SL2L467->SetBinContent(36,34314.29); h_SL2L467->SetBinContent(37,35021.43); h_SL2L467->SetBinContent(38,36371.43); h_SL2L467->SetBinContent(39,37078.57); h_SL2L467->SetBinContent(40,36014.29); h_SL2L467->SetBinContent(41,35242.86); h_SL2L467->SetBinContent(42,36235.71); h_SL2L467->SetBinContent(43,34850); h_SL2L467->SetBinContent(44,35371.43); h_SL2L467->SetBinContent(45,32657.14); h_SL2L467->SetBinContent(46,33285.71); h_SL2L467->SetBinContent(47,32378.57); h_SL2L467->SetBinContent(48,31128.57); h_SL2L467->SetBinContent(49,30764.29); h_SL2L467->SetBinContent(50,31464.29); h_SL2L467->SetBinContent(51,30228.57); h_SL2L467->SetBinContent(52,32314.29); h_SL2L467->SetBinContent(53,36685.71); h_SL2L467->SetBinContent(54,39992.86); h_SL2L467->SetBinContent(55,40271.43); h_SL2L467->SetBinContent(56,36028.57); h_SL2L467->SetBinContent(57,31621.43); h_SL2L467->SetMaximum(90488.57); 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 7380"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }