void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Wed Jan 16 11:03:49 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,-22423.98,67.5,201815.8); 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,85678.57); h_SL1L124->SetBinContent(2,89964.28); h_SL1L124->SetBinContent(3,90007.14); h_SL1L124->SetBinContent(4,82342.86); h_SL1L124->SetBinContent(5,72407.14); h_SL1L124->SetBinContent(6,74492.86); h_SL1L124->SetBinContent(7,74557.14); h_SL1L124->SetBinContent(8,78892.86); h_SL1L124->SetBinContent(9,76114.28); h_SL1L124->SetBinContent(10,76885.71); h_SL1L124->SetBinContent(11,78607.14); h_SL1L124->SetBinContent(12,75192.86); h_SL1L124->SetBinContent(13,72714.28); h_SL1L124->SetBinContent(14,66942.86); h_SL1L124->SetBinContent(15,60264.29); h_SL1L124->SetBinContent(16,59328.57); h_SL1L124->SetBinContent(17,60142.86); h_SL1L124->SetBinContent(18,61178.57); h_SL1L124->SetBinContent(19,61550); h_SL1L124->SetBinContent(20,58900); h_SL1L124->SetBinContent(21,60671.43); h_SL1L124->SetBinContent(22,59000); h_SL1L124->SetBinContent(23,54257.14); h_SL1L124->SetBinContent(24,49607.14); h_SL1L124->SetBinContent(25,46571.43); h_SL1L124->SetBinContent(26,48942.86); h_SL1L124->SetBinContent(27,47378.57); h_SL1L124->SetBinContent(28,49442.86); h_SL1L124->SetBinContent(29,52757.14); h_SL1L124->SetBinContent(30,49357.14); h_SL1L124->SetBinContent(31,49142.86); h_SL1L124->SetBinContent(32,46578.57); h_SL1L124->SetBinContent(33,4692.857); h_SL1L124->SetBinContent(34,4607.143); h_SL1L124->SetBinContent(35,4514.286); h_SL1L124->SetBinContent(36,4542.857); h_SL1L124->SetBinContent(37,4471.429); h_SL1L124->SetBinContent(38,4771.429); h_SL1L124->SetBinContent(39,4435.714); h_SL1L124->SetBinContent(40,4442.857); h_SL1L124->SetBinContent(41,4421.429); h_SL1L124->SetBinContent(42,4435.714); h_SL1L124->SetBinContent(43,4664.286); h_SL1L124->SetBinContent(44,4721.429); h_SL1L124->SetBinContent(45,4121.429); h_SL1L124->SetBinContent(46,4207.143); h_SL1L124->SetBinContent(47,3742.857); h_SL1L124->SetBinContent(48,4214.286); h_SL1L124->SetBinContent(49,47228.57); h_SL1L124->SetBinContent(50,49500); h_SL1L124->SetBinContent(51,51250); h_SL1L124->SetBinContent(52,51428.57); h_SL1L124->SetBinContent(53,50285.71); h_SL1L124->SetBinContent(54,50328.57); h_SL1L124->SetBinContent(55,51335.71); h_SL1L124->SetBinContent(56,57300); h_SL1L124->SetBinContent(57,76642.86); h_SL1L124->SetBinContent(58,88564.28); h_SL1L124->SetBinContent(59,96164.28); h_SL1L124->SetMaximum(179391.8); 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,120428.6); h_SL1L225->SetBinContent(2,125321.4); h_SL1L225->SetBinContent(3,128850); h_SL1L225->SetBinContent(4,132135.7); h_SL1L225->SetBinContent(5,134114.3); h_SL1L225->SetBinContent(6,140800); h_SL1L225->SetBinContent(7,139957.1); h_SL1L225->SetBinContent(8,149171.4); h_SL1L225->SetBinContent(9,149835.7); h_SL1L225->SetBinContent(10,145414.3); h_SL1L225->SetBinContent(11,153307.1); h_SL1L225->SetBinContent(12,155992.9); h_SL1L225->SetBinContent(13,152057.1); h_SL1L225->SetBinContent(14,155450); h_SL1L225->SetBinContent(15,155535.7); h_SL1L225->SetBinContent(16,142235.7); h_SL1L225->SetBinContent(17,139914.3); h_SL1L225->SetBinContent(18,149335.7); h_SL1L225->SetBinContent(19,146242.9); h_SL1L225->SetBinContent(20,148400); h_SL1L225->SetBinContent(21,149564.3); h_SL1L225->SetBinContent(22,144457.1); h_SL1L225->SetBinContent(23,143442.9); h_SL1L225->SetBinContent(24,138500); h_SL1L225->SetBinContent(25,140157.1); h_SL1L225->SetBinContent(26,126007.1); h_SL1L225->SetBinContent(27,128042.9); h_SL1L225->SetBinContent(28,136485.7); h_SL1L225->SetBinContent(29,147885.7); h_SL1L225->SetBinContent(30,151278.6); h_SL1L225->SetBinContent(31,152085.7); h_SL1L225->SetBinContent(32,152350); h_SL1L225->SetBinContent(33,13557.14); h_SL1L225->SetBinContent(34,13378.57); h_SL1L225->SetBinContent(35,13057.14); h_SL1L225->SetBinContent(36,12328.57); h_SL1L225->SetBinContent(37,12050); h_SL1L225->SetBinContent(38,12542.86); h_SL1L225->SetBinContent(39,12921.43); h_SL1L225->SetBinContent(40,12742.86); h_SL1L225->SetBinContent(41,13428.57); h_SL1L225->SetBinContent(42,13671.43); h_SL1L225->SetBinContent(43,13442.86); h_SL1L225->SetBinContent(44,13642.86); h_SL1L225->SetBinContent(45,14000); h_SL1L225->SetBinContent(46,12885.71); h_SL1L225->SetBinContent(47,12857.14); h_SL1L225->SetBinContent(48,13442.86); h_SL1L225->SetBinContent(49,150507.1); h_SL1L225->SetBinContent(50,152828.6); h_SL1L225->SetBinContent(51,146307.1); h_SL1L225->SetBinContent(52,149778.6); h_SL1L225->SetBinContent(53,153364.3); h_SL1L225->SetBinContent(54,148635.7); h_SL1L225->SetBinContent(55,151128.6); h_SL1L225->SetBinContent(56,149464.3); h_SL1L225->SetBinContent(57,148000); h_SL1L225->SetBinContent(58,150242.9); h_SL1L225->SetBinContent(59,149528.6); h_SL1L225->SetMaximum(179391.8); 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,114814.3); h_SL1L326->SetBinContent(2,117042.9); h_SL1L326->SetBinContent(3,120650); h_SL1L326->SetBinContent(4,125207.1); h_SL1L326->SetBinContent(5,126685.7); h_SL1L326->SetBinContent(6,128771.4); h_SL1L326->SetBinContent(7,134385.7); h_SL1L326->SetBinContent(8,138492.9); h_SL1L326->SetBinContent(9,132392.9); h_SL1L326->SetBinContent(10,141035.7); h_SL1L326->SetBinContent(11,143878.6); h_SL1L326->SetBinContent(12,143928.6); h_SL1L326->SetBinContent(13,140750); h_SL1L326->SetBinContent(14,143100); h_SL1L326->SetBinContent(15,134964.3); h_SL1L326->SetBinContent(16,128421.4); h_SL1L326->SetBinContent(17,132521.4); h_SL1L326->SetBinContent(18,136607.1); h_SL1L326->SetBinContent(19,134814.3); h_SL1L326->SetBinContent(20,138057.1); h_SL1L326->SetBinContent(21,136878.6); h_SL1L326->SetBinContent(22,132921.4); h_SL1L326->SetBinContent(23,131257.1); h_SL1L326->SetBinContent(24,127035.7); h_SL1L326->SetBinContent(25,118678.6); h_SL1L326->SetBinContent(26,117721.4); h_SL1L326->SetBinContent(27,123235.7); h_SL1L326->SetBinContent(28,133328.6); h_SL1L326->SetBinContent(29,137342.9); h_SL1L326->SetBinContent(30,140650); h_SL1L326->SetBinContent(31,142478.6); h_SL1L326->SetBinContent(32,140742.9); h_SL1L326->SetBinContent(33,12864.29); h_SL1L326->SetBinContent(34,12321.43); h_SL1L326->SetBinContent(35,11864.29); h_SL1L326->SetBinContent(36,11535.71); h_SL1L326->SetBinContent(37,11250); h_SL1L326->SetBinContent(38,12121.43); h_SL1L326->SetBinContent(39,11914.29); h_SL1L326->SetBinContent(40,11207.14); h_SL1L326->SetBinContent(41,12085.71); h_SL1L326->SetBinContent(42,13314.29); h_SL1L326->SetBinContent(43,13200); h_SL1L326->SetBinContent(44,12492.86); h_SL1L326->SetBinContent(45,12485.71); h_SL1L326->SetBinContent(46,12050); h_SL1L326->SetBinContent(47,12642.86); h_SL1L326->SetBinContent(48,12392.86); h_SL1L326->SetBinContent(49,141457.1); h_SL1L326->SetBinContent(50,137850); h_SL1L326->SetBinContent(51,135885.7); h_SL1L326->SetBinContent(52,138128.6); h_SL1L326->SetBinContent(53,134492.9); h_SL1L326->SetBinContent(54,133892.9); h_SL1L326->SetBinContent(55,135135.7); h_SL1L326->SetBinContent(56,133578.6); h_SL1L326->SetBinContent(57,136592.9); h_SL1L326->SetBinContent(58,138128.6); h_SL1L326->SetBinContent(59,136164.3); h_SL1L326->SetMaximum(179391.8); 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,76014.28); h_SL1L427->SetBinContent(3,71457.14); h_SL1L427->SetBinContent(4,68328.57); h_SL1L427->SetBinContent(5,64578.57); h_SL1L427->SetBinContent(6,63157.14); h_SL1L427->SetBinContent(7,62564.29); h_SL1L427->SetBinContent(8,67600); h_SL1L427->SetBinContent(9,74257.14); h_SL1L427->SetBinContent(10,84914.28); h_SL1L427->SetBinContent(11,95921.43); h_SL1L427->SetBinContent(12,100321.4); h_SL1L427->SetBinContent(13,102021.4); h_SL1L427->SetBinContent(14,102214.3); h_SL1L427->SetBinContent(15,96700); h_SL1L427->SetBinContent(16,86657.14); h_SL1L427->SetBinContent(17,79842.86); h_SL1L427->SetBinContent(18,79314.28); h_SL1L427->SetBinContent(19,75850); h_SL1L427->SetBinContent(20,73700); h_SL1L427->SetBinContent(21,71664.28); h_SL1L427->SetBinContent(22,70178.57); h_SL1L427->SetBinContent(23,68707.14); h_SL1L427->SetBinContent(24,68157.14); h_SL1L427->SetBinContent(25,59857.14); h_SL1L427->SetBinContent(26,61271.43); h_SL1L427->SetBinContent(27,59385.71); h_SL1L427->SetBinContent(28,62600); h_SL1L427->SetBinContent(29,62271.43); h_SL1L427->SetBinContent(30,62785.71); h_SL1L427->SetBinContent(31,61150); h_SL1L427->SetBinContent(32,57957.14); h_SL1L427->SetBinContent(33,4971.429); h_SL1L427->SetBinContent(34,4542.857); h_SL1L427->SetBinContent(35,4535.714); h_SL1L427->SetBinContent(36,3957.143); h_SL1L427->SetBinContent(37,3264.286); h_SL1L427->SetBinContent(38,3678.571); h_SL1L427->SetBinContent(39,4450); h_SL1L427->SetBinContent(40,3721.428); h_SL1L427->SetBinContent(41,3592.857); h_SL1L427->SetBinContent(42,3728.571); h_SL1L427->SetBinContent(43,4235.714); h_SL1L427->SetBinContent(44,3978.571); h_SL1L427->SetBinContent(45,3085.714); h_SL1L427->SetBinContent(46,3592.857); h_SL1L427->SetBinContent(47,3214.286); h_SL1L427->SetBinContent(48,3464.286); h_SL1L427->SetBinContent(49,36128.57); h_SL1L427->SetBinContent(50,37778.57); h_SL1L427->SetBinContent(51,38364.29); h_SL1L427->SetBinContent(52,41414.29); h_SL1L427->SetBinContent(53,39214.29); h_SL1L427->SetBinContent(54,40121.43); h_SL1L427->SetBinContent(56,47921.43); h_SL1L427->SetBinContent(57,57378.57); h_SL1L427->SetBinContent(58,79471.43); h_SL1L427->SetBinContent(59,85328.57); h_SL1L427->SetMaximum(179391.8); 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,-6.160715,67.5,55.44643); 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(49,7.142857); h_SL2L128->SetBinContent(55,14.28571); h_SL2L128->SetBinContent(56,14.28571); h_SL2L128->SetBinContent(57,7.142857); h_SL2L128->SetMaximum(49.28571); 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,21.42857); h_SL2L229->SetBinContent(35,7.142857); h_SL2L229->SetBinContent(36,14.28571); h_SL2L229->SetBinContent(49,21.42857); h_SL2L229->SetBinContent(51,7.142857); h_SL2L229->SetBinContent(55,21.42857); h_SL2L229->SetBinContent(56,14.28571); h_SL2L229->SetMaximum(49.28571); 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(40,42.85714); h_SL2L330->SetBinContent(52,7.142857); h_SL2L330->SetBinContent(54,42.85714); h_SL2L330->SetBinContent(55,21.42857); h_SL2L330->SetBinContent(56,28.57143); h_SL2L330->SetMaximum(49.28571); 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(49,21.42857); h_SL2L431->SetBinContent(55,7.142857); h_SL2L431->SetBinContent(56,14.28571); h_SL2L431->SetMaximum(49.28571); 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,-95.49108,67.5,859.4196); 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(763.9286); 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(763.9286); 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(763.9286); h_SL3L334->SetEntries(60); h_SL3L334->SetDirectory(0); h_SL3L334->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L334->SetLineColor(ci); h_SL3L334->SetLineWidth(2); h_SL3L334->GetXaxis()->SetTitle("Cell"); h_SL3L334->GetXaxis()->SetLabelFont(42); h_SL3L334->GetXaxis()->SetLabelSize(0.035); h_SL3L334->GetXaxis()->SetTitleSize(0.035); h_SL3L334->GetXaxis()->SetTitleFont(42); h_SL3L334->GetYaxis()->SetTitle("Hz per wire"); h_SL3L334->GetYaxis()->SetLabelFont(42); h_SL3L334->GetYaxis()->SetLabelSize(0.035); h_SL3L334->GetYaxis()->SetTitleSize(0.035); h_SL3L334->GetYaxis()->SetTitleOffset(1.45); h_SL3L334->GetYaxis()->SetTitleFont(42); h_SL3L334->GetZaxis()->SetLabelFont(42); h_SL3L334->GetZaxis()->SetLabelSize(0.035); h_SL3L334->GetZaxis()->SetTitleSize(0.035); h_SL3L334->GetZaxis()->SetTitleFont(42); h_SL3L334->Draw("hist, same"); TH1D *h_SL3L435 = new TH1D("h_SL3L435","Occupancy",60,0,60); h_SL3L435->SetBinContent(50,664.2857); h_SL3L435->SetMaximum(763.9286); 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,-22948.25,67.5,206534.3); 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,87320); h_SL1L136->SetBinContent(2,91600); h_SL1L136->SetBinContent(3,90980); h_SL1L136->SetBinContent(4,83560); h_SL1L136->SetBinContent(5,72760); h_SL1L136->SetBinContent(6,72960); h_SL1L136->SetBinContent(7,74220); h_SL1L136->SetBinContent(8,80060); h_SL1L136->SetBinContent(9,76480); h_SL1L136->SetBinContent(10,77480); h_SL1L136->SetBinContent(11,77480); h_SL1L136->SetBinContent(12,75440); h_SL1L136->SetBinContent(13,72280); h_SL1L136->SetBinContent(14,66440); h_SL1L136->SetBinContent(15,59980); h_SL1L136->SetBinContent(16,58180); h_SL1L136->SetBinContent(17,60720); h_SL1L136->SetBinContent(18,61500); h_SL1L136->SetBinContent(19,60180); h_SL1L136->SetBinContent(20,58360); h_SL1L136->SetBinContent(21,60500); h_SL1L136->SetBinContent(22,58240); h_SL1L136->SetBinContent(23,53280); h_SL1L136->SetBinContent(24,48440); h_SL1L136->SetBinContent(25,46520); h_SL1L136->SetBinContent(26,48760); h_SL1L136->SetBinContent(27,47900); h_SL1L136->SetBinContent(28,47580); h_SL1L136->SetBinContent(29,54880); h_SL1L136->SetBinContent(30,48040); h_SL1L136->SetBinContent(31,49420); h_SL1L136->SetBinContent(32,46340); h_SL1L136->SetBinContent(33,5140); h_SL1L136->SetBinContent(34,4440); h_SL1L136->SetBinContent(35,4160); h_SL1L136->SetBinContent(36,4760); h_SL1L136->SetBinContent(37,4100); h_SL1L136->SetBinContent(38,5100); h_SL1L136->SetBinContent(39,4220); h_SL1L136->SetBinContent(40,4340); h_SL1L136->SetBinContent(41,4180); h_SL1L136->SetBinContent(42,4360); h_SL1L136->SetBinContent(43,4560); h_SL1L136->SetBinContent(44,4920); h_SL1L136->SetBinContent(45,4280); h_SL1L136->SetBinContent(46,4300); h_SL1L136->SetBinContent(47,3660); h_SL1L136->SetBinContent(48,4460); h_SL1L136->SetBinContent(49,46860); h_SL1L136->SetBinContent(50,50140); h_SL1L136->SetBinContent(51,52420); h_SL1L136->SetBinContent(52,50840); h_SL1L136->SetBinContent(53,51120); h_SL1L136->SetBinContent(54,50360); h_SL1L136->SetBinContent(55,50120); h_SL1L136->SetBinContent(56,57360); h_SL1L136->SetBinContent(57,77220); h_SL1L136->SetBinContent(58,88240); h_SL1L136->SetBinContent(59,96280); h_SL1L136->SetMaximum(183586); 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,120880); h_SL1L237->SetBinContent(2,127440); h_SL1L237->SetBinContent(3,127880); h_SL1L237->SetBinContent(4,132800); h_SL1L237->SetBinContent(5,136440); h_SL1L237->SetBinContent(6,140860); h_SL1L237->SetBinContent(7,138980); h_SL1L237->SetBinContent(8,148320); h_SL1L237->SetBinContent(9,152080); h_SL1L237->SetBinContent(10,148280); h_SL1L237->SetBinContent(11,151100); h_SL1L237->SetBinContent(12,159640); h_SL1L237->SetBinContent(13,151880); h_SL1L237->SetBinContent(14,156840); h_SL1L237->SetBinContent(15,157720); h_SL1L237->SetBinContent(16,141560); h_SL1L237->SetBinContent(17,138440); h_SL1L237->SetBinContent(18,150420); h_SL1L237->SetBinContent(19,143320); h_SL1L237->SetBinContent(20,147380); h_SL1L237->SetBinContent(21,149200); h_SL1L237->SetBinContent(22,146000); h_SL1L237->SetBinContent(23,143080); h_SL1L237->SetBinContent(24,139340); h_SL1L237->SetBinContent(25,140000); h_SL1L237->SetBinContent(26,125540); h_SL1L237->SetBinContent(27,125700); h_SL1L237->SetBinContent(28,138660); h_SL1L237->SetBinContent(29,148160); h_SL1L237->SetBinContent(30,148800); h_SL1L237->SetBinContent(31,153040); h_SL1L237->SetBinContent(32,153620); h_SL1L237->SetBinContent(33,13800); h_SL1L237->SetBinContent(34,14580); h_SL1L237->SetBinContent(35,13340); h_SL1L237->SetBinContent(36,11880); h_SL1L237->SetBinContent(37,12100); h_SL1L237->SetBinContent(38,12600); h_SL1L237->SetBinContent(39,12880); h_SL1L237->SetBinContent(40,12720); h_SL1L237->SetBinContent(41,14120); h_SL1L237->SetBinContent(42,13360); h_SL1L237->SetBinContent(43,14180); h_SL1L237->SetBinContent(44,13260); h_SL1L237->SetBinContent(45,13680); h_SL1L237->SetBinContent(46,12780); h_SL1L237->SetBinContent(47,12880); h_SL1L237->SetBinContent(48,13480); h_SL1L237->SetBinContent(49,151560); h_SL1L237->SetBinContent(50,151820); h_SL1L237->SetBinContent(51,146720); h_SL1L237->SetBinContent(52,150340); h_SL1L237->SetBinContent(53,155560); h_SL1L237->SetBinContent(54,150460); h_SL1L237->SetBinContent(55,150360); h_SL1L237->SetBinContent(56,151680); h_SL1L237->SetBinContent(57,145580); h_SL1L237->SetBinContent(58,150500); h_SL1L237->SetBinContent(59,148540); h_SL1L237->SetMaximum(183586); 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,117180); h_SL1L338->SetBinContent(2,115920); h_SL1L338->SetBinContent(3,120020); h_SL1L338->SetBinContent(4,124020); h_SL1L338->SetBinContent(5,127660); h_SL1L338->SetBinContent(6,129080); h_SL1L338->SetBinContent(7,133520); h_SL1L338->SetBinContent(8,138540); h_SL1L338->SetBinContent(9,133320); h_SL1L338->SetBinContent(10,141720); h_SL1L338->SetBinContent(11,142920); h_SL1L338->SetBinContent(12,144700); h_SL1L338->SetBinContent(13,138800); h_SL1L338->SetBinContent(14,144260); h_SL1L338->SetBinContent(15,133700); h_SL1L338->SetBinContent(16,127000); h_SL1L338->SetBinContent(17,131060); h_SL1L338->SetBinContent(18,135700); h_SL1L338->SetBinContent(19,134560); h_SL1L338->SetBinContent(20,139520); h_SL1L338->SetBinContent(21,137880); h_SL1L338->SetBinContent(22,133800); h_SL1L338->SetBinContent(23,131880); h_SL1L338->SetBinContent(24,126240); h_SL1L338->SetBinContent(25,117680); h_SL1L338->SetBinContent(26,117160); h_SL1L338->SetBinContent(27,123880); h_SL1L338->SetBinContent(28,132080); h_SL1L338->SetBinContent(29,137960); h_SL1L338->SetBinContent(30,138320); h_SL1L338->SetBinContent(31,143540); h_SL1L338->SetBinContent(32,140680); h_SL1L338->SetBinContent(33,13140); h_SL1L338->SetBinContent(34,12340); h_SL1L338->SetBinContent(35,11460); h_SL1L338->SetBinContent(36,11540); h_SL1L338->SetBinContent(37,11480); h_SL1L338->SetBinContent(38,11820); h_SL1L338->SetBinContent(39,12220); h_SL1L338->SetBinContent(40,11140); h_SL1L338->SetBinContent(41,11620); h_SL1L338->SetBinContent(42,13660); h_SL1L338->SetBinContent(43,14080); h_SL1L338->SetBinContent(44,12660); h_SL1L338->SetBinContent(45,13040); h_SL1L338->SetBinContent(46,12640); h_SL1L338->SetBinContent(47,12240); h_SL1L338->SetBinContent(48,12020); h_SL1L338->SetBinContent(49,140200); h_SL1L338->SetBinContent(50,138360); h_SL1L338->SetBinContent(51,135880); h_SL1L338->SetBinContent(52,137300); h_SL1L338->SetBinContent(53,135100); h_SL1L338->SetBinContent(54,135100); h_SL1L338->SetBinContent(55,138360); h_SL1L338->SetBinContent(56,133580); h_SL1L338->SetBinContent(57,135400); h_SL1L338->SetBinContent(58,140740); h_SL1L338->SetBinContent(59,136700); h_SL1L338->SetMaximum(183586); 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,75540); h_SL1L439->SetBinContent(3,72460); h_SL1L439->SetBinContent(4,68620); h_SL1L439->SetBinContent(5,64200); h_SL1L439->SetBinContent(6,62800); h_SL1L439->SetBinContent(7,62440); h_SL1L439->SetBinContent(8,68640); h_SL1L439->SetBinContent(9,75360); h_SL1L439->SetBinContent(10,85760); h_SL1L439->SetBinContent(11,96120); h_SL1L439->SetBinContent(12,99860); h_SL1L439->SetBinContent(13,101720); h_SL1L439->SetBinContent(14,100160); h_SL1L439->SetBinContent(15,95420); h_SL1L439->SetBinContent(16,86900); h_SL1L439->SetBinContent(17,80140); h_SL1L439->SetBinContent(18,79300); h_SL1L439->SetBinContent(19,76940); h_SL1L439->SetBinContent(20,73180); h_SL1L439->SetBinContent(21,71880); h_SL1L439->SetBinContent(22,69600); h_SL1L439->SetBinContent(23,70800); h_SL1L439->SetBinContent(24,67980); h_SL1L439->SetBinContent(25,60460); h_SL1L439->SetBinContent(26,62220); h_SL1L439->SetBinContent(27,61660); h_SL1L439->SetBinContent(28,60660); h_SL1L439->SetBinContent(29,61260); h_SL1L439->SetBinContent(30,63200); h_SL1L439->SetBinContent(31,60340); h_SL1L439->SetBinContent(32,56980); h_SL1L439->SetBinContent(33,5120); h_SL1L439->SetBinContent(34,4340); h_SL1L439->SetBinContent(35,4220); h_SL1L439->SetBinContent(36,3600); h_SL1L439->SetBinContent(37,3280); h_SL1L439->SetBinContent(38,3600); h_SL1L439->SetBinContent(39,3920); h_SL1L439->SetBinContent(40,3520); h_SL1L439->SetBinContent(41,3540); h_SL1L439->SetBinContent(42,3680); h_SL1L439->SetBinContent(43,4200); h_SL1L439->SetBinContent(44,4220); h_SL1L439->SetBinContent(45,2600); h_SL1L439->SetBinContent(46,3660); h_SL1L439->SetBinContent(47,3240); h_SL1L439->SetBinContent(48,3380); h_SL1L439->SetBinContent(49,35740); h_SL1L439->SetBinContent(50,38500); h_SL1L439->SetBinContent(51,38440); h_SL1L439->SetBinContent(52,41440); h_SL1L439->SetBinContent(53,38700); h_SL1L439->SetBinContent(54,39880); h_SL1L439->SetBinContent(56,48560); h_SL1L439->SetBinContent(57,57000); h_SL1L439->SetBinContent(58,79800); h_SL1L439->SetBinContent(59,83920); h_SL1L439->SetMaximum(183586); 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(49,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(33,40); h_SL2L241->SetBinContent(36,20); h_SL2L241->SetBinContent(49,60); h_SL2L241->SetBinContent(51,20); h_SL2L241->SetBinContent(55,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(52,20); h_SL2L342->SetBinContent(54,80); h_SL2L342->SetBinContent(56,20); 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(49,20); 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,-77.62501,67.5,698.625); 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(621); 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(621); 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(621); h_SL3L346->SetEntries(60); h_SL3L346->SetDirectory(0); h_SL3L346->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L346->SetLineColor(ci); h_SL3L346->SetLineWidth(2); h_SL3L346->GetXaxis()->SetTitle("Cell"); h_SL3L346->GetXaxis()->SetLabelFont(42); h_SL3L346->GetXaxis()->SetLabelSize(0.035); h_SL3L346->GetXaxis()->SetTitleSize(0.035); h_SL3L346->GetXaxis()->SetTitleFont(42); h_SL3L346->GetYaxis()->SetTitle("Hz per wire"); h_SL3L346->GetYaxis()->SetLabelFont(42); h_SL3L346->GetYaxis()->SetLabelSize(0.035); h_SL3L346->GetYaxis()->SetTitleSize(0.035); h_SL3L346->GetYaxis()->SetTitleOffset(1.45); h_SL3L346->GetYaxis()->SetTitleFont(42); h_SL3L346->GetZaxis()->SetLabelFont(42); h_SL3L346->GetZaxis()->SetLabelSize(0.035); h_SL3L346->GetZaxis()->SetTitleSize(0.035); h_SL3L346->GetZaxis()->SetTitleFont(42); h_SL3L346->Draw("hist, same"); TH1D *h_SL3L447 = new TH1D("h_SL3L447","Background (digi time < 1000)",60,0,60); h_SL3L447->SetBinContent(50,540); h_SL3L447->SetMaximum(621); 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 6261"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }