void RatesPerCell_Removing_noisy_cells_run_6614_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:22:01 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11974.66,67.5,107772); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6614",60,0,60); h_SL1L160->SetBinContent(1,261.4286); h_SL1L160->SetBinContent(2,242.8571); h_SL1L160->SetBinContent(3,291.4286); h_SL1L160->SetBinContent(4,277.1429); h_SL1L160->SetBinContent(5,305.7143); h_SL1L160->SetBinContent(6,260); h_SL1L160->SetBinContent(7,302.8571); h_SL1L160->SetBinContent(8,337.1429); h_SL1L160->SetBinContent(9,357.1429); h_SL1L160->SetBinContent(10,454.2857); h_SL1L160->SetBinContent(11,457.1429); h_SL1L160->SetBinContent(12,470); h_SL1L160->SetBinContent(13,517.1429); h_SL1L160->SetBinContent(14,522.8572); h_SL1L160->SetBinContent(15,545.7143); h_SL1L160->SetBinContent(16,468.5714); h_SL1L160->SetBinContent(17,591.4286); h_SL1L160->SetBinContent(18,855.7143); h_SL1L160->SetBinContent(19,941.4286); h_SL1L160->SetBinContent(20,1051.429); h_SL1L160->SetBinContent(21,1227.143); h_SL1L160->SetBinContent(22,1308.571); h_SL1L160->SetBinContent(23,1432.857); h_SL1L160->SetBinContent(24,1632.857); h_SL1L160->SetBinContent(25,1561.429); h_SL1L160->SetBinContent(26,1595.714); h_SL1L160->SetBinContent(27,1781.429); h_SL1L160->SetBinContent(28,2455.714); h_SL1L160->SetBinContent(29,2907.143); h_SL1L160->SetBinContent(30,3325.714); h_SL1L160->SetBinContent(31,4712.857); h_SL1L160->SetBinContent(32,8614.286); h_SL1L160->SetBinContent(33,34011.43); h_SL1L160->SetBinContent(34,50884.29); h_SL1L160->SetBinContent(35,58577.14); h_SL1L160->SetBinContent(36,65901.43); h_SL1L160->SetBinContent(37,70187.14); h_SL1L160->SetBinContent(38,64435.71); h_SL1L160->SetBinContent(39,36541.43); h_SL1L160->SetBinContent(40,8481.429); h_SL1L160->SetBinContent(41,4937.143); h_SL1L160->SetBinContent(42,3758.572); h_SL1L160->SetBinContent(43,3310); h_SL1L160->SetBinContent(44,2944.286); h_SL1L160->SetBinContent(45,2507.143); h_SL1L160->SetBinContent(46,2354.286); h_SL1L160->SetBinContent(47,2122.857); h_SL1L160->SetBinContent(48,1900); h_SL1L160->SetBinContent(49,1660); h_SL1L160->SetBinContent(50,1632.857); h_SL1L160->SetBinContent(51,1401.429); h_SL1L160->SetBinContent(52,1238.571); h_SL1L160->SetBinContent(53,1217.143); h_SL1L160->SetBinContent(54,1042.857); h_SL1L160->SetBinContent(55,1100); h_SL1L160->SetBinContent(56,985.7143); h_SL1L160->SetBinContent(57,870); h_SL1L160->SetBinContent(58,838.5715); h_SL1L160->SetBinContent(59,785.7143); h_SL1L160->SetMaximum(95797.3); 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,217.1429); h_SL1L261->SetBinContent(2,205.7143); h_SL1L261->SetBinContent(3,204.2857); h_SL1L261->SetBinContent(4,254.2857); h_SL1L261->SetBinContent(5,204.2857); h_SL1L261->SetBinContent(6,204.2857); h_SL1L261->SetBinContent(7,225.7143); h_SL1L261->SetBinContent(8,265.7143); h_SL1L261->SetBinContent(9,304.2857); h_SL1L261->SetBinContent(10,344.2857); h_SL1L261->SetBinContent(11,361.4286); h_SL1L261->SetBinContent(12,380); h_SL1L261->SetBinContent(13,390); h_SL1L261->SetBinContent(14,480); h_SL1L261->SetBinContent(15,490); h_SL1L261->SetBinContent(16,447.1429); h_SL1L261->SetBinContent(17,491.4286); h_SL1L261->SetBinContent(18,718.5715); h_SL1L261->SetBinContent(19,782.8572); h_SL1L261->SetBinContent(20,898.5715); h_SL1L261->SetBinContent(21,1032.857); h_SL1L261->SetBinContent(22,1110); h_SL1L261->SetBinContent(23,1245.714); h_SL1L261->SetBinContent(24,1421.429); h_SL1L261->SetBinContent(25,1581.429); h_SL1L261->SetBinContent(26,1304.286); h_SL1L261->SetBinContent(27,1697.143); h_SL1L261->SetBinContent(28,2000); h_SL1L261->SetBinContent(29,2671.429); h_SL1L261->SetBinContent(30,2950); h_SL1L261->SetBinContent(31,3710); h_SL1L261->SetBinContent(32,6667.143); h_SL1L261->SetBinContent(33,17827.14); h_SL1L261->SetBinContent(34,47257.14); h_SL1L261->SetBinContent(35,56098.57); h_SL1L261->SetBinContent(36,64522.86); h_SL1L261->SetBinContent(37,70655.72); h_SL1L261->SetBinContent(38,70184.29); h_SL1L261->SetBinContent(39,55464.29); h_SL1L261->SetBinContent(40,17104.29); h_SL1L261->SetBinContent(41,7030); h_SL1L261->SetBinContent(42,3934.286); h_SL1L261->SetBinContent(43,3451.429); h_SL1L261->SetBinContent(44,3067.143); h_SL1L261->SetBinContent(45,2627.143); h_SL1L261->SetBinContent(46,2267.143); h_SL1L261->SetBinContent(47,2091.429); h_SL1L261->SetBinContent(48,1927.143); h_SL1L261->SetBinContent(49,18711.43); h_SL1L261->SetBinContent(50,1500); h_SL1L261->SetBinContent(51,1380); h_SL1L261->SetBinContent(52,1492.857); h_SL1L261->SetBinContent(53,1604.286); h_SL1L261->SetBinContent(54,1064.286); h_SL1L261->SetBinContent(55,988.5715); h_SL1L261->SetBinContent(56,7760); h_SL1L261->SetBinContent(57,924.2858); h_SL1L261->SetBinContent(58,741.4286); h_SL1L261->SetBinContent(59,740); h_SL1L261->SetMaximum(83302.72); 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,161.4286); h_SL1L362->SetBinContent(2,160); h_SL1L362->SetBinContent(3,172.8571); h_SL1L362->SetBinContent(4,187.1429); h_SL1L362->SetBinContent(5,185.7143); h_SL1L362->SetBinContent(6,177.1429); h_SL1L362->SetBinContent(7,240); h_SL1L362->SetBinContent(8,267.1429); h_SL1L362->SetBinContent(9,297.1429); h_SL1L362->SetBinContent(10,310); h_SL1L362->SetBinContent(11,314.2857); h_SL1L362->SetBinContent(12,342.8571); h_SL1L362->SetBinContent(13,387.1429); h_SL1L362->SetBinContent(14,385.7143); h_SL1L362->SetBinContent(15,388.5714); h_SL1L362->SetBinContent(16,400); h_SL1L362->SetBinContent(17,485.7143); h_SL1L362->SetBinContent(18,682.8572); h_SL1L362->SetBinContent(19,744.2857); h_SL1L362->SetBinContent(20,851.4286); h_SL1L362->SetBinContent(21,978.5715); h_SL1L362->SetBinContent(22,1042.857); h_SL1L362->SetBinContent(23,1250); h_SL1L362->SetBinContent(24,1421.429); h_SL1L362->SetBinContent(25,1392.857); h_SL1L362->SetBinContent(26,1438.571); h_SL1L362->SetBinContent(27,1694.286); h_SL1L362->SetBinContent(28,2254.286); h_SL1L362->SetBinContent(29,2725.714); h_SL1L362->SetBinContent(30,3244.286); h_SL1L362->SetBinContent(31,4611.429); h_SL1L362->SetBinContent(32,8660); h_SL1L362->SetBinContent(33,34981.43); h_SL1L362->SetBinContent(34,52472.86); h_SL1L362->SetBinContent(35,60490); h_SL1L362->SetBinContent(36,68074.29); h_SL1L362->SetBinContent(37,72437.15); h_SL1L362->SetBinContent(38,64700); h_SL1L362->SetBinContent(39,37282.86); h_SL1L362->SetBinContent(40,8492.857); h_SL1L362->SetBinContent(41,4800); h_SL1L362->SetBinContent(42,3590); h_SL1L362->SetBinContent(43,3148.572); h_SL1L362->SetBinContent(44,2681.429); h_SL1L362->SetBinContent(45,2330); h_SL1L362->SetBinContent(46,2060); h_SL1L362->SetBinContent(47,1900); h_SL1L362->SetBinContent(48,1701.429); h_SL1L362->SetBinContent(49,1485.714); h_SL1L362->SetBinContent(50,1348.571); h_SL1L362->SetBinContent(51,1217.143); h_SL1L362->SetBinContent(52,1121.429); h_SL1L362->SetBinContent(53,5737.143); h_SL1L362->SetBinContent(54,935.7143); h_SL1L362->SetBinContent(55,932.8572); h_SL1L362->SetBinContent(56,7321.429); h_SL1L362->SetBinContent(57,1575.714); h_SL1L362->SetBinContent(58,742.8572); h_SL1L362->SetBinContent(59,638.5715); h_SL1L362->SetMaximum(83302.72); 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,141.4286); h_SL1L463->SetBinContent(3,141.4286); h_SL1L463->SetBinContent(4,175.7143); h_SL1L463->SetBinContent(5,144.2857); h_SL1L463->SetBinContent(6,162.8571); h_SL1L463->SetBinContent(7,172.8571); h_SL1L463->SetBinContent(8,187.1429); h_SL1L463->SetBinContent(9,222.8571); h_SL1L463->SetBinContent(10,258.5714); h_SL1L463->SetBinContent(11,265.7143); h_SL1L463->SetBinContent(12,277.1429); h_SL1L463->SetBinContent(13,302.8571); h_SL1L463->SetBinContent(14,307.1429); h_SL1L463->SetBinContent(15,394.2857); h_SL1L463->SetBinContent(16,368.5714); h_SL1L463->SetBinContent(17,367.1429); h_SL1L463->SetBinContent(18,535.7143); h_SL1L463->SetBinContent(19,622.8572); h_SL1L463->SetBinContent(20,688.5715); h_SL1L463->SetBinContent(21,814.2857); h_SL1L463->SetBinContent(22,875.7143); h_SL1L463->SetBinContent(23,1032.857); h_SL1L463->SetBinContent(24,1245.714); h_SL1L463->SetBinContent(25,1288.571); h_SL1L463->SetBinContent(26,1187.143); h_SL1L463->SetBinContent(27,1550); h_SL1L463->SetBinContent(28,1885.714); h_SL1L463->SetBinContent(29,2292.857); h_SL1L463->SetBinContent(30,2794.286); h_SL1L463->SetBinContent(31,3467.143); h_SL1L463->SetBinContent(32,6344.286); h_SL1L463->SetBinContent(33,17024.29); h_SL1L463->SetBinContent(34,46498.57); h_SL1L463->SetBinContent(35,55984.29); h_SL1L463->SetBinContent(36,63755.71); h_SL1L463->SetBinContent(37,69548.57); h_SL1L463->SetBinContent(38,68541.43); h_SL1L463->SetBinContent(39,55261.43); h_SL1L463->SetBinContent(40,17025.71); h_SL1L463->SetBinContent(41,6624.286); h_SL1L463->SetBinContent(42,3775.714); h_SL1L463->SetBinContent(43,3234.286); h_SL1L463->SetBinContent(44,2741.429); h_SL1L463->SetBinContent(45,2505.714); h_SL1L463->SetBinContent(46,2101.429); h_SL1L463->SetBinContent(47,1897.143); h_SL1L463->SetBinContent(48,1757.143); h_SL1L463->SetBinContent(49,1365.714); h_SL1L463->SetBinContent(50,1325.714); h_SL1L463->SetBinContent(51,1212.857); h_SL1L463->SetBinContent(52,1121.429); h_SL1L463->SetBinContent(53,1047.143); h_SL1L463->SetBinContent(54,971.4286); h_SL1L463->SetBinContent(55,1.428571); h_SL1L463->SetBinContent(56,865.7143); h_SL1L463->SetBinContent(57,712.8572); h_SL1L463->SetBinContent(58,664.2857); h_SL1L463->SetBinContent(59,635.7143); h_SL1L463->SetMaximum(83302.72); 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 6614"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }