void RatesPerCell_Removing_noisy_cells_run_6610_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 20:03:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13839.39,67.5,124554.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6610",60,0,60); h_SL2L164->SetBinContent(1,825.7143); h_SL2L164->SetBinContent(2,914.2858); h_SL2L164->SetBinContent(3,1101.429); h_SL2L164->SetBinContent(4,1114.286); h_SL2L164->SetBinContent(5,1217.143); h_SL2L164->SetBinContent(6,1270); h_SL2L164->SetBinContent(7,1310); h_SL2L164->SetBinContent(8,1424.286); h_SL2L164->SetBinContent(9,1487.143); h_SL2L164->SetBinContent(10,1684.286); h_SL2L164->SetBinContent(11,1818.571); h_SL2L164->SetBinContent(12,1962.857); h_SL2L164->SetBinContent(13,2000); h_SL2L164->SetBinContent(14,2147.143); h_SL2L164->SetBinContent(15,2210); h_SL2L164->SetBinContent(16,2230); h_SL2L164->SetBinContent(17,2235.714); h_SL2L164->SetBinContent(18,2520); h_SL2L164->SetBinContent(19,2832.857); h_SL2L164->SetBinContent(20,2871.429); h_SL2L164->SetBinContent(21,2960); h_SL2L164->SetBinContent(22,3082.857); h_SL2L164->SetBinContent(23,3511.429); h_SL2L164->SetBinContent(24,3877.143); h_SL2L164->SetBinContent(25,9062.857); h_SL2L164->SetBinContent(26,27745.71); h_SL2L164->SetBinContent(27,42245.71); h_SL2L164->SetBinContent(28,50355.71); h_SL2L164->SetBinContent(29,53658.57); h_SL2L164->SetBinContent(30,51870); h_SL2L164->SetBinContent(31,50248.57); h_SL2L164->SetBinContent(32,50242.86); h_SL2L164->SetBinContent(33,48095.71); h_SL2L164->SetBinContent(34,26928.57); h_SL2L164->SetBinContent(36,3907.143); h_SL2L164->SetBinContent(37,8440); h_SL2L164->SetBinContent(38,5245.714); h_SL2L164->SetBinContent(39,6665.714); h_SL2L164->SetBinContent(40,48831.43); h_SL2L164->SetBinContent(41,83717.15); h_SL2L164->SetBinContent(42,12572.86); h_SL2L164->SetBinContent(43,12595.71); h_SL2L164->SetBinContent(44,12995.71); h_SL2L164->SetBinContent(45,1532.857); h_SL2L164->SetBinContent(46,1302.857); h_SL2L164->SetBinContent(47,1301.429); h_SL2L164->SetBinContent(48,1225.714); h_SL2L164->SetBinContent(49,1105.714); h_SL2L164->SetBinContent(50,1081.429); h_SL2L164->SetBinContent(51,930); h_SL2L164->SetBinContent(52,894.2857); h_SL2L164->SetBinContent(53,898.5715); h_SL2L164->SetBinContent(54,812.8572); h_SL2L164->SetBinContent(55,737.1429); h_SL2L164->SetBinContent(56,691.4286); h_SL2L164->SetBinContent(57,6640); h_SL2L164->SetMaximum(110715.1); 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,751.4286); h_SL2L265->SetBinContent(2,841.4286); h_SL2L265->SetBinContent(3,1015.714); h_SL2L265->SetBinContent(4,1114.286); h_SL2L265->SetBinContent(5,1187.143); h_SL2L265->SetBinContent(6,1185.714); h_SL2L265->SetBinContent(7,1295.714); h_SL2L265->SetBinContent(8,1364.286); h_SL2L265->SetBinContent(9,1381.429); h_SL2L265->SetBinContent(10,1520); h_SL2L265->SetBinContent(11,1744.286); h_SL2L265->SetBinContent(12,1817.143); h_SL2L265->SetBinContent(13,1990); h_SL2L265->SetBinContent(14,1990); h_SL2L265->SetBinContent(15,2157.143); h_SL2L265->SetBinContent(16,2181.429); h_SL2L265->SetBinContent(17,2172.857); h_SL2L265->SetBinContent(18,2340); h_SL2L265->SetBinContent(19,2647.143); h_SL2L265->SetBinContent(20,2800); h_SL2L265->SetBinContent(21,2852.857); h_SL2L265->SetBinContent(22,2995.714); h_SL2L265->SetBinContent(23,3128.572); h_SL2L265->SetBinContent(24,3675.714); h_SL2L265->SetBinContent(25,4540); h_SL2L265->SetBinContent(26,18310); h_SL2L265->SetBinContent(27,35620); h_SL2L265->SetBinContent(28,47241.43); h_SL2L265->SetBinContent(29,52570); h_SL2L265->SetBinContent(30,52898.57); h_SL2L265->SetBinContent(31,50242.86); h_SL2L265->SetBinContent(32,49667.14); h_SL2L265->SetBinContent(33,50060); h_SL2L265->SetBinContent(34,40688.57); h_SL2L265->SetBinContent(35,14410); h_SL2L265->SetBinContent(36,4857.143); h_SL2L265->SetBinContent(37,3545.714); h_SL2L265->SetBinContent(38,2848.572); h_SL2L265->SetBinContent(39,3992.857); h_SL2L265->SetBinContent(40,5352.857); h_SL2L265->SetBinContent(41,3560); h_SL2L265->SetBinContent(42,3511.429); h_SL2L265->SetBinContent(43,2548.572); h_SL2L265->SetBinContent(44,3750); h_SL2L265->SetBinContent(45,1567.143); h_SL2L265->SetBinContent(46,1400); h_SL2L265->SetBinContent(47,1278.571); h_SL2L265->SetBinContent(48,1268.571); h_SL2L265->SetBinContent(49,1120); h_SL2L265->SetBinContent(50,1015.714); h_SL2L265->SetBinContent(51,1062.857); h_SL2L265->SetBinContent(52,910); h_SL2L265->SetBinContent(53,894.2857); h_SL2L265->SetBinContent(54,828.5715); h_SL2L265->SetBinContent(55,821.4286); h_SL2L265->SetBinContent(56,742.8572); h_SL2L265->SetBinContent(57,624.2857); h_SL2L265->SetMaximum(96274.72); 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,888.5715); h_SL2L366->SetBinContent(2,910); h_SL2L366->SetBinContent(3,1075.714); h_SL2L366->SetBinContent(4,1104.286); h_SL2L366->SetBinContent(5,1187.143); h_SL2L366->SetBinContent(6,1205.714); h_SL2L366->SetBinContent(7,1287.143); h_SL2L366->SetBinContent(8,1381.429); h_SL2L366->SetBinContent(9,1451.429); h_SL2L366->SetBinContent(10,1552.857); h_SL2L366->SetBinContent(11,1751.429); h_SL2L366->SetBinContent(12,1877.143); h_SL2L366->SetBinContent(13,1985.714); h_SL2L366->SetBinContent(14,2077.143); h_SL2L366->SetBinContent(15,2095.714); h_SL2L366->SetBinContent(16,2218.572); h_SL2L366->SetBinContent(17,2180); h_SL2L366->SetBinContent(18,2460); h_SL2L366->SetBinContent(19,2727.143); h_SL2L366->SetBinContent(20,2771.429); h_SL2L366->SetBinContent(21,2820); h_SL2L366->SetBinContent(22,3000); h_SL2L366->SetBinContent(23,3301.429); h_SL2L366->SetBinContent(24,3771.429); h_SL2L366->SetBinContent(25,8945.715); h_SL2L366->SetBinContent(26,27765.71); h_SL2L366->SetBinContent(27,42204.29); h_SL2L366->SetBinContent(28,50432.86); h_SL2L366->SetBinContent(29,53450); h_SL2L366->SetBinContent(30,51650); h_SL2L366->SetBinContent(31,50287.14); h_SL2L366->SetBinContent(32,50468.57); h_SL2L366->SetBinContent(33,48112.86); h_SL2L366->SetBinContent(34,27011.43); h_SL2L366->SetBinContent(35,7391.429); h_SL2L366->SetBinContent(36,3927.143); h_SL2L366->SetBinContent(37,3048.572); h_SL2L366->SetBinContent(38,2728.572); h_SL2L366->SetBinContent(39,2307.143); h_SL2L366->SetBinContent(40,3838.572); h_SL2L366->SetBinContent(41,2312.857); h_SL2L366->SetBinContent(42,1755.714); h_SL2L366->SetBinContent(43,1635.714); h_SL2L366->SetBinContent(44,1557.143); h_SL2L366->SetBinContent(45,1520); h_SL2L366->SetBinContent(46,1245.714); h_SL2L366->SetBinContent(47,1234.286); h_SL2L366->SetBinContent(48,1191.429); h_SL2L366->SetBinContent(49,1117.143); h_SL2L366->SetBinContent(50,1014.286); h_SL2L366->SetBinContent(51,947.1429); h_SL2L366->SetBinContent(52,878.5715); h_SL2L366->SetBinContent(53,894.2857); h_SL2L366->SetBinContent(54,798.5715); h_SL2L366->SetBinContent(55,730); h_SL2L366->SetBinContent(56,767.1429); h_SL2L366->SetBinContent(57,631.4286); h_SL2L366->SetMaximum(96274.72); 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,831.4286); h_SL2L467->SetBinContent(3,985.7143); h_SL2L467->SetBinContent(4,1028.571); h_SL2L467->SetBinContent(5,1178.571); h_SL2L467->SetBinContent(6,1194.286); h_SL2L467->SetBinContent(7,1241.429); h_SL2L467->SetBinContent(8,1348.571); h_SL2L467->SetBinContent(9,1395.714); h_SL2L467->SetBinContent(10,1421.429); h_SL2L467->SetBinContent(11,1697.143); h_SL2L467->SetBinContent(12,1805.714); h_SL2L467->SetBinContent(13,1818.571); h_SL2L467->SetBinContent(14,1950); h_SL2L467->SetBinContent(15,2041.429); h_SL2L467->SetBinContent(16,2137.143); h_SL2L467->SetBinContent(17,2144.286); h_SL2L467->SetBinContent(18,2241.429); h_SL2L467->SetBinContent(19,2571.429); h_SL2L467->SetBinContent(20,2680); h_SL2L467->SetBinContent(21,2791.429); h_SL2L467->SetBinContent(22,2838.572); h_SL2L467->SetBinContent(23,3035.714); h_SL2L467->SetBinContent(24,3525.714); h_SL2L467->SetBinContent(25,4435.714); h_SL2L467->SetBinContent(26,18164.29); h_SL2L467->SetBinContent(27,35852.86); h_SL2L467->SetBinContent(28,47041.43); h_SL2L467->SetBinContent(29,52542.86); h_SL2L467->SetBinContent(30,53452.86); h_SL2L467->SetBinContent(31,50275.71); h_SL2L467->SetBinContent(32,50095.71); h_SL2L467->SetBinContent(33,50274.29); h_SL2L467->SetBinContent(34,40658.57); h_SL2L467->SetBinContent(35,14312.86); h_SL2L467->SetBinContent(36,4784.286); h_SL2L467->SetBinContent(37,3381.429); h_SL2L467->SetBinContent(38,2752.857); h_SL2L467->SetBinContent(39,2492.857); h_SL2L467->SetBinContent(40,2077.143); h_SL2L467->SetBinContent(41,1954.286); h_SL2L467->SetBinContent(42,2138.572); h_SL2L467->SetBinContent(43,1678.571); h_SL2L467->SetBinContent(44,1561.429); h_SL2L467->SetBinContent(45,1488.571); h_SL2L467->SetBinContent(46,1357.143); h_SL2L467->SetBinContent(47,1218.571); h_SL2L467->SetBinContent(48,1258.571); h_SL2L467->SetBinContent(49,1094.286); h_SL2L467->SetBinContent(50,1051.429); h_SL2L467->SetBinContent(51,998.5715); h_SL2L467->SetBinContent(52,878.5715); h_SL2L467->SetBinContent(53,838.5715); h_SL2L467->SetBinContent(54,804.2857); h_SL2L467->SetBinContent(55,781.4286); h_SL2L467->SetBinContent(56,732.8572); h_SL2L467->SetBinContent(57,635.7143); h_SL2L467->SetMaximum(96274.72); 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 6610"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }