void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:21:40 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,-17266.43,67.5,155397.9); 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,68392.86); h_SL1L124->SetBinContent(2,70950); h_SL1L124->SetBinContent(3,73121.43); h_SL1L124->SetBinContent(4,65935.71); h_SL1L124->SetBinContent(5,58100); h_SL1L124->SetBinContent(6,62235.71); h_SL1L124->SetBinContent(7,60657.14); h_SL1L124->SetBinContent(8,65014.29); h_SL1L124->SetBinContent(9,62535.71); h_SL1L124->SetBinContent(10,63800); h_SL1L124->SetBinContent(11,63328.57); h_SL1L124->SetBinContent(12,60821.43); h_SL1L124->SetBinContent(13,60085.71); h_SL1L124->SetBinContent(14,54228.57); h_SL1L124->SetBinContent(15,49335.71); h_SL1L124->SetBinContent(16,49000); h_SL1L124->SetBinContent(17,49064.29); h_SL1L124->SetBinContent(18,50935.71); h_SL1L124->SetBinContent(19,52314.29); h_SL1L124->SetBinContent(20,50035.71); h_SL1L124->SetBinContent(21,51471.43); h_SL1L124->SetBinContent(22,51757.14); h_SL1L124->SetBinContent(23,47278.57); h_SL1L124->SetBinContent(24,41492.86); h_SL1L124->SetBinContent(25,39650); h_SL1L124->SetBinContent(26,42464.29); h_SL1L124->SetBinContent(27,40221.43); h_SL1L124->SetBinContent(28,42264.29); h_SL1L124->SetBinContent(29,43714.29); h_SL1L124->SetBinContent(30,40342.86); h_SL1L124->SetBinContent(31,41907.14); h_SL1L124->SetBinContent(32,40050); h_SL1L124->SetBinContent(33,3364.286); h_SL1L124->SetBinContent(34,3264.286); h_SL1L124->SetBinContent(35,3500); h_SL1L124->SetBinContent(36,3178.571); h_SL1L124->SetBinContent(37,3457.143); h_SL1L124->SetBinContent(38,3500); h_SL1L124->SetBinContent(39,3371.428); h_SL1L124->SetBinContent(40,2950); h_SL1L124->SetBinContent(41,3464.286); h_SL1L124->SetBinContent(42,3242.857); h_SL1L124->SetBinContent(43,3514.286); h_SL1L124->SetBinContent(44,3578.571); h_SL1L124->SetBinContent(45,3171.428); h_SL1L124->SetBinContent(46,2757.143); h_SL1L124->SetBinContent(47,2814.286); h_SL1L124->SetBinContent(48,2985.714); h_SL1L124->SetBinContent(49,40371.43); h_SL1L124->SetBinContent(50,42235.71); h_SL1L124->SetBinContent(51,42642.86); h_SL1L124->SetBinContent(52,42971.43); h_SL1L124->SetBinContent(53,41950); h_SL1L124->SetBinContent(54,42871.43); h_SL1L124->SetBinContent(55,42921.43); h_SL1L124->SetBinContent(56,49264.29); h_SL1L124->SetBinContent(57,61342.86); h_SL1L124->SetBinContent(58,71342.86); h_SL1L124->SetBinContent(59,76114.28); h_SL1L124->SetMaximum(138131.4); 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,93771.43); h_SL1L225->SetBinContent(2,95164.28); h_SL1L225->SetBinContent(3,100421.4); h_SL1L225->SetBinContent(4,102371.4); h_SL1L225->SetBinContent(5,102878.6); h_SL1L225->SetBinContent(6,108257.1); h_SL1L225->SetBinContent(7,108057.1); h_SL1L225->SetBinContent(8,113871.4); h_SL1L225->SetBinContent(9,114450); h_SL1L225->SetBinContent(10,110778.6); h_SL1L225->SetBinContent(11,117335.7); h_SL1L225->SetBinContent(12,118128.6); h_SL1L225->SetBinContent(13,118307.1); h_SL1L225->SetBinContent(14,120114.3); h_SL1L225->SetBinContent(15,118850); h_SL1L225->SetBinContent(16,109107.1); h_SL1L225->SetBinContent(17,106364.3); h_SL1L225->SetBinContent(18,114507.1); h_SL1L225->SetBinContent(19,113492.9); h_SL1L225->SetBinContent(20,113914.3); h_SL1L225->SetBinContent(21,116171.4); h_SL1L225->SetBinContent(22,113100); h_SL1L225->SetBinContent(23,112150); h_SL1L225->SetBinContent(24,108050); h_SL1L225->SetBinContent(25,109071.4); h_SL1L225->SetBinContent(26,98150); h_SL1L225->SetBinContent(27,100392.9); h_SL1L225->SetBinContent(28,106800); h_SL1L225->SetBinContent(29,114578.6); h_SL1L225->SetBinContent(30,117335.7); h_SL1L225->SetBinContent(31,119000); h_SL1L225->SetBinContent(32,117350); h_SL1L225->SetBinContent(33,9678.571); h_SL1L225->SetBinContent(34,9307.143); h_SL1L225->SetBinContent(35,8900); h_SL1L225->SetBinContent(36,8714.285); h_SL1L225->SetBinContent(37,8214.285); h_SL1L225->SetBinContent(38,8414.285); h_SL1L225->SetBinContent(39,8414.285); h_SL1L225->SetBinContent(40,9164.285); h_SL1L225->SetBinContent(41,8735.714); h_SL1L225->SetBinContent(42,9378.571); h_SL1L225->SetBinContent(43,9700); h_SL1L225->SetBinContent(44,10085.71); h_SL1L225->SetBinContent(45,9214.285); h_SL1L225->SetBinContent(46,8971.429); h_SL1L225->SetBinContent(47,8807.143); h_SL1L225->SetBinContent(48,9342.857); h_SL1L225->SetBinContent(49,117207.1); h_SL1L225->SetBinContent(50,119500); h_SL1L225->SetBinContent(51,114114.3); h_SL1L225->SetBinContent(52,117185.7); h_SL1L225->SetBinContent(53,118978.6); h_SL1L225->SetBinContent(54,116407.1); h_SL1L225->SetBinContent(55,118171.4); h_SL1L225->SetBinContent(56,114642.9); h_SL1L225->SetBinContent(57,115035.7); h_SL1L225->SetBinContent(58,118307.1); h_SL1L225->SetBinContent(59,117207.1); h_SL1L225->SetMaximum(138131.4); 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,88007.14); h_SL1L326->SetBinContent(2,91278.57); h_SL1L326->SetBinContent(3,94507.14); h_SL1L326->SetBinContent(4,96357.14); h_SL1L326->SetBinContent(5,99507.14); h_SL1L326->SetBinContent(6,99807.14); h_SL1L326->SetBinContent(7,104242.9); h_SL1L326->SetBinContent(8,106042.9); h_SL1L326->SetBinContent(9,102478.6); h_SL1L326->SetBinContent(10,107185.7); h_SL1L326->SetBinContent(11,110400); h_SL1L326->SetBinContent(12,111485.7); h_SL1L326->SetBinContent(13,110185.7); h_SL1L326->SetBinContent(14,109957.1); h_SL1L326->SetBinContent(15,104250); h_SL1L326->SetBinContent(16,99392.86); h_SL1L326->SetBinContent(17,101407.1); h_SL1L326->SetBinContent(18,107092.9); h_SL1L326->SetBinContent(19,104571.4); h_SL1L326->SetBinContent(20,106385.7); h_SL1L326->SetBinContent(21,107185.7); h_SL1L326->SetBinContent(22,103121.4); h_SL1L326->SetBinContent(23,101564.3); h_SL1L326->SetBinContent(24,101028.6); h_SL1L326->SetBinContent(25,94164.28); h_SL1L326->SetBinContent(26,90592.86); h_SL1L326->SetBinContent(27,97485.71); h_SL1L326->SetBinContent(28,103178.6); h_SL1L326->SetBinContent(29,108942.9); h_SL1L326->SetBinContent(30,109342.9); h_SL1L326->SetBinContent(31,110835.7); h_SL1L326->SetBinContent(32,109757.1); h_SL1L326->SetBinContent(33,8557.143); h_SL1L326->SetBinContent(34,8357.143); h_SL1L326->SetBinContent(35,8464.285); h_SL1L326->SetBinContent(36,7892.857); h_SL1L326->SetBinContent(37,7057.143); h_SL1L326->SetBinContent(38,7971.429); h_SL1L326->SetBinContent(39,8557.143); h_SL1L326->SetBinContent(40,8078.571); h_SL1L326->SetBinContent(41,8578.571); h_SL1L326->SetBinContent(42,8900); h_SL1L326->SetBinContent(43,8771.429); h_SL1L326->SetBinContent(44,9000); h_SL1L326->SetBinContent(45,9064.285); h_SL1L326->SetBinContent(46,8807.143); h_SL1L326->SetBinContent(47,8385.714); h_SL1L326->SetBinContent(48,8514.285); h_SL1L326->SetBinContent(49,109214.3); h_SL1L326->SetBinContent(50,109585.7); h_SL1L326->SetBinContent(51,106992.9); h_SL1L326->SetBinContent(52,109778.6); h_SL1L326->SetBinContent(53,105550); h_SL1L326->SetBinContent(54,105650); h_SL1L326->SetBinContent(55,104678.6); h_SL1L326->SetBinContent(56,103750); h_SL1L326->SetBinContent(57,106700); h_SL1L326->SetBinContent(58,109178.6); h_SL1L326->SetBinContent(59,105807.1); h_SL1L326->SetMaximum(138131.4); 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,61192.86); h_SL1L427->SetBinContent(3,57528.57); h_SL1L427->SetBinContent(4,54857.14); h_SL1L427->SetBinContent(5,52535.71); h_SL1L427->SetBinContent(6,52107.14); h_SL1L427->SetBinContent(7,51400); h_SL1L427->SetBinContent(8,56257.14); h_SL1L427->SetBinContent(9,59192.86); h_SL1L427->SetBinContent(10,67207.14); h_SL1L427->SetBinContent(11,77057.14); h_SL1L427->SetBinContent(12,80850); h_SL1L427->SetBinContent(13,78542.86); h_SL1L427->SetBinContent(14,82650); h_SL1L427->SetBinContent(15,77914.28); h_SL1L427->SetBinContent(16,69921.43); h_SL1L427->SetBinContent(17,62342.86); h_SL1L427->SetBinContent(18,64850); h_SL1L427->SetBinContent(19,62628.57); h_SL1L427->SetBinContent(20,59200); h_SL1L427->SetBinContent(21,59771.43); h_SL1L427->SetBinContent(22,58585.71); h_SL1L427->SetBinContent(23,56578.57); h_SL1L427->SetBinContent(24,55964.29); h_SL1L427->SetBinContent(25,49614.29); h_SL1L427->SetBinContent(26,49764.29); h_SL1L427->SetBinContent(27,49228.57); h_SL1L427->SetBinContent(28,52592.86); h_SL1L427->SetBinContent(29,50742.86); h_SL1L427->SetBinContent(30,52121.43); h_SL1L427->SetBinContent(31,51942.86); h_SL1L427->SetBinContent(32,48221.43); h_SL1L427->SetBinContent(33,3585.714); h_SL1L427->SetBinContent(34,3285.714); h_SL1L427->SetBinContent(35,3300); h_SL1L427->SetBinContent(36,3014.286); h_SL1L427->SetBinContent(37,2514.286); h_SL1L427->SetBinContent(38,2835.714); h_SL1L427->SetBinContent(39,3100); h_SL1L427->SetBinContent(40,2707.143); h_SL1L427->SetBinContent(41,2664.286); h_SL1L427->SetBinContent(42,2942.857); h_SL1L427->SetBinContent(43,2721.428); h_SL1L427->SetBinContent(44,2792.857); h_SL1L427->SetBinContent(45,2650); h_SL1L427->SetBinContent(46,2900); h_SL1L427->SetBinContent(47,2450); h_SL1L427->SetBinContent(48,2707.143); h_SL1L427->SetBinContent(49,30871.43); h_SL1L427->SetBinContent(50,33650); h_SL1L427->SetBinContent(51,33028.57); h_SL1L427->SetBinContent(52,35514.29); h_SL1L427->SetBinContent(53,33714.29); h_SL1L427->SetBinContent(54,34271.43); h_SL1L427->SetBinContent(56,40278.57); h_SL1L427->SetBinContent(57,47450); h_SL1L427->SetBinContent(58,63250); h_SL1L427->SetBinContent(59,70321.43); h_SL1L427->SetMaximum(138131.4); 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,-8.214286,67.5,73.92857); 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(55,35.71429); h_SL2L128->SetBinContent(56,42.85714); h_SL2L128->SetMaximum(65.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(33,7.142857); h_SL2L229->SetBinContent(55,57.14286); h_SL2L229->SetBinContent(56,57.14286); h_SL2L229->SetMaximum(65.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(39,7.142857); h_SL2L330->SetBinContent(40,50); h_SL2L330->SetBinContent(54,57.14286); h_SL2L330->SetBinContent(55,35.71429); h_SL2L330->SetBinContent(56,57.14286); h_SL2L330->SetMaximum(65.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(55,21.42857); h_SL2L431->SetBinContent(56,42.85714); h_SL2L431->SetMaximum(65.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,-120.1339,67.5,1081.205); 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(961.0714); 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(961.0714); 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(961.0714); 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(20,7.142857); h_SL3L435->SetBinContent(50,835.7143); h_SL3L435->SetMaximum(961.0714); 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,-17413.88,67.5,156724.9); 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,68420); h_SL1L136->SetBinContent(2,71260); h_SL1L136->SetBinContent(3,75160); h_SL1L136->SetBinContent(4,66660); h_SL1L136->SetBinContent(5,58540); h_SL1L136->SetBinContent(6,61300); h_SL1L136->SetBinContent(7,60540); h_SL1L136->SetBinContent(8,65560); h_SL1L136->SetBinContent(9,64180); h_SL1L136->SetBinContent(10,63900); h_SL1L136->SetBinContent(11,63360); h_SL1L136->SetBinContent(12,61660); h_SL1L136->SetBinContent(13,60680); h_SL1L136->SetBinContent(14,55100); h_SL1L136->SetBinContent(15,50400); h_SL1L136->SetBinContent(16,50040); h_SL1L136->SetBinContent(17,49460); h_SL1L136->SetBinContent(18,50400); h_SL1L136->SetBinContent(19,51420); h_SL1L136->SetBinContent(20,48560); h_SL1L136->SetBinContent(21,51620); h_SL1L136->SetBinContent(22,51500); h_SL1L136->SetBinContent(23,45700); h_SL1L136->SetBinContent(24,40940); h_SL1L136->SetBinContent(25,39880); h_SL1L136->SetBinContent(26,41260); h_SL1L136->SetBinContent(27,41720); h_SL1L136->SetBinContent(28,42440); h_SL1L136->SetBinContent(29,44400); h_SL1L136->SetBinContent(30,40200); h_SL1L136->SetBinContent(31,42420); h_SL1L136->SetBinContent(32,40620); h_SL1L136->SetBinContent(33,3640); h_SL1L136->SetBinContent(34,3380); h_SL1L136->SetBinContent(35,3300); h_SL1L136->SetBinContent(36,3320); h_SL1L136->SetBinContent(37,3560); h_SL1L136->SetBinContent(38,3480); h_SL1L136->SetBinContent(39,3300); h_SL1L136->SetBinContent(40,2900); h_SL1L136->SetBinContent(41,3380); h_SL1L136->SetBinContent(42,3440); h_SL1L136->SetBinContent(43,3420); h_SL1L136->SetBinContent(44,3700); h_SL1L136->SetBinContent(45,3560); h_SL1L136->SetBinContent(46,2820); h_SL1L136->SetBinContent(47,2720); h_SL1L136->SetBinContent(48,2760); h_SL1L136->SetBinContent(49,39880); h_SL1L136->SetBinContent(50,42480); h_SL1L136->SetBinContent(51,42220); h_SL1L136->SetBinContent(52,41060); h_SL1L136->SetBinContent(53,40280); h_SL1L136->SetBinContent(54,43380); h_SL1L136->SetBinContent(55,43080); h_SL1L136->SetBinContent(56,48960); h_SL1L136->SetBinContent(57,61900); h_SL1L136->SetBinContent(58,71360); h_SL1L136->SetBinContent(59,75220); h_SL1L136->SetMaximum(139311); 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,94680); h_SL1L237->SetBinContent(2,94040); h_SL1L237->SetBinContent(3,100080); h_SL1L237->SetBinContent(4,101640); h_SL1L237->SetBinContent(5,102460); h_SL1L237->SetBinContent(6,107200); h_SL1L237->SetBinContent(7,107400); h_SL1L237->SetBinContent(8,112460); h_SL1L237->SetBinContent(9,114660); h_SL1L237->SetBinContent(10,110440); h_SL1L237->SetBinContent(11,118700); h_SL1L237->SetBinContent(12,117980); h_SL1L237->SetBinContent(13,117900); h_SL1L237->SetBinContent(14,121140); h_SL1L237->SetBinContent(15,118620); h_SL1L237->SetBinContent(16,110300); h_SL1L237->SetBinContent(17,104920); h_SL1L237->SetBinContent(18,112900); h_SL1L237->SetBinContent(19,112140); h_SL1L237->SetBinContent(20,112720); h_SL1L237->SetBinContent(21,116660); h_SL1L237->SetBinContent(22,115320); h_SL1L237->SetBinContent(23,111360); h_SL1L237->SetBinContent(24,109380); h_SL1L237->SetBinContent(25,109440); h_SL1L237->SetBinContent(26,98080); h_SL1L237->SetBinContent(27,100680); h_SL1L237->SetBinContent(28,108040); h_SL1L237->SetBinContent(29,115640); h_SL1L237->SetBinContent(30,118180); h_SL1L237->SetBinContent(31,118980); h_SL1L237->SetBinContent(32,116520); h_SL1L237->SetBinContent(33,9980); h_SL1L237->SetBinContent(34,9500); h_SL1L237->SetBinContent(35,9360); h_SL1L237->SetBinContent(36,8720); h_SL1L237->SetBinContent(37,8480); h_SL1L237->SetBinContent(38,8060); h_SL1L237->SetBinContent(39,8420); h_SL1L237->SetBinContent(40,8720); h_SL1L237->SetBinContent(41,7540); h_SL1L237->SetBinContent(42,8680); h_SL1L237->SetBinContent(43,10220); h_SL1L237->SetBinContent(44,9220); h_SL1L237->SetBinContent(45,9120); h_SL1L237->SetBinContent(46,8720); h_SL1L237->SetBinContent(47,8900); h_SL1L237->SetBinContent(48,9300); h_SL1L237->SetBinContent(49,119120); h_SL1L237->SetBinContent(50,121060); h_SL1L237->SetBinContent(51,115440); h_SL1L237->SetBinContent(52,115620); h_SL1L237->SetBinContent(53,118960); h_SL1L237->SetBinContent(54,115720); h_SL1L237->SetBinContent(55,117560); h_SL1L237->SetBinContent(56,115480); h_SL1L237->SetBinContent(57,115300); h_SL1L237->SetBinContent(58,118160); h_SL1L237->SetBinContent(59,118880); h_SL1L237->SetMaximum(139311); 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,87580); h_SL1L338->SetBinContent(2,91680); h_SL1L338->SetBinContent(3,95500); h_SL1L338->SetBinContent(4,96380); h_SL1L338->SetBinContent(5,98300); h_SL1L338->SetBinContent(6,100720); h_SL1L338->SetBinContent(7,104400); h_SL1L338->SetBinContent(8,105140); h_SL1L338->SetBinContent(9,101180); h_SL1L338->SetBinContent(10,108340); h_SL1L338->SetBinContent(11,112980); h_SL1L338->SetBinContent(12,112180); h_SL1L338->SetBinContent(13,109160); h_SL1L338->SetBinContent(14,109400); h_SL1L338->SetBinContent(15,105020); h_SL1L338->SetBinContent(16,99820); h_SL1L338->SetBinContent(17,100940); h_SL1L338->SetBinContent(18,106220); h_SL1L338->SetBinContent(19,104320); h_SL1L338->SetBinContent(20,105900); h_SL1L338->SetBinContent(21,106960); h_SL1L338->SetBinContent(22,103440); h_SL1L338->SetBinContent(23,101400); h_SL1L338->SetBinContent(24,101240); h_SL1L338->SetBinContent(25,95060); h_SL1L338->SetBinContent(26,89660); h_SL1L338->SetBinContent(27,97700); h_SL1L338->SetBinContent(28,101500); h_SL1L338->SetBinContent(29,107020); h_SL1L338->SetBinContent(30,108400); h_SL1L338->SetBinContent(31,109680); h_SL1L338->SetBinContent(32,111400); h_SL1L338->SetBinContent(33,8660); h_SL1L338->SetBinContent(34,8180); h_SL1L338->SetBinContent(35,7740); h_SL1L338->SetBinContent(36,8100); h_SL1L338->SetBinContent(37,6760); h_SL1L338->SetBinContent(38,7860); h_SL1L338->SetBinContent(39,8480); h_SL1L338->SetBinContent(40,8080); h_SL1L338->SetBinContent(41,8240); h_SL1L338->SetBinContent(42,8940); h_SL1L338->SetBinContent(43,8740); h_SL1L338->SetBinContent(44,9760); h_SL1L338->SetBinContent(45,8760); h_SL1L338->SetBinContent(46,8700); h_SL1L338->SetBinContent(47,7940); h_SL1L338->SetBinContent(48,8500); h_SL1L338->SetBinContent(49,109420); h_SL1L338->SetBinContent(50,109980); h_SL1L338->SetBinContent(51,106840); h_SL1L338->SetBinContent(52,108040); h_SL1L338->SetBinContent(53,105640); h_SL1L338->SetBinContent(54,106740); h_SL1L338->SetBinContent(55,107700); h_SL1L338->SetBinContent(56,105000); h_SL1L338->SetBinContent(57,108840); h_SL1L338->SetBinContent(58,108380); h_SL1L338->SetBinContent(59,104020); h_SL1L338->SetMaximum(139311); 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,62220); h_SL1L439->SetBinContent(3,57560); h_SL1L439->SetBinContent(4,56800); h_SL1L439->SetBinContent(5,51780); h_SL1L439->SetBinContent(6,53280); h_SL1L439->SetBinContent(7,51860); h_SL1L439->SetBinContent(8,57740); h_SL1L439->SetBinContent(9,58700); h_SL1L439->SetBinContent(10,66060); h_SL1L439->SetBinContent(11,77720); h_SL1L439->SetBinContent(12,83320); h_SL1L439->SetBinContent(13,78240); h_SL1L439->SetBinContent(14,82060); h_SL1L439->SetBinContent(15,77260); h_SL1L439->SetBinContent(16,69480); h_SL1L439->SetBinContent(17,61940); h_SL1L439->SetBinContent(18,65940); h_SL1L439->SetBinContent(19,65100); h_SL1L439->SetBinContent(20,57960); h_SL1L439->SetBinContent(21,60440); h_SL1L439->SetBinContent(22,58680); h_SL1L439->SetBinContent(23,57000); h_SL1L439->SetBinContent(24,54920); h_SL1L439->SetBinContent(25,50120); h_SL1L439->SetBinContent(26,50700); h_SL1L439->SetBinContent(27,49300); h_SL1L439->SetBinContent(28,51960); h_SL1L439->SetBinContent(29,52380); h_SL1L439->SetBinContent(30,53080); h_SL1L439->SetBinContent(31,52460); h_SL1L439->SetBinContent(32,47260); h_SL1L439->SetBinContent(33,3380); h_SL1L439->SetBinContent(34,3520); h_SL1L439->SetBinContent(35,3280); h_SL1L439->SetBinContent(36,3040); h_SL1L439->SetBinContent(37,2400); h_SL1L439->SetBinContent(38,2740); h_SL1L439->SetBinContent(39,3620); h_SL1L439->SetBinContent(40,2800); h_SL1L439->SetBinContent(41,2600); h_SL1L439->SetBinContent(42,3000); h_SL1L439->SetBinContent(43,3040); h_SL1L439->SetBinContent(44,2600); h_SL1L439->SetBinContent(45,2700); h_SL1L439->SetBinContent(46,2700); h_SL1L439->SetBinContent(47,2400); h_SL1L439->SetBinContent(48,2700); h_SL1L439->SetBinContent(49,31900); h_SL1L439->SetBinContent(50,33600); h_SL1L439->SetBinContent(51,33300); h_SL1L439->SetBinContent(52,36100); h_SL1L439->SetBinContent(53,33840); h_SL1L439->SetBinContent(54,33420); h_SL1L439->SetBinContent(56,39720); h_SL1L439->SetBinContent(57,47540); h_SL1L439->SetBinContent(58,63860); h_SL1L439->SetBinContent(59,71680); h_SL1L439->SetMaximum(139311); 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,-8.625001,67.5,77.625); 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(69); 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(33,20); h_SL2L241->SetMaximum(69); 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,60); h_SL2L342->SetMaximum(69); 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(69); 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,-86.25001,67.5,776.25); 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(690); 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(690); 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(690); 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(20,20); h_SL3L447->SetBinContent(50,600); h_SL3L447->SetMaximum(690); 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 6260"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }