void RatesPerCell_Removing_noisy_cells_run_6763_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8913.363,67.5,80220.26); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6763",60,0,60); h_SL2L164->SetBinContent(1,635.7143); h_SL2L164->SetBinContent(2,707.1428); h_SL2L164->SetBinContent(3,857.1428); h_SL2L164->SetBinContent(4,873.8095); h_SL2L164->SetBinContent(5,1019.048); h_SL2L164->SetBinContent(6,990.4762); h_SL2L164->SetBinContent(7,1092.857); h_SL2L164->SetBinContent(8,1142.857); h_SL2L164->SetBinContent(9,1173.81); h_SL2L164->SetBinContent(10,1373.81); h_SL2L164->SetBinContent(11,1473.81); h_SL2L164->SetBinContent(12,1471.429); h_SL2L164->SetBinContent(13,1600); h_SL2L164->SetBinContent(14,1885.714); h_SL2L164->SetBinContent(15,1757.143); h_SL2L164->SetBinContent(16,1888.095); h_SL2L164->SetBinContent(17,1959.524); h_SL2L164->SetBinContent(18,2035.714); h_SL2L164->SetBinContent(19,2107.143); h_SL2L164->SetBinContent(20,2238.095); h_SL2L164->SetBinContent(21,2473.81); h_SL2L164->SetBinContent(22,2619.048); h_SL2L164->SetBinContent(23,2938.095); h_SL2L164->SetBinContent(24,3488.095); h_SL2L164->SetBinContent(25,8369.048); h_SL2L164->SetBinContent(26,27426.19); h_SL2L164->SetBinContent(27,42838.09); h_SL2L164->SetBinContent(28,50673.81); h_SL2L164->SetBinContent(29,53919.05); h_SL2L164->SetBinContent(30,52230.95); h_SL2L164->SetBinContent(31,50095.24); h_SL2L164->SetBinContent(32,49785.71); h_SL2L164->SetBinContent(33,47290.48); h_SL2L164->SetBinContent(34,27502.38); h_SL2L164->SetBinContent(36,3535.714); h_SL2L164->SetBinContent(37,2921.428); h_SL2L164->SetBinContent(38,2433.333); h_SL2L164->SetBinContent(39,1930.952); h_SL2L164->SetBinContent(40,1602.381); h_SL2L164->SetBinContent(41,1621.429); h_SL2L164->SetBinContent(42,1616.667); h_SL2L164->SetBinContent(43,1397.619); h_SL2L164->SetBinContent(44,1366.667); h_SL2L164->SetBinContent(45,1309.524); h_SL2L164->SetBinContent(46,1200); h_SL2L164->SetBinContent(47,1050); h_SL2L164->SetBinContent(48,985.7143); h_SL2L164->SetBinContent(49,852.3809); h_SL2L164->SetBinContent(50,842.8571); h_SL2L164->SetBinContent(51,833.3333); h_SL2L164->SetBinContent(52,788.0952); h_SL2L164->SetBinContent(53,759.5238); h_SL2L164->SetBinContent(54,661.9048); h_SL2L164->SetBinContent(55,592.8571); h_SL2L164->SetBinContent(56,504.7619); h_SL2L164->SetBinContent(57,8859.523); h_SL2L164->SetMaximum(71306.9); 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,638.0952); h_SL2L265->SetBinContent(2,676.1905); h_SL2L265->SetBinContent(3,747.619); h_SL2L265->SetBinContent(4,916.6667); h_SL2L265->SetBinContent(5,957.1428); h_SL2L265->SetBinContent(6,1019.048); h_SL2L265->SetBinContent(7,1083.333); h_SL2L265->SetBinContent(8,1014.286); h_SL2L265->SetBinContent(9,1152.381); h_SL2L265->SetBinContent(10,1238.095); h_SL2L265->SetBinContent(11,1364.286); h_SL2L265->SetBinContent(12,1438.095); h_SL2L265->SetBinContent(13,1495.238); h_SL2L265->SetBinContent(14,1726.19); h_SL2L265->SetBinContent(15,1802.381); h_SL2L265->SetBinContent(16,1873.809); h_SL2L265->SetBinContent(17,1757.143); h_SL2L265->SetBinContent(18,1973.809); h_SL2L265->SetBinContent(19,2052.381); h_SL2L265->SetBinContent(20,2197.619); h_SL2L265->SetBinContent(21,2326.19); h_SL2L265->SetBinContent(22,2509.524); h_SL2L265->SetBinContent(23,2640.476); h_SL2L265->SetBinContent(24,3138.095); h_SL2L265->SetBinContent(25,4123.81); h_SL2L265->SetBinContent(26,17816.67); h_SL2L265->SetBinContent(27,35154.76); h_SL2L265->SetBinContent(28,47119.05); h_SL2L265->SetBinContent(29,52409.52); h_SL2L265->SetBinContent(30,52938.09); h_SL2L265->SetBinContent(31,50380.95); h_SL2L265->SetBinContent(32,49333.33); h_SL2L265->SetBinContent(33,49571.43); h_SL2L265->SetBinContent(34,40288.09); h_SL2L265->SetBinContent(35,14426.19); h_SL2L265->SetBinContent(36,4435.714); h_SL2L265->SetBinContent(37,3190.476); h_SL2L265->SetBinContent(38,2492.857); h_SL2L265->SetBinContent(39,2121.428); h_SL2L265->SetBinContent(40,1864.286); h_SL2L265->SetBinContent(41,1702.381); h_SL2L265->SetBinContent(42,1657.143); h_SL2L265->SetBinContent(43,1490.476); h_SL2L265->SetBinContent(44,1430.952); h_SL2L265->SetBinContent(45,1290.476); h_SL2L265->SetBinContent(46,1250); h_SL2L265->SetBinContent(47,1119.048); h_SL2L265->SetBinContent(48,976.1905); h_SL2L265->SetBinContent(49,940.4762); h_SL2L265->SetBinContent(50,897.619); h_SL2L265->SetBinContent(51,840.4762); h_SL2L265->SetBinContent(52,702.3809); h_SL2L265->SetBinContent(53,780.9524); h_SL2L265->SetBinContent(54,685.7143); h_SL2L265->SetBinContent(55,657.1428); h_SL2L265->SetBinContent(56,583.3333); h_SL2L265->SetBinContent(57,495.2381); h_SL2L265->SetMaximum(62006.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,640.4762); h_SL2L366->SetBinContent(2,754.7619); h_SL2L366->SetBinContent(3,857.1428); h_SL2L366->SetBinContent(4,850); h_SL2L366->SetBinContent(5,1016.667); h_SL2L366->SetBinContent(6,1000); h_SL2L366->SetBinContent(7,1019.048); h_SL2L366->SetBinContent(8,1042.857); h_SL2L366->SetBinContent(9,1152.381); h_SL2L366->SetBinContent(10,1276.19); h_SL2L366->SetBinContent(11,1290.476); h_SL2L366->SetBinContent(12,1466.667); h_SL2L366->SetBinContent(13,1561.905); h_SL2L366->SetBinContent(14,1776.19); h_SL2L366->SetBinContent(15,1683.333); h_SL2L366->SetBinContent(16,1692.857); h_SL2L366->SetBinContent(17,1933.333); h_SL2L366->SetBinContent(18,1995.238); h_SL2L366->SetBinContent(19,2071.428); h_SL2L366->SetBinContent(20,2159.524); h_SL2L366->SetBinContent(21,2423.81); h_SL2L366->SetBinContent(22,2471.428); h_SL2L366->SetBinContent(23,2826.19); h_SL2L366->SetBinContent(24,3278.571); h_SL2L366->SetBinContent(25,8273.81); h_SL2L366->SetBinContent(26,27242.86); h_SL2L366->SetBinContent(27,42280.95); h_SL2L366->SetBinContent(28,50288.09); h_SL2L366->SetBinContent(29,52807.14); h_SL2L366->SetBinContent(30,51764.29); h_SL2L366->SetBinContent(31,49700); h_SL2L366->SetBinContent(32,50052.38); h_SL2L366->SetBinContent(33,46933.33); h_SL2L366->SetBinContent(34,27392.86); h_SL2L366->SetBinContent(35,7071.429); h_SL2L366->SetBinContent(36,3511.905); h_SL2L366->SetBinContent(37,2761.905); h_SL2L366->SetBinContent(38,2419.048); h_SL2L366->SetBinContent(39,1823.809); h_SL2L366->SetBinContent(40,1683.333); h_SL2L366->SetBinContent(41,1661.905); h_SL2L366->SetBinContent(42,1569.048); h_SL2L366->SetBinContent(43,1352.381); h_SL2L366->SetBinContent(44,1361.905); h_SL2L366->SetBinContent(45,1147.619); h_SL2L366->SetBinContent(46,1123.81); h_SL2L366->SetBinContent(47,1019.048); h_SL2L366->SetBinContent(48,942.8571); h_SL2L366->SetBinContent(49,826.1905); h_SL2L366->SetBinContent(50,873.8095); h_SL2L366->SetBinContent(51,828.5714); h_SL2L366->SetBinContent(52,750); h_SL2L366->SetBinContent(53,735.7143); h_SL2L366->SetBinContent(54,623.8095); h_SL2L366->SetBinContent(55,614.2857); h_SL2L366->SetBinContent(56,509.5238); h_SL2L366->SetBinContent(57,609.5238); h_SL2L366->SetMaximum(62006.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,685.7143); h_SL2L467->SetBinContent(3,714.2857); h_SL2L467->SetBinContent(4,935.7143); h_SL2L467->SetBinContent(5,904.7619); h_SL2L467->SetBinContent(6,954.7619); h_SL2L467->SetBinContent(7,1126.19); h_SL2L467->SetBinContent(8,1019.048); h_SL2L467->SetBinContent(9,1080.952); h_SL2L467->SetBinContent(10,1211.905); h_SL2L467->SetBinContent(11,1276.19); h_SL2L467->SetBinContent(12,1409.524); h_SL2L467->SetBinContent(13,1476.19); h_SL2L467->SetBinContent(14,1680.952); h_SL2L467->SetBinContent(15,1654.762); h_SL2L467->SetBinContent(16,1740.476); h_SL2L467->SetBinContent(17,1723.809); h_SL2L467->SetBinContent(18,2000); h_SL2L467->SetBinContent(19,1985.714); h_SL2L467->SetBinContent(20,2097.619); h_SL2L467->SetBinContent(21,2247.619); h_SL2L467->SetBinContent(22,2488.095); h_SL2L467->SetBinContent(23,2597.619); h_SL2L467->SetBinContent(24,3035.714); h_SL2L467->SetBinContent(25,4004.762); h_SL2L467->SetBinContent(26,17740.48); h_SL2L467->SetBinContent(27,35245.24); h_SL2L467->SetBinContent(28,47128.57); h_SL2L467->SetBinContent(29,52428.57); h_SL2L467->SetBinContent(30,53164.29); h_SL2L467->SetBinContent(31,50514.29); h_SL2L467->SetBinContent(32,49480.95); h_SL2L467->SetBinContent(33,49566.67); h_SL2L467->SetBinContent(34,40150); h_SL2L467->SetBinContent(35,14407.14); h_SL2L467->SetBinContent(36,4345.238); h_SL2L467->SetBinContent(37,3164.286); h_SL2L467->SetBinContent(38,2488.095); h_SL2L467->SetBinContent(39,2050); h_SL2L467->SetBinContent(40,1769.048); h_SL2L467->SetBinContent(41,1585.714); h_SL2L467->SetBinContent(42,1566.667); h_SL2L467->SetBinContent(43,1447.619); h_SL2L467->SetBinContent(44,1411.905); h_SL2L467->SetBinContent(45,1257.143); h_SL2L467->SetBinContent(46,1173.81); h_SL2L467->SetBinContent(47,1102.381); h_SL2L467->SetBinContent(48,923.8095); h_SL2L467->SetBinContent(49,900); h_SL2L467->SetBinContent(50,854.7619); h_SL2L467->SetBinContent(51,811.9047); h_SL2L467->SetBinContent(52,697.619); h_SL2L467->SetBinContent(53,780.9524); h_SL2L467->SetBinContent(54,666.6667); h_SL2L467->SetBinContent(55,619.0476); h_SL2L467->SetBinContent(56,550); h_SL2L467->SetBinContent(57,488.0952); h_SL2L467->SetMaximum(62006.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 6763"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }