void RatesPerCell_Removing_noisy_cells_run_6845_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:48 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11423.38,67.5,102810.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 6845",60,0,60); h_SL1L160->SetBinContent(1,408.1633); h_SL1L160->SetBinContent(2,362.2449); h_SL1L160->SetBinContent(3,423.4694); h_SL1L160->SetBinContent(4,428.5714); h_SL1L160->SetBinContent(5,433.6735); h_SL1L160->SetBinContent(6,367.3469); h_SL1L160->SetBinContent(7,454.0816); h_SL1L160->SetBinContent(8,500); h_SL1L160->SetBinContent(9,525.5102); h_SL1L160->SetBinContent(10,530.6122); h_SL1L160->SetBinContent(11,617.3469); h_SL1L160->SetBinContent(12,714.2857); h_SL1L160->SetBinContent(13,826.5306); h_SL1L160->SetBinContent(14,831.6326); h_SL1L160->SetBinContent(15,755.1021); h_SL1L160->SetBinContent(16,704.0816); h_SL1L160->SetBinContent(17,923.4694); h_SL1L160->SetBinContent(18,1096.939); h_SL1L160->SetBinContent(19,1413.265); h_SL1L160->SetBinContent(20,1479.592); h_SL1L160->SetBinContent(21,1739.796); h_SL1L160->SetBinContent(22,1775.51); h_SL1L160->SetBinContent(23,1755.102); h_SL1L160->SetBinContent(24,2056.122); h_SL1L160->SetBinContent(25,1846.939); h_SL1L160->SetBinContent(26,1969.388); h_SL1L160->SetBinContent(27,2403.061); h_SL1L160->SetBinContent(28,3127.551); h_SL1L160->SetBinContent(29,3224.49); h_SL1L160->SetBinContent(30,3918.367); h_SL1L160->SetBinContent(31,5367.347); h_SL1L160->SetBinContent(32,8903.062); h_SL1L160->SetBinContent(33,36969.39); h_SL1L160->SetBinContent(34,54841.84); h_SL1L160->SetBinContent(35,59852.04); h_SL1L160->SetBinContent(36,62397.96); h_SL1L160->SetBinContent(37,66642.86); h_SL1L160->SetBinContent(38,61795.92); h_SL1L160->SetBinContent(39,38576.53); h_SL1L160->SetBinContent(40,9112.245); h_SL1L160->SetBinContent(41,5102.041); h_SL1L160->SetBinContent(42,4158.163); h_SL1L160->SetBinContent(43,3836.735); h_SL1L160->SetBinContent(44,3270.408); h_SL1L160->SetBinContent(45,2943.877); h_SL1L160->SetBinContent(46,3020.408); h_SL1L160->SetBinContent(47,2846.939); h_SL1L160->SetBinContent(48,2525.51); h_SL1L160->SetBinContent(49,2188.775); h_SL1L160->SetBinContent(50,2239.796); h_SL1L160->SetBinContent(51,2163.265); h_SL1L160->SetBinContent(52,1801.02); h_SL1L160->SetBinContent(53,1658.163); h_SL1L160->SetBinContent(54,1535.714); h_SL1L160->SetBinContent(55,1688.776); h_SL1L160->SetBinContent(56,1515.306); h_SL1L160->SetBinContent(57,1469.388); h_SL1L160->SetBinContent(58,1551.02); h_SL1L160->SetBinContent(59,1602.041); h_SL1L160->SetMaximum(91387.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,290.8163); h_SL1L261->SetBinContent(2,357.1429); h_SL1L261->SetBinContent(3,316.3265); h_SL1L261->SetBinContent(4,382.653); h_SL1L261->SetBinContent(5,346.9388); h_SL1L261->SetBinContent(6,387.7551); h_SL1L261->SetBinContent(7,387.7551); h_SL1L261->SetBinContent(8,448.9796); h_SL1L261->SetBinContent(9,494.8979); h_SL1L261->SetBinContent(10,448.9796); h_SL1L261->SetBinContent(11,545.9183); h_SL1L261->SetBinContent(12,719.3878); h_SL1L261->SetBinContent(13,688.7755); h_SL1L261->SetBinContent(14,688.7755); h_SL1L261->SetBinContent(15,709.1837); h_SL1L261->SetBinContent(16,683.6735); h_SL1L261->SetBinContent(17,775.5102); h_SL1L261->SetBinContent(18,969.3878); h_SL1L261->SetBinContent(19,1102.041); h_SL1L261->SetBinContent(20,1346.939); h_SL1L261->SetBinContent(21,1500); h_SL1L261->SetBinContent(22,1530.612); h_SL1L261->SetBinContent(23,1668.367); h_SL1L261->SetBinContent(24,1913.265); h_SL1L261->SetBinContent(25,1928.571); h_SL1L261->SetBinContent(26,1760.204); h_SL1L261->SetBinContent(27,2102.041); h_SL1L261->SetBinContent(28,2668.367); h_SL1L261->SetBinContent(29,3005.102); h_SL1L261->SetBinContent(30,3448.979); h_SL1L261->SetBinContent(31,4413.265); h_SL1L261->SetBinContent(32,7030.612); h_SL1L261->SetBinContent(33,19326.53); h_SL1L261->SetBinContent(34,51576.53); h_SL1L261->SetBinContent(35,60653.06); h_SL1L261->SetBinContent(36,63668.37); h_SL1L261->SetBinContent(37,67448.98); h_SL1L261->SetBinContent(38,66341.84); h_SL1L261->SetBinContent(39,57923.47); h_SL1L261->SetBinContent(40,18515.31); h_SL1L261->SetBinContent(41,7857.143); h_SL1L261->SetBinContent(42,4494.898); h_SL1L261->SetBinContent(43,3806.122); h_SL1L261->SetBinContent(44,3438.775); h_SL1L261->SetBinContent(45,3188.775); h_SL1L261->SetBinContent(46,2948.979); h_SL1L261->SetBinContent(47,3096.939); h_SL1L261->SetBinContent(48,2571.428); h_SL1L261->SetBinContent(49,12658.16); h_SL1L261->SetBinContent(50,2142.857); h_SL1L261->SetBinContent(51,2147.959); h_SL1L261->SetBinContent(52,2076.531); h_SL1L261->SetBinContent(53,1933.673); h_SL1L261->SetBinContent(54,1596.939); h_SL1L261->SetBinContent(55,1535.714); h_SL1L261->SetBinContent(56,5709.184); h_SL1L261->SetBinContent(57,1397.959); h_SL1L261->SetBinContent(58,1438.776); h_SL1L261->SetBinContent(59,1479.592); h_SL1L261->SetMaximum(79467.34); 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,280.6122); h_SL1L362->SetBinContent(2,321.4286); h_SL1L362->SetBinContent(3,367.3469); h_SL1L362->SetBinContent(4,331.6327); h_SL1L362->SetBinContent(5,331.6327); h_SL1L362->SetBinContent(6,275.5102); h_SL1L362->SetBinContent(7,377.551); h_SL1L362->SetBinContent(8,418.3673); h_SL1L362->SetBinContent(9,428.5714); h_SL1L362->SetBinContent(10,413.2653); h_SL1L362->SetBinContent(11,581.6326); h_SL1L362->SetBinContent(12,545.9183); h_SL1L362->SetBinContent(13,678.5714); h_SL1L362->SetBinContent(14,668.3674); h_SL1L362->SetBinContent(15,688.7755); h_SL1L362->SetBinContent(16,734.6938); h_SL1L362->SetBinContent(17,836.7347); h_SL1L362->SetBinContent(18,897.9592); h_SL1L362->SetBinContent(19,1051.02); h_SL1L362->SetBinContent(20,1301.02); h_SL1L362->SetBinContent(21,1367.347); h_SL1L362->SetBinContent(22,1443.878); h_SL1L362->SetBinContent(23,1780.612); h_SL1L362->SetBinContent(24,1709.184); h_SL1L362->SetBinContent(25,1663.265); h_SL1L362->SetBinContent(26,1795.918); h_SL1L362->SetBinContent(27,2387.755); h_SL1L362->SetBinContent(28,2729.592); h_SL1L362->SetBinContent(29,2969.388); h_SL1L362->SetBinContent(30,3785.714); h_SL1L362->SetBinContent(31,5244.898); h_SL1L362->SetBinContent(32,9000); h_SL1L362->SetBinContent(33,38285.71); h_SL1L362->SetBinContent(34,57234.69); h_SL1L362->SetBinContent(35,61846.94); h_SL1L362->SetBinContent(36,65000); h_SL1L362->SetBinContent(37,69102.04); h_SL1L362->SetBinContent(38,62663.27); h_SL1L362->SetBinContent(39,39306.12); h_SL1L362->SetBinContent(40,9173.47); h_SL1L362->SetBinContent(41,5311.225); h_SL1L362->SetBinContent(42,4025.51); h_SL1L362->SetBinContent(43,3530.612); h_SL1L362->SetBinContent(44,3163.265); h_SL1L362->SetBinContent(45,2923.469); h_SL1L362->SetBinContent(46,2719.388); h_SL1L362->SetBinContent(47,2663.265); h_SL1L362->SetBinContent(48,2255.102); h_SL1L362->SetBinContent(49,2020.408); h_SL1L362->SetBinContent(50,2020.408); h_SL1L362->SetBinContent(51,2000); h_SL1L362->SetBinContent(52,1770.408); h_SL1L362->SetBinContent(53,4107.143); h_SL1L362->SetBinContent(54,1428.571); h_SL1L362->SetBinContent(55,1540.816); h_SL1L362->SetBinContent(56,5163.265); h_SL1L362->SetBinContent(57,1617.347); h_SL1L362->SetBinContent(58,1443.878); h_SL1L362->SetBinContent(59,1316.327); h_SL1L362->SetMaximum(79467.34); 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,285.7143); h_SL1L463->SetBinContent(3,270.4082); h_SL1L463->SetBinContent(4,311.2245); h_SL1L463->SetBinContent(5,316.3265); h_SL1L463->SetBinContent(6,260.2041); h_SL1L463->SetBinContent(7,285.7143); h_SL1L463->SetBinContent(8,352.0408); h_SL1L463->SetBinContent(9,367.3469); h_SL1L463->SetBinContent(10,336.7347); h_SL1L463->SetBinContent(11,438.7755); h_SL1L463->SetBinContent(12,479.5918); h_SL1L463->SetBinContent(13,561.2245); h_SL1L463->SetBinContent(14,561.2245); h_SL1L463->SetBinContent(15,571.4286); h_SL1L463->SetBinContent(16,627.551); h_SL1L463->SetBinContent(17,739.7959); h_SL1L463->SetBinContent(18,785.7143); h_SL1L463->SetBinContent(19,954.0816); h_SL1L463->SetBinContent(20,1015.306); h_SL1L463->SetBinContent(21,1224.49); h_SL1L463->SetBinContent(22,1239.796); h_SL1L463->SetBinContent(23,1433.673); h_SL1L463->SetBinContent(24,1678.571); h_SL1L463->SetBinContent(25,1744.898); h_SL1L463->SetBinContent(26,1566.327); h_SL1L463->SetBinContent(27,1959.184); h_SL1L463->SetBinContent(28,2316.326); h_SL1L463->SetBinContent(29,2719.388); h_SL1L463->SetBinContent(30,3147.959); h_SL1L463->SetBinContent(31,4056.122); h_SL1L463->SetBinContent(32,6637.755); h_SL1L463->SetBinContent(33,18474.49); h_SL1L463->SetBinContent(34,50653.06); h_SL1L463->SetBinContent(35,59719.39); h_SL1L463->SetBinContent(36,62193.88); h_SL1L463->SetBinContent(37,65872.45); h_SL1L463->SetBinContent(38,64683.67); h_SL1L463->SetBinContent(39,54525.51); h_SL1L463->SetBinContent(40,18290.82); h_SL1L463->SetBinContent(41,7357.143); h_SL1L463->SetBinContent(42,4295.918); h_SL1L463->SetBinContent(43,3576.531); h_SL1L463->SetBinContent(44,3035.714); h_SL1L463->SetBinContent(45,2857.143); h_SL1L463->SetBinContent(46,2724.49); h_SL1L463->SetBinContent(47,2612.245); h_SL1L463->SetBinContent(48,2290.816); h_SL1L463->SetBinContent(49,2071.428); h_SL1L463->SetBinContent(50,1918.367); h_SL1L463->SetBinContent(51,1872.449); h_SL1L463->SetBinContent(52,1760.204); h_SL1L463->SetBinContent(53,1591.837); h_SL1L463->SetBinContent(54,1500); h_SL1L463->SetBinContent(56,1403.061); h_SL1L463->SetBinContent(57,1280.612); h_SL1L463->SetBinContent(58,1321.429); h_SL1L463->SetBinContent(59,1265.306); h_SL1L463->SetMaximum(79467.34); 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 6845"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }