void RatesPerCell_Removing_noisy_cells_run_6507_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:20:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12992.84,67.5,116935.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6507",60,0,60); h_SL3L168->SetBinContent(1,177.1429); h_SL3L168->SetBinContent(2,192.8571); h_SL3L168->SetBinContent(4,218.5714); h_SL3L168->SetBinContent(5,220); h_SL3L168->SetBinContent(6,235.7143); h_SL3L168->SetBinContent(7,248.5714); h_SL3L168->SetBinContent(8,264.2857); h_SL3L168->SetBinContent(9,257.1429); h_SL3L168->SetBinContent(10,281.4286); h_SL3L168->SetBinContent(11,364.2857); h_SL3L168->SetBinContent(12,362.8571); h_SL3L168->SetBinContent(13,418.5714); h_SL3L168->SetBinContent(14,441.4286); h_SL3L168->SetBinContent(15,555.7143); h_SL3L168->SetBinContent(16,501.4286); h_SL3L168->SetBinContent(17,598.5715); h_SL3L168->SetBinContent(18,597.1429); h_SL3L168->SetBinContent(19,724.2857); h_SL3L168->SetBinContent(20,855.7143); h_SL3L168->SetBinContent(21,934.2858); h_SL3L168->SetBinContent(22,975.7143); h_SL3L168->SetBinContent(23,1135.714); h_SL3L168->SetBinContent(24,1177.143); h_SL3L168->SetBinContent(25,1171.429); h_SL3L168->SetBinContent(26,1574.286); h_SL3L168->SetBinContent(27,1588.571); h_SL3L168->SetBinContent(28,1904.286); h_SL3L168->SetBinContent(29,2104.286); h_SL3L168->SetBinContent(30,2631.429); h_SL3L168->SetBinContent(31,3088.572); h_SL3L168->SetBinContent(32,4124.286); h_SL3L168->SetBinContent(33,7594.286); h_SL3L168->SetBinContent(34,31302.86); h_SL3L168->SetBinContent(35,51818.57); h_SL3L168->SetBinContent(36,64212.86); h_SL3L168->SetBinContent(37,76441.43); h_SL3L168->SetBinContent(38,77300); h_SL3L168->SetBinContent(39,61984.29); h_SL3L168->SetBinContent(40,34014.29); h_SL3L168->SetBinContent(41,7925.714); h_SL3L168->SetBinContent(42,4472.857); h_SL3L168->SetBinContent(43,3347.143); h_SL3L168->SetBinContent(44,2950); h_SL3L168->SetBinContent(45,2655.714); h_SL3L168->SetBinContent(46,2374.286); h_SL3L168->SetBinContent(47,2141.429); h_SL3L168->SetBinContent(48,2047.143); h_SL3L168->SetBinContent(49,19445.71); h_SL3L168->SetBinContent(50,1805.714); h_SL3L168->SetBinContent(51,1560); h_SL3L168->SetBinContent(52,1521.429); h_SL3L168->SetBinContent(53,1447.143); h_SL3L168->SetBinContent(54,1447.143); h_SL3L168->SetBinContent(55,1267.143); h_SL3L168->SetBinContent(56,1261.429); h_SL3L168->SetBinContent(57,1164.286); h_SL3L168->SetBinContent(58,1044.286); h_SL3L168->SetBinContent(59,991.4286); h_SL3L168->SetMaximum(103942.7); 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,165.7143); h_SL3L269->SetBinContent(2,174.2857); h_SL3L269->SetBinContent(4,208.5714); h_SL3L269->SetBinContent(5,235.7143); h_SL3L269->SetBinContent(6,215.7143); h_SL3L269->SetBinContent(7,231.4286); h_SL3L269->SetBinContent(8,274.2857); h_SL3L269->SetBinContent(9,227.1429); h_SL3L269->SetBinContent(10,264.2857); h_SL3L269->SetBinContent(11,311.4286); h_SL3L269->SetBinContent(12,364.2857); h_SL3L269->SetBinContent(13,368.5714); h_SL3L269->SetBinContent(14,467.1429); h_SL3L269->SetBinContent(15,480); h_SL3L269->SetBinContent(16,520); h_SL3L269->SetBinContent(17,535.7143); h_SL3L269->SetBinContent(18,602.8572); h_SL3L269->SetBinContent(19,657.1429); h_SL3L269->SetBinContent(20,767.1429); h_SL3L269->SetBinContent(21,811.4286); h_SL3L269->SetBinContent(22,970); h_SL3L269->SetBinContent(23,1001.429); h_SL3L269->SetBinContent(24,1164.286); h_SL3L269->SetBinContent(25,1158.571); h_SL3L269->SetBinContent(26,1334.286); h_SL3L269->SetBinContent(27,1567.143); h_SL3L269->SetBinContent(28,1655.714); h_SL3L269->SetBinContent(29,1961.429); h_SL3L269->SetBinContent(30,2332.857); h_SL3L269->SetBinContent(31,2724.286); h_SL3L269->SetBinContent(32,3440); h_SL3L269->SetBinContent(33,5654.286); h_SL3L269->SetBinContent(34,15387.14); h_SL3L269->SetBinContent(35,43777.14); h_SL3L269->SetBinContent(36,58334.29); h_SL3L269->SetBinContent(37,70120); h_SL3L269->SetBinContent(38,78537.15); h_SL3L269->SetBinContent(39,71472.86); h_SL3L269->SetBinContent(40,50402.86); h_SL3L269->SetBinContent(41,15984.29); h_SL3L269->SetBinContent(42,6212.857); h_SL3L269->SetBinContent(43,3684.286); h_SL3L269->SetBinContent(44,2994.286); h_SL3L269->SetBinContent(45,2738.572); h_SL3L269->SetBinContent(46,2402.857); h_SL3L269->SetBinContent(47,2198.572); h_SL3L269->SetBinContent(48,2020); h_SL3L269->SetBinContent(49,1865.714); h_SL3L269->SetBinContent(50,1787.143); h_SL3L269->SetBinContent(51,1627.143); h_SL3L269->SetBinContent(52,1581.429); h_SL3L269->SetBinContent(53,1471.429); h_SL3L269->SetBinContent(54,1428.571); h_SL3L269->SetBinContent(55,1324.286); h_SL3L269->SetBinContent(56,1321.429); h_SL3L269->SetBinContent(57,1184.286); h_SL3L269->SetBinContent(58,1061.429); h_SL3L269->SetBinContent(59,1041.429); h_SL3L269->SetMaximum(90385.08); 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,167.1429); h_SL3L370->SetBinContent(2,174.2857); h_SL3L370->SetBinContent(3,192.8571); h_SL3L370->SetBinContent(4,212.8571); h_SL3L370->SetBinContent(5,227.1429); h_SL3L370->SetBinContent(6,227.1429); h_SL3L370->SetBinContent(7,258.5714); h_SL3L370->SetBinContent(8,244.2857); h_SL3L370->SetBinContent(9,245.7143); h_SL3L370->SetBinContent(10,271.4286); h_SL3L370->SetBinContent(11,352.8571); h_SL3L370->SetBinContent(12,380); h_SL3L370->SetBinContent(13,424.2857); h_SL3L370->SetBinContent(14,424.2857); h_SL3L370->SetBinContent(15,535.7143); h_SL3L370->SetBinContent(16,484.2857); h_SL3L370->SetBinContent(17,554.2857); h_SL3L370->SetBinContent(18,614.2857); h_SL3L370->SetBinContent(19,705.7143); h_SL3L370->SetBinContent(20,780); h_SL3L370->SetBinContent(21,865.7143); h_SL3L370->SetBinContent(22,944.2858); h_SL3L370->SetBinContent(23,1075.714); h_SL3L370->SetBinContent(24,1087.143); h_SL3L370->SetBinContent(25,1177.143); h_SL3L370->SetBinContent(26,1475.714); h_SL3L370->SetBinContent(27,1501.429); h_SL3L370->SetBinContent(28,1817.143); h_SL3L370->SetBinContent(29,1968.572); h_SL3L370->SetBinContent(30,2477.143); h_SL3L370->SetBinContent(31,3091.429); h_SL3L370->SetBinContent(32,3990); h_SL3L370->SetBinContent(33,7482.857); h_SL3L370->SetBinContent(34,31171.43); h_SL3L370->SetBinContent(35,51481.43); h_SL3L370->SetBinContent(36,64248.57); h_SL3L370->SetBinContent(37,75812.86); h_SL3L370->SetBinContent(38,77025.72); h_SL3L370->SetBinContent(39,61854.29); h_SL3L370->SetBinContent(40,33915.71); h_SL3L370->SetBinContent(41,7818.572); h_SL3L370->SetBinContent(42,4391.429); h_SL3L370->SetBinContent(43,3274.286); h_SL3L370->SetBinContent(44,2777.143); h_SL3L370->SetBinContent(45,2405.714); h_SL3L370->SetBinContent(46,2287.143); h_SL3L370->SetBinContent(47,2127.143); h_SL3L370->SetBinContent(48,1967.143); h_SL3L370->SetBinContent(49,1780); h_SL3L370->SetBinContent(50,1698.571); h_SL3L370->SetBinContent(51,1525.714); h_SL3L370->SetBinContent(52,1461.429); h_SL3L370->SetBinContent(53,1404.286); h_SL3L370->SetBinContent(54,1367.143); h_SL3L370->SetBinContent(55,1250); h_SL3L370->SetBinContent(56,1240); h_SL3L370->SetBinContent(57,1117.143); h_SL3L370->SetBinContent(58,1030); h_SL3L370->SetBinContent(59,981.4286); h_SL3L370->SetMaximum(90385.08); 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,168.5714); h_SL3L471->SetBinContent(3,167.1429); h_SL3L471->SetBinContent(4,217.1429); h_SL3L471->SetBinContent(5,211.4286); h_SL3L471->SetBinContent(6,234.2857); h_SL3L471->SetBinContent(7,212.8571); h_SL3L471->SetBinContent(8,298.5714); h_SL3L471->SetBinContent(9,222.8571); h_SL3L471->SetBinContent(10,278.5714); h_SL3L471->SetBinContent(11,334.2857); h_SL3L471->SetBinContent(12,367.1429); h_SL3L471->SetBinContent(13,368.5714); h_SL3L471->SetBinContent(14,478.5714); h_SL3L471->SetBinContent(15,461.4286); h_SL3L471->SetBinContent(16,545.7143); h_SL3L471->SetBinContent(17,521.4286); h_SL3L471->SetBinContent(18,615.7143); h_SL3L471->SetBinContent(19,645.7143); h_SL3L471->SetBinContent(20,735.7143); h_SL3L471->SetBinContent(21,805.7143); h_SL3L471->SetBinContent(22,914.2858); h_SL3L471->SetBinContent(23,1007.143); h_SL3L471->SetBinContent(24,1122.857); h_SL3L471->SetBinContent(25,1118.571); h_SL3L471->SetBinContent(26,1324.286); h_SL3L471->SetBinContent(27,1505.714); h_SL3L471->SetBinContent(28,1671.429); h_SL3L471->SetBinContent(29,1867.143); h_SL3L471->SetBinContent(30,2240); h_SL3L471->SetBinContent(31,2651.429); h_SL3L471->SetBinContent(32,3294.286); h_SL3L471->SetBinContent(33,5605.714); h_SL3L471->SetBinContent(34,15400); h_SL3L471->SetBinContent(35,43997.14); h_SL3L471->SetBinContent(36,58168.57); h_SL3L471->SetBinContent(37,70267.15); h_SL3L471->SetBinContent(38,78595.72); h_SL3L471->SetBinContent(39,71384.29); h_SL3L471->SetBinContent(40,50347.14); h_SL3L471->SetBinContent(41,15915.71); h_SL3L471->SetBinContent(42,6110); h_SL3L471->SetBinContent(43,3580); h_SL3L471->SetBinContent(44,2910); h_SL3L471->SetBinContent(45,2648.572); h_SL3L471->SetBinContent(46,2328.572); h_SL3L471->SetBinContent(47,2214.286); h_SL3L471->SetBinContent(48,2028.572); h_SL3L471->SetBinContent(49,1742.857); h_SL3L471->SetBinContent(50,1725.714); h_SL3L471->SetBinContent(51,1600); h_SL3L471->SetBinContent(52,1508.571); h_SL3L471->SetBinContent(53,1455.714); h_SL3L471->SetBinContent(54,1395.714); h_SL3L471->SetBinContent(55,1281.429); h_SL3L471->SetBinContent(56,1227.143); h_SL3L471->SetBinContent(57,1210); h_SL3L471->SetBinContent(58,1042.857); h_SL3L471->SetBinContent(59,1027.143); h_SL3L471->SetMaximum(90385.08); 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 6507"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }