void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:44:51 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,-10508.95,67.5,94580.52); 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,678.5715); h_SL1L124->SetBinContent(2,691.4286); h_SL1L124->SetBinContent(3,741.4286); h_SL1L124->SetBinContent(4,691.4286); h_SL1L124->SetBinContent(5,631.4286); h_SL1L124->SetBinContent(6,745.7143); h_SL1L124->SetBinContent(7,802.8572); h_SL1L124->SetBinContent(8,908.5715); h_SL1L124->SetBinContent(9,794.2857); h_SL1L124->SetBinContent(10,945.7143); h_SL1L124->SetBinContent(11,1011.429); h_SL1L124->SetBinContent(12,1134.286); h_SL1L124->SetBinContent(13,1188.571); h_SL1L124->SetBinContent(14,1352.857); h_SL1L124->SetBinContent(15,1294.286); h_SL1L124->SetBinContent(16,1358.571); h_SL1L124->SetBinContent(17,1391.429); h_SL1L124->SetBinContent(18,1644.286); h_SL1L124->SetBinContent(19,1825.714); h_SL1L124->SetBinContent(20,2118.572); h_SL1L124->SetBinContent(21,2295.714); h_SL1L124->SetBinContent(22,2445.714); h_SL1L124->SetBinContent(23,2687.143); h_SL1L124->SetBinContent(24,2938.572); h_SL1L124->SetBinContent(25,3154.286); h_SL1L124->SetBinContent(26,3205.714); h_SL1L124->SetBinContent(27,3550); h_SL1L124->SetBinContent(28,4441.429); h_SL1L124->SetBinContent(29,4880); h_SL1L124->SetBinContent(30,5540); h_SL1L124->SetBinContent(31,7390); h_SL1L124->SetBinContent(32,10815.71); h_SL1L124->SetBinContent(33,38248.57); h_SL1L124->SetBinContent(34,51657.14); h_SL1L124->SetBinContent(35,59320); h_SL1L124->SetBinContent(36,66965.72); h_SL1L124->SetBinContent(37,73105.72); h_SL1L124->SetBinContent(38,67042.86); h_SL1L124->SetBinContent(39,46080); h_SL1L124->SetBinContent(40,12767.14); h_SL1L124->SetBinContent(41,8718.571); h_SL1L124->SetBinContent(42,7391.429); h_SL1L124->SetBinContent(43,6267.143); h_SL1L124->SetBinContent(44,5588.572); h_SL1L124->SetBinContent(45,5064.286); h_SL1L124->SetBinContent(46,4781.429); h_SL1L124->SetBinContent(47,4345.714); h_SL1L124->SetBinContent(48,4110); h_SL1L124->SetBinContent(49,4001.429); h_SL1L124->SetBinContent(50,3600); h_SL1L124->SetBinContent(51,3304.286); h_SL1L124->SetBinContent(52,2920); h_SL1L124->SetBinContent(53,2948.572); h_SL1L124->SetBinContent(54,2624.286); h_SL1L124->SetBinContent(55,2594.286); h_SL1L124->SetBinContent(56,2381.429); h_SL1L124->SetBinContent(57,2435.714); h_SL1L124->SetBinContent(58,2312.857); h_SL1L124->SetBinContent(59,2180); h_SL1L124->SetMaximum(84071.58); 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,5.714286); h_SL1L225->SetBinContent(2,1.428571); h_SL1L225->SetBinContent(3,1.428571); h_SL1L225->SetBinContent(4,5.714286); h_SL1L225->SetBinContent(7,1.428571); h_SL1L225->SetBinContent(8,1.428571); h_SL1L225->SetBinContent(13,7.142858); h_SL1L225->SetBinContent(14,7.142858); h_SL1L225->SetBinContent(15,7.142858); h_SL1L225->SetBinContent(16,10); h_SL1L225->SetBinContent(20,1.428571); h_SL1L225->SetBinContent(24,1.428571); h_SL1L225->SetBinContent(26,1.428571); h_SL1L225->SetBinContent(29,18.57143); h_SL1L225->SetBinContent(30,11.42857); h_SL1L225->SetBinContent(31,10); h_SL1L225->SetBinContent(32,18.57143); h_SL1L225->SetBinContent(33,24.28572); h_SL1L225->SetBinContent(34,18.57143); h_SL1L225->SetBinContent(35,18.57143); h_SL1L225->SetBinContent(36,25.71429); h_SL1L225->SetBinContent(37,25.71429); h_SL1L225->SetBinContent(38,18.57143); h_SL1L225->SetBinContent(39,18.57143); h_SL1L225->SetBinContent(40,21.42857); h_SL1L225->SetBinContent(41,2.857143); h_SL1L225->SetBinContent(42,5.714286); h_SL1L225->SetBinContent(43,4.285714); h_SL1L225->SetBinContent(44,4.285714); h_SL1L225->SetBinContent(45,10); h_SL1L225->SetBinContent(46,7.142858); h_SL1L225->SetBinContent(47,7.142858); h_SL1L225->SetBinContent(48,10); h_SL1L225->SetBinContent(49,202.8571); h_SL1L225->SetBinContent(50,2.857143); h_SL1L225->SetBinContent(51,7.142858); h_SL1L225->SetBinContent(52,7.142858); h_SL1L225->SetBinContent(57,4.285714); h_SL1L225->SetBinContent(58,5.714286); h_SL1L225->SetBinContent(59,8.571428); h_SL1L225->SetMaximum(84071.58); 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,7.142858); h_SL1L326->SetBinContent(2,7.142858); h_SL1L326->SetBinContent(3,4.285714); h_SL1L326->SetBinContent(4,7.142858); h_SL1L326->SetBinContent(8,1.428571); h_SL1L326->SetBinContent(13,7.142858); h_SL1L326->SetBinContent(14,5.714286); h_SL1L326->SetBinContent(15,5.714286); h_SL1L326->SetBinContent(16,5.714286); h_SL1L326->SetBinContent(21,8.571428); h_SL1L326->SetBinContent(22,7.142858); h_SL1L326->SetBinContent(23,7.142858); h_SL1L326->SetBinContent(24,10); h_SL1L326->SetBinContent(29,17.14286); h_SL1L326->SetBinContent(30,15.71429); h_SL1L326->SetBinContent(31,17.14286); h_SL1L326->SetBinContent(32,18.57143); h_SL1L326->SetBinContent(33,27.14286); h_SL1L326->SetBinContent(34,24.28572); h_SL1L326->SetBinContent(35,27.14286); h_SL1L326->SetBinContent(36,30); h_SL1L326->SetBinContent(37,17.14286); h_SL1L326->SetBinContent(38,8.571428); h_SL1L326->SetBinContent(39,4.285714); h_SL1L326->SetBinContent(40,14.28572); h_SL1L326->SetBinContent(41,1.428571); h_SL1L326->SetBinContent(42,1.428571); h_SL1L326->SetBinContent(43,1.428571); h_SL1L326->SetBinContent(44,1.428571); h_SL1L326->SetBinContent(45,4.285714); h_SL1L326->SetBinContent(46,1.428571); h_SL1L326->SetBinContent(47,2.857143); h_SL1L326->SetBinContent(48,2.857143); h_SL1L326->SetBinContent(49,17.14286); h_SL1L326->SetBinContent(50,17.14286); h_SL1L326->SetBinContent(51,18.57143); h_SL1L326->SetBinContent(52,15.71429); h_SL1L326->SetBinContent(53,8.571428); h_SL1L326->SetBinContent(54,2.857143); h_SL1L326->SetBinContent(55,2.857143); h_SL1L326->SetBinContent(56,12.85714); h_SL1L326->SetBinContent(57,2.857143); h_SL1L326->SetMaximum(84071.58); 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,655.7143); h_SL1L427->SetBinContent(3,554.2857); h_SL1L427->SetBinContent(4,575.7143); h_SL1L427->SetBinContent(5,552.8572); h_SL1L427->SetBinContent(6,557.1429); h_SL1L427->SetBinContent(7,628.5715); h_SL1L427->SetBinContent(8,651.4286); h_SL1L427->SetBinContent(9,711.4286); h_SL1L427->SetBinContent(10,792.8572); h_SL1L427->SetBinContent(11,814.2857); h_SL1L427->SetBinContent(12,901.4286); h_SL1L427->SetBinContent(13,884.2857); h_SL1L427->SetBinContent(14,1104.286); h_SL1L427->SetBinContent(15,1180); h_SL1L427->SetBinContent(16,1160); h_SL1L427->SetBinContent(17,1162.857); h_SL1L427->SetBinContent(18,1384.286); h_SL1L427->SetBinContent(19,1545.714); h_SL1L427->SetBinContent(20,1767.143); h_SL1L427->SetBinContent(21,1864.286); h_SL1L427->SetBinContent(22,2041.429); h_SL1L427->SetBinContent(23,2298.572); h_SL1L427->SetBinContent(24,2627.143); h_SL1L427->SetBinContent(25,2698.572); h_SL1L427->SetBinContent(26,2825.714); h_SL1L427->SetBinContent(27,3131.429); h_SL1L427->SetBinContent(28,3802.857); h_SL1L427->SetBinContent(29,4357.143); h_SL1L427->SetBinContent(30,5001.429); h_SL1L427->SetBinContent(31,5995.714); h_SL1L427->SetBinContent(32,8868.571); h_SL1L427->SetBinContent(33,21874.29); h_SL1L427->SetBinContent(34,48168.57); h_SL1L427->SetBinContent(35,56225.71); h_SL1L427->SetBinContent(36,64135.71); h_SL1L427->SetBinContent(37,71364.29); h_SL1L427->SetBinContent(38,72090); h_SL1L427->SetBinContent(39,62334.29); h_SL1L427->SetBinContent(40,23577.14); h_SL1L427->SetBinContent(41,11077.14); h_SL1L427->SetBinContent(42,7868.572); h_SL1L427->SetBinContent(43,6515.714); h_SL1L427->SetBinContent(44,5715.714); h_SL1L427->SetBinContent(45,5055.714); h_SL1L427->SetBinContent(46,5002.857); h_SL1L427->SetBinContent(47,4285.714); h_SL1L427->SetBinContent(48,3998.572); h_SL1L427->SetBinContent(49,3760); h_SL1L427->SetBinContent(50,3481.429); h_SL1L427->SetBinContent(51,3341.429); h_SL1L427->SetBinContent(52,2935.714); h_SL1L427->SetBinContent(53,2695.714); h_SL1L427->SetBinContent(54,2557.143); h_SL1L427->SetBinContent(55,24.28572); h_SL1L427->SetBinContent(56,2315.714); h_SL1L427->SetBinContent(57,2245.714); h_SL1L427->SetBinContent(58,2240); h_SL1L427->SetBinContent(59,2034.286); h_SL1L427->SetMaximum(84071.58); 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,-5.339286,67.5,48.05357); 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(1,5.714286); h_SL2L128->SetBinContent(2,2.857143); h_SL2L128->SetBinContent(3,5.714286); h_SL2L128->SetBinContent(4,5.714286); h_SL2L128->SetBinContent(9,2.857143); h_SL2L128->SetBinContent(10,2.857143); h_SL2L128->SetBinContent(11,2.857143); h_SL2L128->SetBinContent(12,2.857143); h_SL2L128->SetBinContent(17,10); h_SL2L128->SetBinContent(18,8.571428); h_SL2L128->SetBinContent(19,8.571428); h_SL2L128->SetBinContent(20,10); h_SL2L128->SetBinContent(29,18.57143); h_SL2L128->SetBinContent(30,11.42857); h_SL2L128->SetBinContent(31,12.85714); h_SL2L128->SetBinContent(32,17.14286); h_SL2L128->SetBinContent(33,1.428571); h_SL2L128->SetBinContent(34,4.285714); h_SL2L128->SetBinContent(35,2.857143); h_SL2L128->SetBinContent(36,4.285714); h_SL2L128->SetBinContent(37,7.142858); h_SL2L128->SetBinContent(38,5.714286); h_SL2L128->SetBinContent(39,4.285714); h_SL2L128->SetBinContent(40,5.714286); h_SL2L128->SetBinContent(41,4.285714); h_SL2L128->SetBinContent(42,1.428571); h_SL2L128->SetBinContent(44,5.714286); h_SL2L128->SetBinContent(45,1.428571); h_SL2L128->SetBinContent(48,1.428571); h_SL2L128->SetBinContent(57,10); h_SL2L128->SetMaximum(42.71429); 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->SetBinContent(9,2.857143); h_SL2L229->SetBinContent(10,1.428571); h_SL2L229->SetBinContent(11,2.857143); h_SL2L229->SetBinContent(12,2.857143); h_SL2L229->SetBinContent(13,2.857143); h_SL2L229->SetBinContent(16,1.428571); h_SL2L229->SetBinContent(21,2.857143); h_SL2L229->SetBinContent(23,1.428571); h_SL2L229->SetBinContent(24,1.428571); h_SL2L229->SetBinContent(25,7.142858); h_SL2L229->SetBinContent(26,4.285714); h_SL2L229->SetBinContent(27,7.142858); h_SL2L229->SetBinContent(28,7.142858); h_SL2L229->SetBinContent(29,18.57143); h_SL2L229->SetBinContent(30,20); h_SL2L229->SetBinContent(31,18.57143); h_SL2L229->SetBinContent(32,17.14286); h_SL2L229->SetBinContent(33,7.142858); h_SL2L229->SetBinContent(34,4.285714); h_SL2L229->SetBinContent(35,4.285714); h_SL2L229->SetBinContent(36,5.714286); h_SL2L229->SetBinContent(45,4.285714); h_SL2L229->SetBinContent(46,2.857143); h_SL2L229->SetBinContent(47,1.428571); h_SL2L229->SetBinContent(48,4.285714); h_SL2L229->SetBinContent(53,7.142858); h_SL2L229->SetBinContent(54,1.428571); h_SL2L229->SetBinContent(55,7.142858); h_SL2L229->SetBinContent(56,1.428571); h_SL2L229->SetBinContent(57,8.571428); h_SL2L229->SetMaximum(42.71429); 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->SetBinContent(13,4.285714); h_SL2L330->SetBinContent(14,2.857143); h_SL2L330->SetBinContent(15,4.285714); h_SL2L330->SetBinContent(16,5.714286); h_SL2L330->SetBinContent(21,1.428571); h_SL2L330->SetBinContent(24,1.428571); h_SL2L330->SetBinContent(25,4.285714); h_SL2L330->SetBinContent(26,2.857143); h_SL2L330->SetBinContent(27,2.857143); h_SL2L330->SetBinContent(28,4.285714); h_SL2L330->SetBinContent(29,14.28572); h_SL2L330->SetBinContent(30,14.28572); h_SL2L330->SetBinContent(31,14.28572); h_SL2L330->SetBinContent(32,12.85714); h_SL2L330->SetBinContent(33,10); h_SL2L330->SetBinContent(34,4.285714); h_SL2L330->SetBinContent(35,8.571428); h_SL2L330->SetBinContent(36,10); h_SL2L330->SetBinContent(37,1.428571); h_SL2L330->SetBinContent(45,4.285714); h_SL2L330->SetBinContent(46,4.285714); h_SL2L330->SetBinContent(47,5.714286); h_SL2L330->SetBinContent(48,5.714286); h_SL2L330->SetBinContent(49,10); h_SL2L330->SetBinContent(50,4.285714); h_SL2L330->SetBinContent(51,5.714286); h_SL2L330->SetBinContent(52,10); h_SL2L330->SetBinContent(53,11.42857); h_SL2L330->SetBinContent(54,1.428571); h_SL2L330->SetBinContent(55,8.571428); h_SL2L330->SetBinContent(56,2.857143); h_SL2L330->SetMaximum(42.71429); 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->SetBinContent(13,4.285714); h_SL2L431->SetBinContent(14,7.142858); h_SL2L431->SetBinContent(15,4.285714); h_SL2L431->SetBinContent(16,5.714286); h_SL2L431->SetBinContent(17,5.714286); h_SL2L431->SetBinContent(18,4.285714); h_SL2L431->SetBinContent(19,2.857143); h_SL2L431->SetBinContent(20,7.142858); h_SL2L431->SetBinContent(25,5.714286); h_SL2L431->SetBinContent(26,8.571428); h_SL2L431->SetBinContent(27,5.714286); h_SL2L431->SetBinContent(28,4.285714); h_SL2L431->SetBinContent(29,31.42857); h_SL2L431->SetBinContent(30,24.28572); h_SL2L431->SetBinContent(31,27.14286); h_SL2L431->SetBinContent(32,37.14286); h_SL2L431->SetBinContent(33,15.71429); h_SL2L431->SetBinContent(34,12.85714); h_SL2L431->SetBinContent(35,11.42857); h_SL2L431->SetBinContent(36,12.85714); h_SL2L431->SetBinContent(37,5.714286); h_SL2L431->SetBinContent(38,2.857143); h_SL2L431->SetBinContent(39,4.285714); h_SL2L431->SetBinContent(40,4.285714); h_SL2L431->SetBinContent(41,4.285714); h_SL2L431->SetBinContent(42,7.142858); h_SL2L431->SetBinContent(43,5.714286); h_SL2L431->SetBinContent(44,2.857143); h_SL2L431->SetBinContent(53,7.142858); h_SL2L431->SetBinContent(54,7.142858); h_SL2L431->SetBinContent(55,8.571428); h_SL2L431->SetBinContent(56,5.714286); h_SL2L431->SetBinContent(57,8.571428); h_SL2L431->SetMaximum(42.71429); 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,-3.491072,67.5,31.41964); 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->SetBinContent(25,8.571428); h_SL3L132->SetBinContent(26,5.714286); h_SL3L132->SetBinContent(27,5.714286); h_SL3L132->SetBinContent(28,8.571428); h_SL3L132->SetBinContent(29,10); h_SL3L132->SetBinContent(30,8.571428); h_SL3L132->SetBinContent(31,7.142858); h_SL3L132->SetBinContent(32,11.42857); h_SL3L132->SetBinContent(37,2.857143); h_SL3L132->SetBinContent(38,1.428571); h_SL3L132->SetBinContent(39,2.857143); h_SL3L132->SetBinContent(40,1.428571); h_SL3L132->SetBinContent(41,11.42857); h_SL3L132->SetBinContent(42,8.571428); h_SL3L132->SetBinContent(43,7.142858); h_SL3L132->SetBinContent(44,11.42857); h_SL3L132->SetBinContent(45,1.428571); h_SL3L132->SetBinContent(46,2.857143); h_SL3L132->SetBinContent(47,2.857143); h_SL3L132->SetBinContent(48,2.857143); h_SL3L132->SetBinContent(49,7.142858); h_SL3L132->SetBinContent(50,4.285714); h_SL3L132->SetBinContent(51,4.285714); h_SL3L132->SetBinContent(52,7.142858); h_SL3L132->SetBinContent(53,4.285714); h_SL3L132->SetBinContent(54,7.142858); h_SL3L132->SetBinContent(55,5.714286); h_SL3L132->SetBinContent(56,5.714286); h_SL3L132->SetMaximum(27.92857); 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->SetBinContent(13,5.714286); h_SL3L233->SetBinContent(14,4.285714); h_SL3L233->SetBinContent(15,4.285714); h_SL3L233->SetBinContent(16,7.142858); h_SL3L233->SetBinContent(21,5.714286); h_SL3L233->SetBinContent(22,1.428571); h_SL3L233->SetBinContent(23,1.428571); h_SL3L233->SetBinContent(24,5.714286); h_SL3L233->SetBinContent(25,2.857143); h_SL3L233->SetBinContent(26,2.857143); h_SL3L233->SetBinContent(28,2.857143); h_SL3L233->SetBinContent(29,4.285714); h_SL3L233->SetBinContent(30,2.857143); h_SL3L233->SetBinContent(31,2.857143); h_SL3L233->SetBinContent(32,4.285714); h_SL3L233->SetBinContent(33,20); h_SL3L233->SetBinContent(34,14.28572); h_SL3L233->SetBinContent(35,15.71429); h_SL3L233->SetBinContent(36,22.85714); h_SL3L233->SetBinContent(37,24.28572); h_SL3L233->SetBinContent(38,18.57143); h_SL3L233->SetBinContent(39,22.85714); h_SL3L233->SetBinContent(40,21.42857); h_SL3L233->SetBinContent(41,11.42857); h_SL3L233->SetBinContent(42,7.142858); h_SL3L233->SetBinContent(43,8.571428); h_SL3L233->SetBinContent(44,11.42857); h_SL3L233->SetBinContent(49,12.85714); h_SL3L233->SetBinContent(50,8.571428); h_SL3L233->SetBinContent(51,10); h_SL3L233->SetBinContent(52,10); h_SL3L233->SetBinContent(53,14.28572); h_SL3L233->SetBinContent(54,14.28572); h_SL3L233->SetBinContent(55,15.71429); h_SL3L233->SetBinContent(56,12.85714); h_SL3L233->SetMaximum(27.92857); 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->SetBinContent(13,8.571428); h_SL3L334->SetBinContent(14,10); h_SL3L334->SetBinContent(15,8.571428); h_SL3L334->SetBinContent(16,10); h_SL3L334->SetBinContent(21,10); h_SL3L334->SetBinContent(22,7.142858); h_SL3L334->SetBinContent(23,2.857143); h_SL3L334->SetBinContent(24,7.142858); h_SL3L334->SetBinContent(25,5.714286); h_SL3L334->SetBinContent(26,8.571428); h_SL3L334->SetBinContent(27,8.571428); h_SL3L334->SetBinContent(28,5.714286); h_SL3L334->SetBinContent(29,2.857143); h_SL3L334->SetBinContent(30,2.857143); h_SL3L334->SetBinContent(31,1.428571); h_SL3L334->SetBinContent(32,1.428571); h_SL3L334->SetBinContent(33,18.57143); h_SL3L334->SetBinContent(34,8.571428); h_SL3L334->SetBinContent(35,11.42857); h_SL3L334->SetBinContent(36,15.71429); h_SL3L334->SetBinContent(37,18.57143); h_SL3L334->SetBinContent(38,18.57143); h_SL3L334->SetBinContent(39,18.57143); h_SL3L334->SetBinContent(40,20); h_SL3L334->SetBinContent(41,12.85714); h_SL3L334->SetBinContent(42,5.714286); h_SL3L334->SetBinContent(43,2.857143); h_SL3L334->SetBinContent(44,8.571428); h_SL3L334->SetBinContent(51,1.428571); h_SL3L334->SetBinContent(53,14.28572); h_SL3L334->SetBinContent(54,8.571428); h_SL3L334->SetBinContent(55,7.142858); h_SL3L334->SetBinContent(56,14.28572); h_SL3L334->SetMaximum(27.92857); 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(5,2.857143); h_SL3L435->SetBinContent(7,1.428571); h_SL3L435->SetBinContent(8,4.285714); h_SL3L435->SetBinContent(17,5.714286); h_SL3L435->SetBinContent(18,4.285714); h_SL3L435->SetBinContent(19,5.714286); h_SL3L435->SetBinContent(20,7.142858); h_SL3L435->SetBinContent(25,7.142858); h_SL3L435->SetBinContent(26,5.714286); h_SL3L435->SetBinContent(27,4.285714); h_SL3L435->SetBinContent(28,8.571428); h_SL3L435->SetBinContent(38,1.428571); h_SL3L435->SetBinContent(49,5.714286); h_SL3L435->SetBinContent(50,4.285714); h_SL3L435->SetBinContent(51,4.285714); h_SL3L435->SetBinContent(52,5.714286); h_SL3L435->SetMaximum(27.92857); 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,-649.75,67.5,5847.75); 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,444); h_SL1L136->SetBinContent(2,504); h_SL1L136->SetBinContent(3,436); h_SL1L136->SetBinContent(4,460); h_SL1L136->SetBinContent(5,400); h_SL1L136->SetBinContent(6,520); h_SL1L136->SetBinContent(7,524); h_SL1L136->SetBinContent(8,552); h_SL1L136->SetBinContent(9,504); h_SL1L136->SetBinContent(10,500); h_SL1L136->SetBinContent(11,652); h_SL1L136->SetBinContent(12,608); h_SL1L136->SetBinContent(13,696); h_SL1L136->SetBinContent(14,880); h_SL1L136->SetBinContent(15,812); h_SL1L136->SetBinContent(16,948); h_SL1L136->SetBinContent(17,964); h_SL1L136->SetBinContent(18,948); h_SL1L136->SetBinContent(19,1048); h_SL1L136->SetBinContent(20,1296); h_SL1L136->SetBinContent(21,1264); h_SL1L136->SetBinContent(22,1252); h_SL1L136->SetBinContent(23,1368); h_SL1L136->SetBinContent(24,1548); h_SL1L136->SetBinContent(25,1420); h_SL1L136->SetBinContent(26,1704); h_SL1L136->SetBinContent(27,1748); h_SL1L136->SetBinContent(28,1812); h_SL1L136->SetBinContent(29,2204); h_SL1L136->SetBinContent(30,2376); h_SL1L136->SetBinContent(31,3128); h_SL1L136->SetBinContent(32,3492); h_SL1L136->SetBinContent(33,3268); h_SL1L136->SetBinContent(34,3440); h_SL1L136->SetBinContent(35,3688); h_SL1L136->SetBinContent(36,3908); h_SL1L136->SetBinContent(37,3880); h_SL1L136->SetBinContent(38,3884); h_SL1L136->SetBinContent(39,3952); h_SL1L136->SetBinContent(40,4520); h_SL1L136->SetBinContent(41,4276); h_SL1L136->SetBinContent(42,3680); h_SL1L136->SetBinContent(43,2960); h_SL1L136->SetBinContent(44,2688); h_SL1L136->SetBinContent(45,2472); h_SL1L136->SetBinContent(46,2384); h_SL1L136->SetBinContent(47,2216); h_SL1L136->SetBinContent(48,2292); h_SL1L136->SetBinContent(49,2180); h_SL1L136->SetBinContent(50,1956); h_SL1L136->SetBinContent(51,1748); h_SL1L136->SetBinContent(52,1648); h_SL1L136->SetBinContent(53,1784); h_SL1L136->SetBinContent(54,1480); h_SL1L136->SetBinContent(55,1516); h_SL1L136->SetBinContent(56,1444); h_SL1L136->SetBinContent(57,1428); h_SL1L136->SetBinContent(58,1476); h_SL1L136->SetBinContent(59,1356); h_SL1L136->SetMaximum(5198); 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(16,4); h_SL1L237->SetBinContent(26,4); h_SL1L237->SetBinContent(45,12); h_SL1L237->SetBinContent(46,12); h_SL1L237->SetBinContent(47,8); h_SL1L237->SetBinContent(48,12); h_SL1L237->SetBinContent(49,204); h_SL1L237->SetBinContent(50,4); h_SL1L237->SetBinContent(51,16); h_SL1L237->SetBinContent(52,4); h_SL1L237->SetMaximum(5198); 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(29,8); h_SL1L338->SetBinContent(30,12); h_SL1L338->SetBinContent(31,20); h_SL1L338->SetBinContent(32,16); h_SL1L338->SetBinContent(45,12); h_SL1L338->SetBinContent(46,4); h_SL1L338->SetBinContent(47,8); h_SL1L338->SetBinContent(48,8); h_SL1L338->SetBinContent(49,16); h_SL1L338->SetBinContent(50,20); h_SL1L338->SetBinContent(51,24); h_SL1L338->SetBinContent(52,12); h_SL1L338->SetBinContent(53,20); h_SL1L338->SetBinContent(54,8); h_SL1L338->SetBinContent(55,8); h_SL1L338->SetBinContent(56,16); h_SL1L338->SetBinContent(57,4); h_SL1L338->SetMaximum(5198); 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,544); h_SL1L439->SetBinContent(3,472); h_SL1L439->SetBinContent(4,464); h_SL1L439->SetBinContent(5,452); h_SL1L439->SetBinContent(6,392); h_SL1L439->SetBinContent(7,524); h_SL1L439->SetBinContent(8,484); h_SL1L439->SetBinContent(9,520); h_SL1L439->SetBinContent(10,536); h_SL1L439->SetBinContent(11,576); h_SL1L439->SetBinContent(12,612); h_SL1L439->SetBinContent(13,528); h_SL1L439->SetBinContent(14,748); h_SL1L439->SetBinContent(15,824); h_SL1L439->SetBinContent(16,796); h_SL1L439->SetBinContent(17,856); h_SL1L439->SetBinContent(18,956); h_SL1L439->SetBinContent(19,1048); h_SL1L439->SetBinContent(20,1120); h_SL1L439->SetBinContent(21,1260); h_SL1L439->SetBinContent(22,1252); h_SL1L439->SetBinContent(23,1196); h_SL1L439->SetBinContent(24,1548); h_SL1L439->SetBinContent(25,1476); h_SL1L439->SetBinContent(26,1428); h_SL1L439->SetBinContent(27,1812); h_SL1L439->SetBinContent(28,1756); h_SL1L439->SetBinContent(29,1932); h_SL1L439->SetBinContent(30,2340); h_SL1L439->SetBinContent(31,2812); h_SL1L439->SetBinContent(32,3352); h_SL1L439->SetBinContent(33,3604); h_SL1L439->SetBinContent(34,3484); h_SL1L439->SetBinContent(35,3644); h_SL1L439->SetBinContent(36,3956); h_SL1L439->SetBinContent(37,3940); h_SL1L439->SetBinContent(38,3920); h_SL1L439->SetBinContent(39,4128); h_SL1L439->SetBinContent(40,4408); h_SL1L439->SetBinContent(41,4504); h_SL1L439->SetBinContent(42,4236); h_SL1L439->SetBinContent(43,3340); h_SL1L439->SetBinContent(44,2780); h_SL1L439->SetBinContent(45,2744); h_SL1L439->SetBinContent(46,2520); h_SL1L439->SetBinContent(47,2284); h_SL1L439->SetBinContent(48,2268); h_SL1L439->SetBinContent(49,2100); h_SL1L439->SetBinContent(50,1864); h_SL1L439->SetBinContent(51,1896); h_SL1L439->SetBinContent(52,1680); h_SL1L439->SetBinContent(53,1728); h_SL1L439->SetBinContent(54,1472); h_SL1L439->SetBinContent(56,1468); h_SL1L439->SetBinContent(57,1380); h_SL1L439->SetBinContent(58,1476); h_SL1L439->SetBinContent(59,1400); h_SL1L439->SetMaximum(5198); 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,-4.6,67.5,41.4); 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->SetBinContent(1,8); h_SL2L140->SetBinContent(2,8); h_SL2L140->SetBinContent(3,16); h_SL2L140->SetBinContent(4,12); h_SL2L140->SetBinContent(41,12); h_SL2L140->SetBinContent(42,4); h_SL2L140->SetBinContent(44,16); h_SL2L140->SetBinContent(45,4); h_SL2L140->SetBinContent(48,4); h_SL2L140->SetBinContent(57,28); h_SL2L140->SetMaximum(36.8); 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->SetBinContent(21,8); h_SL2L241->SetBinContent(23,4); h_SL2L241->SetBinContent(24,4); h_SL2L241->SetBinContent(33,4); h_SL2L241->SetBinContent(53,20); h_SL2L241->SetBinContent(54,4); h_SL2L241->SetBinContent(55,20); h_SL2L241->SetBinContent(56,4); h_SL2L241->SetBinContent(57,24); h_SL2L241->SetMaximum(36.8); 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->SetBinContent(21,4); h_SL2L342->SetBinContent(24,4); h_SL2L342->SetBinContent(33,4); h_SL2L342->SetBinContent(36,4); h_SL2L342->SetBinContent(37,4); h_SL2L342->SetBinContent(53,32); h_SL2L342->SetBinContent(54,4); h_SL2L342->SetBinContent(55,24); h_SL2L342->SetBinContent(56,8); h_SL2L342->SetMaximum(36.8); 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->SetBinContent(29,12); h_SL2L443->SetBinContent(30,12); h_SL2L443->SetBinContent(31,8); h_SL2L443->SetBinContent(32,8); h_SL2L443->SetBinContent(37,12); h_SL2L443->SetBinContent(38,8); h_SL2L443->SetBinContent(39,12); h_SL2L443->SetBinContent(40,12); h_SL2L443->SetBinContent(53,4); h_SL2L443->SetBinContent(55,8); h_SL2L443->SetBinContent(57,4); h_SL2L443->SetMaximum(36.8); 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,-2.875,67.5,25.875); 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->SetBinContent(25,8); h_SL3L144->SetBinContent(26,8); h_SL3L144->SetBinContent(27,12); h_SL3L144->SetBinContent(28,12); h_SL3L144->SetBinContent(53,12); h_SL3L144->SetBinContent(54,20); h_SL3L144->SetBinContent(55,16); h_SL3L144->SetBinContent(56,16); h_SL3L144->SetMaximum(23); 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->SetBinContent(21,4); h_SL3L245->SetBinContent(23,4); h_SL3L245->SetBinContent(33,8); h_SL3L245->SetBinContent(34,4); h_SL3L245->SetBinContent(35,4); h_SL3L245->SetBinContent(36,4); h_SL3L245->SetBinContent(37,16); h_SL3L245->SetBinContent(38,20); h_SL3L245->SetBinContent(39,20); h_SL3L245->SetBinContent(40,20); h_SL3L245->SetBinContent(41,8); h_SL3L245->SetBinContent(42,8); h_SL3L245->SetBinContent(43,8); h_SL3L245->SetBinContent(44,8); h_SL3L245->SetBinContent(49,20); h_SL3L245->SetBinContent(50,8); h_SL3L245->SetBinContent(51,8); h_SL3L245->SetBinContent(52,12); h_SL3L245->SetBinContent(53,16); h_SL3L245->SetBinContent(54,20); h_SL3L245->SetBinContent(55,20); h_SL3L245->SetBinContent(56,16); h_SL3L245->SetMaximum(23); 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->SetBinContent(21,8); h_SL3L346->SetBinContent(22,8); h_SL3L346->SetBinContent(23,8); h_SL3L346->SetBinContent(24,8); h_SL3L346->SetBinContent(41,8); h_SL3L346->SetBinContent(53,8); h_SL3L346->SetBinContent(54,12); h_SL3L346->SetBinContent(55,8); h_SL3L346->SetBinContent(56,16); h_SL3L346->SetMaximum(23); 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(5,8); h_SL3L447->SetBinContent(7,4); h_SL3L447->SetBinContent(8,12); h_SL3L447->SetBinContent(17,16); h_SL3L447->SetBinContent(18,12); h_SL3L447->SetBinContent(19,16); h_SL3L447->SetBinContent(20,20); h_SL3L447->SetBinContent(25,12); h_SL3L447->SetBinContent(26,12); h_SL3L447->SetBinContent(27,8); h_SL3L447->SetBinContent(28,12); h_SL3L447->SetMaximum(23); 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 5548"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }