void RatesPerCell_Removing_noisy_cells_run_6608_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:26:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-21656.37,67.5,194907.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6608",60,0,60); h_SL3L168->SetBinContent(1,658.5715); h_SL3L168->SetBinContent(2,290); h_SL3L168->SetBinContent(4,310); h_SL3L168->SetBinContent(5,360); h_SL3L168->SetBinContent(6,325.7143); h_SL3L168->SetBinContent(7,320); h_SL3L168->SetBinContent(8,320); h_SL3L168->SetBinContent(9,341.4286); h_SL3L168->SetBinContent(10,374.2857); h_SL3L168->SetBinContent(11,464.2857); h_SL3L168->SetBinContent(12,434.2857); h_SL3L168->SetBinContent(13,544.2857); h_SL3L168->SetBinContent(14,600); h_SL3L168->SetBinContent(15,638.5715); h_SL3L168->SetBinContent(16,747.1429); h_SL3L168->SetBinContent(17,722.8572); h_SL3L168->SetBinContent(18,831.4286); h_SL3L168->SetBinContent(19,865.7143); h_SL3L168->SetBinContent(20,991.4286); h_SL3L168->SetBinContent(21,1057.143); h_SL3L168->SetBinContent(22,1184.286); h_SL3L168->SetBinContent(23,1068.571); h_SL3L168->SetBinContent(24,1268.571); h_SL3L168->SetBinContent(25,1580); h_SL3L168->SetBinContent(26,1705.714); h_SL3L168->SetBinContent(27,1817.143); h_SL3L168->SetBinContent(28,2142.857); h_SL3L168->SetBinContent(29,2457.143); h_SL3L168->SetBinContent(30,2854.286); h_SL3L168->SetBinContent(31,3452.857); h_SL3L168->SetBinContent(32,4981.429); h_SL3L168->SetBinContent(33,9471.429); h_SL3L168->SetBinContent(34,39325.71); h_SL3L168->SetBinContent(35,57662.86); h_SL3L168->SetBinContent(36,62024.29); h_SL3L168->SetBinContent(37,67884.29); h_SL3L168->SetBinContent(38,71517.15); h_SL3L168->SetBinContent(39,65171.43); h_SL3L168->SetBinContent(40,41768.57); h_SL3L168->SetBinContent(41,9751.429); h_SL3L168->SetBinContent(42,5312.857); h_SL3L168->SetBinContent(43,3904.286); h_SL3L168->SetBinContent(44,3284.286); h_SL3L168->SetBinContent(45,2940); h_SL3L168->SetBinContent(46,2581.429); h_SL3L168->SetBinContent(47,2341.429); h_SL3L168->SetBinContent(48,2205.714); h_SL3L168->SetBinContent(49,23687.14); h_SL3L168->SetBinContent(50,2078.572); h_SL3L168->SetBinContent(51,1985.714); h_SL3L168->SetBinContent(52,1730); h_SL3L168->SetBinContent(53,1771.429); h_SL3L168->SetBinContent(54,1585.714); h_SL3L168->SetBinContent(55,1591.429); h_SL3L168->SetBinContent(56,1474.286); h_SL3L168->SetBinContent(57,1348.571); h_SL3L168->SetBinContent(58,1140); h_SL3L168->SetBinContent(59,1207.143); h_SL3L168->SetMaximum(173250.9); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,311.4286); h_SL3L269->SetBinContent(2,280); h_SL3L269->SetBinContent(3,1.428571); h_SL3L269->SetBinContent(4,287.1429); h_SL3L269->SetBinContent(5,311.4286); h_SL3L269->SetBinContent(6,375.7143); h_SL3L269->SetBinContent(7,324.2857); h_SL3L269->SetBinContent(8,304.2857); h_SL3L269->SetBinContent(9,342.8571); h_SL3L269->SetBinContent(10,371.4286); h_SL3L269->SetBinContent(11,382.8571); h_SL3L269->SetBinContent(12,458.5714); h_SL3L269->SetBinContent(13,508.5714); h_SL3L269->SetBinContent(14,594.2857); h_SL3L269->SetBinContent(15,561.4286); h_SL3L269->SetBinContent(16,704.2857); h_SL3L269->SetBinContent(17,691.4286); h_SL3L269->SetBinContent(18,747.1429); h_SL3L269->SetBinContent(19,942.8572); h_SL3L269->SetBinContent(20,920); h_SL3L269->SetBinContent(21,1005.714); h_SL3L269->SetBinContent(22,1100); h_SL3L269->SetBinContent(23,1142.857); h_SL3L269->SetBinContent(24,1160); h_SL3L269->SetBinContent(25,1394.286); h_SL3L269->SetBinContent(26,1524.286); h_SL3L269->SetBinContent(27,1740); h_SL3L269->SetBinContent(28,2018.572); h_SL3L269->SetBinContent(29,2228.572); h_SL3L269->SetBinContent(30,2544.286); h_SL3L269->SetBinContent(31,3054.286); h_SL3L269->SetBinContent(32,3831.429); h_SL3L269->SetBinContent(33,7055.714); h_SL3L269->SetBinContent(34,19637.14); h_SL3L269->SetBinContent(35,51617.14); h_SL3L269->SetBinContent(36,59311.43); h_SL3L269->SetBinContent(37,63958.57); h_SL3L269->SetBinContent(38,69787.14); h_SL3L269->SetBinContent(39,69091.43); h_SL3L269->SetBinContent(40,57445.71); h_SL3L269->SetBinContent(41,20240); h_SL3L269->SetBinContent(42,7581.429); h_SL3L269->SetBinContent(43,4341.429); h_SL3L269->SetBinContent(44,3562.857); h_SL3L269->SetBinContent(45,3065.714); h_SL3L269->SetBinContent(46,2655.714); h_SL3L269->SetBinContent(47,2370); h_SL3L269->SetBinContent(48,2182.857); h_SL3L269->SetBinContent(49,4447.143); h_SL3L269->SetBinContent(50,2037.143); h_SL3L269->SetBinContent(51,2007.143); h_SL3L269->SetBinContent(52,2130); h_SL3L269->SetBinContent(53,5391.429); h_SL3L269->SetBinContent(54,1681.429); h_SL3L269->SetBinContent(55,1557.143); h_SL3L269->SetBinContent(56,1828.572); h_SL3L269->SetBinContent(57,1322.857); h_SL3L269->SetBinContent(58,1297.143); h_SL3L269->SetBinContent(59,1101.429); h_SL3L269->SetMaximum(150653.3); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,267.1429); h_SL3L370->SetBinContent(2,300); h_SL3L370->SetBinContent(3,252.8571); h_SL3L370->SetBinContent(4,301.4286); h_SL3L370->SetBinContent(5,395.7143); h_SL3L370->SetBinContent(6,440); h_SL3L370->SetBinContent(7,322.8571); h_SL3L370->SetBinContent(8,291.4286); h_SL3L370->SetBinContent(9,348.5714); h_SL3L370->SetBinContent(10,382.8571); h_SL3L370->SetBinContent(11,458.5714); h_SL3L370->SetBinContent(12,438.5714); h_SL3L370->SetBinContent(13,571.4286); h_SL3L370->SetBinContent(14,562.8572); h_SL3L370->SetBinContent(15,602.8572); h_SL3L370->SetBinContent(16,722.8572); h_SL3L370->SetBinContent(17,700); h_SL3L370->SetBinContent(18,797.1429); h_SL3L370->SetBinContent(19,877.1429); h_SL3L370->SetBinContent(20,952.8572); h_SL3L370->SetBinContent(21,982.8572); h_SL3L370->SetBinContent(22,1154.286); h_SL3L370->SetBinContent(23,1058.571); h_SL3L370->SetBinContent(24,1251.429); h_SL3L370->SetBinContent(25,1497.143); h_SL3L370->SetBinContent(26,1642.857); h_SL3L370->SetBinContent(27,1721.429); h_SL3L370->SetBinContent(28,2087.143); h_SL3L370->SetBinContent(29,2302.857); h_SL3L370->SetBinContent(30,2705.714); h_SL3L370->SetBinContent(31,3345.714); h_SL3L370->SetBinContent(32,4891.429); h_SL3L370->SetBinContent(33,9348.571); h_SL3L370->SetBinContent(34,38338.57); h_SL3L370->SetBinContent(35,56908.57); h_SL3L370->SetBinContent(36,61694.29); h_SL3L370->SetBinContent(37,67010); h_SL3L370->SetBinContent(38,70448.57); h_SL3L370->SetBinContent(39,64970); h_SL3L370->SetBinContent(40,41512.86); h_SL3L370->SetBinContent(41,9684.286); h_SL3L370->SetBinContent(42,5148.572); h_SL3L370->SetBinContent(43,3815.714); h_SL3L370->SetBinContent(44,3182.857); h_SL3L370->SetBinContent(45,222.8571); h_SL3L370->SetBinContent(46,2444.286); h_SL3L370->SetBinContent(47,2197.143); h_SL3L370->SetBinContent(48,2041.429); h_SL3L370->SetBinContent(49,2150); h_SL3L370->SetBinContent(50,2010); h_SL3L370->SetBinContent(51,1948.572); h_SL3L370->SetBinContent(52,1647.143); h_SL3L370->SetBinContent(53,1745.714); h_SL3L370->SetBinContent(54,1571.429); h_SL3L370->SetBinContent(55,1481.429); h_SL3L370->SetBinContent(56,1382.857); h_SL3L370->SetBinContent(57,1302.857); h_SL3L370->SetBinContent(58,1164.286); h_SL3L370->SetBinContent(59,1187.143); h_SL3L370->SetMaximum(150653.3); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,272.8571); h_SL3L471->SetBinContent(3,274.2857); h_SL3L471->SetBinContent(4,288.5714); h_SL3L471->SetBinContent(5,761.4286); h_SL3L471->SetBinContent(6,131002.9); h_SL3L471->SetBinContent(7,920); h_SL3L471->SetBinContent(8,811.4286); h_SL3L471->SetBinContent(9,314.2857); h_SL3L471->SetBinContent(10,388.5714); h_SL3L471->SetBinContent(11,432.8571); h_SL3L471->SetBinContent(12,465.7143); h_SL3L471->SetBinContent(13,498.5714); h_SL3L471->SetBinContent(14,570); h_SL3L471->SetBinContent(15,590); h_SL3L471->SetBinContent(16,714.2857); h_SL3L471->SetBinContent(17,708.5715); h_SL3L471->SetBinContent(18,765.7143); h_SL3L471->SetBinContent(19,882.8572); h_SL3L471->SetBinContent(20,871.4286); h_SL3L471->SetBinContent(21,978.5715); h_SL3L471->SetBinContent(22,1064.286); h_SL3L471->SetBinContent(23,1145.714); h_SL3L471->SetBinContent(24,1122.857); h_SL3L471->SetBinContent(25,1411.429); h_SL3L471->SetBinContent(26,1554.286); h_SL3L471->SetBinContent(27,1747.143); h_SL3L471->SetBinContent(28,1924.286); h_SL3L471->SetBinContent(29,2087.143); h_SL3L471->SetBinContent(30,2498.572); h_SL3L471->SetBinContent(31,2992.857); h_SL3L471->SetBinContent(32,3808.572); h_SL3L471->SetBinContent(33,7030); h_SL3L471->SetBinContent(34,19445.71); h_SL3L471->SetBinContent(35,51735.71); h_SL3L471->SetBinContent(36,59144.29); h_SL3L471->SetBinContent(37,63814.29); h_SL3L471->SetBinContent(38,69668.57); h_SL3L471->SetBinContent(39,68741.43); h_SL3L471->SetBinContent(40,57105.71); h_SL3L471->SetBinContent(41,20300); h_SL3L471->SetBinContent(42,7454.286); h_SL3L471->SetBinContent(43,4228.571); h_SL3L471->SetBinContent(44,3424.286); h_SL3L471->SetBinContent(45,2991.429); h_SL3L471->SetBinContent(46,2500); h_SL3L471->SetBinContent(47,2332.857); h_SL3L471->SetBinContent(48,2122.857); h_SL3L471->SetBinContent(49,2042.857); h_SL3L471->SetBinContent(50,2015.714); h_SL3L471->SetBinContent(51,2020); h_SL3L471->SetBinContent(52,1702.857); h_SL3L471->SetBinContent(53,1652.857); h_SL3L471->SetBinContent(54,1632.857); h_SL3L471->SetBinContent(55,1507.143); h_SL3L471->SetBinContent(56,1427.143); h_SL3L471->SetBinContent(57,1334.286); h_SL3L471->SetBinContent(58,1297.143); h_SL3L471->SetBinContent(59,1160); h_SL3L471->SetMaximum(150653.3); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6608"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }