void RatesPerCell_Removing_noisy_cells_run_6393_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:43:14 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2601.875,67.5,23416.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6393",60,0,60); h_SL1L160->SetBinContent(1,8810.714); h_SL1L160->SetBinContent(2,9910.714); h_SL1L160->SetBinContent(3,10614.29); h_SL1L160->SetBinContent(4,10285.71); h_SL1L160->SetBinContent(5,10389.29); h_SL1L160->SetBinContent(6,10882.14); h_SL1L160->SetBinContent(7,10607.14); h_SL1L160->SetBinContent(8,11292.86); h_SL1L160->SetBinContent(9,11017.86); h_SL1L160->SetBinContent(10,11585.71); h_SL1L160->SetBinContent(11,11792.86); h_SL1L160->SetBinContent(12,11260.71); h_SL1L160->SetBinContent(13,11617.86); h_SL1L160->SetBinContent(14,10964.29); h_SL1L160->SetBinContent(15,9764.285); h_SL1L160->SetBinContent(16,10025); h_SL1L160->SetBinContent(17,9642.857); h_SL1L160->SetBinContent(18,10053.57); h_SL1L160->SetBinContent(19,10121.43); h_SL1L160->SetBinContent(20,10267.86); h_SL1L160->SetBinContent(21,9982.143); h_SL1L160->SetBinContent(22,10060.71); h_SL1L160->SetBinContent(23,9564.285); h_SL1L160->SetBinContent(24,9435.714); h_SL1L160->SetBinContent(25,9435.714); h_SL1L160->SetBinContent(26,9542.857); h_SL1L160->SetBinContent(27,9425); h_SL1L160->SetBinContent(28,9017.857); h_SL1L160->SetBinContent(29,9767.857); h_SL1L160->SetBinContent(30,9146.429); h_SL1L160->SetBinContent(31,9200); h_SL1L160->SetBinContent(32,8982.143); h_SL1L160->SetBinContent(33,9485.714); h_SL1L160->SetBinContent(34,9596.429); h_SL1L160->SetBinContent(35,9267.857); h_SL1L160->SetBinContent(36,9439.285); h_SL1L160->SetBinContent(37,9578.571); h_SL1L160->SetBinContent(38,9785.714); h_SL1L160->SetBinContent(39,9514.285); h_SL1L160->SetBinContent(40,8771.429); h_SL1L160->SetBinContent(41,8928.571); h_SL1L160->SetBinContent(42,9510.714); h_SL1L160->SetBinContent(43,8842.857); h_SL1L160->SetBinContent(44,8878.571); h_SL1L160->SetBinContent(45,8582.143); h_SL1L160->SetBinContent(46,8028.571); h_SL1L160->SetBinContent(47,7960.714); h_SL1L160->SetBinContent(48,7382.143); h_SL1L160->SetBinContent(49,8171.429); h_SL1L160->SetBinContent(50,8421.429); h_SL1L160->SetBinContent(51,7967.857); h_SL1L160->SetBinContent(52,7839.286); h_SL1L160->SetBinContent(53,7867.857); h_SL1L160->SetBinContent(54,7414.286); h_SL1L160->SetBinContent(55,7117.857); h_SL1L160->SetBinContent(56,7750); h_SL1L160->SetBinContent(57,8735.714); h_SL1L160->SetBinContent(58,8978.571); h_SL1L160->SetBinContent(59,8067.857); h_SL1L160->SetMaximum(20815); 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,9135.714); h_SL1L261->SetBinContent(2,10200); h_SL1L261->SetBinContent(3,11342.86); h_SL1L261->SetBinContent(4,11932.14); h_SL1L261->SetBinContent(5,12842.86); h_SL1L261->SetBinContent(6,13825); h_SL1L261->SetBinContent(7,13735.71); h_SL1L261->SetBinContent(8,14021.43); h_SL1L261->SetBinContent(9,14510.71); h_SL1L261->SetBinContent(10,14139.29); h_SL1L261->SetBinContent(11,14239.29); h_SL1L261->SetBinContent(12,14346.43); h_SL1L261->SetBinContent(13,14517.86); h_SL1L261->SetBinContent(14,14864.29); h_SL1L261->SetBinContent(15,14439.29); h_SL1L261->SetBinContent(16,13989.29); h_SL1L261->SetBinContent(17,13685.71); h_SL1L261->SetBinContent(18,14482.14); h_SL1L261->SetBinContent(19,13764.29); h_SL1L261->SetBinContent(20,14353.57); h_SL1L261->SetBinContent(21,15107.14); h_SL1L261->SetBinContent(22,14589.29); h_SL1L261->SetBinContent(23,14517.86); h_SL1L261->SetBinContent(24,14682.14); h_SL1L261->SetBinContent(25,14950); h_SL1L261->SetBinContent(26,14450); h_SL1L261->SetBinContent(27,13871.43); h_SL1L261->SetBinContent(28,14439.29); h_SL1L261->SetBinContent(29,14942.86); h_SL1L261->SetBinContent(30,15464.29); h_SL1L261->SetBinContent(31,15250); h_SL1L261->SetBinContent(32,15278.57); h_SL1L261->SetBinContent(33,15482.14); h_SL1L261->SetBinContent(34,15739.29); h_SL1L261->SetBinContent(35,14614.29); h_SL1L261->SetBinContent(36,14721.43); h_SL1L261->SetBinContent(37,15542.86); h_SL1L261->SetBinContent(38,15521.43); h_SL1L261->SetBinContent(39,14746.43); h_SL1L261->SetBinContent(40,14692.86); h_SL1L261->SetBinContent(41,14560.71); h_SL1L261->SetBinContent(42,14550); h_SL1L261->SetBinContent(43,13978.57); h_SL1L261->SetBinContent(44,14157.14); h_SL1L261->SetBinContent(45,14575); h_SL1L261->SetBinContent(46,14746.43); h_SL1L261->SetBinContent(47,13035.71); h_SL1L261->SetBinContent(48,12075); h_SL1L261->SetBinContent(49,12921.43); h_SL1L261->SetBinContent(50,13450); h_SL1L261->SetBinContent(51,12825); h_SL1L261->SetBinContent(52,12364.29); h_SL1L261->SetBinContent(53,13057.14); h_SL1L261->SetBinContent(54,12607.14); h_SL1L261->SetBinContent(55,12467.86); h_SL1L261->SetBinContent(56,11703.57); h_SL1L261->SetBinContent(57,11646.43); h_SL1L261->SetBinContent(58,11096.43); h_SL1L261->SetBinContent(59,10596.43); h_SL1L261->SetMaximum(18100.18); 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,9075); h_SL1L362->SetBinContent(2,10335.71); h_SL1L362->SetBinContent(3,11796.43); h_SL1L362->SetBinContent(4,12346.43); h_SL1L362->SetBinContent(5,13692.86); h_SL1L362->SetBinContent(6,13278.57); h_SL1L362->SetBinContent(7,13471.43); h_SL1L362->SetBinContent(8,13610.71); h_SL1L362->SetBinContent(9,14200); h_SL1L362->SetBinContent(10,14285.71); h_SL1L362->SetBinContent(11,13910.71); h_SL1L362->SetBinContent(12,14121.43); h_SL1L362->SetBinContent(13,14750); h_SL1L362->SetBinContent(14,14446.43); h_SL1L362->SetBinContent(15,13439.29); h_SL1L362->SetBinContent(16,13846.43); h_SL1L362->SetBinContent(17,14021.43); h_SL1L362->SetBinContent(18,14107.14); h_SL1L362->SetBinContent(19,13578.57); h_SL1L362->SetBinContent(20,14767.86); h_SL1L362->SetBinContent(21,14682.14); h_SL1L362->SetBinContent(22,14160.71); h_SL1L362->SetBinContent(23,14182.14); h_SL1L362->SetBinContent(24,14775); h_SL1L362->SetBinContent(25,14885.71); h_SL1L362->SetBinContent(26,13925); h_SL1L362->SetBinContent(27,14321.43); h_SL1L362->SetBinContent(28,14685.71); h_SL1L362->SetBinContent(29,15289.29); h_SL1L362->SetBinContent(30,14678.57); h_SL1L362->SetBinContent(31,15114.29); h_SL1L362->SetBinContent(32,15557.14); h_SL1L362->SetBinContent(33,15221.43); h_SL1L362->SetBinContent(34,14946.43); h_SL1L362->SetBinContent(35,14396.43); h_SL1L362->SetBinContent(36,15028.57); h_SL1L362->SetBinContent(37,15060.71); h_SL1L362->SetBinContent(38,14700); h_SL1L362->SetBinContent(39,14200); h_SL1L362->SetBinContent(40,14771.43); h_SL1L362->SetBinContent(41,14425); h_SL1L362->SetBinContent(42,14328.57); h_SL1L362->SetBinContent(43,13996.43); h_SL1L362->SetBinContent(44,14389.29); h_SL1L362->SetBinContent(45,14257.14); h_SL1L362->SetBinContent(46,13542.86); h_SL1L362->SetBinContent(47,12575); h_SL1L362->SetBinContent(48,12317.86); h_SL1L362->SetBinContent(49,13153.57); h_SL1L362->SetBinContent(50,12925); h_SL1L362->SetBinContent(51,11960.71); h_SL1L362->SetBinContent(52,12475); h_SL1L362->SetBinContent(53,12717.86); h_SL1L362->SetBinContent(54,12328.57); h_SL1L362->SetBinContent(55,11753.57); h_SL1L362->SetBinContent(56,11792.86); h_SL1L362->SetBinContent(57,11371.43); h_SL1L362->SetBinContent(58,10946.43); h_SL1L362->SetBinContent(59,9853.571); h_SL1L362->SetMaximum(18100.18); 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,8257.143); h_SL1L463->SetBinContent(3,8742.857); h_SL1L463->SetBinContent(4,9200); h_SL1L463->SetBinContent(5,9510.714); h_SL1L463->SetBinContent(6,9746.429); h_SL1L463->SetBinContent(7,9828.571); h_SL1L463->SetBinContent(8,10196.43); h_SL1L463->SetBinContent(9,10853.57); h_SL1L463->SetBinContent(10,11246.43); h_SL1L463->SetBinContent(11,10953.57); h_SL1L463->SetBinContent(12,11982.14); h_SL1L463->SetBinContent(13,12142.86); h_SL1L463->SetBinContent(14,12453.57); h_SL1L463->SetBinContent(15,11550); h_SL1L463->SetBinContent(16,11157.14); h_SL1L463->SetBinContent(17,10853.57); h_SL1L463->SetBinContent(18,11046.43); h_SL1L463->SetBinContent(19,10010.71); h_SL1L463->SetBinContent(20,10596.43); h_SL1L463->SetBinContent(21,11300); h_SL1L463->SetBinContent(22,10957.14); h_SL1L463->SetBinContent(23,10553.57); h_SL1L463->SetBinContent(24,10657.14); h_SL1L463->SetBinContent(25,10178.57); h_SL1L463->SetBinContent(26,10228.57); h_SL1L463->SetBinContent(27,9785.714); h_SL1L463->SetBinContent(28,10203.57); h_SL1L463->SetBinContent(29,10214.29); h_SL1L463->SetBinContent(30,10135.71); h_SL1L463->SetBinContent(31,9978.571); h_SL1L463->SetBinContent(32,9903.571); h_SL1L463->SetBinContent(33,9492.857); h_SL1L463->SetBinContent(34,9535.714); h_SL1L463->SetBinContent(35,9489.285); h_SL1L463->SetBinContent(36,8857.143); h_SL1L463->SetBinContent(37,8300); h_SL1L463->SetBinContent(38,8817.857); h_SL1L463->SetBinContent(39,9078.571); h_SL1L463->SetBinContent(40,8500); h_SL1L463->SetBinContent(41,8314.285); h_SL1L463->SetBinContent(42,8625); h_SL1L463->SetBinContent(43,8928.571); h_SL1L463->SetBinContent(44,8353.571); h_SL1L463->SetBinContent(45,7932.143); h_SL1L463->SetBinContent(46,8128.571); h_SL1L463->SetBinContent(47,7700); h_SL1L463->SetBinContent(48,7428.571); h_SL1L463->SetBinContent(49,7389.286); h_SL1L463->SetBinContent(50,7614.286); h_SL1L463->SetBinContent(51,7892.857); h_SL1L463->SetBinContent(52,8085.714); h_SL1L463->SetBinContent(53,7553.571); h_SL1L463->SetBinContent(54,7521.429); h_SL1L463->SetBinContent(55,3.571429); h_SL1L463->SetBinContent(56,7378.571); h_SL1L463->SetBinContent(57,8003.571); h_SL1L463->SetBinContent(58,8903.571); h_SL1L463->SetBinContent(59,8460.714); h_SL1L463->SetMaximum(18100.18); 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 6393"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }