void RatesPerCell_Removing_noisy_cells_run_6763_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11480.88,67.5,103327.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 6763",60,0,60); h_SL1L160->SetBinContent(1,397.619); h_SL1L160->SetBinContent(2,426.1905); h_SL1L160->SetBinContent(3,395.2381); h_SL1L160->SetBinContent(4,380.9524); h_SL1L160->SetBinContent(5,461.9048); h_SL1L160->SetBinContent(6,464.2857); h_SL1L160->SetBinContent(7,466.6667); h_SL1L160->SetBinContent(8,526.1905); h_SL1L160->SetBinContent(9,500); h_SL1L160->SetBinContent(10,502.381); h_SL1L160->SetBinContent(11,714.2857); h_SL1L160->SetBinContent(12,776.1905); h_SL1L160->SetBinContent(13,850); h_SL1L160->SetBinContent(14,930.9524); h_SL1L160->SetBinContent(15,742.8571); h_SL1L160->SetBinContent(16,838.0952); h_SL1L160->SetBinContent(17,916.6667); h_SL1L160->SetBinContent(18,1207.143); h_SL1L160->SetBinContent(19,1288.095); h_SL1L160->SetBinContent(20,1466.667); h_SL1L160->SetBinContent(21,1657.143); h_SL1L160->SetBinContent(22,1759.524); h_SL1L160->SetBinContent(23,1795.238); h_SL1L160->SetBinContent(24,2142.857); h_SL1L160->SetBinContent(25,1983.333); h_SL1L160->SetBinContent(26,1854.762); h_SL1L160->SetBinContent(27,2192.857); h_SL1L160->SetBinContent(28,2926.19); h_SL1L160->SetBinContent(29,3309.524); h_SL1L160->SetBinContent(30,3830.952); h_SL1L160->SetBinContent(31,4880.952); h_SL1L160->SetBinContent(32,8738.095); h_SL1L160->SetBinContent(33,36721.43); h_SL1L160->SetBinContent(34,54464.29); h_SL1L160->SetBinContent(35,59504.76); h_SL1L160->SetBinContent(36,63964.29); h_SL1L160->SetBinContent(37,67209.52); h_SL1L160->SetBinContent(38,61866.67); h_SL1L160->SetBinContent(39,38909.52); h_SL1L160->SetBinContent(40,9438.095); h_SL1L160->SetBinContent(41,5823.81); h_SL1L160->SetBinContent(42,4523.81); h_SL1L160->SetBinContent(43,3807.143); h_SL1L160->SetBinContent(44,3409.524); h_SL1L160->SetBinContent(45,3042.857); h_SL1L160->SetBinContent(46,2950); h_SL1L160->SetBinContent(47,2883.333); h_SL1L160->SetBinContent(48,2521.428); h_SL1L160->SetBinContent(49,2411.905); h_SL1L160->SetBinContent(50,2257.143); h_SL1L160->SetBinContent(51,1928.571); h_SL1L160->SetBinContent(52,1895.238); h_SL1L160->SetBinContent(53,1742.857); h_SL1L160->SetBinContent(54,1728.571); h_SL1L160->SetBinContent(55,1671.429); h_SL1L160->SetBinContent(56,1569.048); h_SL1L160->SetBinContent(57,1492.857); h_SL1L160->SetBinContent(58,1400); h_SL1L160->SetBinContent(59,1421.429); h_SL1L160->SetMaximum(91847.05); 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,297.619); h_SL1L261->SetBinContent(2,347.619); h_SL1L261->SetBinContent(3,300); h_SL1L261->SetBinContent(4,345.2381); h_SL1L261->SetBinContent(5,359.5238); h_SL1L261->SetBinContent(6,421.4286); h_SL1L261->SetBinContent(7,433.3333); h_SL1L261->SetBinContent(8,400); h_SL1L261->SetBinContent(9,454.7619); h_SL1L261->SetBinContent(10,440.4762); h_SL1L261->SetBinContent(11,645.2381); h_SL1L261->SetBinContent(12,692.8571); h_SL1L261->SetBinContent(13,728.5714); h_SL1L261->SetBinContent(14,735.7143); h_SL1L261->SetBinContent(15,771.4286); h_SL1L261->SetBinContent(16,759.5238); h_SL1L261->SetBinContent(17,847.619); h_SL1L261->SetBinContent(18,978.5714); h_SL1L261->SetBinContent(19,1200); h_SL1L261->SetBinContent(20,1185.714); h_SL1L261->SetBinContent(21,1473.81); h_SL1L261->SetBinContent(22,1583.333); h_SL1L261->SetBinContent(23,1607.143); h_SL1L261->SetBinContent(24,1890.476); h_SL1L261->SetBinContent(25,2045.238); h_SL1L261->SetBinContent(26,1719.048); h_SL1L261->SetBinContent(27,1995.238); h_SL1L261->SetBinContent(28,2492.857); h_SL1L261->SetBinContent(29,2914.286); h_SL1L261->SetBinContent(30,3550); h_SL1L261->SetBinContent(31,4064.286); h_SL1L261->SetBinContent(32,6921.429); h_SL1L261->SetBinContent(33,19011.9); h_SL1L261->SetBinContent(34,51085.71); h_SL1L261->SetBinContent(35,59385.71); h_SL1L261->SetBinContent(36,63566.67); h_SL1L261->SetBinContent(37,68073.81); h_SL1L261->SetBinContent(38,67342.86); h_SL1L261->SetBinContent(39,56061.9); h_SL1L261->SetBinContent(40,19069.05); h_SL1L261->SetBinContent(41,7807.143); h_SL1L261->SetBinContent(42,4854.762); h_SL1L261->SetBinContent(43,4059.524); h_SL1L261->SetBinContent(44,3511.905); h_SL1L261->SetBinContent(45,3209.524); h_SL1L261->SetBinContent(46,2969.048); h_SL1L261->SetBinContent(47,2714.286); h_SL1L261->SetBinContent(48,2471.428); h_SL1L261->SetBinContent(49,14745.24); h_SL1L261->SetBinContent(50,2173.81); h_SL1L261->SetBinContent(51,2040.476); h_SL1L261->SetBinContent(52,1942.857); h_SL1L261->SetBinContent(53,1935.714); h_SL1L261->SetBinContent(54,1588.095); h_SL1L261->SetBinContent(55,1654.762); h_SL1L261->SetBinContent(56,5297.619); h_SL1L261->SetBinContent(57,1452.381); h_SL1L261->SetBinContent(58,1430.952); h_SL1L261->SetBinContent(59,1250); h_SL1L261->SetMaximum(79867.5); 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,307.1429); h_SL1L362->SetBinContent(2,276.1905); h_SL1L362->SetBinContent(3,288.0952); h_SL1L362->SetBinContent(4,316.6667); h_SL1L362->SetBinContent(5,376.1905); h_SL1L362->SetBinContent(6,357.1429); h_SL1L362->SetBinContent(7,371.4286); h_SL1L362->SetBinContent(8,392.8571); h_SL1L362->SetBinContent(9,383.3333); h_SL1L362->SetBinContent(10,457.1429); h_SL1L362->SetBinContent(11,650); h_SL1L362->SetBinContent(12,607.1428); h_SL1L362->SetBinContent(13,647.619); h_SL1L362->SetBinContent(14,738.0952); h_SL1L362->SetBinContent(15,666.6667); h_SL1L362->SetBinContent(16,723.8095); h_SL1L362->SetBinContent(17,826.1905); h_SL1L362->SetBinContent(18,1002.381); h_SL1L362->SetBinContent(19,1038.095); h_SL1L362->SetBinContent(20,1226.19); h_SL1L362->SetBinContent(21,1378.571); h_SL1L362->SetBinContent(22,1440.476); h_SL1L362->SetBinContent(23,1595.238); h_SL1L362->SetBinContent(24,1845.238); h_SL1L362->SetBinContent(25,1688.095); h_SL1L362->SetBinContent(26,1783.333); h_SL1L362->SetBinContent(27,2200); h_SL1L362->SetBinContent(28,2645.238); h_SL1L362->SetBinContent(29,3140.476); h_SL1L362->SetBinContent(30,3726.19); h_SL1L362->SetBinContent(31,4940.476); h_SL1L362->SetBinContent(32,8776.19); h_SL1L362->SetBinContent(33,37747.62); h_SL1L362->SetBinContent(34,56385.71); h_SL1L362->SetBinContent(35,61635.71); h_SL1L362->SetBinContent(36,66019.05); h_SL1L362->SetBinContent(37,69450); h_SL1L362->SetBinContent(38,62935.71); h_SL1L362->SetBinContent(39,39776.19); h_SL1L362->SetBinContent(40,9404.762); h_SL1L362->SetBinContent(41,5630.952); h_SL1L362->SetBinContent(42,4245.238); h_SL1L362->SetBinContent(43,3628.571); h_SL1L362->SetBinContent(44,3145.238); h_SL1L362->SetBinContent(45,2985.714); h_SL1L362->SetBinContent(46,2726.19); h_SL1L362->SetBinContent(47,2595.238); h_SL1L362->SetBinContent(48,2214.286); h_SL1L362->SetBinContent(49,2085.714); h_SL1L362->SetBinContent(50,2097.619); h_SL1L362->SetBinContent(51,1907.143); h_SL1L362->SetBinContent(52,1683.333); h_SL1L362->SetBinContent(53,4228.571); h_SL1L362->SetBinContent(54,1564.286); h_SL1L362->SetBinContent(55,1507.143); h_SL1L362->SetBinContent(56,5271.429); h_SL1L362->SetBinContent(57,1621.429); h_SL1L362->SetBinContent(58,1245.238); h_SL1L362->SetBinContent(59,1283.333); h_SL1L362->SetMaximum(79867.5); 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,178.5714); h_SL1L463->SetBinContent(3,178.5714); h_SL1L463->SetBinContent(4,211.9048); h_SL1L463->SetBinContent(5,247.619); h_SL1L463->SetBinContent(6,221.4286); h_SL1L463->SetBinContent(7,288.0952); h_SL1L463->SetBinContent(8,235.7143); h_SL1L463->SetBinContent(9,276.1905); h_SL1L463->SetBinContent(10,269.0476); h_SL1L463->SetBinContent(11,392.8571); h_SL1L463->SetBinContent(12,388.0952); h_SL1L463->SetBinContent(13,426.1905); h_SL1L463->SetBinContent(14,461.9048); h_SL1L463->SetBinContent(15,473.8095); h_SL1L463->SetBinContent(16,507.1429); h_SL1L463->SetBinContent(17,523.8095); h_SL1L463->SetBinContent(18,566.6667); h_SL1L463->SetBinContent(19,750); h_SL1L463->SetBinContent(20,700); h_SL1L463->SetBinContent(21,869.0476); h_SL1L463->SetBinContent(22,957.1428); h_SL1L463->SetBinContent(23,964.2857); h_SL1L463->SetBinContent(24,1119.048); h_SL1L463->SetBinContent(25,1052.381); h_SL1L463->SetBinContent(26,1030.952); h_SL1L463->SetBinContent(27,1254.762); h_SL1L463->SetBinContent(28,1557.143); h_SL1L463->SetBinContent(29,1761.905); h_SL1L463->SetBinContent(30,2138.095); h_SL1L463->SetBinContent(31,2659.524); h_SL1L463->SetBinContent(32,4130.952); h_SL1L463->SetBinContent(33,11264.29); h_SL1L463->SetBinContent(34,36540.48); h_SL1L463->SetBinContent(35,47576.19); h_SL1L463->SetBinContent(36,46471.43); h_SL1L463->SetBinContent(37,44166.67); h_SL1L463->SetBinContent(38,47169.05); h_SL1L463->SetBinContent(39,43916.67); h_SL1L463->SetBinContent(40,12685.71); h_SL1L463->SetBinContent(41,5097.619); h_SL1L463->SetBinContent(42,3350); h_SL1L463->SetBinContent(43,2866.667); h_SL1L463->SetBinContent(44,2542.857); h_SL1L463->SetBinContent(45,1866.667); h_SL1L463->SetBinContent(46,2000); h_SL1L463->SetBinContent(47,1778.571); h_SL1L463->SetBinContent(48,1507.143); h_SL1L463->SetBinContent(49,1395.238); h_SL1L463->SetBinContent(50,1297.619); h_SL1L463->SetBinContent(51,1280.952); h_SL1L463->SetBinContent(52,1140.476); h_SL1L463->SetBinContent(53,1019.048); h_SL1L463->SetBinContent(54,933.3333); h_SL1L463->SetBinContent(56,878.5714); h_SL1L463->SetBinContent(57,795.2381); h_SL1L463->SetBinContent(58,897.619); h_SL1L463->SetBinContent(59,823.8095); h_SL1L463->SetMaximum(79867.5); 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 6763"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }