void RatesPerCell_Removing_noisy_cells_run_6765_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11392.76,67.5,102534.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6765",60,0,60); h_SL1L160->SetBinContent(1,383.3333); h_SL1L160->SetBinContent(2,385.7143); h_SL1L160->SetBinContent(3,459.5238); h_SL1L160->SetBinContent(4,423.8095); h_SL1L160->SetBinContent(5,378.5714); h_SL1L160->SetBinContent(6,426.1905); h_SL1L160->SetBinContent(7,476.1905); h_SL1L160->SetBinContent(8,476.1905); h_SL1L160->SetBinContent(9,600); h_SL1L160->SetBinContent(10,614.2857); h_SL1L160->SetBinContent(11,697.619); h_SL1L160->SetBinContent(12,780.9524); h_SL1L160->SetBinContent(13,933.3333); h_SL1L160->SetBinContent(14,933.3333); h_SL1L160->SetBinContent(15,871.4286); h_SL1L160->SetBinContent(16,733.3333); h_SL1L160->SetBinContent(17,916.6667); h_SL1L160->SetBinContent(18,1130.952); h_SL1L160->SetBinContent(19,1278.571); h_SL1L160->SetBinContent(20,1423.81); h_SL1L160->SetBinContent(21,1519.048); h_SL1L160->SetBinContent(22,1716.667); h_SL1L160->SetBinContent(23,1885.714); h_SL1L160->SetBinContent(24,1900); h_SL1L160->SetBinContent(25,2050); h_SL1L160->SetBinContent(26,1926.19); h_SL1L160->SetBinContent(27,2328.571); h_SL1L160->SetBinContent(28,3126.19); h_SL1L160->SetBinContent(29,3345.238); h_SL1L160->SetBinContent(30,3897.619); h_SL1L160->SetBinContent(31,5016.667); h_SL1L160->SetBinContent(32,8978.571); h_SL1L160->SetBinContent(33,36595.24); h_SL1L160->SetBinContent(34,54373.81); h_SL1L160->SetBinContent(35,59928.57); h_SL1L160->SetBinContent(36,63952.38); h_SL1L160->SetBinContent(37,66602.38); h_SL1L160->SetBinContent(38,62023.81); h_SL1L160->SetBinContent(39,38914.29); h_SL1L160->SetBinContent(40,9478.571); h_SL1L160->SetBinContent(41,5688.095); h_SL1L160->SetBinContent(42,4307.143); h_SL1L160->SetBinContent(43,3785.714); h_SL1L160->SetBinContent(44,3557.143); h_SL1L160->SetBinContent(45,3178.571); h_SL1L160->SetBinContent(46,2919.048); h_SL1L160->SetBinContent(47,2864.286); h_SL1L160->SetBinContent(48,2485.714); h_SL1L160->SetBinContent(49,2373.81); h_SL1L160->SetBinContent(50,2288.095); h_SL1L160->SetBinContent(51,1895.238); h_SL1L160->SetBinContent(52,1819.048); h_SL1L160->SetBinContent(53,1730.952); h_SL1L160->SetBinContent(54,1795.238); h_SL1L160->SetBinContent(55,1859.524); h_SL1L160->SetBinContent(56,1502.381); h_SL1L160->SetBinContent(57,1554.762); h_SL1L160->SetBinContent(58,1507.143); h_SL1L160->SetBinContent(59,1509.524); h_SL1L160->SetMaximum(91142.1); 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,333.3333); h_SL1L261->SetBinContent(2,292.8571); h_SL1L261->SetBinContent(3,376.1905); h_SL1L261->SetBinContent(4,371.4286); h_SL1L261->SetBinContent(5,335.7143); h_SL1L261->SetBinContent(6,378.5714); h_SL1L261->SetBinContent(7,442.8571); h_SL1L261->SetBinContent(8,421.4286); h_SL1L261->SetBinContent(9,497.619); h_SL1L261->SetBinContent(10,488.0952); h_SL1L261->SetBinContent(11,554.7619); h_SL1L261->SetBinContent(12,659.5238); h_SL1L261->SetBinContent(13,783.3333); h_SL1L261->SetBinContent(14,783.3333); h_SL1L261->SetBinContent(15,847.619); h_SL1L261->SetBinContent(16,709.5238); h_SL1L261->SetBinContent(17,802.3809); h_SL1L261->SetBinContent(18,1021.429); h_SL1L261->SetBinContent(19,1088.095); h_SL1L261->SetBinContent(20,1221.429); h_SL1L261->SetBinContent(21,1311.905); h_SL1L261->SetBinContent(22,1452.381); h_SL1L261->SetBinContent(23,1761.905); h_SL1L261->SetBinContent(24,1745.238); h_SL1L261->SetBinContent(25,2028.571); h_SL1L261->SetBinContent(26,1809.524); h_SL1L261->SetBinContent(27,2147.619); h_SL1L261->SetBinContent(28,2578.571); h_SL1L261->SetBinContent(29,3095.238); h_SL1L261->SetBinContent(30,3604.762); h_SL1L261->SetBinContent(31,4102.381); h_SL1L261->SetBinContent(32,7026.19); h_SL1L261->SetBinContent(33,19171.43); h_SL1L261->SetBinContent(34,50542.86); h_SL1L261->SetBinContent(35,59628.57); h_SL1L261->SetBinContent(36,64250); h_SL1L261->SetBinContent(37,67978.57); h_SL1L261->SetBinContent(38,67380.95); h_SL1L261->SetBinContent(39,55128.57); h_SL1L261->SetBinContent(40,19230.95); h_SL1L261->SetBinContent(41,8128.571); h_SL1L261->SetBinContent(42,4545.238); h_SL1L261->SetBinContent(43,3888.095); h_SL1L261->SetBinContent(44,3430.952); h_SL1L261->SetBinContent(45,3350); h_SL1L261->SetBinContent(46,2950); h_SL1L261->SetBinContent(47,2876.19); h_SL1L261->SetBinContent(48,2469.048); h_SL1L261->SetBinContent(49,15423.81); h_SL1L261->SetBinContent(50,2204.762); h_SL1L261->SetBinContent(51,2095.238); h_SL1L261->SetBinContent(52,1928.571); h_SL1L261->SetBinContent(53,1885.714); h_SL1L261->SetBinContent(54,1823.809); h_SL1L261->SetBinContent(55,1657.143); h_SL1L261->SetBinContent(56,5473.81); h_SL1L261->SetBinContent(57,1433.333); h_SL1L261->SetBinContent(58,1450); h_SL1L261->SetBinContent(59,1461.905); h_SL1L261->SetMaximum(79254.16); 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,278.5714); h_SL1L362->SetBinContent(2,261.9048); h_SL1L362->SetBinContent(3,366.6667); h_SL1L362->SetBinContent(4,321.4286); h_SL1L362->SetBinContent(5,328.5714); h_SL1L362->SetBinContent(6,345.2381); h_SL1L362->SetBinContent(7,404.7619); h_SL1L362->SetBinContent(8,414.2857); h_SL1L362->SetBinContent(9,426.1905); h_SL1L362->SetBinContent(10,466.6667); h_SL1L362->SetBinContent(11,583.3333); h_SL1L362->SetBinContent(12,678.5714); h_SL1L362->SetBinContent(13,702.3809); h_SL1L362->SetBinContent(14,776.1905); h_SL1L362->SetBinContent(15,764.2857); h_SL1L362->SetBinContent(16,700); h_SL1L362->SetBinContent(17,869.0476); h_SL1L362->SetBinContent(18,961.9047); h_SL1L362->SetBinContent(19,1085.714); h_SL1L362->SetBinContent(20,1197.619); h_SL1L362->SetBinContent(21,1409.524); h_SL1L362->SetBinContent(22,1507.143); h_SL1L362->SetBinContent(23,1642.857); h_SL1L362->SetBinContent(24,1740.476); h_SL1L362->SetBinContent(25,1859.524); h_SL1L362->SetBinContent(26,1792.857); h_SL1L362->SetBinContent(27,2242.857); h_SL1L362->SetBinContent(28,2823.81); h_SL1L362->SetBinContent(29,3069.048); h_SL1L362->SetBinContent(30,3690.476); h_SL1L362->SetBinContent(31,5014.286); h_SL1L362->SetBinContent(32,9180.952); h_SL1L362->SetBinContent(33,37792.86); h_SL1L362->SetBinContent(34,56380.95); h_SL1L362->SetBinContent(35,62133.33); h_SL1L362->SetBinContent(36,66447.62); h_SL1L362->SetBinContent(37,68916.66); h_SL1L362->SetBinContent(38,63009.52); h_SL1L362->SetBinContent(39,39707.14); h_SL1L362->SetBinContent(40,9538.095); h_SL1L362->SetBinContent(41,5414.286); h_SL1L362->SetBinContent(42,4140.476); h_SL1L362->SetBinContent(43,3628.571); h_SL1L362->SetBinContent(44,3354.762); h_SL1L362->SetBinContent(45,3033.333); h_SL1L362->SetBinContent(46,2711.905); h_SL1L362->SetBinContent(47,2588.095); h_SL1L362->SetBinContent(48,2216.667); h_SL1L362->SetBinContent(49,2195.238); h_SL1L362->SetBinContent(50,2030.952); h_SL1L362->SetBinContent(51,1830.952); h_SL1L362->SetBinContent(52,1669.048); h_SL1L362->SetBinContent(53,4397.619); h_SL1L362->SetBinContent(54,1721.429); h_SL1L362->SetBinContent(55,1659.524); h_SL1L362->SetBinContent(56,5457.143); h_SL1L362->SetBinContent(57,1650); h_SL1L362->SetBinContent(58,1359.524); h_SL1L362->SetBinContent(59,1419.048); h_SL1L362->SetMaximum(79254.16); 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,69.04762); h_SL1L463->SetBinContent(3,69.04762); h_SL1L463->SetBinContent(4,88.09524); h_SL1L463->SetBinContent(5,95.2381); h_SL1L463->SetBinContent(6,80.95238); h_SL1L463->SetBinContent(7,102.381); h_SL1L463->SetBinContent(8,104.7619); h_SL1L463->SetBinContent(9,109.5238); h_SL1L463->SetBinContent(10,119.0476); h_SL1L463->SetBinContent(11,126.1905); h_SL1L463->SetBinContent(12,130.9524); h_SL1L463->SetBinContent(13,204.7619); h_SL1L463->SetBinContent(14,209.5238); h_SL1L463->SetBinContent(15,183.3333); h_SL1L463->SetBinContent(16,221.4286); h_SL1L463->SetBinContent(17,147.619); h_SL1L463->SetBinContent(18,183.3333); h_SL1L463->SetBinContent(19,216.6667); h_SL1L463->SetBinContent(20,240.4762); h_SL1L463->SetBinContent(21,290.4762); h_SL1L463->SetBinContent(22,314.2857); h_SL1L463->SetBinContent(23,397.619); h_SL1L463->SetBinContent(24,335.7143); h_SL1L463->SetBinContent(25,333.3333); h_SL1L463->SetBinContent(26,333.3333); h_SL1L463->SetBinContent(27,426.1905); h_SL1L463->SetBinContent(28,454.7619); h_SL1L463->SetBinContent(29,514.2857); h_SL1L463->SetBinContent(30,640.4762); h_SL1L463->SetBinContent(31,954.7619); h_SL1L463->SetBinContent(32,1214.286); h_SL1L463->SetBinContent(33,2859.524); h_SL1L463->SetBinContent(34,12107.14); h_SL1L463->SetBinContent(35,20230.95); h_SL1L463->SetBinContent(36,15866.67); h_SL1L463->SetBinContent(37,12397.62); h_SL1L463->SetBinContent(38,14900); h_SL1L463->SetBinContent(39,17264.29); h_SL1L463->SetBinContent(40,3657.143); h_SL1L463->SetBinContent(41,1695.238); h_SL1L463->SetBinContent(42,1121.429); h_SL1L463->SetBinContent(43,1023.81); h_SL1L463->SetBinContent(44,952.3809); h_SL1L463->SetBinContent(45,719.0476); h_SL1L463->SetBinContent(46,714.2857); h_SL1L463->SetBinContent(47,666.6667); h_SL1L463->SetBinContent(48,542.8571); h_SL1L463->SetBinContent(49,423.8095); h_SL1L463->SetBinContent(50,447.619); h_SL1L463->SetBinContent(51,371.4286); h_SL1L463->SetBinContent(52,366.6667); h_SL1L463->SetBinContent(53,314.2857); h_SL1L463->SetBinContent(54,366.6667); h_SL1L463->SetBinContent(56,311.9048); h_SL1L463->SetBinContent(57,197.619); h_SL1L463->SetBinContent(58,276.1905); h_SL1L463->SetBinContent(59,280.9524); h_SL1L463->SetMaximum(79254.16); 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 6765"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }