void RatesPerCell_Removing_noisy_cells_run_5391_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:13:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9070.338,67.5,81633.04); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5391",60,0,60); h_SL2L164->SetBinContent(1,739.6646); h_SL2L164->SetBinContent(2,3560.116); h_SL2L164->SetBinContent(3,929.0597); h_SL2L164->SetBinContent(4,1018.638); h_SL2L164->SetBinContent(5,1082.623); h_SL2L164->SetBinContent(6,1144.049); h_SL2L164->SetBinContent(7,1136.371); h_SL2L164->SetBinContent(8,1320.647); h_SL2L164->SetBinContent(9,1407.666); h_SL2L164->SetBinContent(10,1430.701); h_SL2L164->SetBinContent(11,1563.789); h_SL2L164->SetBinContent(12,1712.234); h_SL2L164->SetBinContent(13,2011.683); h_SL2L164->SetBinContent(14,1950.258); h_SL2L164->SetBinContent(15,2344.404); h_SL2L164->SetBinContent(16,2362.32); h_SL2L164->SetBinContent(17,2628.497); h_SL2L164->SetBinContent(18,2741.11); h_SL2L164->SetBinContent(19,2976.574); h_SL2L164->SetBinContent(20,3030.322); h_SL2L164->SetBinContent(21,3365.602); h_SL2L164->SetBinContent(22,3629.219); h_SL2L164->SetBinContent(23,3872.362); h_SL2L164->SetBinContent(24,4394.478); h_SL2L164->SetBinContent(25,9185.662); h_SL2L164->SetBinContent(26,29824.61); h_SL2L164->SetBinContent(27,45252.63); h_SL2L164->SetBinContent(28,51873.78); h_SL2L164->SetBinContent(29,54868.27); h_SL2L164->SetBinContent(30,51431); h_SL2L164->SetBinContent(31,47453.71); h_SL2L164->SetBinContent(32,47430.68); h_SL2L164->SetBinContent(33,45372.92); h_SL2L164->SetBinContent(34,26169.79); h_SL2L164->SetBinContent(36,4389.359); h_SL2L164->SetBinContent(37,3480.775); h_SL2L164->SetBinContent(38,2810.214); h_SL2L164->SetBinContent(39,2544.037); h_SL2L164->SetBinContent(40,1855.56); h_SL2L164->SetBinContent(41,1914.426); h_SL2L164->SetBinContent(42,1809.491); h_SL2L164->SetBinContent(43,1676.402); h_SL2L164->SetBinContent(44,1579.146); h_SL2L164->SetBinContent(45,1489.567); h_SL2L164->SetBinContent(46,1412.785); h_SL2L164->SetBinContent(47,1323.206); h_SL2L164->SetBinContent(48,1264.34); h_SL2L164->SetBinContent(49,1156.846); h_SL2L164->SetBinContent(50,1074.945); h_SL2L164->SetBinContent(51,1018.638); h_SL2L164->SetBinContent(52,1051.911); h_SL2L164->SetBinContent(53,990.4852); h_SL2L164->SetBinContent(54,962.3318); h_SL2L164->SetBinContent(55,946.9755); h_SL2L164->SetBinContent(56,811.3276); h_SL2L164->SetBinContent(57,752.4616); h_SL2L164->SetMaximum(72562.7); 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,652.6453); h_SL2L265->SetBinContent(2,826.684); h_SL2L265->SetBinContent(3,885.55); h_SL2L265->SetBinContent(4,934.1785); h_SL2L265->SetBinContent(5,1005.841); h_SL2L265->SetBinContent(6,1118.455); h_SL2L265->SetBinContent(7,1179.88); h_SL2L265->SetBinContent(8,1205.474); h_SL2L265->SetBinContent(9,1284.815); h_SL2L265->SetBinContent(10,1402.547); h_SL2L265->SetBinContent(11,1412.785); h_SL2L265->SetBinContent(12,1709.675); h_SL2L265->SetBinContent(13,1689.199); h_SL2L265->SetBinContent(14,1983.53); h_SL2L265->SetBinContent(15,2142.212); h_SL2L265->SetBinContent(16,2295.776); h_SL2L265->SetBinContent(17,2428.864); h_SL2L265->SetBinContent(18,2638.734); h_SL2L265->SetBinContent(19,2733.432); h_SL2L265->SetBinContent(20,3030.322); h_SL2L265->SetBinContent(21,3222.276); h_SL2L265->SetBinContent(22,3304.177); h_SL2L265->SetBinContent(23,3862.124); h_SL2L265->SetBinContent(24,4095.029); h_SL2L265->SetBinContent(25,4921.713); h_SL2L265->SetBinContent(26,18826.9); h_SL2L265->SetBinContent(27,38539.34); h_SL2L265->SetBinContent(28,49562.65); h_SL2L265->SetBinContent(29,53409.42); h_SL2L265->SetBinContent(30,53486.2); h_SL2L265->SetBinContent(31,48759); h_SL2L265->SetBinContent(32,46714.04); h_SL2L265->SetBinContent(33,47110.75); h_SL2L265->SetBinContent(34,39191.99); h_SL2L265->SetBinContent(35,14045.95); h_SL2L265->SetBinContent(36,5397.76); h_SL2L265->SetBinContent(37,3867.243); h_SL2L265->SetBinContent(38,3086.628); h_SL2L265->SetBinContent(39,2669.447); h_SL2L265->SetBinContent(40,2244.588); h_SL2L265->SetBinContent(41,1998.886); h_SL2L265->SetBinContent(42,1876.035); h_SL2L265->SetBinContent(43,1648.249); h_SL2L265->SetBinContent(44,1648.249); h_SL2L265->SetBinContent(45,1484.448); h_SL2L265->SetBinContent(46,1520.28); h_SL2L265->SetBinContent(47,1423.023); h_SL2L265->SetBinContent(48,1246.424); h_SL2L265->SetBinContent(49,1243.865); h_SL2L265->SetBinContent(50,1039.114); h_SL2L265->SetBinContent(51,1069.826); h_SL2L265->SetBinContent(52,1087.742); h_SL2L265->SetBinContent(53,1023.757); h_SL2L265->SetBinContent(54,1036.554); h_SL2L265->SetBinContent(55,970.01); h_SL2L265->SetBinContent(56,916.2628); h_SL2L265->SetBinContent(57,798.5306); h_SL2L265->SetMaximum(63098.51); 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,708.9519); h_SL2L366->SetBinContent(2,867.6343); h_SL2L366->SetBinContent(3,893.2282); h_SL2L366->SetBinContent(4,911.144); h_SL2L366->SetBinContent(5,1051.911); h_SL2L366->SetBinContent(6,1136.371); h_SL2L366->SetBinContent(7,1115.895); h_SL2L366->SetBinContent(8,1220.831); h_SL2L366->SetBinContent(9,1302.731); h_SL2L366->SetBinContent(10,1366.716); h_SL2L366->SetBinContent(11,1548.433); h_SL2L366->SetBinContent(12,1653.368); h_SL2L366->SetBinContent(13,1893.951); h_SL2L366->SetBinContent(14,1893.951); h_SL2L366->SetBinContent(15,2275.301); h_SL2L366->SetBinContent(16,2308.573); h_SL2L366->SetBinContent(17,2569.631); h_SL2L366->SetBinContent(18,2692.482); h_SL2L366->SetBinContent(19,2912.589); h_SL2L366->SetBinContent(20,3032.881); h_SL2L366->SetBinContent(21,3288.82); h_SL2L366->SetBinContent(22,3544.76); h_SL2L366->SetBinContent(23,3826.293); h_SL2L366->SetBinContent(24,4233.236); h_SL2L366->SetBinContent(25,9185.662); h_SL2L366->SetBinContent(26,29622.42); h_SL2L366->SetBinContent(27,45111.86); h_SL2L366->SetBinContent(28,51574.33); h_SL2L366->SetBinContent(29,54392.22); h_SL2L366->SetBinContent(30,51149.47); h_SL2L366->SetBinContent(31,47384.61); h_SL2L366->SetBinContent(32,47376.93); h_SL2L366->SetBinContent(33,45216.8); h_SL2L366->SetBinContent(34,26164.68); h_SL2L366->SetBinContent(35,7655.145); h_SL2L366->SetBinContent(36,4310.018); h_SL2L366->SetBinContent(37,3416.79); h_SL2L366->SetBinContent(38,2771.823); h_SL2L366->SetBinContent(39,2441.661); h_SL2L366->SetBinContent(40,2096.143); h_SL2L366->SetBinContent(41,1899.07); h_SL2L366->SetBinContent(42,1712.234); h_SL2L366->SetBinContent(43,1632.893); h_SL2L366->SetBinContent(44,1525.398); h_SL2L366->SetBinContent(45,1533.077); h_SL2L366->SetBinContent(46,1389.75); h_SL2L366->SetBinContent(47,1330.884); h_SL2L366->SetBinContent(48,1200.355); h_SL2L366->SetBinContent(49,1082.623); h_SL2L366->SetBinContent(50,1044.232); h_SL2L366->SetBinContent(51,980.2476); h_SL2L366->SetBinContent(52,1000.723); h_SL2L366->SetBinContent(53,934.1785); h_SL2L366->SetBinContent(54,970.01); h_SL2L366->SetBinContent(55,949.5349); h_SL2L366->SetBinContent(56,824.1246); h_SL2L366->SetBinContent(57,775.4962); h_SL2L366->SetMaximum(63098.51); 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,790.8525); h_SL2L467->SetBinContent(3,811.3276); h_SL2L467->SetBinContent(4,985.3664); h_SL2L467->SetBinContent(5,990.4852); h_SL2L467->SetBinContent(6,1036.554); h_SL2L467->SetBinContent(7,1090.302); h_SL2L467->SetBinContent(8,1151.727); h_SL2L467->SetBinContent(9,1272.018); h_SL2L467->SetBinContent(10,1289.934); h_SL2L467->SetBinContent(11,1364.157); h_SL2L467->SetBinContent(12,1648.249); h_SL2L467->SetBinContent(13,1617.536); h_SL2L467->SetBinContent(14,1891.392); h_SL2L467->SetBinContent(15,1993.767); h_SL2L467->SetBinContent(16,2190.841); h_SL2L467->SetBinContent(17,2416.067); h_SL2L467->SetBinContent(18,2554.274); h_SL2L467->SetBinContent(19,2651.531); h_SL2L467->SetBinContent(20,2940.743); h_SL2L467->SetBinContent(21,3112.222); h_SL2L467->SetBinContent(22,3219.717); h_SL2L467->SetBinContent(23,3670.17); h_SL2L467->SetBinContent(24,3880.04); h_SL2L467->SetBinContent(25,4814.219); h_SL2L467->SetBinContent(26,18755.23); h_SL2L467->SetBinContent(27,38536.78); h_SL2L467->SetBinContent(28,49204.33); h_SL2L467->SetBinContent(29,53214.9); h_SL2L467->SetBinContent(30,53821.48); h_SL2L467->SetBinContent(31,48956.07); h_SL2L467->SetBinContent(32,46762.67); h_SL2L467->SetBinContent(33,47154.26); h_SL2L467->SetBinContent(34,39478.64); h_SL2L467->SetBinContent(35,13910.3); h_SL2L467->SetBinContent(36,5267.231); h_SL2L467->SetBinContent(37,3659.932); h_SL2L467->SetBinContent(38,2971.456); h_SL2L467->SetBinContent(39,2584.987); h_SL2L467->SetBinContent(40,2170.365); h_SL2L467->SetBinContent(41,1881.154); h_SL2L467->SetBinContent(42,1809.491); h_SL2L467->SetBinContent(43,1630.333); h_SL2L467->SetBinContent(44,1574.027); h_SL2L467->SetBinContent(45,1405.107); h_SL2L467->SetBinContent(46,1405.107); h_SL2L467->SetBinContent(47,1325.766); h_SL2L467->SetBinContent(48,1274.578); h_SL2L467->SetBinContent(49,1123.574); h_SL2L467->SetBinContent(50,962.3318); h_SL2L467->SetBinContent(51,1000.723); h_SL2L467->SetBinContent(52,1028.876); h_SL2L467->SetBinContent(53,1018.638); h_SL2L467->SetBinContent(54,972.5694); h_SL2L467->SetBinContent(55,939.2973); h_SL2L467->SetBinContent(56,875.3124); h_SL2L467->SetBinContent(57,831.8028); h_SL2L467->SetMaximum(63098.51); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 5391"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }