void RatesPerCell_Removing_noisy_cells_run_6488_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:32:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18703.6,67.5,168332.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6488",60,0,60); h_SL2L164->SetBinContent(1,1097.276); h_SL2L164->SetBinContent(2,883.9164); h_SL2L164->SetBinContent(3,1371.594); h_SL2L164->SetBinContent(4,1371.594); h_SL2L164->SetBinContent(5,1584.954); h_SL2L164->SetBinContent(6,1595.114); h_SL2L164->SetBinContent(7,1554.474); h_SL2L164->SetBinContent(8,1767.833); h_SL2L164->SetBinContent(9,2245.351); h_SL2L164->SetBinContent(10,2072.632); h_SL2L164->SetBinContent(11,2804.149); h_SL2L164->SetBinContent(12,2509.51); h_SL2L164->SetBinContent(13,2722.869); h_SL2L164->SetBinContent(14,3047.988); h_SL2L164->SetBinContent(15,3464.546); h_SL2L164->SetBinContent(16,3972.544); h_SL2L164->SetBinContent(17,4104.624); h_SL2L164->SetBinContent(18,4358.623); h_SL2L164->SetBinContent(19,5242.539); h_SL2L164->SetBinContent(20,5679.417); h_SL2L164->SetBinContent(21,6400.774); h_SL2L164->SetBinContent(22,7000.211); h_SL2L164->SetBinContent(23,8097.487); h_SL2L164->SetBinContent(24,9692.601); h_SL2L164->SetBinContent(25,14752.26); h_SL2L164->SetBinContent(26,36535.21); h_SL2L164->SetBinContent(27,86532.37); h_SL2L164->SetBinContent(28,113141.3); h_SL2L164->SetBinContent(29,86959.09); h_SL2L164->SetBinContent(30,54355.78); h_SL2L164->SetBinContent(31,31770.19); h_SL2L164->SetBinContent(32,26273.65); h_SL2L164->SetBinContent(33,22067.43); h_SL2L164->SetBinContent(34,13837.86); h_SL2L164->SetBinContent(35,213.3591); h_SL2L164->SetBinContent(36,6441.414); h_SL2L164->SetBinContent(37,8575.005); h_SL2L164->SetBinContent(38,6045.175); h_SL2L164->SetBinContent(39,7457.41); h_SL2L164->SetBinContent(40,19933.84); h_SL2L164->SetBinContent(41,52303.47); h_SL2L164->SetBinContent(42,12547.55); h_SL2L164->SetBinContent(43,13319.71); h_SL2L164->SetBinContent(44,12811.71); h_SL2L164->SetBinContent(45,2031.992); h_SL2L164->SetBinContent(46,1920.232); h_SL2L164->SetBinContent(47,1849.113); h_SL2L164->SetBinContent(48,1828.793); h_SL2L164->SetBinContent(49,1899.912); h_SL2L164->SetBinContent(50,1564.634); h_SL2L164->SetBinContent(51,1452.874); h_SL2L164->SetBinContent(52,1412.234); h_SL2L164->SetBinContent(53,1148.075); h_SL2L164->SetBinContent(54,1087.116); h_SL2L164->SetBinContent(55,924.5563); h_SL2L164->SetBinContent(56,883.9164); h_SL2L164->SetBinContent(57,873.7565); h_SL2L164->SetMaximum(149628.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,934.7162); h_SL2L265->SetBinContent(2,1036.316); h_SL2L265->SetBinContent(3,1209.035); h_SL2L265->SetBinContent(4,1310.635); h_SL2L265->SetBinContent(5,1371.594); h_SL2L265->SetBinContent(6,1544.314); h_SL2L265->SetBinContent(7,1788.153); h_SL2L265->SetBinContent(8,1615.433); h_SL2L265->SetBinContent(9,2133.591); h_SL2L265->SetBinContent(10,2082.792); h_SL2L265->SetBinContent(11,2164.071); h_SL2L265->SetBinContent(12,2641.589); h_SL2L265->SetBinContent(13,2692.389); h_SL2L265->SetBinContent(14,3058.148); h_SL2L265->SetBinContent(15,3068.308); h_SL2L265->SetBinContent(16,3637.265); h_SL2L265->SetBinContent(17,4155.423); h_SL2L265->SetBinContent(18,4063.984); h_SL2L265->SetBinContent(19,4714.221); h_SL2L265->SetBinContent(20,5435.578); h_SL2L265->SetBinContent(21,5984.216); h_SL2L265->SetBinContent(22,6664.933); h_SL2L265->SetBinContent(23,7538.689); h_SL2L265->SetBinContent(24,9143.963); h_SL2L265->SetBinContent(25,10627.32); h_SL2L265->SetBinContent(26,24597.26); h_SL2L265->SetBinContent(27,57647.61); h_SL2L265->SetBinContent(28,107014.8); h_SL2L265->SetBinContent(29,104424.1); h_SL2L265->SetBinContent(30,68661); h_SL2L265->SetBinContent(31,40375.68); h_SL2L265->SetBinContent(32,28234.53); h_SL2L265->SetBinContent(33,23835.26); h_SL2L265->SetBinContent(34,18125.37); h_SL2L265->SetBinContent(35,10149.8); h_SL2L265->SetBinContent(36,6847.812); h_SL2L265->SetBinContent(37,5648.937); h_SL2L265->SetBinContent(38,4785.341); h_SL2L265->SetBinContent(39,5516.857); h_SL2L265->SetBinContent(40,6857.972); h_SL2L265->SetBinContent(41,4958.06); h_SL2L265->SetBinContent(42,4003.024); h_SL2L265->SetBinContent(43,2458.71); h_SL2L265->SetBinContent(44,3220.707); h_SL2L265->SetBinContent(45,2235.191); h_SL2L265->SetBinContent(46,1889.752); h_SL2L265->SetBinContent(47,1879.592); h_SL2L265->SetBinContent(48,1534.154); h_SL2L265->SetBinContent(49,1818.633); h_SL2L265->SetBinContent(50,1330.955); h_SL2L265->SetBinContent(51,1523.994); h_SL2L265->SetBinContent(52,1188.715); h_SL2L265->SetBinContent(53,995.676); h_SL2L265->SetBinContent(54,1300.475); h_SL2L265->SetBinContent(55,1056.636); h_SL2L265->SetBinContent(56,975.3561); h_SL2L265->SetBinContent(57,904.2363); h_SL2L265->SetMaximum(130112.5); 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,1056.636); h_SL2L366->SetBinContent(2,1148.075); h_SL2L366->SetBinContent(3,1269.995); h_SL2L366->SetBinContent(4,1300.475); h_SL2L366->SetBinContent(5,1351.275); h_SL2L366->SetBinContent(6,1717.033); h_SL2L366->SetBinContent(7,1757.673); h_SL2L366->SetBinContent(8,1920.232); h_SL2L366->SetBinContent(9,1950.712); h_SL2L366->SetBinContent(10,2113.271); h_SL2L366->SetBinContent(11,2550.15); h_SL2L366->SetBinContent(12,2397.75); h_SL2L366->SetBinContent(13,2743.189); h_SL2L366->SetBinContent(14,3169.907); h_SL2L366->SetBinContent(15,3281.667); h_SL2L366->SetBinContent(16,3657.585); h_SL2L366->SetBinContent(17,3891.264); h_SL2L366->SetBinContent(18,4185.903); h_SL2L366->SetBinContent(19,5049.5); h_SL2L366->SetBinContent(20,5466.058); h_SL2L366->SetBinContent(21,6136.615); h_SL2L366->SetBinContent(22,6807.172); h_SL2L366->SetBinContent(23,7914.608); h_SL2L366->SetBinContent(24,9560.521); h_SL2L366->SetBinContent(25,15239.94); h_SL2L366->SetBinContent(26,36575.85); h_SL2L366->SetBinContent(27,86207.25); h_SL2L366->SetBinContent(28,112988.9); h_SL2L366->SetBinContent(29,86999.73); h_SL2L366->SetBinContent(30,54284.66); h_SL2L366->SetBinContent(31,31881.95); h_SL2L366->SetBinContent(32,25948.54); h_SL2L366->SetBinContent(33,21589.91); h_SL2L366->SetBinContent(34,13299.39); h_SL2L366->SetBinContent(35,7315.17); h_SL2L366->SetBinContent(36,6106.135); h_SL2L366->SetBinContent(37,4927.58); h_SL2L366->SetBinContent(38,4419.582); h_SL2L366->SetBinContent(39,4003.024); h_SL2L366->SetBinContent(40,5628.617); h_SL2L366->SetBinContent(41,3728.705); h_SL2L366->SetBinContent(42,2631.429); h_SL2L366->SetBinContent(43,2377.43); h_SL2L366->SetBinContent(44,2367.271); h_SL2L366->SetBinContent(45,2001.512); h_SL2L366->SetBinContent(46,1899.912); h_SL2L366->SetBinContent(47,1584.954); h_SL2L366->SetBinContent(48,1432.554); h_SL2L366->SetBinContent(49,1513.834); h_SL2L366->SetBinContent(50,1534.154); h_SL2L366->SetBinContent(51,1330.955); h_SL2L366->SetBinContent(52,1097.276); h_SL2L366->SetBinContent(53,1046.476); h_SL2L366->SetBinContent(54,1178.555); h_SL2L366->SetBinContent(55,1087.116); h_SL2L366->SetBinContent(56,843.2766); h_SL2L366->SetBinContent(57,822.9567); h_SL2L366->SetMaximum(130112.5); 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,934.7162); h_SL2L467->SetBinContent(3,1168.395); h_SL2L467->SetBinContent(4,1391.914); h_SL2L467->SetBinContent(5,1290.315); h_SL2L467->SetBinContent(6,1351.275); h_SL2L467->SetBinContent(7,1696.713); h_SL2L467->SetBinContent(8,1249.675); h_SL2L467->SetBinContent(9,1971.032); h_SL2L467->SetBinContent(10,1838.953); h_SL2L467->SetBinContent(11,2194.551); h_SL2L467->SetBinContent(12,2164.071); h_SL2L467->SetBinContent(13,2743.189); h_SL2L467->SetBinContent(14,2651.749); h_SL2L467->SetBinContent(15,2905.748); h_SL2L467->SetBinContent(16,3281.667); h_SL2L467->SetBinContent(17,4003.024); h_SL2L467->SetBinContent(18,4307.823); h_SL2L467->SetBinContent(19,4866.62); h_SL2L467->SetBinContent(20,5100.299); h_SL2L467->SetBinContent(21,5902.936); h_SL2L467->SetBinContent(22,6095.975); h_SL2L467->SetBinContent(23,7294.851); h_SL2L467->SetBinContent(24,8615.646); h_SL2L467->SetBinContent(25,10159.96); h_SL2L467->SetBinContent(26,23764.14); h_SL2L467->SetBinContent(27,57342.81); h_SL2L467->SetBinContent(28,106324); h_SL2L467->SetBinContent(29,103834.8); h_SL2L467->SetBinContent(30,68234.28); h_SL2L467->SetBinContent(31,40101.36); h_SL2L467->SetBinContent(32,27685.89); h_SL2L467->SetBinContent(33,23540.62); h_SL2L467->SetBinContent(34,17698.65); h_SL2L467->SetBinContent(35,10007.56); h_SL2L467->SetBinContent(36,6156.935); h_SL2L467->SetBinContent(37,5435.578); h_SL2L467->SetBinContent(38,4490.702); h_SL2L467->SetBinContent(39,3931.904); h_SL2L467->SetBinContent(40,3759.185); h_SL2L467->SetBinContent(41,3362.946); h_SL2L467->SetBinContent(42,3444.226); h_SL2L467->SetBinContent(43,2255.511); h_SL2L467->SetBinContent(44,2275.831); h_SL2L467->SetBinContent(45,2143.751); h_SL2L467->SetBinContent(46,1676.393); h_SL2L467->SetBinContent(47,1717.033); h_SL2L467->SetBinContent(48,1341.115); h_SL2L467->SetBinContent(49,1544.314); h_SL2L467->SetBinContent(50,1300.475); h_SL2L467->SetBinContent(51,1422.394); h_SL2L467->SetBinContent(52,1036.316); h_SL2L467->SetBinContent(53,894.0764); h_SL2L467->SetBinContent(54,975.3561); h_SL2L467->SetBinContent(55,965.1961); h_SL2L467->SetBinContent(56,761.9969); h_SL2L467->SetBinContent(57,792.4768); h_SL2L467->SetMaximum(130112.5); 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 6488"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }