void RatesPerCell_Removing_noisy_cells_run_6678_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 20:02:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-21382.81,67.5,192445.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6678",60,0,60); h_SL2L164->SetBinContent(1,697.1429); h_SL2L164->SetBinContent(2,791.4286); h_SL2L164->SetBinContent(3,922.8572); h_SL2L164->SetBinContent(4,1002.857); h_SL2L164->SetBinContent(5,994.2858); h_SL2L164->SetBinContent(6,1072.857); h_SL2L164->SetBinContent(7,1140); h_SL2L164->SetBinContent(8,1230); h_SL2L164->SetBinContent(9,1184.286); h_SL2L164->SetBinContent(10,1394.286); h_SL2L164->SetBinContent(11,1534.286); h_SL2L164->SetBinContent(12,1525.714); h_SL2L164->SetBinContent(13,1692.857); h_SL2L164->SetBinContent(14,1827.143); h_SL2L164->SetBinContent(15,1820); h_SL2L164->SetBinContent(16,1951.429); h_SL2L164->SetBinContent(17,1958.572); h_SL2L164->SetBinContent(18,2150); h_SL2L164->SetBinContent(19,2342.857); h_SL2L164->SetBinContent(20,2411.429); h_SL2L164->SetBinContent(21,2471.429); h_SL2L164->SetBinContent(22,2605.714); h_SL2L164->SetBinContent(23,2991.429); h_SL2L164->SetBinContent(24,3611.429); h_SL2L164->SetBinContent(25,8667.143); h_SL2L164->SetBinContent(26,26868.57); h_SL2L164->SetBinContent(27,41682.86); h_SL2L164->SetBinContent(28,49561.43); h_SL2L164->SetBinContent(29,52858.57); h_SL2L164->SetBinContent(30,51785.71); h_SL2L164->SetBinContent(31,49968.57); h_SL2L164->SetBinContent(32,50071.43); h_SL2L164->SetBinContent(33,48850); h_SL2L164->SetBinContent(34,27374.29); h_SL2L164->SetBinContent(36,3637.143); h_SL2L164->SetBinContent(37,4544.286); h_SL2L164->SetBinContent(38,3321.429); h_SL2L164->SetBinContent(39,3598.572); h_SL2L164->SetBinContent(40,79135.72); h_SL2L164->SetBinContent(41,129348.6); h_SL2L164->SetBinContent(42,6758.572); h_SL2L164->SetBinContent(43,6692.857); h_SL2L164->SetBinContent(44,6774.286); h_SL2L164->SetBinContent(45,1220); h_SL2L164->SetBinContent(46,1231.429); h_SL2L164->SetBinContent(47,1052.857); h_SL2L164->SetBinContent(48,1038.571); h_SL2L164->SetBinContent(49,970); h_SL2L164->SetBinContent(50,877.1429); h_SL2L164->SetBinContent(51,834.2857); h_SL2L164->SetBinContent(52,787.1429); h_SL2L164->SetBinContent(53,797.1429); h_SL2L164->SetBinContent(54,708.5715); h_SL2L164->SetBinContent(55,661.4286); h_SL2L164->SetBinContent(56,527.1429); h_SL2L164->SetBinContent(57,6420); h_SL2L164->SetMaximum(171062.5); 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,668.5715); h_SL2L265->SetBinContent(2,782.8572); h_SL2L265->SetBinContent(3,845.7143); h_SL2L265->SetBinContent(4,1008.571); h_SL2L265->SetBinContent(5,968.5715); h_SL2L265->SetBinContent(6,972.8572); h_SL2L265->SetBinContent(7,1191.429); h_SL2L265->SetBinContent(8,1164.286); h_SL2L265->SetBinContent(9,1192.857); h_SL2L265->SetBinContent(10,1267.143); h_SL2L265->SetBinContent(11,1402.857); h_SL2L265->SetBinContent(12,1595.714); h_SL2L265->SetBinContent(13,1535.714); h_SL2L265->SetBinContent(14,1750); h_SL2L265->SetBinContent(15,1718.571); h_SL2L265->SetBinContent(16,1821.429); h_SL2L265->SetBinContent(17,1935.714); h_SL2L265->SetBinContent(18,2014.286); h_SL2L265->SetBinContent(19,2208.572); h_SL2L265->SetBinContent(20,2370); h_SL2L265->SetBinContent(21,2425.714); h_SL2L265->SetBinContent(22,2538.572); h_SL2L265->SetBinContent(23,2700); h_SL2L265->SetBinContent(24,3205.714); h_SL2L265->SetBinContent(25,4292.857); h_SL2L265->SetBinContent(26,17647.14); h_SL2L265->SetBinContent(27,34745.71); h_SL2L265->SetBinContent(28,46157.14); h_SL2L265->SetBinContent(29,52101.43); h_SL2L265->SetBinContent(30,52202.86); h_SL2L265->SetBinContent(31,50595.71); h_SL2L265->SetBinContent(32,49900); h_SL2L265->SetBinContent(33,50488.57); h_SL2L265->SetBinContent(34,41387.14); h_SL2L265->SetBinContent(35,14502.86); h_SL2L265->SetBinContent(36,4745.714); h_SL2L265->SetBinContent(37,3262.857); h_SL2L265->SetBinContent(38,2668.572); h_SL2L265->SetBinContent(39,2485.714); h_SL2L265->SetBinContent(40,3648.572); h_SL2L265->SetBinContent(41,3538.572); h_SL2L265->SetBinContent(42,2902.857); h_SL2L265->SetBinContent(43,2151.429); h_SL2L265->SetBinContent(44,2518.572); h_SL2L265->SetBinContent(45,1285.714); h_SL2L265->SetBinContent(46,1247.143); h_SL2L265->SetBinContent(47,1132.857); h_SL2L265->SetBinContent(48,1074.286); h_SL2L265->SetBinContent(49,914.2858); h_SL2L265->SetBinContent(50,850); h_SL2L265->SetBinContent(51,874.2857); h_SL2L265->SetBinContent(52,784.2857); h_SL2L265->SetBinContent(53,774.2857); h_SL2L265->SetBinContent(54,650); h_SL2L265->SetBinContent(55,735.7143); h_SL2L265->SetBinContent(56,598.5715); h_SL2L265->SetBinContent(57,572.8572); h_SL2L265->SetMaximum(148750.9); 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,770); h_SL2L366->SetBinContent(2,831.4286); h_SL2L366->SetBinContent(3,871.4286); h_SL2L366->SetBinContent(4,960); h_SL2L366->SetBinContent(5,965.7143); h_SL2L366->SetBinContent(6,1037.143); h_SL2L366->SetBinContent(7,1071.429); h_SL2L366->SetBinContent(8,1215.714); h_SL2L366->SetBinContent(9,1191.429); h_SL2L366->SetBinContent(10,1334.286); h_SL2L366->SetBinContent(11,1475.714); h_SL2L366->SetBinContent(12,1485.714); h_SL2L366->SetBinContent(13,1642.857); h_SL2L366->SetBinContent(14,1747.143); h_SL2L366->SetBinContent(15,1781.429); h_SL2L366->SetBinContent(16,1851.429); h_SL2L366->SetBinContent(17,1935.714); h_SL2L366->SetBinContent(18,2015.714); h_SL2L366->SetBinContent(19,2251.429); h_SL2L366->SetBinContent(20,2337.143); h_SL2L366->SetBinContent(21,2477.143); h_SL2L366->SetBinContent(22,2508.572); h_SL2L366->SetBinContent(23,2931.429); h_SL2L366->SetBinContent(24,3447.143); h_SL2L366->SetBinContent(25,8597.143); h_SL2L366->SetBinContent(26,27032.86); h_SL2L366->SetBinContent(27,41591.43); h_SL2L366->SetBinContent(28,49458.57); h_SL2L366->SetBinContent(29,52811.43); h_SL2L366->SetBinContent(30,52011.43); h_SL2L366->SetBinContent(31,50210); h_SL2L366->SetBinContent(32,50085.71); h_SL2L366->SetBinContent(33,48748.57); h_SL2L366->SetBinContent(34,27488.57); h_SL2L366->SetBinContent(35,7381.429); h_SL2L366->SetBinContent(36,3734.286); h_SL2L366->SetBinContent(37,2777.143); h_SL2L366->SetBinContent(38,2291.429); h_SL2L366->SetBinContent(39,2001.429); h_SL2L366->SetBinContent(40,2290); h_SL2L366->SetBinContent(41,2128.572); h_SL2L366->SetBinContent(42,1637.143); h_SL2L366->SetBinContent(43,1471.429); h_SL2L366->SetBinContent(44,1322.857); h_SL2L366->SetBinContent(45,1194.286); h_SL2L366->SetBinContent(46,1250); h_SL2L366->SetBinContent(47,1027.143); h_SL2L366->SetBinContent(48,992.8572); h_SL2L366->SetBinContent(49,880); h_SL2L366->SetBinContent(50,821.4286); h_SL2L366->SetBinContent(51,817.1429); h_SL2L366->SetBinContent(52,772.8572); h_SL2L366->SetBinContent(53,724.2857); h_SL2L366->SetBinContent(54,721.4286); h_SL2L366->SetBinContent(55,658.5715); h_SL2L366->SetBinContent(56,561.4286); h_SL2L366->SetBinContent(57,612.8572); h_SL2L366->SetMaximum(148750.9); 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,782.8572); h_SL2L467->SetBinContent(3,771.4286); h_SL2L467->SetBinContent(4,932.8572); h_SL2L467->SetBinContent(5,930); h_SL2L467->SetBinContent(6,917.1429); h_SL2L467->SetBinContent(7,1141.429); h_SL2L467->SetBinContent(8,1068.571); h_SL2L467->SetBinContent(9,1161.429); h_SL2L467->SetBinContent(10,1271.429); h_SL2L467->SetBinContent(11,1368.571); h_SL2L467->SetBinContent(12,1487.143); h_SL2L467->SetBinContent(13,1504.286); h_SL2L467->SetBinContent(14,1648.571); h_SL2L467->SetBinContent(15,1735.714); h_SL2L467->SetBinContent(16,1742.857); h_SL2L467->SetBinContent(17,1860); h_SL2L467->SetBinContent(18,1902.857); h_SL2L467->SetBinContent(19,2130); h_SL2L467->SetBinContent(20,2280); h_SL2L467->SetBinContent(21,2404.286); h_SL2L467->SetBinContent(22,2445.714); h_SL2L467->SetBinContent(23,2597.143); h_SL2L467->SetBinContent(24,3118.572); h_SL2L467->SetBinContent(25,4202.857); h_SL2L467->SetBinContent(26,17501.43); h_SL2L467->SetBinContent(27,34797.14); h_SL2L467->SetBinContent(28,45995.71); h_SL2L467->SetBinContent(29,52157.14); h_SL2L467->SetBinContent(30,52871.43); h_SL2L467->SetBinContent(31,50537.14); h_SL2L467->SetBinContent(32,50124.29); h_SL2L467->SetBinContent(33,50582.86); h_SL2L467->SetBinContent(34,41387.14); h_SL2L467->SetBinContent(35,14525.71); h_SL2L467->SetBinContent(36,4735.714); h_SL2L467->SetBinContent(37,3088.572); h_SL2L467->SetBinContent(38,2444.286); h_SL2L467->SetBinContent(39,2098.572); h_SL2L467->SetBinContent(40,1938.572); h_SL2L467->SetBinContent(41,1837.143); h_SL2L467->SetBinContent(42,1962.857); h_SL2L467->SetBinContent(43,1465.714); h_SL2L467->SetBinContent(44,1410); h_SL2L467->SetBinContent(45,1227.143); h_SL2L467->SetBinContent(46,1194.286); h_SL2L467->SetBinContent(47,1097.143); h_SL2L467->SetBinContent(48,1021.429); h_SL2L467->SetBinContent(49,908.5715); h_SL2L467->SetBinContent(50,831.4286); h_SL2L467->SetBinContent(51,794.2857); h_SL2L467->SetBinContent(52,792.8572); h_SL2L467->SetBinContent(53,814.2857); h_SL2L467->SetBinContent(54,665.7143); h_SL2L467->SetBinContent(55,690); h_SL2L467->SetBinContent(56,570); h_SL2L467->SetBinContent(57,551.4286); h_SL2L467->SetMaximum(148750.9); 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 6678"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }