void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:21:37 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,-6413.817,67.5,57724.35); 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,29132.14); h_SL1L124->SetBinContent(2,30139.29); h_SL1L124->SetBinContent(3,29885.71); h_SL1L124->SetBinContent(4,29025); h_SL1L124->SetBinContent(5,26439.29); h_SL1L124->SetBinContent(6,28285.71); h_SL1L124->SetBinContent(7,27196.43); h_SL1L124->SetBinContent(8,28989.29); h_SL1L124->SetBinContent(9,28678.57); h_SL1L124->SetBinContent(10,28764.29); h_SL1L124->SetBinContent(11,29560.71); h_SL1L124->SetBinContent(12,28410.71); h_SL1L124->SetBinContent(13,28367.86); h_SL1L124->SetBinContent(14,26064.29); h_SL1L124->SetBinContent(15,23996.43); h_SL1L124->SetBinContent(16,23296.43); h_SL1L124->SetBinContent(17,22971.43); h_SL1L124->SetBinContent(18,24389.29); h_SL1L124->SetBinContent(19,24682.14); h_SL1L124->SetBinContent(20,24442.86); h_SL1L124->SetBinContent(21,24207.14); h_SL1L124->SetBinContent(22,24464.29); h_SL1L124->SetBinContent(23,22775); h_SL1L124->SetBinContent(24,21271.43); h_SL1L124->SetBinContent(25,20407.14); h_SL1L124->SetBinContent(26,20417.86); h_SL1L124->SetBinContent(27,20017.86); h_SL1L124->SetBinContent(28,21017.86); h_SL1L124->SetBinContent(29,22442.86); h_SL1L124->SetBinContent(30,21410.71); h_SL1L124->SetBinContent(31,21492.86); h_SL1L124->SetBinContent(32,19882.14); h_SL1L124->SetBinContent(33,1325); h_SL1L124->SetBinContent(34,1178.571); h_SL1L124->SetBinContent(35,1282.143); h_SL1L124->SetBinContent(36,1146.429); h_SL1L124->SetBinContent(37,1142.857); h_SL1L124->SetBinContent(38,1200); h_SL1L124->SetBinContent(39,1371.429); h_SL1L124->SetBinContent(40,1235.714); h_SL1L124->SetBinContent(41,1260.714); h_SL1L124->SetBinContent(42,1235.714); h_SL1L124->SetBinContent(43,1096.429); h_SL1L124->SetBinContent(44,1085.714); h_SL1L124->SetBinContent(45,1228.571); h_SL1L124->SetBinContent(46,1167.857); h_SL1L124->SetBinContent(47,1107.143); h_SL1L124->SetBinContent(48,1017.857); h_SL1L124->SetBinContent(49,19682.14); h_SL1L124->SetBinContent(50,20917.86); h_SL1L124->SetBinContent(51,20889.29); h_SL1L124->SetBinContent(52,19910.71); h_SL1L124->SetBinContent(53,19971.43); h_SL1L124->SetBinContent(54,19692.86); h_SL1L124->SetBinContent(55,19853.57); h_SL1L124->SetBinContent(56,21946.43); h_SL1L124->SetBinContent(57,25807.14); h_SL1L124->SetBinContent(58,29810.71); h_SL1L124->SetBinContent(59,31885.71); h_SL1L124->SetMaximum(51310.53); 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,35021.43); h_SL1L225->SetBinContent(2,36678.57); h_SL1L225->SetBinContent(3,37553.57); h_SL1L225->SetBinContent(4,38614.29); h_SL1L225->SetBinContent(5,39089.29); h_SL1L225->SetBinContent(6,40439.29); h_SL1L225->SetBinContent(7,40271.43); h_SL1L225->SetBinContent(8,42046.43); h_SL1L225->SetBinContent(9,42060.71); h_SL1L225->SetBinContent(10,41417.86); h_SL1L225->SetBinContent(11,43739.29); h_SL1L225->SetBinContent(12,43760.71); h_SL1L225->SetBinContent(13,44617.86); h_SL1L225->SetBinContent(14,44389.29); h_SL1L225->SetBinContent(15,44103.57); h_SL1L225->SetBinContent(16,40628.57); h_SL1L225->SetBinContent(17,39514.29); h_SL1L225->SetBinContent(18,41782.14); h_SL1L225->SetBinContent(19,42428.57); h_SL1L225->SetBinContent(20,41450); h_SL1L225->SetBinContent(21,43428.57); h_SL1L225->SetBinContent(22,42767.86); h_SL1L225->SetBinContent(23,41810.71); h_SL1L225->SetBinContent(24,40760.71); h_SL1L225->SetBinContent(25,40742.86); h_SL1L225->SetBinContent(26,37125); h_SL1L225->SetBinContent(27,37260.71); h_SL1L225->SetBinContent(28,39614.29); h_SL1L225->SetBinContent(29,41653.57); h_SL1L225->SetBinContent(30,43171.43); h_SL1L225->SetBinContent(31,43525); h_SL1L225->SetBinContent(32,43721.43); h_SL1L225->SetBinContent(33,2564.286); h_SL1L225->SetBinContent(34,2496.428); h_SL1L225->SetBinContent(35,2203.571); h_SL1L225->SetBinContent(36,2303.571); h_SL1L225->SetBinContent(37,2257.143); h_SL1L225->SetBinContent(38,2339.286); h_SL1L225->SetBinContent(39,2339.286); h_SL1L225->SetBinContent(40,2403.571); h_SL1L225->SetBinContent(41,2400); h_SL1L225->SetBinContent(42,2464.286); h_SL1L225->SetBinContent(43,2532.143); h_SL1L225->SetBinContent(44,2557.143); h_SL1L225->SetBinContent(45,2407.143); h_SL1L225->SetBinContent(46,2457.143); h_SL1L225->SetBinContent(47,2532.143); h_SL1L225->SetBinContent(48,2510.714); h_SL1L225->SetBinContent(49,43046.43); h_SL1L225->SetBinContent(50,42675); h_SL1L225->SetBinContent(51,41917.86); h_SL1L225->SetBinContent(52,42282.14); h_SL1L225->SetBinContent(53,42646.43); h_SL1L225->SetBinContent(54,41157.14); h_SL1L225->SetBinContent(55,42253.57); h_SL1L225->SetBinContent(56,41371.43); h_SL1L225->SetBinContent(57,41685.71); h_SL1L225->SetBinContent(58,42214.29); h_SL1L225->SetBinContent(59,41657.14); h_SL1L225->SetMaximum(51310.53); 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,32653.57); h_SL1L326->SetBinContent(2,34525); h_SL1L326->SetBinContent(3,35792.86); h_SL1L326->SetBinContent(4,36275); h_SL1L326->SetBinContent(5,37485.71); h_SL1L326->SetBinContent(6,38125); h_SL1L326->SetBinContent(7,39439.29); h_SL1L326->SetBinContent(8,40300); h_SL1L326->SetBinContent(9,38928.57); h_SL1L326->SetBinContent(10,40160.71); h_SL1L326->SetBinContent(11,41646.43); h_SL1L326->SetBinContent(12,41975); h_SL1L326->SetBinContent(13,41114.29); h_SL1L326->SetBinContent(14,40907.14); h_SL1L326->SetBinContent(15,38446.43); h_SL1L326->SetBinContent(16,37064.29); h_SL1L326->SetBinContent(17,37535.71); h_SL1L326->SetBinContent(18,39942.86); h_SL1L326->SetBinContent(19,39689.29); h_SL1L326->SetBinContent(20,39782.14); h_SL1L326->SetBinContent(21,40214.29); h_SL1L326->SetBinContent(22,39592.86); h_SL1L326->SetBinContent(23,37935.71); h_SL1L326->SetBinContent(24,37703.57); h_SL1L326->SetBinContent(25,36582.14); h_SL1L326->SetBinContent(26,33703.57); h_SL1L326->SetBinContent(27,35664.29); h_SL1L326->SetBinContent(28,38175); h_SL1L326->SetBinContent(29,40117.86); h_SL1L326->SetBinContent(30,40478.57); h_SL1L326->SetBinContent(31,40100); h_SL1L326->SetBinContent(32,40589.29); h_SL1L326->SetBinContent(33,2317.857); h_SL1L326->SetBinContent(34,2382.143); h_SL1L326->SetBinContent(35,2278.571); h_SL1L326->SetBinContent(36,2178.571); h_SL1L326->SetBinContent(37,2010.714); h_SL1L326->SetBinContent(38,2046.429); h_SL1L326->SetBinContent(39,2289.286); h_SL1L326->SetBinContent(40,2257.143); h_SL1L326->SetBinContent(41,1925); h_SL1L326->SetBinContent(42,2357.143); h_SL1L326->SetBinContent(43,2339.286); h_SL1L326->SetBinContent(44,2521.428); h_SL1L326->SetBinContent(45,2325); h_SL1L326->SetBinContent(46,2307.143); h_SL1L326->SetBinContent(47,2321.428); h_SL1L326->SetBinContent(48,2350); h_SL1L326->SetBinContent(49,40253.57); h_SL1L326->SetBinContent(50,40042.86); h_SL1L326->SetBinContent(51,39053.57); h_SL1L326->SetBinContent(52,39696.43); h_SL1L326->SetBinContent(53,38517.86); h_SL1L326->SetBinContent(54,38510.71); h_SL1L326->SetBinContent(55,38585.71); h_SL1L326->SetBinContent(56,37228.57); h_SL1L326->SetBinContent(57,39300); h_SL1L326->SetBinContent(58,39214.29); h_SL1L326->SetBinContent(59,38539.29); h_SL1L326->SetMaximum(51310.53); 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,26882.14); h_SL1L427->SetBinContent(3,25342.86); h_SL1L427->SetBinContent(4,25007.14); h_SL1L427->SetBinContent(5,24025); h_SL1L427->SetBinContent(6,24089.29); h_SL1L427->SetBinContent(7,24042.86); h_SL1L427->SetBinContent(8,25685.71); h_SL1L427->SetBinContent(9,26432.14); h_SL1L427->SetBinContent(10,29192.86); h_SL1L427->SetBinContent(11,32153.57); h_SL1L427->SetBinContent(12,32907.14); h_SL1L427->SetBinContent(13,33246.43); h_SL1L427->SetBinContent(14,34039.29); h_SL1L427->SetBinContent(15,32207.14); h_SL1L427->SetBinContent(16,29782.14); h_SL1L427->SetBinContent(17,26800); h_SL1L427->SetBinContent(18,27842.86); h_SL1L427->SetBinContent(19,27110.71); h_SL1L427->SetBinContent(20,26810.71); h_SL1L427->SetBinContent(21,26632.14); h_SL1L427->SetBinContent(22,26971.43); h_SL1L427->SetBinContent(23,25328.57); h_SL1L427->SetBinContent(24,25400); h_SL1L427->SetBinContent(25,23228.57); h_SL1L427->SetBinContent(26,22632.14); h_SL1L427->SetBinContent(27,22792.86); h_SL1L427->SetBinContent(28,23439.29); h_SL1L427->SetBinContent(29,23760.71); h_SL1L427->SetBinContent(30,24667.86); h_SL1L427->SetBinContent(31,23867.86); h_SL1L427->SetBinContent(32,22882.14); h_SL1L427->SetBinContent(33,1378.571); h_SL1L427->SetBinContent(34,1235.714); h_SL1L427->SetBinContent(35,1303.571); h_SL1L427->SetBinContent(36,1078.571); h_SL1L427->SetBinContent(37,914.2857); h_SL1L427->SetBinContent(38,1025); h_SL1L427->SetBinContent(39,1200); h_SL1L427->SetBinContent(40,1035.714); h_SL1L427->SetBinContent(41,953.5714); h_SL1L427->SetBinContent(42,1021.429); h_SL1L427->SetBinContent(43,1110.714); h_SL1L427->SetBinContent(44,1132.143); h_SL1L427->SetBinContent(45,914.2857); h_SL1L427->SetBinContent(46,1057.143); h_SL1L427->SetBinContent(47,914.2857); h_SL1L427->SetBinContent(48,1007.143); h_SL1L427->SetBinContent(49,16857.14); h_SL1L427->SetBinContent(50,16821.43); h_SL1L427->SetBinContent(51,17078.57); h_SL1L427->SetBinContent(52,17907.14); h_SL1L427->SetBinContent(53,17550); h_SL1L427->SetBinContent(54,17346.43); h_SL1L427->SetBinContent(56,18957.14); h_SL1L427->SetBinContent(57,21746.43); h_SL1L427->SetBinContent(58,27257.14); h_SL1L427->SetBinContent(59,28482.14); h_SL1L427->SetMaximum(51310.53); 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,-10.26786,67.5,92.41072); 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,7.142857); h_SL2L128->SetMaximum(82.14286); 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(55,3.571429); h_SL2L229->SetMaximum(82.14286); 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(54,71.42857); h_SL2L330->SetMaximum(82.14286); 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(82.14286); 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,-79.5759,67.5,716.183); 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(636.6071); 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(636.6071); 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(636.6071); 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,553.5714); h_SL3L435->SetMaximum(636.6071); 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,-6517.625,67.5,58658.63); 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,28160); h_SL1L136->SetBinContent(2,30400); h_SL1L136->SetBinContent(3,29980); h_SL1L136->SetBinContent(4,29220); h_SL1L136->SetBinContent(5,26230); h_SL1L136->SetBinContent(6,28770); h_SL1L136->SetBinContent(7,26920); h_SL1L136->SetBinContent(8,28980); h_SL1L136->SetBinContent(9,28190); h_SL1L136->SetBinContent(10,28520); h_SL1L136->SetBinContent(11,28700); h_SL1L136->SetBinContent(12,28170); h_SL1L136->SetBinContent(13,28590); h_SL1L136->SetBinContent(14,26230); h_SL1L136->SetBinContent(15,24620); h_SL1L136->SetBinContent(16,22770); h_SL1L136->SetBinContent(17,23600); h_SL1L136->SetBinContent(18,24570); h_SL1L136->SetBinContent(19,24690); h_SL1L136->SetBinContent(20,24560); h_SL1L136->SetBinContent(21,24160); h_SL1L136->SetBinContent(22,24170); h_SL1L136->SetBinContent(23,22710); h_SL1L136->SetBinContent(24,21270); h_SL1L136->SetBinContent(25,19980); h_SL1L136->SetBinContent(26,20060); h_SL1L136->SetBinContent(27,20180); h_SL1L136->SetBinContent(28,21700); h_SL1L136->SetBinContent(29,22670); h_SL1L136->SetBinContent(30,21570); h_SL1L136->SetBinContent(31,20830); h_SL1L136->SetBinContent(32,19950); h_SL1L136->SetBinContent(33,1260); h_SL1L136->SetBinContent(34,1300); h_SL1L136->SetBinContent(35,1290); h_SL1L136->SetBinContent(36,1120); h_SL1L136->SetBinContent(37,1140); h_SL1L136->SetBinContent(38,1210); h_SL1L136->SetBinContent(39,1390); h_SL1L136->SetBinContent(40,1120); h_SL1L136->SetBinContent(41,1190); h_SL1L136->SetBinContent(42,1010); h_SL1L136->SetBinContent(43,1100); h_SL1L136->SetBinContent(44,1160); h_SL1L136->SetBinContent(45,1330); h_SL1L136->SetBinContent(46,1260); h_SL1L136->SetBinContent(47,950); h_SL1L136->SetBinContent(48,1100); h_SL1L136->SetBinContent(49,18930); h_SL1L136->SetBinContent(50,21080); h_SL1L136->SetBinContent(51,21060); h_SL1L136->SetBinContent(52,20320); h_SL1L136->SetBinContent(53,19880); h_SL1L136->SetBinContent(54,19940); h_SL1L136->SetBinContent(55,19020); h_SL1L136->SetBinContent(56,21680); h_SL1L136->SetBinContent(57,25610); h_SL1L136->SetBinContent(58,29400); h_SL1L136->SetBinContent(59,31720); h_SL1L136->SetMaximum(52141); 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,34510); h_SL1L237->SetBinContent(2,36580); h_SL1L237->SetBinContent(3,38120); h_SL1L237->SetBinContent(4,38370); h_SL1L237->SetBinContent(5,39250); h_SL1L237->SetBinContent(6,39930); h_SL1L237->SetBinContent(7,39960); h_SL1L237->SetBinContent(8,41600); h_SL1L237->SetBinContent(9,41400); h_SL1L237->SetBinContent(10,41840); h_SL1L237->SetBinContent(11,43030); h_SL1L237->SetBinContent(12,43020); h_SL1L237->SetBinContent(13,45340); h_SL1L237->SetBinContent(14,45330); h_SL1L237->SetBinContent(15,43810); h_SL1L237->SetBinContent(16,40830); h_SL1L237->SetBinContent(17,39430); h_SL1L237->SetBinContent(18,41580); h_SL1L237->SetBinContent(19,43130); h_SL1L237->SetBinContent(20,41500); h_SL1L237->SetBinContent(21,43170); h_SL1L237->SetBinContent(22,43200); h_SL1L237->SetBinContent(23,41320); h_SL1L237->SetBinContent(24,40610); h_SL1L237->SetBinContent(25,39340); h_SL1L237->SetBinContent(26,36740); h_SL1L237->SetBinContent(27,36820); h_SL1L237->SetBinContent(28,39950); h_SL1L237->SetBinContent(29,40720); h_SL1L237->SetBinContent(30,43410); h_SL1L237->SetBinContent(31,43690); h_SL1L237->SetBinContent(32,43830); h_SL1L237->SetBinContent(33,2390); h_SL1L237->SetBinContent(34,2730); h_SL1L237->SetBinContent(35,2170); h_SL1L237->SetBinContent(36,2290); h_SL1L237->SetBinContent(37,2460); h_SL1L237->SetBinContent(38,2090); h_SL1L237->SetBinContent(39,2440); h_SL1L237->SetBinContent(40,2250); h_SL1L237->SetBinContent(41,2620); h_SL1L237->SetBinContent(42,2560); h_SL1L237->SetBinContent(43,2460); h_SL1L237->SetBinContent(44,2790); h_SL1L237->SetBinContent(45,2550); h_SL1L237->SetBinContent(46,2420); h_SL1L237->SetBinContent(47,2650); h_SL1L237->SetBinContent(48,2380); h_SL1L237->SetBinContent(49,43660); h_SL1L237->SetBinContent(50,42220); h_SL1L237->SetBinContent(51,42770); h_SL1L237->SetBinContent(52,41940); h_SL1L237->SetBinContent(53,42470); h_SL1L237->SetBinContent(54,40810); h_SL1L237->SetBinContent(55,41560); h_SL1L237->SetBinContent(56,41080); h_SL1L237->SetBinContent(57,41000); h_SL1L237->SetBinContent(58,41620); h_SL1L237->SetBinContent(59,42030); h_SL1L237->SetMaximum(52141); 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,31720); h_SL1L338->SetBinContent(2,35110); h_SL1L338->SetBinContent(3,36140); h_SL1L338->SetBinContent(4,37560); h_SL1L338->SetBinContent(5,37380); h_SL1L338->SetBinContent(6,37860); h_SL1L338->SetBinContent(7,39720); h_SL1L338->SetBinContent(8,40500); h_SL1L338->SetBinContent(9,39200); h_SL1L338->SetBinContent(10,40400); h_SL1L338->SetBinContent(11,40590); h_SL1L338->SetBinContent(12,41620); h_SL1L338->SetBinContent(13,40140); h_SL1L338->SetBinContent(14,41230); h_SL1L338->SetBinContent(15,39240); h_SL1L338->SetBinContent(16,36940); h_SL1L338->SetBinContent(17,37040); h_SL1L338->SetBinContent(18,40440); h_SL1L338->SetBinContent(19,39410); h_SL1L338->SetBinContent(20,39840); h_SL1L338->SetBinContent(21,39630); h_SL1L338->SetBinContent(22,40070); h_SL1L338->SetBinContent(23,36960); h_SL1L338->SetBinContent(24,37610); h_SL1L338->SetBinContent(25,37000); h_SL1L338->SetBinContent(26,33580); h_SL1L338->SetBinContent(27,35080); h_SL1L338->SetBinContent(28,38620); h_SL1L338->SetBinContent(29,39970); h_SL1L338->SetBinContent(30,40480); h_SL1L338->SetBinContent(31,40320); h_SL1L338->SetBinContent(32,41150); h_SL1L338->SetBinContent(33,2430); h_SL1L338->SetBinContent(34,2140); h_SL1L338->SetBinContent(35,2420); h_SL1L338->SetBinContent(36,2210); h_SL1L338->SetBinContent(37,2020); h_SL1L338->SetBinContent(38,2050); h_SL1L338->SetBinContent(39,2300); h_SL1L338->SetBinContent(40,2350); h_SL1L338->SetBinContent(41,2090); h_SL1L338->SetBinContent(42,2110); h_SL1L338->SetBinContent(43,2500); h_SL1L338->SetBinContent(44,2510); h_SL1L338->SetBinContent(45,2450); h_SL1L338->SetBinContent(46,2420); h_SL1L338->SetBinContent(47,2230); h_SL1L338->SetBinContent(48,2350); h_SL1L338->SetBinContent(49,39760); h_SL1L338->SetBinContent(50,39570); h_SL1L338->SetBinContent(51,39750); h_SL1L338->SetBinContent(52,40290); h_SL1L338->SetBinContent(53,38070); h_SL1L338->SetBinContent(54,37340); h_SL1L338->SetBinContent(55,38420); h_SL1L338->SetBinContent(56,37300); h_SL1L338->SetBinContent(57,39460); h_SL1L338->SetBinContent(58,39090); h_SL1L338->SetBinContent(59,37780); h_SL1L338->SetMaximum(52141); 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,26960); h_SL1L439->SetBinContent(3,25100); h_SL1L439->SetBinContent(4,24980); h_SL1L439->SetBinContent(5,24520); h_SL1L439->SetBinContent(6,23750); h_SL1L439->SetBinContent(7,24100); h_SL1L439->SetBinContent(8,25190); h_SL1L439->SetBinContent(9,26670); h_SL1L439->SetBinContent(10,28540); h_SL1L439->SetBinContent(11,32170); h_SL1L439->SetBinContent(12,32820); h_SL1L439->SetBinContent(13,31820); h_SL1L439->SetBinContent(14,33660); h_SL1L439->SetBinContent(15,32490); h_SL1L439->SetBinContent(16,30040); h_SL1L439->SetBinContent(17,26630); h_SL1L439->SetBinContent(18,27860); h_SL1L439->SetBinContent(19,27730); h_SL1L439->SetBinContent(20,26140); h_SL1L439->SetBinContent(21,26530); h_SL1L439->SetBinContent(22,26760); h_SL1L439->SetBinContent(23,25480); h_SL1L439->SetBinContent(24,26140); h_SL1L439->SetBinContent(25,23470); h_SL1L439->SetBinContent(26,22810); h_SL1L439->SetBinContent(27,23160); h_SL1L439->SetBinContent(28,24330); h_SL1L439->SetBinContent(29,23970); h_SL1L439->SetBinContent(30,23690); h_SL1L439->SetBinContent(31,24630); h_SL1L439->SetBinContent(32,23370); h_SL1L439->SetBinContent(33,1430); h_SL1L439->SetBinContent(34,1230); h_SL1L439->SetBinContent(35,1410); h_SL1L439->SetBinContent(36,1120); h_SL1L439->SetBinContent(37,770); h_SL1L439->SetBinContent(38,910); h_SL1L439->SetBinContent(39,1090); h_SL1L439->SetBinContent(40,1040); h_SL1L439->SetBinContent(41,1060); h_SL1L439->SetBinContent(42,920); h_SL1L439->SetBinContent(43,1010); h_SL1L439->SetBinContent(44,950); h_SL1L439->SetBinContent(45,930); h_SL1L439->SetBinContent(46,1030); h_SL1L439->SetBinContent(47,820); h_SL1L439->SetBinContent(48,990); h_SL1L439->SetBinContent(49,16790); h_SL1L439->SetBinContent(50,16570); h_SL1L439->SetBinContent(51,16820); h_SL1L439->SetBinContent(52,17950); h_SL1L439->SetBinContent(53,17400); h_SL1L439->SetBinContent(54,17570); h_SL1L439->SetBinContent(56,18620); h_SL1L439->SetBinContent(57,21850); h_SL1L439->SetBinContent(58,27490); h_SL1L439->SetBinContent(59,28360); h_SL1L439->SetMaximum(52141); 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,-7.187501,67.5,64.6875); 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(57.5); 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(57.5); 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(54,50); h_SL2L342->SetMaximum(57.5); 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(57.5); 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,-70.43751,67.5,633.9375); 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(563.5); 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(563.5); 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(563.5); 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,490); h_SL3L447->SetMaximum(563.5); 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 6257"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }