void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:13:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,1500,800); gStyle->SetOptStat(0); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); // ------------>Primitives in pad: c_1 TPad *c_1 = new TPad("c_1", "c_1",0.01,0.51,0.3233333,0.99); c_1->Draw(); c_1->cd(); c_1->Range(-7.500001,-407.1206,67.5,3664.085); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L124 = new TH1D("h_SL1L124","Occupancy",60,0,60); h_SL1L124->SetBinContent(1,1782.143); h_SL1L124->SetBinContent(2,1835.714); h_SL1L124->SetBinContent(3,2003.571); h_SL1L124->SetBinContent(4,1978.571); h_SL1L124->SetBinContent(5,1846.429); h_SL1L124->SetBinContent(6,1875); h_SL1L124->SetBinContent(7,1925); h_SL1L124->SetBinContent(8,2082.143); h_SL1L124->SetBinContent(9,1975); h_SL1L124->SetBinContent(10,2085.714); h_SL1L124->SetBinContent(11,2082.143); h_SL1L124->SetBinContent(12,2317.857); h_SL1L124->SetBinContent(13,2246.428); h_SL1L124->SetBinContent(14,1989.286); h_SL1L124->SetBinContent(15,2089.286); h_SL1L124->SetBinContent(16,1817.857); h_SL1L124->SetBinContent(17,1821.429); h_SL1L124->SetBinContent(18,2192.857); h_SL1L124->SetBinContent(19,2107.143); h_SL1L124->SetBinContent(20,2028.571); h_SL1L124->SetBinContent(21,2075); h_SL1L124->SetBinContent(22,2182.143); h_SL1L124->SetBinContent(23,2260.714); h_SL1L124->SetBinContent(24,1971.429); h_SL1L124->SetBinContent(25,1867.857); h_SL1L124->SetBinContent(26,2042.857); h_SL1L124->SetBinContent(27,2021.429); h_SL1L124->SetBinContent(28,2100); h_SL1L124->SetBinContent(29,2003.571); h_SL1L124->SetBinContent(30,2110.714); h_SL1L124->SetBinContent(31,2110.714); h_SL1L124->SetBinContent(32,2017.857); h_SL1L124->SetBinContent(33,2210.714); h_SL1L124->SetBinContent(34,2310.714); h_SL1L124->SetBinContent(35,2189.286); h_SL1L124->SetBinContent(36,2167.857); h_SL1L124->SetBinContent(37,2364.286); h_SL1L124->SetBinContent(38,2278.571); h_SL1L124->SetBinContent(39,2189.286); h_SL1L124->SetBinContent(40,2078.571); h_SL1L124->SetBinContent(41,2321.428); h_SL1L124->SetBinContent(42,2282.143); h_SL1L124->SetBinContent(43,2346.428); h_SL1L124->SetBinContent(44,2289.286); h_SL1L124->SetBinContent(45,2042.857); h_SL1L124->SetBinContent(46,2028.571); h_SL1L124->SetBinContent(47,1964.286); h_SL1L124->SetBinContent(48,2092.857); h_SL1L124->SetBinContent(49,2135.714); h_SL1L124->SetBinContent(50,2214.286); h_SL1L124->SetBinContent(51,2385.714); h_SL1L124->SetBinContent(52,2057.143); h_SL1L124->SetBinContent(53,2242.857); h_SL1L124->SetBinContent(54,2135.714); h_SL1L124->SetBinContent(55,2192.857); h_SL1L124->SetBinContent(56,2357.143); h_SL1L124->SetBinContent(57,2350); h_SL1L124->SetBinContent(58,2460.714); h_SL1L124->SetBinContent(59,2600); h_SL1L124->SetMaximum(3256.964); h_SL1L124->SetEntries(60); h_SL1L124->SetDirectory(0); h_SL1L124->SetStats(0); h_SL1L124->SetLineWidth(2); h_SL1L124->GetXaxis()->SetTitle("Cell"); h_SL1L124->GetXaxis()->SetLabelFont(42); h_SL1L124->GetXaxis()->SetLabelSize(0.035); h_SL1L124->GetXaxis()->SetTitleSize(0.035); h_SL1L124->GetXaxis()->SetTitleFont(42); h_SL1L124->GetYaxis()->SetTitle("Hz per wire"); h_SL1L124->GetYaxis()->SetLabelFont(42); h_SL1L124->GetYaxis()->SetLabelSize(0.035); h_SL1L124->GetYaxis()->SetTitleSize(0.035); h_SL1L124->GetYaxis()->SetTitleOffset(1.45); h_SL1L124->GetYaxis()->SetTitleFont(42); h_SL1L124->GetZaxis()->SetLabelFont(42); h_SL1L124->GetZaxis()->SetLabelSize(0.035); h_SL1L124->GetZaxis()->SetTitleSize(0.035); h_SL1L124->GetZaxis()->SetTitleFont(42); h_SL1L124->Draw("hist, "); TH1D *h_SL1L225 = new TH1D("h_SL1L225","Occupancy",60,0,60); h_SL1L225->SetBinContent(1,1817.857); h_SL1L225->SetBinContent(2,1832.143); h_SL1L225->SetBinContent(3,2000); h_SL1L225->SetBinContent(4,1832.143); h_SL1L225->SetBinContent(5,2053.571); h_SL1L225->SetBinContent(6,2075); h_SL1L225->SetBinContent(7,2235.714); h_SL1L225->SetBinContent(8,2164.286); h_SL1L225->SetBinContent(9,2375); h_SL1L225->SetBinContent(10,2289.286); h_SL1L225->SetBinContent(11,2367.857); h_SL1L225->SetBinContent(12,2478.571); h_SL1L225->SetBinContent(13,2353.571); h_SL1L225->SetBinContent(14,2375); h_SL1L225->SetBinContent(15,2485.714); h_SL1L225->SetBinContent(16,2307.143); h_SL1L225->SetBinContent(17,2271.428); h_SL1L225->SetBinContent(18,2610.714); h_SL1L225->SetBinContent(19,2546.428); h_SL1L225->SetBinContent(20,2403.571); h_SL1L225->SetBinContent(21,2607.143); h_SL1L225->SetBinContent(22,2803.571); h_SL1L225->SetBinContent(23,2635.714); h_SL1L225->SetBinContent(24,2510.714); h_SL1L225->SetBinContent(25,2514.286); h_SL1L225->SetBinContent(26,2253.571); h_SL1L225->SetBinContent(27,2489.286); h_SL1L225->SetBinContent(28,2421.428); h_SL1L225->SetBinContent(29,2617.857); h_SL1L225->SetBinContent(30,2364.286); h_SL1L225->SetBinContent(31,2610.714); h_SL1L225->SetBinContent(32,2517.857); h_SL1L225->SetBinContent(33,2496.428); h_SL1L225->SetBinContent(34,2617.857); h_SL1L225->SetBinContent(35,2696.428); h_SL1L225->SetBinContent(36,2578.571); h_SL1L225->SetBinContent(37,2810.714); h_SL1L225->SetBinContent(38,2560.714); h_SL1L225->SetBinContent(39,2564.286); h_SL1L225->SetBinContent(40,2517.857); h_SL1L225->SetBinContent(41,2321.428); h_SL1L225->SetBinContent(42,2478.571); h_SL1L225->SetBinContent(43,2628.571); h_SL1L225->SetBinContent(44,2728.571); h_SL1L225->SetBinContent(45,2457.143); h_SL1L225->SetBinContent(46,2639.286); h_SL1L225->SetBinContent(47,2821.428); h_SL1L225->SetBinContent(48,2567.857); h_SL1L225->SetBinContent(49,2746.428); h_SL1L225->SetBinContent(50,2789.286); h_SL1L225->SetBinContent(51,2782.143); h_SL1L225->SetBinContent(52,2650); h_SL1L225->SetBinContent(53,2496.428); h_SL1L225->SetBinContent(54,2832.143); h_SL1L225->SetBinContent(55,2653.571); h_SL1L225->SetBinContent(56,2796.428); h_SL1L225->SetBinContent(57,2610.714); h_SL1L225->SetBinContent(58,2810.714); h_SL1L225->SetBinContent(59,2703.571); h_SL1L225->SetMaximum(3256.964); h_SL1L225->SetEntries(60); h_SL1L225->SetDirectory(0); h_SL1L225->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L225->SetLineColor(ci); h_SL1L225->SetLineWidth(2); h_SL1L225->GetXaxis()->SetTitle("Cell"); h_SL1L225->GetXaxis()->SetLabelFont(42); h_SL1L225->GetXaxis()->SetLabelSize(0.035); h_SL1L225->GetXaxis()->SetTitleSize(0.035); h_SL1L225->GetXaxis()->SetTitleFont(42); h_SL1L225->GetYaxis()->SetTitle("Hz per wire"); h_SL1L225->GetYaxis()->SetLabelFont(42); h_SL1L225->GetYaxis()->SetLabelSize(0.035); h_SL1L225->GetYaxis()->SetTitleSize(0.035); h_SL1L225->GetYaxis()->SetTitleOffset(1.45); h_SL1L225->GetYaxis()->SetTitleFont(42); h_SL1L225->GetZaxis()->SetLabelFont(42); h_SL1L225->GetZaxis()->SetLabelSize(0.035); h_SL1L225->GetZaxis()->SetTitleSize(0.035); h_SL1L225->GetZaxis()->SetTitleFont(42); h_SL1L225->Draw("hist, same"); TH1D *h_SL1L326 = new TH1D("h_SL1L326","Occupancy",60,0,60); h_SL1L326->SetBinContent(1,1739.286); h_SL1L326->SetBinContent(2,1803.571); h_SL1L326->SetBinContent(3,1942.857); h_SL1L326->SetBinContent(4,2121.428); h_SL1L326->SetBinContent(5,2110.714); h_SL1L326->SetBinContent(6,1946.429); h_SL1L326->SetBinContent(7,2185.714); h_SL1L326->SetBinContent(8,2321.428); h_SL1L326->SetBinContent(9,2164.286); h_SL1L326->SetBinContent(10,2292.857); h_SL1L326->SetBinContent(11,2332.143); h_SL1L326->SetBinContent(12,2482.143); h_SL1L326->SetBinContent(13,2339.286); h_SL1L326->SetBinContent(14,2450); h_SL1L326->SetBinContent(15,2285.714); h_SL1L326->SetBinContent(16,2128.571); h_SL1L326->SetBinContent(17,2164.286); h_SL1L326->SetBinContent(18,2132.143); h_SL1L326->SetBinContent(19,2442.857); h_SL1L326->SetBinContent(20,2460.714); h_SL1L326->SetBinContent(21,2400); h_SL1L326->SetBinContent(22,2710.714); h_SL1L326->SetBinContent(23,2442.857); h_SL1L326->SetBinContent(24,2389.286); h_SL1L326->SetBinContent(25,2296.428); h_SL1L326->SetBinContent(26,2246.428); h_SL1L326->SetBinContent(27,2210.714); h_SL1L326->SetBinContent(28,2332.143); h_SL1L326->SetBinContent(29,2407.143); h_SL1L326->SetBinContent(30,2471.428); h_SL1L326->SetBinContent(31,2467.857); h_SL1L326->SetBinContent(32,2371.428); h_SL1L326->SetBinContent(33,2364.286); h_SL1L326->SetBinContent(34,2617.857); h_SL1L326->SetBinContent(35,2771.428); h_SL1L326->SetBinContent(36,2485.714); h_SL1L326->SetBinContent(37,2392.857); h_SL1L326->SetBinContent(38,2410.714); h_SL1L326->SetBinContent(39,2432.143); h_SL1L326->SetBinContent(40,2328.571); h_SL1L326->SetBinContent(41,2475); h_SL1L326->SetBinContent(42,2600); h_SL1L326->SetBinContent(43,2389.286); h_SL1L326->SetBinContent(44,2500); h_SL1L326->SetBinContent(45,2428.571); h_SL1L326->SetBinContent(46,2482.143); h_SL1L326->SetBinContent(47,2489.286); h_SL1L326->SetBinContent(48,2603.571); h_SL1L326->SetBinContent(49,2632.143); h_SL1L326->SetBinContent(50,2635.714); h_SL1L326->SetBinContent(51,2528.571); h_SL1L326->SetBinContent(52,2689.286); h_SL1L326->SetBinContent(53,2614.286); h_SL1L326->SetBinContent(54,2585.714); h_SL1L326->SetBinContent(55,2742.857); h_SL1L326->SetBinContent(56,2664.286); h_SL1L326->SetBinContent(57,2717.857); h_SL1L326->SetBinContent(58,2685.714); h_SL1L326->SetBinContent(59,2717.857); h_SL1L326->SetMaximum(3256.964); h_SL1L326->SetEntries(60); h_SL1L326->SetDirectory(0); h_SL1L326->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L326->SetLineColor(ci); h_SL1L326->SetLineWidth(2); h_SL1L326->GetXaxis()->SetTitle("Cell"); h_SL1L326->GetXaxis()->SetLabelFont(42); h_SL1L326->GetXaxis()->SetLabelSize(0.035); h_SL1L326->GetXaxis()->SetTitleSize(0.035); h_SL1L326->GetXaxis()->SetTitleFont(42); h_SL1L326->GetYaxis()->SetTitle("Hz per wire"); h_SL1L326->GetYaxis()->SetLabelFont(42); h_SL1L326->GetYaxis()->SetLabelSize(0.035); h_SL1L326->GetYaxis()->SetTitleSize(0.035); h_SL1L326->GetYaxis()->SetTitleOffset(1.45); h_SL1L326->GetYaxis()->SetTitleFont(42); h_SL1L326->GetZaxis()->SetLabelFont(42); h_SL1L326->GetZaxis()->SetLabelSize(0.035); h_SL1L326->GetZaxis()->SetTitleSize(0.035); h_SL1L326->GetZaxis()->SetTitleFont(42); h_SL1L326->Draw("hist, same"); TH1D *h_SL1L427 = new TH1D("h_SL1L427","Occupancy",60,0,60); h_SL1L427->SetBinContent(2,1571.429); h_SL1L427->SetBinContent(3,1692.857); h_SL1L427->SetBinContent(4,1746.429); h_SL1L427->SetBinContent(5,1685.714); h_SL1L427->SetBinContent(6,1689.286); h_SL1L427->SetBinContent(7,1610.714); h_SL1L427->SetBinContent(8,1700); h_SL1L427->SetBinContent(9,1807.143); h_SL1L427->SetBinContent(10,1928.571); h_SL1L427->SetBinContent(11,2139.286); h_SL1L427->SetBinContent(12,2232.143); h_SL1L427->SetBinContent(13,2207.143); h_SL1L427->SetBinContent(14,2078.571); h_SL1L427->SetBinContent(15,1960.714); h_SL1L427->SetBinContent(16,1917.857); h_SL1L427->SetBinContent(17,1839.286); h_SL1L427->SetBinContent(18,2000); h_SL1L427->SetBinContent(19,2085.714); h_SL1L427->SetBinContent(20,2128.571); h_SL1L427->SetBinContent(21,2060.714); h_SL1L427->SetBinContent(22,2089.286); h_SL1L427->SetBinContent(23,2142.857); h_SL1L427->SetBinContent(24,2142.857); h_SL1L427->SetBinContent(25,2007.143); h_SL1L427->SetBinContent(26,1935.714); h_SL1L427->SetBinContent(27,1932.143); h_SL1L427->SetBinContent(28,2010.714); h_SL1L427->SetBinContent(29,2057.143); h_SL1L427->SetBinContent(30,2014.286); h_SL1L427->SetBinContent(31,1989.286); h_SL1L427->SetBinContent(32,2103.571); h_SL1L427->SetBinContent(33,1971.429); h_SL1L427->SetBinContent(34,2096.428); h_SL1L427->SetBinContent(35,2310.714); h_SL1L427->SetBinContent(36,2135.714); h_SL1L427->SetBinContent(37,2103.571); h_SL1L427->SetBinContent(38,1921.429); h_SL1L427->SetBinContent(39,2075); h_SL1L427->SetBinContent(40,1992.857); h_SL1L427->SetBinContent(41,1800); h_SL1L427->SetBinContent(42,1835.714); h_SL1L427->SetBinContent(43,2296.428); h_SL1L427->SetBinContent(44,2167.857); h_SL1L427->SetBinContent(45,1996.429); h_SL1L427->SetBinContent(46,1989.286); h_SL1L427->SetBinContent(47,2182.143); h_SL1L427->SetBinContent(48,1978.571); h_SL1L427->SetBinContent(49,1932.143); h_SL1L427->SetBinContent(50,2057.143); h_SL1L427->SetBinContent(51,2025); h_SL1L427->SetBinContent(52,1907.143); h_SL1L427->SetBinContent(53,2092.857); h_SL1L427->SetBinContent(54,1882.143); h_SL1L427->SetBinContent(56,1839.286); h_SL1L427->SetBinContent(57,2057.143); h_SL1L427->SetBinContent(58,2425); h_SL1L427->SetBinContent(59,2464.286); h_SL1L427->SetMaximum(3256.964); h_SL1L427->SetEntries(60); h_SL1L427->SetDirectory(0); h_SL1L427->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L427->SetLineColor(ci); h_SL1L427->SetLineWidth(2); h_SL1L427->GetXaxis()->SetTitle("Cell"); h_SL1L427->GetXaxis()->SetLabelFont(42); h_SL1L427->GetXaxis()->SetLabelSize(0.035); h_SL1L427->GetXaxis()->SetTitleSize(0.035); h_SL1L427->GetXaxis()->SetTitleFont(42); h_SL1L427->GetYaxis()->SetTitle("Hz per wire"); h_SL1L427->GetYaxis()->SetLabelFont(42); h_SL1L427->GetYaxis()->SetLabelSize(0.035); h_SL1L427->GetYaxis()->SetTitleSize(0.035); h_SL1L427->GetYaxis()->SetTitleOffset(1.45); h_SL1L427->GetYaxis()->SetTitleFont(42); h_SL1L427->GetZaxis()->SetLabelFont(42); h_SL1L427->GetZaxis()->SetLabelSize(0.035); h_SL1L427->GetZaxis()->SetTitleSize(0.035); h_SL1L427->GetZaxis()->SetTitleFont(42); h_SL1L427->Draw("hist, same"); TLatex * tex = new TLatex(0.82,0.86,"SL1"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TPaveText *pt = new TPaveText(0.3801326,0.9302332,0.6198674,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy"); pt->Draw(); c_1->Modified(); c->cd(); // ------------>Primitives in pad: c_2 TPad *c_2 = new TPad("c_2", "c_2",0.3433333,0.51,0.6566667,0.99); c_2->Draw(); c_2->cd(); c_2->Range(-7.500001,-0.5133929,67.5,4.620536); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L128 = new TH1D("h_SL2L128","Occupancy",60,0,60); h_SL2L128->SetBinContent(57,3.571429); h_SL2L128->SetMaximum(4.107143); h_SL2L128->SetEntries(60); h_SL2L128->SetDirectory(0); h_SL2L128->SetStats(0); h_SL2L128->SetLineWidth(2); h_SL2L128->GetXaxis()->SetTitle("Cell"); h_SL2L128->GetXaxis()->SetLabelFont(42); h_SL2L128->GetXaxis()->SetLabelSize(0.035); h_SL2L128->GetXaxis()->SetTitleSize(0.035); h_SL2L128->GetXaxis()->SetTitleFont(42); h_SL2L128->GetYaxis()->SetTitle("Hz per wire"); h_SL2L128->GetYaxis()->SetLabelFont(42); h_SL2L128->GetYaxis()->SetLabelSize(0.035); h_SL2L128->GetYaxis()->SetTitleSize(0.035); h_SL2L128->GetYaxis()->SetTitleOffset(1.45); h_SL2L128->GetYaxis()->SetTitleFont(42); h_SL2L128->GetZaxis()->SetLabelFont(42); h_SL2L128->GetZaxis()->SetLabelSize(0.035); h_SL2L128->GetZaxis()->SetTitleSize(0.035); h_SL2L128->GetZaxis()->SetTitleFont(42); h_SL2L128->Draw("hist, "); TH1D *h_SL2L229 = new TH1D("h_SL2L229","Occupancy",60,0,60); h_SL2L229->SetMaximum(4.107143); h_SL2L229->SetEntries(60); h_SL2L229->SetDirectory(0); h_SL2L229->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L229->SetLineColor(ci); h_SL2L229->SetLineWidth(2); h_SL2L229->GetXaxis()->SetTitle("Cell"); h_SL2L229->GetXaxis()->SetLabelFont(42); h_SL2L229->GetXaxis()->SetLabelSize(0.035); h_SL2L229->GetXaxis()->SetTitleSize(0.035); h_SL2L229->GetXaxis()->SetTitleFont(42); h_SL2L229->GetYaxis()->SetTitle("Hz per wire"); h_SL2L229->GetYaxis()->SetLabelFont(42); h_SL2L229->GetYaxis()->SetLabelSize(0.035); h_SL2L229->GetYaxis()->SetTitleSize(0.035); h_SL2L229->GetYaxis()->SetTitleOffset(1.45); h_SL2L229->GetYaxis()->SetTitleFont(42); h_SL2L229->GetZaxis()->SetLabelFont(42); h_SL2L229->GetZaxis()->SetLabelSize(0.035); h_SL2L229->GetZaxis()->SetTitleSize(0.035); h_SL2L229->GetZaxis()->SetTitleFont(42); h_SL2L229->Draw("hist, same"); TH1D *h_SL2L330 = new TH1D("h_SL2L330","Occupancy",60,0,60); h_SL2L330->SetMaximum(4.107143); h_SL2L330->SetEntries(60); h_SL2L330->SetDirectory(0); h_SL2L330->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L330->SetLineColor(ci); h_SL2L330->SetLineWidth(2); h_SL2L330->GetXaxis()->SetTitle("Cell"); h_SL2L330->GetXaxis()->SetLabelFont(42); h_SL2L330->GetXaxis()->SetLabelSize(0.035); h_SL2L330->GetXaxis()->SetTitleSize(0.035); h_SL2L330->GetXaxis()->SetTitleFont(42); h_SL2L330->GetYaxis()->SetTitle("Hz per wire"); h_SL2L330->GetYaxis()->SetLabelFont(42); h_SL2L330->GetYaxis()->SetLabelSize(0.035); h_SL2L330->GetYaxis()->SetTitleSize(0.035); h_SL2L330->GetYaxis()->SetTitleOffset(1.45); h_SL2L330->GetYaxis()->SetTitleFont(42); h_SL2L330->GetZaxis()->SetLabelFont(42); h_SL2L330->GetZaxis()->SetLabelSize(0.035); h_SL2L330->GetZaxis()->SetTitleSize(0.035); h_SL2L330->GetZaxis()->SetTitleFont(42); h_SL2L330->Draw("hist, same"); TH1D *h_SL2L431 = new TH1D("h_SL2L431","Occupancy",60,0,60); h_SL2L431->SetMaximum(4.107143); h_SL2L431->SetEntries(60); h_SL2L431->SetDirectory(0); h_SL2L431->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L431->SetLineColor(ci); h_SL2L431->SetLineWidth(2); h_SL2L431->GetXaxis()->SetTitle("Cell"); h_SL2L431->GetXaxis()->SetLabelFont(42); h_SL2L431->GetXaxis()->SetLabelSize(0.035); h_SL2L431->GetXaxis()->SetTitleSize(0.035); h_SL2L431->GetXaxis()->SetTitleFont(42); h_SL2L431->GetYaxis()->SetTitle("Hz per wire"); h_SL2L431->GetYaxis()->SetLabelFont(42); h_SL2L431->GetYaxis()->SetLabelSize(0.035); h_SL2L431->GetYaxis()->SetTitleSize(0.035); h_SL2L431->GetYaxis()->SetTitleOffset(1.45); h_SL2L431->GetYaxis()->SetTitleFont(42); h_SL2L431->GetZaxis()->SetLabelFont(42); h_SL2L431->GetZaxis()->SetLabelSize(0.035); h_SL2L431->GetZaxis()->SetTitleSize(0.035); h_SL2L431->GetZaxis()->SetTitleFont(42); h_SL2L431->Draw("hist, same"); tex = new TLatex(0.82,0.86,"SL2"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pt = new TPaveText(0.3801326,0.9302332,0.6198674,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy"); pt->Draw(); c_2->Modified(); c->cd(); // ------------>Primitives in pad: c_3 TPad *c_3 = new TPad("c_3", "c_3",0.6766667,0.51,0.99,0.99); c_3->Draw(); c_3->cd(); c_3->Range(-7.500001,-367981.6,67.5,3311834); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L132 = new TH1D("h_SL3L132","Occupancy",60,0,60); h_SL3L132->SetMaximum(2943852); h_SL3L132->SetEntries(60); h_SL3L132->SetDirectory(0); h_SL3L132->SetStats(0); h_SL3L132->SetLineWidth(2); h_SL3L132->GetXaxis()->SetTitle("Cell"); h_SL3L132->GetXaxis()->SetLabelFont(42); h_SL3L132->GetXaxis()->SetLabelSize(0.035); h_SL3L132->GetXaxis()->SetTitleSize(0.035); h_SL3L132->GetXaxis()->SetTitleFont(42); h_SL3L132->GetYaxis()->SetTitle("Hz per wire"); h_SL3L132->GetYaxis()->SetLabelFont(42); h_SL3L132->GetYaxis()->SetLabelSize(0.035); h_SL3L132->GetYaxis()->SetTitleSize(0.035); h_SL3L132->GetYaxis()->SetTitleOffset(1.45); h_SL3L132->GetYaxis()->SetTitleFont(42); h_SL3L132->GetZaxis()->SetLabelFont(42); h_SL3L132->GetZaxis()->SetLabelSize(0.035); h_SL3L132->GetZaxis()->SetTitleSize(0.035); h_SL3L132->GetZaxis()->SetTitleFont(42); h_SL3L132->Draw("hist, "); TH1D *h_SL3L233 = new TH1D("h_SL3L233","Occupancy",60,0,60); h_SL3L233->SetMaximum(2943852); h_SL3L233->SetEntries(60); h_SL3L233->SetDirectory(0); h_SL3L233->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L233->SetLineColor(ci); h_SL3L233->SetLineWidth(2); h_SL3L233->GetXaxis()->SetTitle("Cell"); h_SL3L233->GetXaxis()->SetLabelFont(42); h_SL3L233->GetXaxis()->SetLabelSize(0.035); h_SL3L233->GetXaxis()->SetTitleSize(0.035); h_SL3L233->GetXaxis()->SetTitleFont(42); h_SL3L233->GetYaxis()->SetTitle("Hz per wire"); h_SL3L233->GetYaxis()->SetLabelFont(42); h_SL3L233->GetYaxis()->SetLabelSize(0.035); h_SL3L233->GetYaxis()->SetTitleSize(0.035); h_SL3L233->GetYaxis()->SetTitleOffset(1.45); h_SL3L233->GetYaxis()->SetTitleFont(42); h_SL3L233->GetZaxis()->SetLabelFont(42); h_SL3L233->GetZaxis()->SetLabelSize(0.035); h_SL3L233->GetZaxis()->SetTitleSize(0.035); h_SL3L233->GetZaxis()->SetTitleFont(42); h_SL3L233->Draw("hist, same"); TH1D *h_SL3L334 = new TH1D("h_SL3L334","Occupancy",60,0,60); h_SL3L334->SetMaximum(2943852); h_SL3L334->SetEntries(60); h_SL3L334->SetDirectory(0); h_SL3L334->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L334->SetLineColor(ci); h_SL3L334->SetLineWidth(2); h_SL3L334->GetXaxis()->SetTitle("Cell"); h_SL3L334->GetXaxis()->SetLabelFont(42); h_SL3L334->GetXaxis()->SetLabelSize(0.035); h_SL3L334->GetXaxis()->SetTitleSize(0.035); h_SL3L334->GetXaxis()->SetTitleFont(42); h_SL3L334->GetYaxis()->SetTitle("Hz per wire"); h_SL3L334->GetYaxis()->SetLabelFont(42); h_SL3L334->GetYaxis()->SetLabelSize(0.035); h_SL3L334->GetYaxis()->SetTitleSize(0.035); h_SL3L334->GetYaxis()->SetTitleOffset(1.45); h_SL3L334->GetYaxis()->SetTitleFont(42); h_SL3L334->GetZaxis()->SetLabelFont(42); h_SL3L334->GetZaxis()->SetLabelSize(0.035); h_SL3L334->GetZaxis()->SetTitleSize(0.035); h_SL3L334->GetZaxis()->SetTitleFont(42); h_SL3L334->Draw("hist, same"); TH1D *h_SL3L435 = new TH1D("h_SL3L435","Occupancy",60,0,60); h_SL3L435->SetBinContent(50,2559872); h_SL3L435->SetMaximum(2943852); h_SL3L435->SetEntries(60); h_SL3L435->SetDirectory(0); h_SL3L435->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L435->SetLineColor(ci); h_SL3L435->SetLineWidth(2); h_SL3L435->GetXaxis()->SetTitle("Cell"); h_SL3L435->GetXaxis()->SetLabelFont(42); h_SL3L435->GetXaxis()->SetLabelSize(0.035); h_SL3L435->GetXaxis()->SetTitleSize(0.035); h_SL3L435->GetXaxis()->SetTitleFont(42); h_SL3L435->GetYaxis()->SetTitle("Hz per wire"); h_SL3L435->GetYaxis()->SetLabelFont(42); h_SL3L435->GetYaxis()->SetLabelSize(0.035); h_SL3L435->GetYaxis()->SetTitleSize(0.035); h_SL3L435->GetYaxis()->SetTitleOffset(1.45); h_SL3L435->GetYaxis()->SetTitleFont(42); h_SL3L435->GetZaxis()->SetLabelFont(42); h_SL3L435->GetZaxis()->SetLabelSize(0.035); h_SL3L435->GetZaxis()->SetTitleSize(0.035); h_SL3L435->GetZaxis()->SetTitleFont(42); h_SL3L435->Draw("hist, same"); tex = new TLatex(0.82,0.86,"SL3"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pt = new TPaveText(0.3801326,0.9302332,0.6198674,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy"); pt->Draw(); c_3->Modified(); c->cd(); // ------------>Primitives in pad: c_4 TPad *c_4 = new TPad("c_4", "c_4",0.01,0.01,0.3233333,0.49); c_4->Draw(); c_4->cd(); c_4->Range(-7.500001,-441.3125,67.5,3971.813); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->SetFrameBorderMode(0); TH1D *h_SL1L136 = new TH1D("h_SL1L136","Background (digi time < 1000)",60,0,60); h_SL1L136->SetBinContent(1,1660); h_SL1L136->SetBinContent(2,1670); h_SL1L136->SetBinContent(3,1830); h_SL1L136->SetBinContent(4,1950); h_SL1L136->SetBinContent(5,1700); h_SL1L136->SetBinContent(6,2080); h_SL1L136->SetBinContent(7,1940); h_SL1L136->SetBinContent(8,2020); h_SL1L136->SetBinContent(9,1850); h_SL1L136->SetBinContent(10,1840); h_SL1L136->SetBinContent(11,2150); h_SL1L136->SetBinContent(12,2440); h_SL1L136->SetBinContent(13,2160); h_SL1L136->SetBinContent(14,1880); h_SL1L136->SetBinContent(15,2100); h_SL1L136->SetBinContent(16,1750); h_SL1L136->SetBinContent(17,1800); h_SL1L136->SetBinContent(18,2340); h_SL1L136->SetBinContent(19,2170); h_SL1L136->SetBinContent(20,2110); h_SL1L136->SetBinContent(21,1890); h_SL1L136->SetBinContent(22,2050); h_SL1L136->SetBinContent(23,2100); h_SL1L136->SetBinContent(24,2020); h_SL1L136->SetBinContent(25,1790); h_SL1L136->SetBinContent(26,1910); h_SL1L136->SetBinContent(27,1920); h_SL1L136->SetBinContent(28,2120); h_SL1L136->SetBinContent(29,2040); h_SL1L136->SetBinContent(30,1920); h_SL1L136->SetBinContent(31,2090); h_SL1L136->SetBinContent(32,1980); h_SL1L136->SetBinContent(33,2300); h_SL1L136->SetBinContent(34,2230); h_SL1L136->SetBinContent(35,2280); h_SL1L136->SetBinContent(36,2170); h_SL1L136->SetBinContent(37,2550); h_SL1L136->SetBinContent(38,2320); h_SL1L136->SetBinContent(39,2200); h_SL1L136->SetBinContent(40,2100); h_SL1L136->SetBinContent(41,2290); h_SL1L136->SetBinContent(42,2340); h_SL1L136->SetBinContent(43,2240); h_SL1L136->SetBinContent(44,2310); h_SL1L136->SetBinContent(45,2030); h_SL1L136->SetBinContent(46,2030); h_SL1L136->SetBinContent(47,1800); h_SL1L136->SetBinContent(48,1930); h_SL1L136->SetBinContent(49,2330); h_SL1L136->SetBinContent(50,2370); h_SL1L136->SetBinContent(51,2450); h_SL1L136->SetBinContent(52,1920); h_SL1L136->SetBinContent(53,2310); h_SL1L136->SetBinContent(54,2190); h_SL1L136->SetBinContent(55,2290); h_SL1L136->SetBinContent(56,2470); h_SL1L136->SetBinContent(57,2400); h_SL1L136->SetBinContent(58,2460); h_SL1L136->SetBinContent(59,2550); h_SL1L136->SetMaximum(3530.5); h_SL1L136->SetEntries(60); h_SL1L136->SetDirectory(0); h_SL1L136->SetStats(0); h_SL1L136->SetLineWidth(2); h_SL1L136->GetXaxis()->SetTitle("Cell"); h_SL1L136->GetXaxis()->SetLabelFont(42); h_SL1L136->GetXaxis()->SetLabelSize(0.035); h_SL1L136->GetXaxis()->SetTitleSize(0.035); h_SL1L136->GetXaxis()->SetTitleFont(42); h_SL1L136->GetYaxis()->SetTitle("Hz per wire"); h_SL1L136->GetYaxis()->SetLabelFont(42); h_SL1L136->GetYaxis()->SetLabelSize(0.035); h_SL1L136->GetYaxis()->SetTitleSize(0.035); h_SL1L136->GetYaxis()->SetTitleOffset(1.45); h_SL1L136->GetYaxis()->SetTitleFont(42); h_SL1L136->GetZaxis()->SetLabelFont(42); h_SL1L136->GetZaxis()->SetLabelSize(0.035); h_SL1L136->GetZaxis()->SetTitleSize(0.035); h_SL1L136->GetZaxis()->SetTitleFont(42); h_SL1L136->Draw("hist, "); TH1D *h_SL1L237 = new TH1D("h_SL1L237","Background (digi time < 1000)",60,0,60); h_SL1L237->SetBinContent(1,1650); h_SL1L237->SetBinContent(2,1860); h_SL1L237->SetBinContent(3,1930); h_SL1L237->SetBinContent(4,1760); h_SL1L237->SetBinContent(5,1850); h_SL1L237->SetBinContent(6,1760); h_SL1L237->SetBinContent(7,2260); h_SL1L237->SetBinContent(8,2170); h_SL1L237->SetBinContent(9,2380); h_SL1L237->SetBinContent(10,2220); h_SL1L237->SetBinContent(11,2320); h_SL1L237->SetBinContent(12,2580); h_SL1L237->SetBinContent(13,2160); h_SL1L237->SetBinContent(14,2260); h_SL1L237->SetBinContent(15,2730); h_SL1L237->SetBinContent(16,2480); h_SL1L237->SetBinContent(17,2420); h_SL1L237->SetBinContent(18,2640); h_SL1L237->SetBinContent(19,2490); h_SL1L237->SetBinContent(20,2360); h_SL1L237->SetBinContent(21,2520); h_SL1L237->SetBinContent(22,2990); h_SL1L237->SetBinContent(23,2610); h_SL1L237->SetBinContent(24,2270); h_SL1L237->SetBinContent(25,2640); h_SL1L237->SetBinContent(26,2410); h_SL1L237->SetBinContent(27,2620); h_SL1L237->SetBinContent(28,2650); h_SL1L237->SetBinContent(29,2380); h_SL1L237->SetBinContent(30,2480); h_SL1L237->SetBinContent(31,2550); h_SL1L237->SetBinContent(32,2560); h_SL1L237->SetBinContent(33,2430); h_SL1L237->SetBinContent(34,2460); h_SL1L237->SetBinContent(35,3070); h_SL1L237->SetBinContent(36,2620); h_SL1L237->SetBinContent(37,2850); h_SL1L237->SetBinContent(38,2580); h_SL1L237->SetBinContent(39,2700); h_SL1L237->SetBinContent(40,2670); h_SL1L237->SetBinContent(41,2410); h_SL1L237->SetBinContent(42,2260); h_SL1L237->SetBinContent(43,2500); h_SL1L237->SetBinContent(44,2630); h_SL1L237->SetBinContent(45,2590); h_SL1L237->SetBinContent(46,2650); h_SL1L237->SetBinContent(47,2500); h_SL1L237->SetBinContent(48,2620); h_SL1L237->SetBinContent(49,2810); h_SL1L237->SetBinContent(50,2970); h_SL1L237->SetBinContent(51,2610); h_SL1L237->SetBinContent(52,2640); h_SL1L237->SetBinContent(53,2610); h_SL1L237->SetBinContent(54,2490); h_SL1L237->SetBinContent(55,3020); h_SL1L237->SetBinContent(56,2910); h_SL1L237->SetBinContent(57,2530); h_SL1L237->SetBinContent(58,2940); h_SL1L237->SetBinContent(59,2740); h_SL1L237->SetMaximum(3530.5); h_SL1L237->SetEntries(60); h_SL1L237->SetDirectory(0); h_SL1L237->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL1L237->SetLineColor(ci); h_SL1L237->SetLineWidth(2); h_SL1L237->GetXaxis()->SetTitle("Cell"); h_SL1L237->GetXaxis()->SetLabelFont(42); h_SL1L237->GetXaxis()->SetLabelSize(0.035); h_SL1L237->GetXaxis()->SetTitleSize(0.035); h_SL1L237->GetXaxis()->SetTitleFont(42); h_SL1L237->GetYaxis()->SetTitle("Hz per wire"); h_SL1L237->GetYaxis()->SetLabelFont(42); h_SL1L237->GetYaxis()->SetLabelSize(0.035); h_SL1L237->GetYaxis()->SetTitleSize(0.035); h_SL1L237->GetYaxis()->SetTitleOffset(1.45); h_SL1L237->GetYaxis()->SetTitleFont(42); h_SL1L237->GetZaxis()->SetLabelFont(42); h_SL1L237->GetZaxis()->SetLabelSize(0.035); h_SL1L237->GetZaxis()->SetTitleSize(0.035); h_SL1L237->GetZaxis()->SetTitleFont(42); h_SL1L237->Draw("hist, same"); TH1D *h_SL1L338 = new TH1D("h_SL1L338","Background (digi time < 1000)",60,0,60); h_SL1L338->SetBinContent(1,1810); h_SL1L338->SetBinContent(2,1790); h_SL1L338->SetBinContent(3,1820); h_SL1L338->SetBinContent(4,2190); h_SL1L338->SetBinContent(5,2180); h_SL1L338->SetBinContent(6,1930); h_SL1L338->SetBinContent(7,2080); h_SL1L338->SetBinContent(8,2310); h_SL1L338->SetBinContent(9,2280); h_SL1L338->SetBinContent(10,2180); h_SL1L338->SetBinContent(11,2330); h_SL1L338->SetBinContent(12,2330); h_SL1L338->SetBinContent(13,2310); h_SL1L338->SetBinContent(14,2320); h_SL1L338->SetBinContent(15,2490); h_SL1L338->SetBinContent(16,2270); h_SL1L338->SetBinContent(17,2210); h_SL1L338->SetBinContent(18,2010); h_SL1L338->SetBinContent(19,2620); h_SL1L338->SetBinContent(20,2440); h_SL1L338->SetBinContent(21,2550); h_SL1L338->SetBinContent(22,2670); h_SL1L338->SetBinContent(23,2480); h_SL1L338->SetBinContent(24,2410); h_SL1L338->SetBinContent(25,2490); h_SL1L338->SetBinContent(26,2210); h_SL1L338->SetBinContent(27,2200); h_SL1L338->SetBinContent(28,2170); h_SL1L338->SetBinContent(29,2460); h_SL1L338->SetBinContent(30,2510); h_SL1L338->SetBinContent(31,2240); h_SL1L338->SetBinContent(32,2160); h_SL1L338->SetBinContent(33,2250); h_SL1L338->SetBinContent(34,2850); h_SL1L338->SetBinContent(35,2700); h_SL1L338->SetBinContent(36,2560); h_SL1L338->SetBinContent(37,2440); h_SL1L338->SetBinContent(38,2410); h_SL1L338->SetBinContent(39,2330); h_SL1L338->SetBinContent(40,2300); h_SL1L338->SetBinContent(41,2490); h_SL1L338->SetBinContent(42,2690); h_SL1L338->SetBinContent(43,2300); h_SL1L338->SetBinContent(44,2570); h_SL1L338->SetBinContent(45,2430); h_SL1L338->SetBinContent(46,2400); h_SL1L338->SetBinContent(47,2390); h_SL1L338->SetBinContent(48,2740); h_SL1L338->SetBinContent(49,2540); h_SL1L338->SetBinContent(50,2990); h_SL1L338->SetBinContent(51,2680); h_SL1L338->SetBinContent(52,2690); h_SL1L338->SetBinContent(53,2500); h_SL1L338->SetBinContent(54,2580); h_SL1L338->SetBinContent(55,2730); h_SL1L338->SetBinContent(56,2560); h_SL1L338->SetBinContent(57,2720); h_SL1L338->SetBinContent(58,2600); h_SL1L338->SetBinContent(59,2440); h_SL1L338->SetMaximum(3530.5); h_SL1L338->SetEntries(60); h_SL1L338->SetDirectory(0); h_SL1L338->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L338->SetLineColor(ci); h_SL1L338->SetLineWidth(2); h_SL1L338->GetXaxis()->SetTitle("Cell"); h_SL1L338->GetXaxis()->SetLabelFont(42); h_SL1L338->GetXaxis()->SetLabelSize(0.035); h_SL1L338->GetXaxis()->SetTitleSize(0.035); h_SL1L338->GetXaxis()->SetTitleFont(42); h_SL1L338->GetYaxis()->SetTitle("Hz per wire"); h_SL1L338->GetYaxis()->SetLabelFont(42); h_SL1L338->GetYaxis()->SetLabelSize(0.035); h_SL1L338->GetYaxis()->SetTitleSize(0.035); h_SL1L338->GetYaxis()->SetTitleOffset(1.45); h_SL1L338->GetYaxis()->SetTitleFont(42); h_SL1L338->GetZaxis()->SetLabelFont(42); h_SL1L338->GetZaxis()->SetLabelSize(0.035); h_SL1L338->GetZaxis()->SetTitleSize(0.035); h_SL1L338->GetZaxis()->SetTitleFont(42); h_SL1L338->Draw("hist, same"); TH1D *h_SL1L439 = new TH1D("h_SL1L439","Background (digi time < 1000)",60,0,60); h_SL1L439->SetBinContent(2,1350); h_SL1L439->SetBinContent(3,1450); h_SL1L439->SetBinContent(4,1640); h_SL1L439->SetBinContent(5,1820); h_SL1L439->SetBinContent(6,1580); h_SL1L439->SetBinContent(7,1700); h_SL1L439->SetBinContent(8,1690); h_SL1L439->SetBinContent(9,1810); h_SL1L439->SetBinContent(10,1820); h_SL1L439->SetBinContent(11,2170); h_SL1L439->SetBinContent(12,2550); h_SL1L439->SetBinContent(13,2260); h_SL1L439->SetBinContent(14,2310); h_SL1L439->SetBinContent(15,2000); h_SL1L439->SetBinContent(16,1920); h_SL1L439->SetBinContent(17,1790); h_SL1L439->SetBinContent(18,2080); h_SL1L439->SetBinContent(19,2080); h_SL1L439->SetBinContent(20,2090); h_SL1L439->SetBinContent(21,1970); h_SL1L439->SetBinContent(22,2010); h_SL1L439->SetBinContent(23,2250); h_SL1L439->SetBinContent(24,2110); h_SL1L439->SetBinContent(25,2130); h_SL1L439->SetBinContent(26,1880); h_SL1L439->SetBinContent(27,1790); h_SL1L439->SetBinContent(28,1900); h_SL1L439->SetBinContent(29,2210); h_SL1L439->SetBinContent(30,1890); h_SL1L439->SetBinContent(31,2120); h_SL1L439->SetBinContent(32,2020); h_SL1L439->SetBinContent(33,1990); h_SL1L439->SetBinContent(34,1970); h_SL1L439->SetBinContent(35,2260); h_SL1L439->SetBinContent(36,2060); h_SL1L439->SetBinContent(37,2310); h_SL1L439->SetBinContent(38,2120); h_SL1L439->SetBinContent(39,1910); h_SL1L439->SetBinContent(40,2080); h_SL1L439->SetBinContent(41,1640); h_SL1L439->SetBinContent(42,1890); h_SL1L439->SetBinContent(43,2290); h_SL1L439->SetBinContent(44,2150); h_SL1L439->SetBinContent(45,2100); h_SL1L439->SetBinContent(46,1900); h_SL1L439->SetBinContent(47,2110); h_SL1L439->SetBinContent(48,2070); h_SL1L439->SetBinContent(49,2010); h_SL1L439->SetBinContent(50,2210); h_SL1L439->SetBinContent(51,2040); h_SL1L439->SetBinContent(52,1840); h_SL1L439->SetBinContent(53,2310); h_SL1L439->SetBinContent(54,1800); h_SL1L439->SetBinContent(56,1570); h_SL1L439->SetBinContent(57,1950); h_SL1L439->SetBinContent(58,2350); h_SL1L439->SetBinContent(59,2520); h_SL1L439->SetMaximum(3530.5); h_SL1L439->SetEntries(60); h_SL1L439->SetDirectory(0); h_SL1L439->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L439->SetLineColor(ci); h_SL1L439->SetLineWidth(2); h_SL1L439->GetXaxis()->SetTitle("Cell"); h_SL1L439->GetXaxis()->SetLabelFont(42); h_SL1L439->GetXaxis()->SetLabelSize(0.035); h_SL1L439->GetXaxis()->SetTitleSize(0.035); h_SL1L439->GetXaxis()->SetTitleFont(42); h_SL1L439->GetYaxis()->SetTitle("Hz per wire"); h_SL1L439->GetYaxis()->SetLabelFont(42); h_SL1L439->GetYaxis()->SetLabelSize(0.035); h_SL1L439->GetYaxis()->SetTitleSize(0.035); h_SL1L439->GetYaxis()->SetTitleOffset(1.45); h_SL1L439->GetYaxis()->SetTitleFont(42); h_SL1L439->GetZaxis()->SetLabelFont(42); h_SL1L439->GetZaxis()->SetLabelSize(0.035); h_SL1L439->GetZaxis()->SetTitleSize(0.035); h_SL1L439->GetZaxis()->SetTitleFont(42); h_SL1L439->Draw("hist, same"); tex = new TLatex(0.82,0.86,"SL1"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pt = new TPaveText(0.201998,0.9334715,0.798002,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Background (digi time < 1000)"); pt->Draw(); c_4->Modified(); c->cd(); // ------------>Primitives in pad: c_5 TPad *c_5 = new TPad("c_5", "c_5",0.3433333,0.01,0.6566667,0.49); c_5->Draw(); c_5->cd(); c_5->Range(-7.500001,-0.125,67.5,1.125); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->SetFrameBorderMode(0); TH1D *h_SL2L140 = new TH1D("h_SL2L140","Background (digi time < 1000)",60,0,60); h_SL2L140->SetMaximum(0); h_SL2L140->SetEntries(60); h_SL2L140->SetDirectory(0); h_SL2L140->SetStats(0); h_SL2L140->SetLineWidth(2); h_SL2L140->GetXaxis()->SetTitle("Cell"); h_SL2L140->GetXaxis()->SetLabelFont(42); h_SL2L140->GetXaxis()->SetLabelSize(0.035); h_SL2L140->GetXaxis()->SetTitleSize(0.035); h_SL2L140->GetXaxis()->SetTitleFont(42); h_SL2L140->GetYaxis()->SetTitle("Hz per wire"); h_SL2L140->GetYaxis()->SetLabelFont(42); h_SL2L140->GetYaxis()->SetLabelSize(0.035); h_SL2L140->GetYaxis()->SetTitleSize(0.035); h_SL2L140->GetYaxis()->SetTitleOffset(1.45); h_SL2L140->GetYaxis()->SetTitleFont(42); h_SL2L140->GetZaxis()->SetLabelFont(42); h_SL2L140->GetZaxis()->SetLabelSize(0.035); h_SL2L140->GetZaxis()->SetTitleSize(0.035); h_SL2L140->GetZaxis()->SetTitleFont(42); h_SL2L140->Draw("hist, "); TH1D *h_SL2L241 = new TH1D("h_SL2L241","Background (digi time < 1000)",60,0,60); h_SL2L241->SetMaximum(0); h_SL2L241->SetEntries(60); h_SL2L241->SetDirectory(0); h_SL2L241->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L241->SetLineColor(ci); h_SL2L241->SetLineWidth(2); h_SL2L241->GetXaxis()->SetTitle("Cell"); h_SL2L241->GetXaxis()->SetLabelFont(42); h_SL2L241->GetXaxis()->SetLabelSize(0.035); h_SL2L241->GetXaxis()->SetTitleSize(0.035); h_SL2L241->GetXaxis()->SetTitleFont(42); h_SL2L241->GetYaxis()->SetTitle("Hz per wire"); h_SL2L241->GetYaxis()->SetLabelFont(42); h_SL2L241->GetYaxis()->SetLabelSize(0.035); h_SL2L241->GetYaxis()->SetTitleSize(0.035); h_SL2L241->GetYaxis()->SetTitleOffset(1.45); h_SL2L241->GetYaxis()->SetTitleFont(42); h_SL2L241->GetZaxis()->SetLabelFont(42); h_SL2L241->GetZaxis()->SetLabelSize(0.035); h_SL2L241->GetZaxis()->SetTitleSize(0.035); h_SL2L241->GetZaxis()->SetTitleFont(42); h_SL2L241->Draw("hist, same"); TH1D *h_SL2L342 = new TH1D("h_SL2L342","Background (digi time < 1000)",60,0,60); h_SL2L342->SetMaximum(0); h_SL2L342->SetEntries(60); h_SL2L342->SetDirectory(0); h_SL2L342->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L342->SetLineColor(ci); h_SL2L342->SetLineWidth(2); h_SL2L342->GetXaxis()->SetTitle("Cell"); h_SL2L342->GetXaxis()->SetLabelFont(42); h_SL2L342->GetXaxis()->SetLabelSize(0.035); h_SL2L342->GetXaxis()->SetTitleSize(0.035); h_SL2L342->GetXaxis()->SetTitleFont(42); h_SL2L342->GetYaxis()->SetTitle("Hz per wire"); h_SL2L342->GetYaxis()->SetLabelFont(42); h_SL2L342->GetYaxis()->SetLabelSize(0.035); h_SL2L342->GetYaxis()->SetTitleSize(0.035); h_SL2L342->GetYaxis()->SetTitleOffset(1.45); h_SL2L342->GetYaxis()->SetTitleFont(42); h_SL2L342->GetZaxis()->SetLabelFont(42); h_SL2L342->GetZaxis()->SetLabelSize(0.035); h_SL2L342->GetZaxis()->SetTitleSize(0.035); h_SL2L342->GetZaxis()->SetTitleFont(42); h_SL2L342->Draw("hist, same"); TH1D *h_SL2L443 = new TH1D("h_SL2L443","Background (digi time < 1000)",60,0,60); h_SL2L443->SetMaximum(0); h_SL2L443->SetEntries(60); h_SL2L443->SetDirectory(0); h_SL2L443->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L443->SetLineColor(ci); h_SL2L443->SetLineWidth(2); h_SL2L443->GetXaxis()->SetTitle("Cell"); h_SL2L443->GetXaxis()->SetLabelFont(42); h_SL2L443->GetXaxis()->SetLabelSize(0.035); h_SL2L443->GetXaxis()->SetTitleSize(0.035); h_SL2L443->GetXaxis()->SetTitleFont(42); h_SL2L443->GetYaxis()->SetTitle("Hz per wire"); h_SL2L443->GetYaxis()->SetLabelFont(42); h_SL2L443->GetYaxis()->SetLabelSize(0.035); h_SL2L443->GetYaxis()->SetTitleSize(0.035); h_SL2L443->GetYaxis()->SetTitleOffset(1.45); h_SL2L443->GetYaxis()->SetTitleFont(42); h_SL2L443->GetZaxis()->SetLabelFont(42); h_SL2L443->GetZaxis()->SetLabelSize(0.035); h_SL2L443->GetZaxis()->SetTitleSize(0.035); h_SL2L443->GetZaxis()->SetTitleFont(42); h_SL2L443->Draw("hist, same"); tex = new TLatex(0.82,0.86,"SL2"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pt = new TPaveText(0.201998,0.9334715,0.798002,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Background (digi time < 1000)"); pt->Draw(); c_5->Modified(); c->cd(); // ------------>Primitives in pad: c_6 TPad *c_6 = new TPad("c_6", "c_6",0.6766667,0.01,0.99,0.49); c_6->Draw(); c_6->cd(); c_6->Range(-7.500001,-367898,67.5,3311081); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *h_SL3L144 = new TH1D("h_SL3L144","Background (digi time < 1000)",60,0,60); h_SL3L144->SetMaximum(2943184); h_SL3L144->SetEntries(60); h_SL3L144->SetDirectory(0); h_SL3L144->SetStats(0); h_SL3L144->SetLineWidth(2); h_SL3L144->GetXaxis()->SetTitle("Cell"); h_SL3L144->GetXaxis()->SetLabelFont(42); h_SL3L144->GetXaxis()->SetLabelSize(0.035); h_SL3L144->GetXaxis()->SetTitleSize(0.035); h_SL3L144->GetXaxis()->SetTitleFont(42); h_SL3L144->GetYaxis()->SetTitle("Hz per wire"); h_SL3L144->GetYaxis()->SetLabelFont(42); h_SL3L144->GetYaxis()->SetLabelSize(0.035); h_SL3L144->GetYaxis()->SetTitleSize(0.035); h_SL3L144->GetYaxis()->SetTitleOffset(1.45); h_SL3L144->GetYaxis()->SetTitleFont(42); h_SL3L144->GetZaxis()->SetLabelFont(42); h_SL3L144->GetZaxis()->SetLabelSize(0.035); h_SL3L144->GetZaxis()->SetTitleSize(0.035); h_SL3L144->GetZaxis()->SetTitleFont(42); h_SL3L144->Draw("hist, "); TH1D *h_SL3L245 = new TH1D("h_SL3L245","Background (digi time < 1000)",60,0,60); h_SL3L245->SetMaximum(2943184); h_SL3L245->SetEntries(60); h_SL3L245->SetDirectory(0); h_SL3L245->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L245->SetLineColor(ci); h_SL3L245->SetLineWidth(2); h_SL3L245->GetXaxis()->SetTitle("Cell"); h_SL3L245->GetXaxis()->SetLabelFont(42); h_SL3L245->GetXaxis()->SetLabelSize(0.035); h_SL3L245->GetXaxis()->SetTitleSize(0.035); h_SL3L245->GetXaxis()->SetTitleFont(42); h_SL3L245->GetYaxis()->SetTitle("Hz per wire"); h_SL3L245->GetYaxis()->SetLabelFont(42); h_SL3L245->GetYaxis()->SetLabelSize(0.035); h_SL3L245->GetYaxis()->SetTitleSize(0.035); h_SL3L245->GetYaxis()->SetTitleOffset(1.45); h_SL3L245->GetYaxis()->SetTitleFont(42); h_SL3L245->GetZaxis()->SetLabelFont(42); h_SL3L245->GetZaxis()->SetLabelSize(0.035); h_SL3L245->GetZaxis()->SetTitleSize(0.035); h_SL3L245->GetZaxis()->SetTitleFont(42); h_SL3L245->Draw("hist, same"); TH1D *h_SL3L346 = new TH1D("h_SL3L346","Background (digi time < 1000)",60,0,60); h_SL3L346->SetMaximum(2943184); h_SL3L346->SetEntries(60); h_SL3L346->SetDirectory(0); h_SL3L346->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L346->SetLineColor(ci); h_SL3L346->SetLineWidth(2); h_SL3L346->GetXaxis()->SetTitle("Cell"); h_SL3L346->GetXaxis()->SetLabelFont(42); h_SL3L346->GetXaxis()->SetLabelSize(0.035); h_SL3L346->GetXaxis()->SetTitleSize(0.035); h_SL3L346->GetXaxis()->SetTitleFont(42); h_SL3L346->GetYaxis()->SetTitle("Hz per wire"); h_SL3L346->GetYaxis()->SetLabelFont(42); h_SL3L346->GetYaxis()->SetLabelSize(0.035); h_SL3L346->GetYaxis()->SetTitleSize(0.035); h_SL3L346->GetYaxis()->SetTitleOffset(1.45); h_SL3L346->GetYaxis()->SetTitleFont(42); h_SL3L346->GetZaxis()->SetLabelFont(42); h_SL3L346->GetZaxis()->SetLabelSize(0.035); h_SL3L346->GetZaxis()->SetTitleSize(0.035); h_SL3L346->GetZaxis()->SetTitleFont(42); h_SL3L346->Draw("hist, same"); TH1D *h_SL3L447 = new TH1D("h_SL3L447","Background (digi time < 1000)",60,0,60); h_SL3L447->SetBinContent(50,2559290); h_SL3L447->SetMaximum(2943184); h_SL3L447->SetEntries(60); h_SL3L447->SetDirectory(0); h_SL3L447->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L447->SetLineColor(ci); h_SL3L447->SetLineWidth(2); h_SL3L447->GetXaxis()->SetTitle("Cell"); h_SL3L447->GetXaxis()->SetLabelFont(42); h_SL3L447->GetXaxis()->SetLabelSize(0.035); h_SL3L447->GetXaxis()->SetTitleSize(0.035); h_SL3L447->GetXaxis()->SetTitleFont(42); h_SL3L447->GetYaxis()->SetTitle("Hz per wire"); h_SL3L447->GetYaxis()->SetLabelFont(42); h_SL3L447->GetYaxis()->SetLabelSize(0.035); h_SL3L447->GetYaxis()->SetTitleSize(0.035); h_SL3L447->GetYaxis()->SetTitleOffset(1.45); h_SL3L447->GetYaxis()->SetTitleFont(42); h_SL3L447->GetZaxis()->SetLabelFont(42); h_SL3L447->GetZaxis()->SetLabelSize(0.035); h_SL3L447->GetZaxis()->SetTitleSize(0.035); h_SL3L447->GetZaxis()->SetTitleFont(42); h_SL3L447->Draw("hist, same"); tex = new TLatex(0.82,0.86,"SL3"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); pt = new TPaveText(0.201998,0.9334715,0.798002,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Background (digi time < 1000)"); pt->Draw(); c_6->Modified(); c->cd(); pt = new TPaveText(0.91,0.95,1,1,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); AText = pt->AddText("Run 6102"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }