void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:16:03 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,-8618.84,67.5,77569.55); 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,47485.71); h_SL1L124->SetBinContent(2,51178.57); h_SL1L124->SetBinContent(3,49978.57); h_SL1L124->SetBinContent(4,47071.43); h_SL1L124->SetBinContent(5,42285.71); h_SL1L124->SetBinContent(6,44678.57); h_SL1L124->SetBinContent(7,44214.29); h_SL1L124->SetBinContent(8,46014.29); h_SL1L124->SetBinContent(9,46092.86); h_SL1L124->SetBinContent(10,47692.86); h_SL1L124->SetBinContent(11,48650); h_SL1L124->SetBinContent(12,47571.43); h_SL1L124->SetBinContent(13,46885.71); h_SL1L124->SetBinContent(14,43885.71); h_SL1L124->SetBinContent(15,39142.86); h_SL1L124->SetBinContent(16,37885.71); h_SL1L124->SetBinContent(17,39178.57); h_SL1L124->SetBinContent(18,41735.71); h_SL1L124->SetBinContent(19,42692.86); h_SL1L124->SetBinContent(20,43121.43); h_SL1L124->SetBinContent(21,41214.29); h_SL1L124->SetBinContent(22,43235.71); h_SL1L124->SetBinContent(23,41707.14); h_SL1L124->SetBinContent(24,36114.29); h_SL1L124->SetBinContent(25,32664.29); h_SL1L124->SetBinContent(26,35364.29); h_SL1L124->SetBinContent(27,34435.71); h_SL1L124->SetBinContent(28,35100); h_SL1L124->SetBinContent(29,35328.57); h_SL1L124->SetBinContent(30,32107.14); h_SL1L124->SetBinContent(31,32642.86); h_SL1L124->SetBinContent(32,30557.14); h_SL1L124->SetBinContent(33,32800); h_SL1L124->SetBinContent(34,34142.86); h_SL1L124->SetBinContent(35,34907.14); h_SL1L124->SetBinContent(36,34885.71); h_SL1L124->SetBinContent(37,34400); h_SL1L124->SetBinContent(38,34450); h_SL1L124->SetBinContent(39,34385.71); h_SL1L124->SetBinContent(40,30514.29); h_SL1L124->SetBinContent(41,32850); h_SL1L124->SetBinContent(42,33700); h_SL1L124->SetBinContent(43,34592.86); h_SL1L124->SetBinContent(44,34271.43); h_SL1L124->SetBinContent(45,33057.14); h_SL1L124->SetBinContent(46,31121.43); h_SL1L124->SetBinContent(47,31250); h_SL1L124->SetBinContent(48,32342.86); h_SL1L124->SetBinContent(49,34650); h_SL1L124->SetBinContent(50,37542.86); h_SL1L124->SetBinContent(51,36928.57); h_SL1L124->SetBinContent(52,36335.71); h_SL1L124->SetBinContent(53,35457.14); h_SL1L124->SetBinContent(54,35078.57); h_SL1L124->SetBinContent(55,35864.29); h_SL1L124->SetBinContent(56,41742.86); h_SL1L124->SetBinContent(57,48571.43); h_SL1L124->SetBinContent(58,57028.57); h_SL1L124->SetBinContent(59,59957.14); h_SL1L124->SetMaximum(68950.71); 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(5,7.142857); h_SL1L225->SetBinContent(6,7.142857); h_SL1L225->SetBinContent(8,7.142857); h_SL1L225->SetBinContent(13,35.71429); h_SL1L225->SetBinContent(14,28.57143); h_SL1L225->SetBinContent(15,28.57143); h_SL1L225->SetBinContent(16,35.71429); h_SL1L225->SetBinContent(37,21.42857); h_SL1L225->SetBinContent(38,21.42857); h_SL1L225->SetBinContent(39,14.28571); h_SL1L225->SetBinContent(40,28.57143); h_SL1L225->SetBinContent(41,14.28571); h_SL1L225->SetBinContent(42,7.142857); h_SL1L225->SetBinContent(45,21.42857); h_SL1L225->SetBinContent(46,14.28571); h_SL1L225->SetBinContent(48,7.142857); h_SL1L225->SetBinContent(49,7.142857); h_SL1L225->SetBinContent(53,21.42857); h_SL1L225->SetBinContent(54,7.142857); h_SL1L225->SetBinContent(55,14.28571); h_SL1L225->SetBinContent(56,21.42857); h_SL1L225->SetBinContent(57,35.71429); h_SL1L225->SetBinContent(58,42.85714); h_SL1L225->SetBinContent(59,35.71429); h_SL1L225->SetMaximum(68950.71); 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(5,7.142857); h_SL1L326->SetBinContent(8,7.142857); h_SL1L326->SetBinContent(9,21.42857); h_SL1L326->SetBinContent(10,28.57143); h_SL1L326->SetBinContent(11,21.42857); h_SL1L326->SetBinContent(12,21.42857); h_SL1L326->SetBinContent(13,42.85714); h_SL1L326->SetBinContent(16,42.85714); h_SL1L326->SetBinContent(29,21.42857); h_SL1L326->SetBinContent(30,14.28571); h_SL1L326->SetBinContent(31,21.42857); h_SL1L326->SetBinContent(32,21.42857); h_SL1L326->SetBinContent(33,21.42857); h_SL1L326->SetBinContent(34,21.42857); h_SL1L326->SetBinContent(35,7.142857); h_SL1L326->SetBinContent(36,14.28571); h_SL1L326->SetBinContent(40,7.142857); h_SL1L326->SetBinContent(53,21.42857); h_SL1L326->SetBinContent(54,14.28571); h_SL1L326->SetBinContent(56,21.42857); h_SL1L326->SetBinContent(57,21.42857); h_SL1L326->SetBinContent(58,14.28571); h_SL1L326->SetMaximum(68950.71); 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,42978.57); h_SL1L427->SetBinContent(3,42514.29); h_SL1L427->SetBinContent(4,38950); h_SL1L427->SetBinContent(5,37835.71); h_SL1L427->SetBinContent(6,38742.86); h_SL1L427->SetBinContent(7,37085.71); h_SL1L427->SetBinContent(8,40500); h_SL1L427->SetBinContent(9,42428.57); h_SL1L427->SetBinContent(10,48992.86); h_SL1L427->SetBinContent(11,55807.14); h_SL1L427->SetBinContent(12,57650); h_SL1L427->SetBinContent(13,57150); h_SL1L427->SetBinContent(14,59692.86); h_SL1L427->SetBinContent(15,54835.71); h_SL1L427->SetBinContent(16,50421.43); h_SL1L427->SetBinContent(17,46778.57); h_SL1L427->SetBinContent(18,48500); h_SL1L427->SetBinContent(19,47928.57); h_SL1L427->SetBinContent(20,45435.71); h_SL1L427->SetBinContent(21,46842.86); h_SL1L427->SetBinContent(22,46585.71); h_SL1L427->SetBinContent(23,45021.43); h_SL1L427->SetBinContent(24,45121.43); h_SL1L427->SetBinContent(25,40828.57); h_SL1L427->SetBinContent(26,40607.14); h_SL1L427->SetBinContent(27,40278.57); h_SL1L427->SetBinContent(28,41428.57); h_SL1L427->SetBinContent(29,39600); h_SL1L427->SetBinContent(30,39550); h_SL1L427->SetBinContent(31,39392.86); h_SL1L427->SetBinContent(32,36214.29); h_SL1L427->SetBinContent(33,34942.86); h_SL1L427->SetBinContent(34,35557.14); h_SL1L427->SetBinContent(35,37750); h_SL1L427->SetBinContent(36,35157.14); h_SL1L427->SetBinContent(37,30571.43); h_SL1L427->SetBinContent(38,29700); h_SL1L427->SetBinContent(39,31800); h_SL1L427->SetBinContent(40,27985.71); h_SL1L427->SetBinContent(41,26807.14); h_SL1L427->SetBinContent(42,29664.29); h_SL1L427->SetBinContent(43,32642.86); h_SL1L427->SetBinContent(44,30642.86); h_SL1L427->SetBinContent(45,27407.14); h_SL1L427->SetBinContent(46,28707.14); h_SL1L427->SetBinContent(47,27971.43); h_SL1L427->SetBinContent(48,27635.71); h_SL1L427->SetBinContent(49,26507.14); h_SL1L427->SetBinContent(50,29457.14); h_SL1L427->SetBinContent(51,29864.29); h_SL1L427->SetBinContent(52,29957.14); h_SL1L427->SetBinContent(53,30021.43); h_SL1L427->SetBinContent(54,29778.57); h_SL1L427->SetBinContent(56,35121.43); h_SL1L427->SetBinContent(57,39557.14); h_SL1L427->SetBinContent(58,51064.29); h_SL1L427->SetBinContent(59,56171.43); h_SL1L427->SetMaximum(68950.71); 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,-14.375,67.5,129.375); 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(13,7.142857); h_SL2L128->SetBinContent(14,7.142857); h_SL2L128->SetBinContent(15,14.28571); h_SL2L128->SetBinContent(16,14.28571); h_SL2L128->SetBinContent(19,7.142857); h_SL2L128->SetBinContent(20,14.28571); h_SL2L128->SetBinContent(25,21.42857); h_SL2L128->SetBinContent(26,14.28571); h_SL2L128->SetBinContent(27,7.142857); h_SL2L128->SetBinContent(28,7.142857); h_SL2L128->SetBinContent(41,28.57143); h_SL2L128->SetBinContent(42,14.28571); h_SL2L128->SetBinContent(43,7.142857); h_SL2L128->SetBinContent(44,14.28571); h_SL2L128->SetBinContent(53,14.28571); h_SL2L128->SetBinContent(54,21.42857); h_SL2L128->SetBinContent(55,28.57143); h_SL2L128->SetBinContent(56,28.57143); h_SL2L128->SetBinContent(57,100); h_SL2L128->SetMaximum(115); 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(1,14.28571); h_SL2L229->SetBinContent(2,21.42857); h_SL2L229->SetBinContent(3,21.42857); h_SL2L229->SetBinContent(4,14.28571); h_SL2L229->SetBinContent(25,7.142857); h_SL2L229->SetBinContent(26,7.142857); h_SL2L229->SetBinContent(27,7.142857); h_SL2L229->SetBinContent(37,35.71429); h_SL2L229->SetBinContent(38,21.42857); h_SL2L229->SetBinContent(39,21.42857); h_SL2L229->SetBinContent(40,21.42857); h_SL2L229->SetBinContent(41,28.57143); h_SL2L229->SetBinContent(42,21.42857); h_SL2L229->SetBinContent(43,28.57143); h_SL2L229->SetBinContent(44,28.57143); h_SL2L229->SetBinContent(49,14.28571); h_SL2L229->SetBinContent(50,21.42857); h_SL2L229->SetBinContent(51,21.42857); h_SL2L229->SetBinContent(52,14.28571); h_SL2L229->SetBinContent(53,42.85714); h_SL2L229->SetBinContent(54,35.71429); h_SL2L229->SetBinContent(55,50); h_SL2L229->SetBinContent(56,42.85714); h_SL2L229->SetBinContent(57,57.14286); h_SL2L229->SetMaximum(115); 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(9,14.28571); h_SL2L330->SetBinContent(10,21.42857); h_SL2L330->SetBinContent(11,14.28571); h_SL2L330->SetBinContent(12,14.28571); h_SL2L330->SetBinContent(35,14.28571); h_SL2L330->SetBinContent(36,14.28571); h_SL2L330->SetBinContent(45,28.57143); h_SL2L330->SetBinContent(46,14.28571); h_SL2L330->SetBinContent(47,21.42857); h_SL2L330->SetBinContent(48,21.42857); h_SL2L330->SetBinContent(49,14.28571); h_SL2L330->SetBinContent(50,28.57143); h_SL2L330->SetBinContent(51,21.42857); h_SL2L330->SetBinContent(52,14.28571); h_SL2L330->SetBinContent(53,57.14286); h_SL2L330->SetBinContent(54,78.57143); h_SL2L330->SetBinContent(55,85.71429); h_SL2L330->SetBinContent(56,71.42857); h_SL2L330->SetBinContent(57,21.42857); h_SL2L330->SetMaximum(115); 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(4,7.142857); h_SL2L431->SetBinContent(5,14.28571); h_SL2L431->SetBinContent(6,14.28571); h_SL2L431->SetBinContent(7,14.28571); h_SL2L431->SetBinContent(8,14.28571); h_SL2L431->SetBinContent(13,14.28571); h_SL2L431->SetBinContent(14,28.57143); h_SL2L431->SetBinContent(15,21.42857); h_SL2L431->SetBinContent(16,21.42857); h_SL2L431->SetBinContent(17,78.57143); h_SL2L431->SetBinContent(18,57.14286); h_SL2L431->SetBinContent(19,42.85714); h_SL2L431->SetBinContent(20,78.57143); h_SL2L431->SetBinContent(33,21.42857); h_SL2L431->SetBinContent(34,7.142857); h_SL2L431->SetBinContent(35,14.28571); h_SL2L431->SetBinContent(36,21.42857); h_SL2L431->SetBinContent(49,14.28571); h_SL2L431->SetBinContent(50,14.28571); h_SL2L431->SetBinContent(51,21.42857); h_SL2L431->SetBinContent(52,21.42857); h_SL2L431->SetBinContent(54,7.142857); h_SL2L431->SetBinContent(56,7.142857); h_SL2L431->SetMaximum(115); 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,-97120.59,67.5,874085.2); 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(1,14.28571); h_SL3L132->SetBinContent(2,14.28571); h_SL3L132->SetBinContent(4,21.42857); h_SL3L132->SetBinContent(5,42.85714); h_SL3L132->SetBinContent(6,14.28571); h_SL3L132->SetBinContent(7,21.42857); h_SL3L132->SetBinContent(8,42.85714); h_SL3L132->SetBinContent(16,7.142857); h_SL3L132->SetBinContent(17,21.42857); h_SL3L132->SetBinContent(18,21.42857); h_SL3L132->SetBinContent(19,28.57143); h_SL3L132->SetBinContent(20,21.42857); h_SL3L132->SetBinContent(33,35.71429); h_SL3L132->SetBinContent(34,28.57143); h_SL3L132->SetBinContent(35,35.71429); h_SL3L132->SetBinContent(36,50); h_SL3L132->SetBinContent(41,35.71429); h_SL3L132->SetBinContent(42,14.28571); h_SL3L132->SetBinContent(43,35.71429); h_SL3L132->SetBinContent(44,42.85714); h_SL3L132->SetBinContent(49,21.42857); h_SL3L132->SetBinContent(50,21.42857); h_SL3L132->SetBinContent(51,14.28571); h_SL3L132->SetBinContent(52,21.42857); h_SL3L132->SetBinContent(53,35.71429); h_SL3L132->SetBinContent(54,28.57143); h_SL3L132->SetBinContent(55,21.42857); h_SL3L132->SetBinContent(56,21.42857); h_SL3L132->SetMaximum(776964.7); 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(1,57.14286); h_SL3L233->SetBinContent(2,35.71429); h_SL3L233->SetBinContent(4,64.28571); h_SL3L233->SetBinContent(5,42.85714); h_SL3L233->SetBinContent(6,28.57143); h_SL3L233->SetBinContent(7,28.57143); h_SL3L233->SetBinContent(8,50); h_SL3L233->SetBinContent(13,35.71429); h_SL3L233->SetBinContent(14,28.57143); h_SL3L233->SetBinContent(15,14.28571); h_SL3L233->SetBinContent(16,35.71429); h_SL3L233->SetBinContent(17,21.42857); h_SL3L233->SetBinContent(18,7.142857); h_SL3L233->SetBinContent(19,7.142857); h_SL3L233->SetBinContent(20,7.142857); h_SL3L233->SetBinContent(21,21.42857); h_SL3L233->SetBinContent(22,14.28571); h_SL3L233->SetBinContent(23,21.42857); h_SL3L233->SetBinContent(24,21.42857); h_SL3L233->SetBinContent(33,21.42857); h_SL3L233->SetBinContent(34,7.142857); h_SL3L233->SetBinContent(35,14.28571); h_SL3L233->SetBinContent(36,21.42857); h_SL3L233->SetBinContent(41,64.28571); h_SL3L233->SetBinContent(42,64.28571); h_SL3L233->SetBinContent(43,64.28571); h_SL3L233->SetBinContent(44,64.28571); h_SL3L233->SetBinContent(57,14.28571); h_SL3L233->SetBinContent(58,21.42857); h_SL3L233->SetBinContent(59,14.28571); h_SL3L233->SetMaximum(776964.7); 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(1,78.57143); h_SL3L334->SetBinContent(2,35.71429); h_SL3L334->SetBinContent(3,35.71429); h_SL3L334->SetBinContent(4,71.42857); h_SL3L334->SetBinContent(5,42.85714); h_SL3L334->SetBinContent(6,7.142857); h_SL3L334->SetBinContent(7,7.142857); h_SL3L334->SetBinContent(8,35.71429); h_SL3L334->SetBinContent(13,21.42857); h_SL3L334->SetBinContent(14,14.28571); h_SL3L334->SetBinContent(15,21.42857); h_SL3L334->SetBinContent(16,21.42857); h_SL3L334->SetBinContent(17,21.42857); h_SL3L334->SetBinContent(18,28.57143); h_SL3L334->SetBinContent(19,35.71429); h_SL3L334->SetBinContent(20,28.57143); h_SL3L334->SetBinContent(21,35.71429); h_SL3L334->SetBinContent(22,14.28571); h_SL3L334->SetBinContent(23,28.57143); h_SL3L334->SetBinContent(24,42.85714); h_SL3L334->SetBinContent(25,28.57143); h_SL3L334->SetBinContent(26,35.71429); h_SL3L334->SetBinContent(27,50); h_SL3L334->SetBinContent(28,28.57143); h_SL3L334->SetBinContent(33,21.42857); h_SL3L334->SetBinContent(34,14.28571); h_SL3L334->SetBinContent(35,14.28571); h_SL3L334->SetBinContent(36,42.85714); h_SL3L334->SetBinContent(37,21.42857); h_SL3L334->SetBinContent(38,21.42857); h_SL3L334->SetBinContent(39,28.57143); h_SL3L334->SetBinContent(40,21.42857); h_SL3L334->SetBinContent(49,14.28571); h_SL3L334->SetBinContent(50,14.28571); h_SL3L334->SetBinContent(51,21.42857); h_SL3L334->SetBinContent(52,14.28571); h_SL3L334->SetMaximum(776964.7); 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(3,7.142857); h_SL3L435->SetBinContent(9,21.42857); h_SL3L435->SetBinContent(10,7.142857); h_SL3L435->SetBinContent(11,14.28571); h_SL3L435->SetBinContent(12,21.42857); h_SL3L435->SetBinContent(21,35.71429); h_SL3L435->SetBinContent(22,28.57143); h_SL3L435->SetBinContent(23,42.85714); h_SL3L435->SetBinContent(24,21.42857); h_SL3L435->SetBinContent(25,42.85714); h_SL3L435->SetBinContent(26,28.57143); h_SL3L435->SetBinContent(27,28.57143); h_SL3L435->SetBinContent(28,50); h_SL3L435->SetBinContent(29,14.28571); h_SL3L435->SetBinContent(30,14.28571); h_SL3L435->SetBinContent(37,7.142857); h_SL3L435->SetBinContent(38,14.28571); h_SL3L435->SetBinContent(39,7.142857); h_SL3L435->SetBinContent(40,14.28571); h_SL3L435->SetBinContent(41,14.28571); h_SL3L435->SetBinContent(42,14.28571); h_SL3L435->SetBinContent(43,14.28571); h_SL3L435->SetBinContent(44,7.142857); h_SL3L435->SetBinContent(50,675621.4); h_SL3L435->SetBinContent(57,21.42857); h_SL3L435->SetBinContent(58,42.85714); h_SL3L435->SetBinContent(59,35.71429); h_SL3L435->SetMaximum(776964.7); 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,-8630.751,67.5,77676.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,47620); h_SL1L136->SetBinContent(2,51220); h_SL1L136->SetBinContent(3,49360); h_SL1L136->SetBinContent(4,47560); h_SL1L136->SetBinContent(5,41500); h_SL1L136->SetBinContent(6,46260); h_SL1L136->SetBinContent(7,44020); h_SL1L136->SetBinContent(8,46800); h_SL1L136->SetBinContent(9,44480); h_SL1L136->SetBinContent(10,46340); h_SL1L136->SetBinContent(11,49440); h_SL1L136->SetBinContent(12,47280); h_SL1L136->SetBinContent(13,46180); h_SL1L136->SetBinContent(14,43080); h_SL1L136->SetBinContent(15,41400); h_SL1L136->SetBinContent(16,37480); h_SL1L136->SetBinContent(17,40180); h_SL1L136->SetBinContent(18,42280); h_SL1L136->SetBinContent(19,41100); h_SL1L136->SetBinContent(20,43620); h_SL1L136->SetBinContent(21,41140); h_SL1L136->SetBinContent(22,43880); h_SL1L136->SetBinContent(23,41480); h_SL1L136->SetBinContent(24,36420); h_SL1L136->SetBinContent(25,32480); h_SL1L136->SetBinContent(26,36300); h_SL1L136->SetBinContent(27,34180); h_SL1L136->SetBinContent(28,34520); h_SL1L136->SetBinContent(29,35400); h_SL1L136->SetBinContent(30,33080); h_SL1L136->SetBinContent(31,31600); h_SL1L136->SetBinContent(32,31280); h_SL1L136->SetBinContent(33,34360); h_SL1L136->SetBinContent(34,34020); h_SL1L136->SetBinContent(35,34720); h_SL1L136->SetBinContent(36,33380); h_SL1L136->SetBinContent(37,34220); h_SL1L136->SetBinContent(38,35500); h_SL1L136->SetBinContent(39,34540); h_SL1L136->SetBinContent(40,31040); h_SL1L136->SetBinContent(41,33300); h_SL1L136->SetBinContent(42,33800); h_SL1L136->SetBinContent(43,33880); h_SL1L136->SetBinContent(44,33600); h_SL1L136->SetBinContent(45,32680); h_SL1L136->SetBinContent(46,30920); h_SL1L136->SetBinContent(47,31900); h_SL1L136->SetBinContent(48,31820); h_SL1L136->SetBinContent(49,34660); h_SL1L136->SetBinContent(50,36900); h_SL1L136->SetBinContent(51,38040); h_SL1L136->SetBinContent(52,36740); h_SL1L136->SetBinContent(53,36300); h_SL1L136->SetBinContent(54,34500); h_SL1L136->SetBinContent(55,36120); h_SL1L136->SetBinContent(56,42360); h_SL1L136->SetBinContent(57,49140); h_SL1L136->SetBinContent(58,56820); h_SL1L136->SetBinContent(59,60040); h_SL1L136->SetMaximum(69046); 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(5,20); h_SL1L237->SetBinContent(6,20); h_SL1L237->SetBinContent(8,20); h_SL1L237->SetBinContent(13,100); h_SL1L237->SetBinContent(14,80); h_SL1L237->SetBinContent(15,80); h_SL1L237->SetBinContent(16,100); h_SL1L237->SetBinContent(45,60); h_SL1L237->SetBinContent(46,40); h_SL1L237->SetBinContent(48,20); h_SL1L237->SetBinContent(53,60); h_SL1L237->SetBinContent(54,20); h_SL1L237->SetBinContent(55,40); h_SL1L237->SetBinContent(56,60); h_SL1L237->SetBinContent(57,80); h_SL1L237->SetBinContent(58,120); h_SL1L237->SetBinContent(59,80); h_SL1L237->SetMaximum(69046); 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(5,20); h_SL1L338->SetBinContent(8,20); h_SL1L338->SetBinContent(13,60); h_SL1L338->SetBinContent(16,80); h_SL1L338->SetBinContent(33,20); h_SL1L338->SetBinContent(34,20); h_SL1L338->SetBinContent(35,20); h_SL1L338->SetBinContent(36,40); h_SL1L338->SetBinContent(53,60); h_SL1L338->SetBinContent(54,40); h_SL1L338->SetBinContent(56,60); h_SL1L338->SetBinContent(57,60); h_SL1L338->SetBinContent(58,40); h_SL1L338->SetMaximum(69046); 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,42920); h_SL1L439->SetBinContent(3,42880); h_SL1L439->SetBinContent(4,39800); h_SL1L439->SetBinContent(5,36360); h_SL1L439->SetBinContent(6,38620); h_SL1L439->SetBinContent(7,36880); h_SL1L439->SetBinContent(8,41080); h_SL1L439->SetBinContent(9,42440); h_SL1L439->SetBinContent(10,49260); h_SL1L439->SetBinContent(11,53840); h_SL1L439->SetBinContent(12,57440); h_SL1L439->SetBinContent(13,58000); h_SL1L439->SetBinContent(14,59880); h_SL1L439->SetBinContent(15,56020); h_SL1L439->SetBinContent(16,50620); h_SL1L439->SetBinContent(17,45280); h_SL1L439->SetBinContent(18,48820); h_SL1L439->SetBinContent(19,47180); h_SL1L439->SetBinContent(20,45740); h_SL1L439->SetBinContent(21,46140); h_SL1L439->SetBinContent(22,46060); h_SL1L439->SetBinContent(23,45200); h_SL1L439->SetBinContent(24,45420); h_SL1L439->SetBinContent(25,40500); h_SL1L439->SetBinContent(26,40660); h_SL1L439->SetBinContent(27,40180); h_SL1L439->SetBinContent(28,41440); h_SL1L439->SetBinContent(29,38500); h_SL1L439->SetBinContent(30,39820); h_SL1L439->SetBinContent(31,37840); h_SL1L439->SetBinContent(32,35460); h_SL1L439->SetBinContent(33,34200); h_SL1L439->SetBinContent(34,35080); h_SL1L439->SetBinContent(35,37340); h_SL1L439->SetBinContent(36,35560); h_SL1L439->SetBinContent(37,30200); h_SL1L439->SetBinContent(38,30280); h_SL1L439->SetBinContent(39,30980); h_SL1L439->SetBinContent(40,28500); h_SL1L439->SetBinContent(41,27680); h_SL1L439->SetBinContent(42,28480); h_SL1L439->SetBinContent(43,34340); h_SL1L439->SetBinContent(44,30480); h_SL1L439->SetBinContent(45,26400); h_SL1L439->SetBinContent(46,28880); h_SL1L439->SetBinContent(47,29300); h_SL1L439->SetBinContent(48,27580); h_SL1L439->SetBinContent(49,26680); h_SL1L439->SetBinContent(50,30100); h_SL1L439->SetBinContent(51,30620); h_SL1L439->SetBinContent(52,29980); h_SL1L439->SetBinContent(53,30800); h_SL1L439->SetBinContent(54,30280); h_SL1L439->SetBinContent(56,34520); h_SL1L439->SetBinContent(57,40300); h_SL1L439->SetBinContent(58,51300); h_SL1L439->SetBinContent(59,56220); h_SL1L439->SetMaximum(69046); 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,-11.5,67.5,103.5); 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(19,20); h_SL2L140->SetBinContent(20,40); h_SL2L140->SetBinContent(53,40); h_SL2L140->SetBinContent(54,60); h_SL2L140->SetBinContent(55,80); h_SL2L140->SetBinContent(56,80); h_SL2L140->SetBinContent(57,20); h_SL2L140->SetMaximum(92); 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(1,40); h_SL2L241->SetBinContent(2,60); h_SL2L241->SetBinContent(3,60); h_SL2L241->SetBinContent(4,40); h_SL2L241->SetBinContent(41,20); h_SL2L241->SetBinContent(42,20); h_SL2L241->SetBinContent(43,40); h_SL2L241->SetBinContent(44,40); h_SL2L241->SetBinContent(53,20); h_SL2L241->SetBinContent(54,40); h_SL2L241->SetBinContent(55,40); h_SL2L241->SetBinContent(56,20); h_SL2L241->SetBinContent(57,20); h_SL2L241->SetMaximum(92); 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(51,20); h_SL2L342->SetBinContent(57,60); h_SL2L342->SetMaximum(92); 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(17,40); h_SL2L443->SetBinContent(18,40); h_SL2L443->SetBinContent(19,40); h_SL2L443->SetBinContent(20,60); h_SL2L443->SetBinContent(33,60); h_SL2L443->SetBinContent(34,20); h_SL2L443->SetBinContent(35,40); h_SL2L443->SetBinContent(36,60); h_SL2L443->SetBinContent(49,40); h_SL2L443->SetBinContent(50,40); h_SL2L443->SetBinContent(51,40); h_SL2L443->SetBinContent(52,40); h_SL2L443->SetMaximum(92); 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,-97321.63,67.5,875894.6); 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(5,80); h_SL3L144->SetBinContent(6,20); h_SL3L144->SetBinContent(7,60); h_SL3L144->SetBinContent(8,100); h_SL3L144->SetBinContent(16,20); h_SL3L144->SetBinContent(17,40); h_SL3L144->SetBinContent(18,60); h_SL3L144->SetBinContent(19,60); h_SL3L144->SetBinContent(20,40); h_SL3L144->SetBinContent(41,20); h_SL3L144->SetBinContent(43,40); h_SL3L144->SetBinContent(44,40); h_SL3L144->SetMaximum(778573); 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(1,100); h_SL3L245->SetBinContent(2,60); h_SL3L245->SetBinContent(4,100); h_SL3L245->SetBinContent(5,100); h_SL3L245->SetBinContent(6,80); h_SL3L245->SetBinContent(7,80); h_SL3L245->SetBinContent(8,120); h_SL3L245->SetBinContent(16,20); h_SL3L245->SetBinContent(17,20); h_SL3L245->SetBinContent(20,20); h_SL3L245->SetBinContent(21,60); h_SL3L245->SetBinContent(22,40); h_SL3L245->SetBinContent(23,60); h_SL3L245->SetBinContent(24,60); h_SL3L245->SetBinContent(33,60); h_SL3L245->SetBinContent(34,20); h_SL3L245->SetBinContent(35,40); h_SL3L245->SetBinContent(36,60); h_SL3L245->SetMaximum(778573); 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(1,20); h_SL3L346->SetBinContent(2,20); h_SL3L346->SetBinContent(3,20); h_SL3L346->SetBinContent(4,20); h_SL3L346->SetBinContent(5,60); h_SL3L346->SetBinContent(6,20); h_SL3L346->SetBinContent(7,20); h_SL3L346->SetBinContent(8,40); h_SL3L346->SetBinContent(17,20); h_SL3L346->SetBinContent(18,40); h_SL3L346->SetBinContent(19,60); h_SL3L346->SetBinContent(20,60); h_SL3L346->SetBinContent(21,40); h_SL3L346->SetBinContent(24,40); h_SL3L346->SetBinContent(33,40); h_SL3L346->SetBinContent(36,80); h_SL3L346->SetBinContent(49,20); h_SL3L346->SetBinContent(50,20); h_SL3L346->SetBinContent(51,20); h_SL3L346->SetBinContent(52,20); h_SL3L346->SetMaximum(778573); 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(9,60); h_SL3L447->SetBinContent(10,20); h_SL3L447->SetBinContent(11,40); h_SL3L447->SetBinContent(12,60); h_SL3L447->SetBinContent(21,20); h_SL3L447->SetBinContent(22,40); h_SL3L447->SetBinContent(23,40); h_SL3L447->SetBinContent(24,40); h_SL3L447->SetBinContent(25,100); h_SL3L447->SetBinContent(26,80); h_SL3L447->SetBinContent(27,80); h_SL3L447->SetBinContent(28,100); h_SL3L447->SetBinContent(29,40); h_SL3L447->SetBinContent(30,40); h_SL3L447->SetBinContent(37,20); h_SL3L447->SetBinContent(38,40); h_SL3L447->SetBinContent(39,20); h_SL3L447->SetBinContent(40,40); h_SL3L447->SetBinContent(50,677020); h_SL3L447->SetBinContent(57,40); h_SL3L447->SetBinContent(58,60); h_SL3L447->SetBinContent(59,40); h_SL3L447->SetMaximum(778573); 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 6141"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }