void RatesPerCell_Removing_noisy_cells_run_6620_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9998.101,67.5,89982.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6620",60,0,60); h_SL2L164->SetBinContent(1,268.212); h_SL2L164->SetBinContent(2,373.9306); h_SL2L164->SetBinContent(3,426.7899); h_SL2L164->SetBinContent(4,524.6775); h_SL2L164->SetBinContent(5,581.4523); h_SL2L164->SetBinContent(6,534.4662); h_SL2L164->SetBinContent(7,552.086); h_SL2L164->SetBinContent(8,642.1426); h_SL2L164->SetBinContent(9,720.4526); h_SL2L164->SetBinContent(10,810.5092); h_SL2L164->SetBinContent(11,888.8193); h_SL2L164->SetBinContent(12,1016.073); h_SL2L164->SetBinContent(13,1016.073); h_SL2L164->SetBinContent(14,1198.144); h_SL2L164->SetBinContent(15,1252.961); h_SL2L164->SetBinContent(16,1317.567); h_SL2L164->SetBinContent(17,1374.342); h_SL2L164->SetBinContent(18,1564.244); h_SL2L164->SetBinContent(19,1681.709); h_SL2L164->SetBinContent(20,1875.526); h_SL2L164->SetBinContent(21,2028.231); h_SL2L164->SetBinContent(22,2300.358); h_SL2L164->SetBinContent(23,2592.063); h_SL2L164->SetBinContent(24,3212.671); h_SL2L164->SetBinContent(25,8277.374); h_SL2L164->SetBinContent(26,27596.47); h_SL2L164->SetBinContent(27,45568.63); h_SL2L164->SetBinContent(28,57121.32); h_SL2L164->SetBinContent(29,60480.82); h_SL2L164->SetBinContent(30,56181.6); h_SL2L164->SetBinContent(31,48497.43); h_SL2L164->SetBinContent(32,43712.68); h_SL2L164->SetBinContent(33,38792.85); h_SL2L164->SetBinContent(34,19332.8); h_SL2L164->SetBinContent(36,2889.642); h_SL2L164->SetBinContent(37,4123.025); h_SL2L164->SetBinContent(38,2828.951); h_SL2L164->SetBinContent(39,4087.786); h_SL2L164->SetBinContent(40,45229.94); h_SL2L164->SetBinContent(41,46694.34); h_SL2L164->SetBinContent(42,6256.975); h_SL2L164->SetBinContent(43,6327.454); h_SL2L164->SetBinContent(44,6327.454); h_SL2L164->SetBinContent(45,732.1992); h_SL2L164->SetBinContent(46,597.1143); h_SL2L164->SetBinContent(47,585.3678); h_SL2L164->SetBinContent(48,487.4802); h_SL2L164->SetBinContent(49,458.1139); h_SL2L164->SetBinContent(50,397.4236); h_SL2L164->SetBinContent(51,420.9166); h_SL2L164->SetBinContent(52,309.3248); h_SL2L164->SetBinContent(53,371.9728); h_SL2L164->SetBinContent(54,360.2263); h_SL2L164->SetBinContent(55,278.0008); h_SL2L164->SetBinContent(56,231.0147); h_SL2L164->SetBinContent(57,7126.216); h_SL2L164->SetMaximum(79984.8); 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,250.5922); h_SL2L265->SetBinContent(2,319.1135); h_SL2L265->SetBinContent(3,413.0856); h_SL2L265->SetBinContent(4,516.8464); h_SL2L265->SetBinContent(5,540.3395); h_SL2L265->SetBinContent(6,526.6352); h_SL2L265->SetBinContent(7,520.762); h_SL2L265->SetBinContent(8,577.5367); h_SL2L265->SetBinContent(9,648.0158); h_SL2L265->SetBinContent(10,787.0162); h_SL2L265->SetBinContent(11,714.5794); h_SL2L265->SetBinContent(12,971.0449); h_SL2L265->SetBinContent(13,1043.482); h_SL2L265->SetBinContent(14,1039.566); h_SL2L265->SetBinContent(15,1131.581); h_SL2L265->SetBinContent(16,1178.567); h_SL2L265->SetBinContent(17,1366.511); h_SL2L265->SetBinContent(18,1421.328); h_SL2L265->SetBinContent(19,1628.849); h_SL2L265->SetBinContent(20,1724.779); h_SL2L265->SetBinContent(21,1949.921); h_SL2L265->SetBinContent(22,2235.752); h_SL2L265->SetBinContent(23,2343.429); h_SL2L265->SetBinContent(24,2740.853); h_SL2L265->SetBinContent(25,3835.236); h_SL2L265->SetBinContent(26,17611.94); h_SL2L265->SetBinContent(27,36825.31); h_SL2L265->SetBinContent(28,52634.16); h_SL2L265->SetBinContent(29,59781.91); h_SL2L265->SetBinContent(30,59165.21); h_SL2L265->SetBinContent(31,51663.11); h_SL2L265->SetBinContent(32,45353.28); h_SL2L265->SetBinContent(33,42447.97); h_SL2L265->SetBinContent(34,30883.53); h_SL2L265->SetBinContent(35,9980.618); h_SL2L265->SetBinContent(36,3690.362); h_SL2L265->SetBinContent(37,2494.176); h_SL2L265->SetBinContent(38,2030.189); h_SL2L265->SetBinContent(39,2071.301); h_SL2L265->SetBinContent(40,4751.463); h_SL2L265->SetBinContent(41,3803.912); h_SL2L265->SetBinContent(42,2096.752); h_SL2L265->SetBinContent(43,1229.468); h_SL2L265->SetBinContent(44,1568.159); h_SL2L265->SetBinContent(45,671.5089); h_SL2L265->SetBinContent(46,722.4104); h_SL2L265->SetBinContent(47,593.1988); h_SL2L265->SetBinContent(48,556.0015); h_SL2L265->SetBinContent(49,481.6069); h_SL2L265->SetBinContent(50,409.1701); h_SL2L265->SetBinContent(51,407.2124); h_SL2L265->SetBinContent(52,391.5504); h_SL2L265->SetBinContent(53,321.0713); h_SL2L265->SetBinContent(54,391.5504); h_SL2L265->SetBinContent(55,328.9023); h_SL2L265->SetBinContent(56,221.226); h_SL2L265->SetBinContent(57,205.5639); h_SL2L265->SetMaximum(69552.95); 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,371.9728); h_SL2L366->SetBinContent(2,354.3531); h_SL2L366->SetBinContent(3,430.7054); h_SL2L366->SetBinContent(4,475.7337); h_SL2L366->SetBinContent(5,542.2972); h_SL2L366->SetBinContent(6,479.6492); h_SL2L366->SetBinContent(7,526.6352); h_SL2L366->SetBinContent(8,583.41); h_SL2L366->SetBinContent(9,734.1569); h_SL2L366->SetBinContent(10,741.9879); h_SL2L366->SetBinContent(11,802.6782); h_SL2L366->SetBinContent(12,984.7491); h_SL2L366->SetBinContent(13,967.1294); h_SL2L366->SetBinContent(14,1117.876); h_SL2L366->SetBinContent(15,1162.905); h_SL2L366->SetBinContent(16,1247.088); h_SL2L366->SetBinContent(17,1333.229); h_SL2L366->SetBinContent(18,1560.328); h_SL2L366->SetBinContent(19,1638.638); h_SL2L366->SetBinContent(20,1760.019); h_SL2L366->SetBinContent(21,1992.991); h_SL2L366->SetBinContent(22,2208.344); h_SL2L366->SetBinContent(23,2413.908); h_SL2L366->SetBinContent(24,3052.135); h_SL2L366->SetBinContent(25,8363.516); h_SL2L366->SetBinContent(26,27653.24); h_SL2L366->SetBinContent(27,45584.29); h_SL2L366->SetBinContent(28,57244.66); h_SL2L366->SetBinContent(29,60320.29); h_SL2L366->SetBinContent(30,56085.67); h_SL2L366->SetBinContent(31,48436.73); h_SL2L366->SetBinContent(32,43881.05); h_SL2L366->SetBinContent(33,38869.2); h_SL2L366->SetBinContent(34,19370); h_SL2L366->SetBinContent(35,5264.395); h_SL2L366->SetBinContent(36,2825.036); h_SL2L366->SetBinContent(37,2239.668); h_SL2L366->SetBinContent(38,1801.132); h_SL2L366->SetBinContent(39,1331.271); h_SL2L366->SetBinContent(40,1967.541); h_SL2L366->SetBinContent(41,1491.807); h_SL2L366->SetBinContent(42,982.7914); h_SL2L366->SetBinContent(43,763.5232); h_SL2L366->SetBinContent(44,814.4247); h_SL2L366->SetBinContent(45,618.6495); h_SL2L366->SetBinContent(46,602.9875); h_SL2L366->SetBinContent(47,536.424); h_SL2L366->SetBinContent(48,463.9872); h_SL2L366->SetBinContent(49,467.9027); h_SL2L366->SetBinContent(50,371.9728); h_SL2L366->SetBinContent(51,393.5081); h_SL2L366->SetBinContent(52,342.6066); h_SL2L366->SetBinContent(53,299.536); h_SL2L366->SetBinContent(54,328.9023); h_SL2L366->SetBinContent(55,272.1275); h_SL2L366->SetBinContent(56,231.0147); h_SL2L366->SetBinContent(57,250.5922); h_SL2L366->SetMaximum(69552.95); 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,289.7473); h_SL2L467->SetBinContent(3,385.6771); h_SL2L467->SetBinContent(4,475.7337); h_SL2L467->SetBinContent(5,528.593); h_SL2L467->SetBinContent(6,501.1844); h_SL2L467->SetBinContent(7,487.4802); h_SL2L467->SetBinContent(8,530.5507); h_SL2L467->SetBinContent(9,606.903); h_SL2L467->SetBinContent(10,716.5372); h_SL2L467->SetBinContent(11,712.6216); h_SL2L467->SetBinContent(12,871.1995); h_SL2L467->SetBinContent(13,898.608); h_SL2L467->SetBinContent(14,1025.862); h_SL2L467->SetBinContent(15,1104.172); h_SL2L467->SetBinContent(16,1162.905); h_SL2L467->SetBinContent(17,1303.863); h_SL2L467->SetBinContent(18,1346.933); h_SL2L467->SetBinContent(19,1570.117); h_SL2L467->SetBinContent(20,1671.92); h_SL2L467->SetBinContent(21,1846.16); h_SL2L467->SetBinContent(22,2055.639); h_SL2L467->SetBinContent(23,2245.541); h_SL2L467->SetBinContent(24,2678.204); h_SL2L467->SetBinContent(25,3727.559); h_SL2L467->SetBinContent(26,17420.07); h_SL2L467->SetBinContent(27,36999.55); h_SL2L467->SetBinContent(28,52389.44); h_SL2L467->SetBinContent(29,59640.95); h_SL2L467->SetBinContent(30,59766.25); h_SL2L467->SetBinContent(31,51835.39); h_SL2L467->SetBinContent(32,45578.42); h_SL2L467->SetBinContent(33,42395.11); h_SL2L467->SetBinContent(34,30997.08); h_SL2L467->SetBinContent(35,9849.449); h_SL2L467->SetBinContent(36,3570.939); h_SL2L467->SetBinContent(37,2456.979); h_SL2L467->SetBinContent(38,1963.625); h_SL2L467->SetBinContent(39,1438.948); h_SL2L467->SetBinContent(40,1325.398); h_SL2L467->SetBinContent(41,1139.411); h_SL2L467->SetBinContent(42,1344.975); h_SL2L467->SetBinContent(43,834.0023); h_SL2L467->SetBinContent(44,765.481); h_SL2L467->SetBinContent(45,663.6779); h_SL2L467->SetBinContent(46,642.1426); h_SL2L467->SetBinContent(47,550.1282); h_SL2L467->SetBinContent(48,452.2407); h_SL2L467->SetBinContent(49,458.1139); h_SL2L467->SetBinContent(50,373.9306); h_SL2L467->SetBinContent(51,418.9589); h_SL2L467->SetBinContent(52,348.4798); h_SL2L467->SetBinContent(53,324.9868); h_SL2L467->SetBinContent(54,321.0713); h_SL2L467->SetBinContent(55,281.9163); h_SL2L467->SetBinContent(56,238.8457); h_SL2L467->SetBinContent(57,203.6062); h_SL2L467->SetMaximum(69552.95); 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 6620"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }