void RatesPerCell_Removing_noisy_cells_run_5397_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:30:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11785.49,67.5,106069.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5397",60,0,60); h_SL1L160->SetBinContent(1,458.4178); h_SL1L160->SetBinContent(2,493.7896); h_SL1L160->SetBinContent(3,531.991); h_SL1L160->SetBinContent(4,573.0223); h_SL1L160->SetBinContent(5,540.4803); h_SL1L160->SetBinContent(6,548.9695); h_SL1L160->SetBinContent(7,556.0438); h_SL1L160->SetBinContent(8,623.9576); h_SL1L160->SetBinContent(9,628.2022); h_SL1L160->SetBinContent(10,687.6267); h_SL1L160->SetBinContent(11,776.7635); h_SL1L160->SetBinContent(12,922.4951); h_SL1L160->SetBinContent(13,1047.004); h_SL1L160->SetBinContent(14,1130.481); h_SL1L160->SetBinContent(15,1059.737); h_SL1L160->SetBinContent(16,1032.855); h_SL1L160->SetBinContent(17,1130.481); h_SL1L160->SetBinContent(18,1445.997); h_SL1L160->SetBinContent(19,1543.623); h_SL1L160->SetBinContent(20,1687.94); h_SL1L160->SetBinContent(21,1953.935); h_SL1L160->SetBinContent(22,2235.494); h_SL1L160->SetBinContent(23,2391.13); h_SL1L160->SetBinContent(24,2611.85); h_SL1L160->SetBinContent(25,2814.176); h_SL1L160->SetBinContent(26,2992.45); h_SL1L160->SetBinContent(27,3354.656); h_SL1L160->SetBinContent(28,4247.439); h_SL1L160->SetBinContent(29,4541.732); h_SL1L160->SetBinContent(30,5147.296); h_SL1L160->SetBinContent(31,7105.476); h_SL1L160->SetBinContent(32,13823.28); h_SL1L160->SetBinContent(33,65935.77); h_SL1L160->SetBinContent(34,66624.8); h_SL1L160->SetBinContent(35,62622.14); h_SL1L160->SetBinContent(36,60359.76); h_SL1L160->SetBinContent(37,54430.04); h_SL1L160->SetBinContent(38,43756.26); h_SL1L160->SetBinContent(39,25290.8); h_SL1L160->SetBinContent(40,6625.835); h_SL1L160->SetBinContent(41,4526.168); h_SL1L160->SetBinContent(42,3869.669); h_SL1L160->SetBinContent(43,3465.016); h_SL1L160->SetBinContent(44,3272.594); h_SL1L160->SetBinContent(45,2996.694); h_SL1L160->SetBinContent(46,2661.37); h_SL1L160->SetBinContent(47,2708.061); h_SL1L160->SetBinContent(48,2436.406); h_SL1L160->SetBinContent(49,2202.952); h_SL1L160->SetBinContent(50,2249.643); h_SL1L160->SetBinContent(51,1986.477); h_SL1L160->SetBinContent(52,1888.851); h_SL1L160->SetBinContent(53,1747.364); h_SL1L160->SetBinContent(54,1723.311); h_SL1L160->SetBinContent(55,1570.505); h_SL1L160->SetBinContent(56,1573.335); h_SL1L160->SetBinContent(57,1631.345); h_SL1L160->SetBinContent(58,1530.889); h_SL1L160->SetBinContent(59,1488.443); h_SL1L160->SetMaximum(94283.9); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,390.5041); h_SL1L261->SetBinContent(2,461.2476); h_SL1L261->SetBinContent(3,462.6624); h_SL1L261->SetBinContent(4,469.7368); h_SL1L261->SetBinContent(5,464.0773); h_SL1L261->SetBinContent(6,498.0342); h_SL1L261->SetBinContent(7,493.7896); h_SL1L261->SetBinContent(8,543.31); h_SL1L261->SetBinContent(9,574.4371); h_SL1L261->SetBinContent(10,606.9791); h_SL1L261->SetBinContent(11,673.478); h_SL1L261->SetBinContent(12,773.9338); h_SL1L261->SetBinContent(13,923.91); h_SL1L261->SetBinContent(14,1044.174); h_SL1L261->SetBinContent(15,1014.462); h_SL1L261->SetBinContent(16,922.4951); h_SL1L261->SetBinContent(17,1063.982); h_SL1L261->SetBinContent(18,1188.491); h_SL1L261->SetBinContent(19,1372.424); h_SL1L261->SetBinContent(20,1536.549); h_SL1L261->SetBinContent(21,1743.12); h_SL1L261->SetBinContent(22,2040.242); h_SL1L261->SetBinContent(23,2214.271); h_SL1L261->SetBinContent(24,2362.833); h_SL1L261->SetBinContent(25,2695.327); h_SL1L261->SetBinContent(26,2689.667); h_SL1L261->SetBinContent(27,3022.162); h_SL1L261->SetBinContent(28,3622.067); h_SL1L261->SetBinContent(29,4268.662); h_SL1L261->SetBinContent(30,4619.55); h_SL1L261->SetBinContent(31,5459.982); h_SL1L261->SetBinContent(32,9683.369); h_SL1L261->SetBinContent(33,39022.11); h_SL1L261->SetBinContent(34,70633.13); h_SL1L261->SetBinContent(35,63550.29); h_SL1L261->SetBinContent(36,62218.9); h_SL1L261->SetBinContent(37,58083.23); h_SL1L261->SetBinContent(38,49799.17); h_SL1L261->SetBinContent(39,37366.71); h_SL1L261->SetBinContent(40,11879.25); h_SL1L261->SetBinContent(41,5677.873); h_SL1L261->SetBinContent(42,4011.156); h_SL1L261->SetBinContent(43,3637.63); h_SL1L261->SetBinContent(44,3215.999); h_SL1L261->SetBinContent(45,2951.418); h_SL1L261->SetBinContent(46,2712.305); h_SL1L261->SetBinContent(47,2487.341); h_SL1L261->SetBinContent(48,2459.044); h_SL1L261->SetBinContent(49,2242.569); h_SL1L261->SetBinContent(50,2116.645); h_SL1L261->SetBinContent(51,2016.189); h_SL1L261->SetBinContent(52,1849.235); h_SL1L261->SetBinContent(53,1813.863); h_SL1L261->SetBinContent(54,1707.748); h_SL1L261->SetBinContent(55,1543.623); h_SL1L261->SetBinContent(56,1537.964); h_SL1L261->SetBinContent(57,1485.613); h_SL1L261->SetBinContent(58,1536.549); h_SL1L261->SetBinContent(59,1413.455); h_SL1L261->SetMaximum(81986.33); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,390.5041); h_SL1L362->SetBinContent(2,387.6743); h_SL1L362->SetBinContent(3,403.2379); h_SL1L362->SetBinContent(4,441.4394); h_SL1L362->SetBinContent(5,442.8542); h_SL1L362->SetBinContent(6,471.1516); h_SL1L362->SetBinContent(7,482.4706); h_SL1L362->SetBinContent(8,500.8639); h_SL1L362->SetBinContent(9,524.9167); h_SL1L362->SetBinContent(10,609.8089); h_SL1L362->SetBinContent(11,706.02); h_SL1L362->SetBinContent(12,799.4014); h_SL1L362->SetBinContent(13,911.1761); h_SL1L362->SetBinContent(14,947.9628); h_SL1L362->SetBinContent(15,949.3776); h_SL1L362->SetBinContent(16,977.675); h_SL1L362->SetBinContent(17,1080.961); h_SL1L362->SetBinContent(18,1279.042); h_SL1L362->SetBinContent(19,1385.157); h_SL1L362->SetBinContent(20,1571.92); h_SL1L362->SetBinContent(21,1779.906); h_SL1L362->SetBinContent(22,2019.019); h_SL1L362->SetBinContent(23,2227.005); h_SL1L362->SetBinContent(24,2451.969); h_SL1L362->SetBinContent(25,2616.094); h_SL1L362->SetBinContent(26,2807.102); h_SL1L362->SetBinContent(27,3264.104); h_SL1L362->SetBinContent(28,4018.23); h_SL1L362->SetBinContent(29,4397.416); h_SL1L362->SetBinContent(30,4984.586); h_SL1L362->SetBinContent(31,7078.594); h_SL1L362->SetBinContent(32,14198.22); h_SL1L362->SetBinContent(33,66504.54); h_SL1L362->SetBinContent(34,67033.7); h_SL1L362->SetBinContent(35,63076.31); h_SL1L362->SetBinContent(36,60886.09); h_SL1L362->SetBinContent(37,54748.39); h_SL1L362->SetBinContent(38,44097.25); h_SL1L362->SetBinContent(39,25486.05); h_SL1L362->SetBinContent(40,6562.166); h_SL1L362->SetBinContent(41,4444.106); h_SL1L362->SetBinContent(42,3678.661); h_SL1L362->SetBinContent(43,3290.987); h_SL1L362->SetBinContent(44,3071.682); h_SL1L362->SetBinContent(45,2801.442); h_SL1L362->SetBinContent(46,2454.799); h_SL1L362->SetBinContent(47,2459.044); h_SL1L362->SetBinContent(48,2235.494); h_SL1L362->SetBinContent(49,2085.518); h_SL1L362->SetBinContent(50,2020.434); h_SL1L362->SetBinContent(51,1823.767); h_SL1L362->SetBinContent(52,1720.482); h_SL1L362->SetBinContent(53,1676.621); h_SL1L362->SetBinContent(54,1605.877); h_SL1L362->SetBinContent(55,1455.901); h_SL1L362->SetBinContent(56,1447.412); h_SL1L362->SetBinContent(57,1443.167); h_SL1L362->SetBinContent(58,1387.987); h_SL1L362->SetBinContent(59,1389.402); h_SL1L362->SetMaximum(81986.33); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,383.4297); h_SL1L463->SetBinContent(3,404.6528); h_SL1L463->SetBinContent(4,394.7487); h_SL1L463->SetBinContent(5,414.5569); h_SL1L463->SetBinContent(6,427.2907); h_SL1L463->SetBinContent(7,473.9814); h_SL1L463->SetBinContent(8,485.3003); h_SL1L463->SetBinContent(9,471.1516); h_SL1L463->SetBinContent(10,534.8208); h_SL1L463->SetBinContent(11,619.713); h_SL1L463->SetBinContent(12,683.3821); h_SL1L463->SetBinContent(13,790.9122); h_SL1L463->SetBinContent(14,865.9003); h_SL1L463->SetBinContent(15,950.7925); h_SL1L463->SetBinContent(16,885.7085); h_SL1L463->SetBinContent(17,1035.685); h_SL1L463->SetBinContent(18,1141.8); h_SL1L463->SetBinContent(19,1225.277); h_SL1L463->SetBinContent(20,1427.604); h_SL1L463->SetBinContent(21,1526.645); h_SL1L463->SetBinContent(22,1887.436); h_SL1L463->SetBinContent(23,2048.731); h_SL1L463->SetBinContent(24,2187.389); h_SL1L463->SetBinContent(25,2543.936); h_SL1L463->SetBinContent(26,2534.032); h_SL1L463->SetBinContent(27,2989.62); h_SL1L463->SetBinContent(28,3622.067); h_SL1L463->SetBinContent(29,4101.708); h_SL1L463->SetBinContent(30,4500.701); h_SL1L463->SetBinContent(31,5297.272); h_SL1L463->SetBinContent(32,9519.244); h_SL1L463->SetBinContent(33,38839.59); h_SL1L463->SetBinContent(34,71292.46); h_SL1L463->SetBinContent(35,64015.79); h_SL1L463->SetBinContent(36,62557.05); h_SL1L463->SetBinContent(37,58671.82); h_SL1L463->SetBinContent(38,49963.3); h_SL1L463->SetBinContent(39,37573.28); h_SL1L463->SetBinContent(40,11934.43); h_SL1L463->SetBinContent(41,5556.194); h_SL1L463->SetBinContent(42,3842.786); h_SL1L463->SetBinContent(43,3491.899); h_SL1L463->SetBinContent(44,3092.905); h_SL1L463->SetBinContent(45,2821.25); h_SL1L463->SetBinContent(46,2652.881); h_SL1L463->SetBinContent(47,2406.694); h_SL1L463->SetBinContent(48,2324.631); h_SL1L463->SetBinContent(49,2096.837); h_SL1L463->SetBinContent(50,1938.372); h_SL1L463->SetBinContent(51,1938.372); h_SL1L463->SetBinContent(52,1679.45); h_SL1L463->SetBinContent(53,1704.918); h_SL1L463->SetBinContent(54,1668.131); h_SL1L463->SetBinContent(56,1444.582); h_SL1L463->SetBinContent(57,1359.69); h_SL1L463->SetBinContent(58,1407.795); h_SL1L463->SetBinContent(59,1303.095); h_SL1L463->SetMaximum(81986.33); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 5397"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }