void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:21:50 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,-19148.53,67.5,172336.7); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L123 = new TH1D("h_SL1L123","Occupancy",60,0,60); h_SL1L123->SetBinContent(1,75660.71); h_SL1L123->SetBinContent(2,77278.57); h_SL1L123->SetBinContent(3,77828.57); h_SL1L123->SetBinContent(4,65925); h_SL1L123->SetBinContent(5,59282.14); h_SL1L123->SetBinContent(6,63382.14); h_SL1L123->SetBinContent(7,57775); h_SL1L123->SetBinContent(8,62071.43); h_SL1L123->SetBinContent(9,62560.71); h_SL1L123->SetBinContent(10,64664.29); h_SL1L123->SetBinContent(11,64635.71); h_SL1L123->SetBinContent(12,59764.29); h_SL1L123->SetBinContent(13,59185.71); h_SL1L123->SetBinContent(14,53514.29); h_SL1L123->SetBinContent(15,47428.57); h_SL1L123->SetBinContent(16,46353.57); h_SL1L123->SetBinContent(17,76210.71); h_SL1L123->SetBinContent(18,77400); h_SL1L123->SetBinContent(19,79578.57); h_SL1L123->SetBinContent(20,76471.43); h_SL1L123->SetBinContent(21,77528.57); h_SL1L123->SetBinContent(22,76132.14); h_SL1L123->SetBinContent(23,69739.28); h_SL1L123->SetBinContent(24,62389.29); h_SL1L123->SetBinContent(25,58382.14); h_SL1L123->SetBinContent(26,61589.29); h_SL1L123->SetBinContent(27,59846.43); h_SL1L123->SetBinContent(28,63157.14); h_SL1L123->SetBinContent(29,65046.43); h_SL1L123->SetBinContent(30,61139.29); h_SL1L123->SetBinContent(31,61428.57); h_SL1L123->SetBinContent(32,57246.43); h_SL1L123->SetBinContent(33,51853.57); h_SL1L123->SetBinContent(34,52014.29); h_SL1L123->SetBinContent(35,51592.86); h_SL1L123->SetBinContent(36,49521.43); h_SL1L123->SetBinContent(37,48485.71); h_SL1L123->SetBinContent(38,53385.71); h_SL1L123->SetBinContent(39,51107.14); h_SL1L123->SetBinContent(40,48314.29); h_SL1L123->SetBinContent(41,51014.29); h_SL1L123->SetBinContent(42,52964.29); h_SL1L123->SetBinContent(43,51957.14); h_SL1L123->SetBinContent(44,53407.14); h_SL1L123->SetBinContent(45,50517.86); h_SL1L123->SetBinContent(46,47321.43); h_SL1L123->SetBinContent(47,46117.86); h_SL1L123->SetBinContent(48,47582.14); h_SL1L123->SetBinContent(49,59653.57); h_SL1L123->SetBinContent(50,62896.43); h_SL1L123->SetBinContent(51,67046.43); h_SL1L123->SetBinContent(52,65846.43); h_SL1L123->SetBinContent(53,64771.43); h_SL1L123->SetBinContent(54,64217.86); h_SL1L123->SetBinContent(55,66489.28); h_SL1L123->SetBinContent(56,76500); h_SL1L123->SetBinContent(57,100225); h_SL1L123->SetBinContent(58,118800); h_SL1L123->SetBinContent(59,133207.1); h_SL1L123->SetMaximum(153188.2); h_SL1L123->SetEntries(60); h_SL1L123->SetDirectory(0); h_SL1L123->SetStats(0); h_SL1L123->SetLineWidth(2); h_SL1L123->GetXaxis()->SetTitle("Cell"); h_SL1L123->GetXaxis()->SetLabelFont(42); h_SL1L123->GetXaxis()->SetLabelSize(0.035); h_SL1L123->GetXaxis()->SetTitleSize(0.035); h_SL1L123->GetXaxis()->SetTitleFont(42); h_SL1L123->GetYaxis()->SetTitle("Hz per wire"); h_SL1L123->GetYaxis()->SetLabelFont(42); h_SL1L123->GetYaxis()->SetLabelSize(0.035); h_SL1L123->GetYaxis()->SetTitleSize(0.035); h_SL1L123->GetYaxis()->SetTitleOffset(1.45); h_SL1L123->GetYaxis()->SetTitleFont(42); h_SL1L123->GetZaxis()->SetLabelFont(42); h_SL1L123->GetZaxis()->SetLabelSize(0.035); h_SL1L123->GetZaxis()->SetTitleSize(0.035); h_SL1L123->GetZaxis()->SetTitleFont(42); h_SL1L123->Draw("hist, "); TH1D *h_SL1L224 = new TH1D("h_SL1L224","Occupancy",60,0,60); h_SL1L224->SetBinContent(1,296.4286); h_SL1L224->SetBinContent(2,142.8571); h_SL1L224->SetBinContent(3,282.1429); h_SL1L224->SetBinContent(4,278.5714); h_SL1L224->SetBinContent(5,135.7143); h_SL1L224->SetBinContent(6,46.42857); h_SL1L224->SetBinContent(7,85.71429); h_SL1L224->SetBinContent(8,117.8571); h_SL1L224->SetBinContent(9,175); h_SL1L224->SetBinContent(10,57.14286); h_SL1L224->SetBinContent(11,28.57143); h_SL1L224->SetBinContent(12,46.42857); h_SL1L224->SetBinContent(13,17.85714); h_SL1L224->SetBinContent(14,14.28571); h_SL1L224->SetBinContent(15,17.85714); h_SL1L224->SetBinContent(16,14.28571); h_SL1L224->SetBinContent(49,21.42857); h_SL1L224->SetMaximum(153188.2); h_SL1L224->SetEntries(60); h_SL1L224->SetDirectory(0); h_SL1L224->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L224->SetLineColor(ci); h_SL1L224->SetLineWidth(2); h_SL1L224->GetXaxis()->SetTitle("Cell"); h_SL1L224->GetXaxis()->SetLabelFont(42); h_SL1L224->GetXaxis()->SetLabelSize(0.035); h_SL1L224->GetXaxis()->SetTitleSize(0.035); h_SL1L224->GetXaxis()->SetTitleFont(42); h_SL1L224->GetYaxis()->SetTitle("Hz per wire"); h_SL1L224->GetYaxis()->SetLabelFont(42); h_SL1L224->GetYaxis()->SetLabelSize(0.035); h_SL1L224->GetYaxis()->SetTitleSize(0.035); h_SL1L224->GetYaxis()->SetTitleOffset(1.45); h_SL1L224->GetYaxis()->SetTitleFont(42); h_SL1L224->GetZaxis()->SetLabelFont(42); h_SL1L224->GetZaxis()->SetLabelSize(0.035); h_SL1L224->GetZaxis()->SetTitleSize(0.035); h_SL1L224->GetZaxis()->SetTitleFont(42); h_SL1L224->Draw("hist, same"); TH1D *h_SL1L325 = new TH1D("h_SL1L325","Occupancy",60,0,60); h_SL1L325->SetBinContent(1,10.71429); h_SL1L325->SetBinContent(2,7.142857); h_SL1L325->SetBinContent(3,7.142857); h_SL1L325->SetBinContent(4,3.571429); h_SL1L325->SetBinContent(5,3.571429); h_SL1L325->SetBinContent(6,7.142857); h_SL1L325->SetBinContent(8,7.142857); h_SL1L325->SetBinContent(11,10.71429); h_SL1L325->SetBinContent(12,17.85714); h_SL1L325->SetBinContent(53,3.571429); h_SL1L325->SetBinContent(56,17.85714); h_SL1L325->SetMaximum(153188.2); h_SL1L325->SetEntries(60); h_SL1L325->SetDirectory(0); h_SL1L325->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L325->SetLineColor(ci); h_SL1L325->SetLineWidth(2); h_SL1L325->GetXaxis()->SetTitle("Cell"); h_SL1L325->GetXaxis()->SetLabelFont(42); h_SL1L325->GetXaxis()->SetLabelSize(0.035); h_SL1L325->GetXaxis()->SetTitleSize(0.035); h_SL1L325->GetXaxis()->SetTitleFont(42); h_SL1L325->GetYaxis()->SetTitle("Hz per wire"); h_SL1L325->GetYaxis()->SetLabelFont(42); h_SL1L325->GetYaxis()->SetLabelSize(0.035); h_SL1L325->GetYaxis()->SetTitleSize(0.035); h_SL1L325->GetYaxis()->SetTitleOffset(1.45); h_SL1L325->GetYaxis()->SetTitleFont(42); h_SL1L325->GetZaxis()->SetLabelFont(42); h_SL1L325->GetZaxis()->SetLabelSize(0.035); h_SL1L325->GetZaxis()->SetTitleSize(0.035); h_SL1L325->GetZaxis()->SetTitleFont(42); h_SL1L325->Draw("hist, same"); TH1D *h_SL1L426 = new TH1D("h_SL1L426","Occupancy",60,0,60); h_SL1L426->SetBinContent(2,67478.57); h_SL1L426->SetBinContent(3,60521.43); h_SL1L426->SetBinContent(4,60653.57); h_SL1L426->SetBinContent(5,53621.43); h_SL1L426->SetBinContent(6,53003.57); h_SL1L426->SetBinContent(7,49346.43); h_SL1L426->SetBinContent(8,54721.43); h_SL1L426->SetBinContent(9,58635.71); h_SL1L426->SetBinContent(10,72485.71); h_SL1L426->SetBinContent(11,82371.43); h_SL1L426->SetBinContent(12,85067.86); h_SL1L426->SetBinContent(13,85803.57); h_SL1L426->SetBinContent(14,87157.14); h_SL1L426->SetBinContent(15,80428.57); h_SL1L426->SetBinContent(16,72128.57); h_SL1L426->SetBinContent(17,107717.9); h_SL1L426->SetBinContent(18,106875); h_SL1L426->SetBinContent(19,102553.6); h_SL1L426->SetBinContent(20,99303.57); h_SL1L426->SetBinContent(21,96428.57); h_SL1L426->SetBinContent(22,95200); h_SL1L426->SetBinContent(23,91471.43); h_SL1L426->SetBinContent(24,89635.71); h_SL1L426->SetBinContent(25,79400); h_SL1L426->SetBinContent(26,81142.86); h_SL1L426->SetBinContent(27,80071.43); h_SL1L426->SetBinContent(28,83617.86); h_SL1L426->SetBinContent(29,79271.43); h_SL1L426->SetBinContent(30,81828.57); h_SL1L426->SetBinContent(31,77135.71); h_SL1L426->SetBinContent(32,74907.14); h_SL1L426->SetBinContent(33,58364.29); h_SL1L426->SetBinContent(34,57335.71); h_SL1L426->SetBinContent(35,56739.29); h_SL1L426->SetBinContent(36,47935.71); h_SL1L426->SetBinContent(37,39303.57); h_SL1L426->SetBinContent(38,43739.29); h_SL1L426->SetBinContent(39,49778.57); h_SL1L426->SetBinContent(40,42185.71); h_SL1L426->SetBinContent(41,41078.57); h_SL1L426->SetBinContent(42,44450); h_SL1L426->SetBinContent(43,45700); h_SL1L426->SetBinContent(44,44071.43); h_SL1L426->SetBinContent(45,38485.71); h_SL1L426->SetBinContent(46,38857.14); h_SL1L426->SetBinContent(47,38225); h_SL1L426->SetBinContent(48,37635.71); h_SL1L426->SetBinContent(49,42742.86); h_SL1L426->SetBinContent(50,46978.57); h_SL1L426->SetBinContent(51,47253.57); h_SL1L426->SetBinContent(52,49403.57); h_SL1L426->SetBinContent(53,49228.57); h_SL1L426->SetBinContent(54,51100); h_SL1L426->SetBinContent(55,21.42857); h_SL1L426->SetBinContent(56,61964.29); h_SL1L426->SetBinContent(57,75814.28); h_SL1L426->SetBinContent(58,105467.9); h_SL1L426->SetBinContent(59,120632.1); h_SL1L426->SetMaximum(153188.2); h_SL1L426->SetEntries(60); h_SL1L426->SetDirectory(0); h_SL1L426->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L426->SetLineColor(ci); h_SL1L426->SetLineWidth(2); h_SL1L426->GetXaxis()->SetTitle("Cell"); h_SL1L426->GetXaxis()->SetLabelFont(42); h_SL1L426->GetXaxis()->SetLabelSize(0.035); h_SL1L426->GetXaxis()->SetTitleSize(0.035); h_SL1L426->GetXaxis()->SetTitleFont(42); h_SL1L426->GetYaxis()->SetTitle("Hz per wire"); h_SL1L426->GetYaxis()->SetLabelFont(42); h_SL1L426->GetYaxis()->SetLabelSize(0.035); h_SL1L426->GetYaxis()->SetTitleSize(0.035); h_SL1L426->GetYaxis()->SetTitleOffset(1.45); h_SL1L426->GetYaxis()->SetTitleFont(42); h_SL1L426->GetZaxis()->SetLabelFont(42); h_SL1L426->GetZaxis()->SetLabelSize(0.035); h_SL1L426->GetZaxis()->SetTitleSize(0.035); h_SL1L426->GetZaxis()->SetTitleFont(42); h_SL1L426->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,-7.187501,67.5,64.6875); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L127 = new TH1D("h_SL2L127","Occupancy",60,0,60); h_SL2L127->SetBinContent(9,3.571429); h_SL2L127->SetBinContent(10,3.571429); h_SL2L127->SetBinContent(11,3.571429); h_SL2L127->SetBinContent(57,17.85714); h_SL2L127->SetMaximum(57.5); h_SL2L127->SetEntries(60); h_SL2L127->SetDirectory(0); h_SL2L127->SetStats(0); h_SL2L127->SetLineWidth(2); h_SL2L127->GetXaxis()->SetTitle("Cell"); h_SL2L127->GetXaxis()->SetLabelFont(42); h_SL2L127->GetXaxis()->SetLabelSize(0.035); h_SL2L127->GetXaxis()->SetTitleSize(0.035); h_SL2L127->GetXaxis()->SetTitleFont(42); h_SL2L127->GetYaxis()->SetTitle("Hz per wire"); h_SL2L127->GetYaxis()->SetLabelFont(42); h_SL2L127->GetYaxis()->SetLabelSize(0.035); h_SL2L127->GetYaxis()->SetTitleSize(0.035); h_SL2L127->GetYaxis()->SetTitleOffset(1.45); h_SL2L127->GetYaxis()->SetTitleFont(42); h_SL2L127->GetZaxis()->SetLabelFont(42); h_SL2L127->GetZaxis()->SetLabelSize(0.035); h_SL2L127->GetZaxis()->SetTitleSize(0.035); h_SL2L127->GetZaxis()->SetTitleFont(42); h_SL2L127->Draw("hist, "); TH1D *h_SL2L228 = new TH1D("h_SL2L228","Occupancy",60,0,60); h_SL2L228->SetMaximum(57.5); h_SL2L228->SetEntries(60); h_SL2L228->SetDirectory(0); h_SL2L228->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L228->SetLineColor(ci); h_SL2L228->SetLineWidth(2); h_SL2L228->GetXaxis()->SetTitle("Cell"); h_SL2L228->GetXaxis()->SetLabelFont(42); h_SL2L228->GetXaxis()->SetLabelSize(0.035); h_SL2L228->GetXaxis()->SetTitleSize(0.035); h_SL2L228->GetXaxis()->SetTitleFont(42); h_SL2L228->GetYaxis()->SetTitle("Hz per wire"); h_SL2L228->GetYaxis()->SetLabelFont(42); h_SL2L228->GetYaxis()->SetLabelSize(0.035); h_SL2L228->GetYaxis()->SetTitleSize(0.035); h_SL2L228->GetYaxis()->SetTitleOffset(1.45); h_SL2L228->GetYaxis()->SetTitleFont(42); h_SL2L228->GetZaxis()->SetLabelFont(42); h_SL2L228->GetZaxis()->SetLabelSize(0.035); h_SL2L228->GetZaxis()->SetTitleSize(0.035); h_SL2L228->GetZaxis()->SetTitleFont(42); h_SL2L228->Draw("hist, same"); TH1D *h_SL2L329 = new TH1D("h_SL2L329","Occupancy",60,0,60); h_SL2L329->SetBinContent(54,50); h_SL2L329->SetBinContent(57,3.571429); h_SL2L329->SetMaximum(57.5); h_SL2L329->SetEntries(60); h_SL2L329->SetDirectory(0); h_SL2L329->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L329->SetLineColor(ci); h_SL2L329->SetLineWidth(2); h_SL2L329->GetXaxis()->SetTitle("Cell"); h_SL2L329->GetXaxis()->SetLabelFont(42); h_SL2L329->GetXaxis()->SetLabelSize(0.035); h_SL2L329->GetXaxis()->SetTitleSize(0.035); h_SL2L329->GetXaxis()->SetTitleFont(42); h_SL2L329->GetYaxis()->SetTitle("Hz per wire"); h_SL2L329->GetYaxis()->SetLabelFont(42); h_SL2L329->GetYaxis()->SetLabelSize(0.035); h_SL2L329->GetYaxis()->SetTitleSize(0.035); h_SL2L329->GetYaxis()->SetTitleOffset(1.45); h_SL2L329->GetYaxis()->SetTitleFont(42); h_SL2L329->GetZaxis()->SetLabelFont(42); h_SL2L329->GetZaxis()->SetLabelSize(0.035); h_SL2L329->GetZaxis()->SetTitleSize(0.035); h_SL2L329->GetZaxis()->SetTitleFont(42); h_SL2L329->Draw("hist, same"); TH1D *h_SL2L430 = new TH1D("h_SL2L430","Occupancy",60,0,60); h_SL2L430->SetBinContent(32,7.142857); h_SL2L430->SetBinContent(39,7.142857); h_SL2L430->SetBinContent(41,3.571429); h_SL2L430->SetBinContent(45,3.571429); h_SL2L430->SetBinContent(47,3.571429); h_SL2L430->SetBinContent(52,3.571429); h_SL2L430->SetMaximum(57.5); h_SL2L430->SetEntries(60); h_SL2L430->SetDirectory(0); h_SL2L430->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L430->SetLineColor(ci); h_SL2L430->SetLineWidth(2); h_SL2L430->GetXaxis()->SetTitle("Cell"); h_SL2L430->GetXaxis()->SetLabelFont(42); h_SL2L430->GetXaxis()->SetLabelSize(0.035); h_SL2L430->GetXaxis()->SetTitleSize(0.035); h_SL2L430->GetXaxis()->SetTitleFont(42); h_SL2L430->GetYaxis()->SetTitle("Hz per wire"); h_SL2L430->GetYaxis()->SetLabelFont(42); h_SL2L430->GetYaxis()->SetLabelSize(0.035); h_SL2L430->GetYaxis()->SetTitleSize(0.035); h_SL2L430->GetYaxis()->SetTitleOffset(1.45); h_SL2L430->GetYaxis()->SetTitleFont(42); h_SL2L430->GetZaxis()->SetLabelFont(42); h_SL2L430->GetZaxis()->SetLabelSize(0.035); h_SL2L430->GetZaxis()->SetTitleSize(0.035); h_SL2L430->GetZaxis()->SetTitleFont(42); h_SL2L430->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,-37.47768,67.5,337.2991); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L131 = new TH1D("h_SL3L131","Occupancy",60,0,60); h_SL3L131->SetBinContent(1,28.57143); h_SL3L131->SetBinContent(2,25); h_SL3L131->SetBinContent(3,175); h_SL3L131->SetBinContent(5,14.28571); h_SL3L131->SetBinContent(6,7.142857); h_SL3L131->SetBinContent(7,167.8571); h_SL3L131->SetBinContent(8,260.7143); h_SL3L131->SetBinContent(9,17.85714); h_SL3L131->SetBinContent(10,17.85714); h_SL3L131->SetBinContent(11,132.1429); h_SL3L131->SetBinContent(12,107.1429); h_SL3L131->SetBinContent(13,3.571429); h_SL3L131->SetBinContent(15,60.71429); h_SL3L131->SetBinContent(16,67.85714); h_SL3L131->SetMaximum(299.8214); h_SL3L131->SetEntries(60); h_SL3L131->SetDirectory(0); h_SL3L131->SetStats(0); h_SL3L131->SetLineWidth(2); h_SL3L131->GetXaxis()->SetTitle("Cell"); h_SL3L131->GetXaxis()->SetLabelFont(42); h_SL3L131->GetXaxis()->SetLabelSize(0.035); h_SL3L131->GetXaxis()->SetTitleSize(0.035); h_SL3L131->GetXaxis()->SetTitleFont(42); h_SL3L131->GetYaxis()->SetTitle("Hz per wire"); h_SL3L131->GetYaxis()->SetLabelFont(42); h_SL3L131->GetYaxis()->SetLabelSize(0.035); h_SL3L131->GetYaxis()->SetTitleSize(0.035); h_SL3L131->GetYaxis()->SetTitleOffset(1.45); h_SL3L131->GetYaxis()->SetTitleFont(42); h_SL3L131->GetZaxis()->SetLabelFont(42); h_SL3L131->GetZaxis()->SetLabelSize(0.035); h_SL3L131->GetZaxis()->SetTitleSize(0.035); h_SL3L131->GetZaxis()->SetTitleFont(42); h_SL3L131->Draw("hist, "); TH1D *h_SL3L232 = new TH1D("h_SL3L232","Occupancy",60,0,60); h_SL3L232->SetBinContent(1,17.85714); h_SL3L232->SetBinContent(2,39.28571); h_SL3L232->SetBinContent(3,7.142857); h_SL3L232->SetBinContent(4,3.571429); h_SL3L232->SetBinContent(5,14.28571); h_SL3L232->SetBinContent(6,10.71429); h_SL3L232->SetBinContent(7,7.142857); h_SL3L232->SetBinContent(9,7.142857); h_SL3L232->SetBinContent(10,14.28571); h_SL3L232->SetBinContent(11,14.28571); h_SL3L232->SetBinContent(12,3.571429); h_SL3L232->SetBinContent(14,7.142857); h_SL3L232->SetMaximum(299.8214); h_SL3L232->SetEntries(60); h_SL3L232->SetDirectory(0); h_SL3L232->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L232->SetLineColor(ci); h_SL3L232->SetLineWidth(2); h_SL3L232->GetXaxis()->SetTitle("Cell"); h_SL3L232->GetXaxis()->SetLabelFont(42); h_SL3L232->GetXaxis()->SetLabelSize(0.035); h_SL3L232->GetXaxis()->SetTitleSize(0.035); h_SL3L232->GetXaxis()->SetTitleFont(42); h_SL3L232->GetYaxis()->SetTitle("Hz per wire"); h_SL3L232->GetYaxis()->SetLabelFont(42); h_SL3L232->GetYaxis()->SetLabelSize(0.035); h_SL3L232->GetYaxis()->SetTitleSize(0.035); h_SL3L232->GetYaxis()->SetTitleOffset(1.45); h_SL3L232->GetYaxis()->SetTitleFont(42); h_SL3L232->GetZaxis()->SetLabelFont(42); h_SL3L232->GetZaxis()->SetLabelSize(0.035); h_SL3L232->GetZaxis()->SetTitleSize(0.035); h_SL3L232->GetZaxis()->SetTitleFont(42); h_SL3L232->Draw("hist, same"); TH1D *h_SL3L333 = new TH1D("h_SL3L333","Occupancy",60,0,60); h_SL3L333->SetBinContent(1,32.14286); h_SL3L333->SetBinContent(2,32.14286); h_SL3L333->SetBinContent(4,3.571429); h_SL3L333->SetBinContent(5,14.28571); h_SL3L333->SetBinContent(6,14.28571); h_SL3L333->SetBinContent(7,7.142857); h_SL3L333->SetBinContent(8,3.571429); h_SL3L333->SetBinContent(9,7.142857); h_SL3L333->SetBinContent(10,32.14286); h_SL3L333->SetBinContent(11,7.142857); h_SL3L333->SetBinContent(12,17.85714); h_SL3L333->SetBinContent(13,3.571429); h_SL3L333->SetBinContent(14,3.571429); h_SL3L333->SetBinContent(15,10.71429); h_SL3L333->SetMaximum(299.8214); h_SL3L333->SetEntries(60); h_SL3L333->SetDirectory(0); h_SL3L333->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L333->SetLineColor(ci); h_SL3L333->SetLineWidth(2); h_SL3L333->GetXaxis()->SetTitle("Cell"); h_SL3L333->GetXaxis()->SetLabelFont(42); h_SL3L333->GetXaxis()->SetLabelSize(0.035); h_SL3L333->GetXaxis()->SetTitleSize(0.035); h_SL3L333->GetXaxis()->SetTitleFont(42); h_SL3L333->GetYaxis()->SetTitle("Hz per wire"); h_SL3L333->GetYaxis()->SetLabelFont(42); h_SL3L333->GetYaxis()->SetLabelSize(0.035); h_SL3L333->GetYaxis()->SetTitleSize(0.035); h_SL3L333->GetYaxis()->SetTitleOffset(1.45); h_SL3L333->GetYaxis()->SetTitleFont(42); h_SL3L333->GetZaxis()->SetLabelFont(42); h_SL3L333->GetZaxis()->SetLabelSize(0.035); h_SL3L333->GetZaxis()->SetTitleSize(0.035); h_SL3L333->GetZaxis()->SetTitleFont(42); h_SL3L333->Draw("hist, same"); TH1D *h_SL3L434 = new TH1D("h_SL3L434","Occupancy",60,0,60); h_SL3L434->SetBinContent(2,25); h_SL3L434->SetBinContent(3,60.71429); h_SL3L434->SetBinContent(4,260.7143); h_SL3L434->SetBinContent(5,3.571429); h_SL3L434->SetBinContent(6,7.142857); h_SL3L434->SetBinContent(7,67.85714); h_SL3L434->SetBinContent(8,246.4286); h_SL3L434->SetBinContent(9,28.57143); h_SL3L434->SetBinContent(10,10.71429); h_SL3L434->SetBinContent(11,46.42857); h_SL3L434->SetBinContent(12,203.5714); h_SL3L434->SetBinContent(13,7.142857); h_SL3L434->SetBinContent(14,3.571429); h_SL3L434->SetBinContent(15,25); h_SL3L434->SetBinContent(16,239.2857); h_SL3L434->SetBinContent(50,3.571429); h_SL3L434->SetMaximum(299.8214); h_SL3L434->SetEntries(60); h_SL3L434->SetDirectory(0); h_SL3L434->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L434->SetLineColor(ci); h_SL3L434->SetLineWidth(2); h_SL3L434->GetXaxis()->SetTitle("Cell"); h_SL3L434->GetXaxis()->SetLabelFont(42); h_SL3L434->GetXaxis()->SetLabelSize(0.035); h_SL3L434->GetXaxis()->SetTitleSize(0.035); h_SL3L434->GetXaxis()->SetTitleFont(42); h_SL3L434->GetYaxis()->SetTitle("Hz per wire"); h_SL3L434->GetYaxis()->SetLabelFont(42); h_SL3L434->GetYaxis()->SetLabelSize(0.035); h_SL3L434->GetYaxis()->SetTitleSize(0.035); h_SL3L434->GetYaxis()->SetTitleOffset(1.45); h_SL3L434->GetYaxis()->SetTitleFont(42); h_SL3L434->GetZaxis()->SetLabelFont(42); h_SL3L434->GetZaxis()->SetLabelSize(0.035); h_SL3L434->GetZaxis()->SetTitleSize(0.035); h_SL3L434->GetZaxis()->SetTitleFont(42); h_SL3L434->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,-19282.63,67.5,173543.6); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->SetFrameBorderMode(0); TH1D *h_SL1L135 = new TH1D("h_SL1L135","Background (digi time < 1000)",60,0,60); h_SL1L135->SetBinContent(1,74550); h_SL1L135->SetBinContent(2,75360); h_SL1L135->SetBinContent(3,74840); h_SL1L135->SetBinContent(4,60780); h_SL1L135->SetBinContent(5,58590); h_SL1L135->SetBinContent(6,61690); h_SL1L135->SetBinContent(7,56100); h_SL1L135->SetBinContent(8,59840); h_SL1L135->SetBinContent(9,63450); h_SL1L135->SetBinContent(10,65130); h_SL1L135->SetBinContent(11,63350); h_SL1L135->SetBinContent(12,59430); h_SL1L135->SetBinContent(13,59720); h_SL1L135->SetBinContent(14,53090); h_SL1L135->SetBinContent(15,45770); h_SL1L135->SetBinContent(16,46010); h_SL1L135->SetBinContent(17,76430); h_SL1L135->SetBinContent(18,79050); h_SL1L135->SetBinContent(19,80440); h_SL1L135->SetBinContent(20,75920); h_SL1L135->SetBinContent(21,77490); h_SL1L135->SetBinContent(22,76620); h_SL1L135->SetBinContent(23,69180); h_SL1L135->SetBinContent(24,62810); h_SL1L135->SetBinContent(25,58500); h_SL1L135->SetBinContent(26,61880); h_SL1L135->SetBinContent(27,58900); h_SL1L135->SetBinContent(28,62450); h_SL1L135->SetBinContent(29,66140); h_SL1L135->SetBinContent(30,61380); h_SL1L135->SetBinContent(31,60720); h_SL1L135->SetBinContent(32,56490); h_SL1L135->SetBinContent(33,52910); h_SL1L135->SetBinContent(34,52630); h_SL1L135->SetBinContent(35,51690); h_SL1L135->SetBinContent(36,49310); h_SL1L135->SetBinContent(37,48460); h_SL1L135->SetBinContent(38,53780); h_SL1L135->SetBinContent(39,50660); h_SL1L135->SetBinContent(40,48650); h_SL1L135->SetBinContent(41,51250); h_SL1L135->SetBinContent(42,53310); h_SL1L135->SetBinContent(43,52730); h_SL1L135->SetBinContent(44,53850); h_SL1L135->SetBinContent(45,50150); h_SL1L135->SetBinContent(46,47530); h_SL1L135->SetBinContent(47,46110); h_SL1L135->SetBinContent(48,46500); h_SL1L135->SetBinContent(49,59290); h_SL1L135->SetBinContent(50,63440); h_SL1L135->SetBinContent(51,67560); h_SL1L135->SetBinContent(52,66240); h_SL1L135->SetBinContent(53,64370); h_SL1L135->SetBinContent(54,64080); h_SL1L135->SetBinContent(55,67910); h_SL1L135->SetBinContent(56,77130); h_SL1L135->SetBinContent(57,100440); h_SL1L135->SetBinContent(58,118720); h_SL1L135->SetBinContent(59,134140); h_SL1L135->SetMaximum(154261); h_SL1L135->SetEntries(60); h_SL1L135->SetDirectory(0); h_SL1L135->SetStats(0); h_SL1L135->SetLineWidth(2); h_SL1L135->GetXaxis()->SetTitle("Cell"); h_SL1L135->GetXaxis()->SetLabelFont(42); h_SL1L135->GetXaxis()->SetLabelSize(0.035); h_SL1L135->GetXaxis()->SetTitleSize(0.035); h_SL1L135->GetXaxis()->SetTitleFont(42); h_SL1L135->GetYaxis()->SetTitle("Hz per wire"); h_SL1L135->GetYaxis()->SetLabelFont(42); h_SL1L135->GetYaxis()->SetLabelSize(0.035); h_SL1L135->GetYaxis()->SetTitleSize(0.035); h_SL1L135->GetYaxis()->SetTitleOffset(1.45); h_SL1L135->GetYaxis()->SetTitleFont(42); h_SL1L135->GetZaxis()->SetLabelFont(42); h_SL1L135->GetZaxis()->SetLabelSize(0.035); h_SL1L135->GetZaxis()->SetTitleSize(0.035); h_SL1L135->GetZaxis()->SetTitleFont(42); h_SL1L135->Draw("hist, "); TH1D *h_SL1L236 = new TH1D("h_SL1L236","Background (digi time < 1000)",60,0,60); h_SL1L236->SetBinContent(1,290); h_SL1L236->SetBinContent(2,150); h_SL1L236->SetBinContent(3,320); h_SL1L236->SetBinContent(4,310); h_SL1L236->SetBinContent(5,110); h_SL1L236->SetBinContent(6,60); h_SL1L236->SetBinContent(7,80); h_SL1L236->SetBinContent(8,140); h_SL1L236->SetBinContent(9,210); h_SL1L236->SetBinContent(10,80); h_SL1L236->SetBinContent(11,40); h_SL1L236->SetBinContent(12,60); h_SL1L236->SetBinContent(13,20); h_SL1L236->SetBinContent(14,40); h_SL1L236->SetBinContent(15,20); h_SL1L236->SetBinContent(16,20); h_SL1L236->SetBinContent(49,30); h_SL1L236->SetMaximum(154261); h_SL1L236->SetEntries(60); h_SL1L236->SetDirectory(0); h_SL1L236->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL1L236->SetLineColor(ci); h_SL1L236->SetLineWidth(2); h_SL1L236->GetXaxis()->SetTitle("Cell"); h_SL1L236->GetXaxis()->SetLabelFont(42); h_SL1L236->GetXaxis()->SetLabelSize(0.035); h_SL1L236->GetXaxis()->SetTitleSize(0.035); h_SL1L236->GetXaxis()->SetTitleFont(42); h_SL1L236->GetYaxis()->SetTitle("Hz per wire"); h_SL1L236->GetYaxis()->SetLabelFont(42); h_SL1L236->GetYaxis()->SetLabelSize(0.035); h_SL1L236->GetYaxis()->SetTitleSize(0.035); h_SL1L236->GetYaxis()->SetTitleOffset(1.45); h_SL1L236->GetYaxis()->SetTitleFont(42); h_SL1L236->GetZaxis()->SetLabelFont(42); h_SL1L236->GetZaxis()->SetLabelSize(0.035); h_SL1L236->GetZaxis()->SetTitleSize(0.035); h_SL1L236->GetZaxis()->SetTitleFont(42); h_SL1L236->Draw("hist, same"); TH1D *h_SL1L337 = new TH1D("h_SL1L337","Background (digi time < 1000)",60,0,60); h_SL1L337->SetBinContent(1,20); h_SL1L337->SetBinContent(2,10); h_SL1L337->SetBinContent(3,10); h_SL1L337->SetBinContent(4,10); h_SL1L337->SetBinContent(5,10); h_SL1L337->SetBinContent(6,10); h_SL1L337->SetBinContent(8,10); h_SL1L337->SetBinContent(11,30); h_SL1L337->SetBinContent(12,10); h_SL1L337->SetBinContent(56,10); h_SL1L337->SetMaximum(154261); h_SL1L337->SetEntries(60); h_SL1L337->SetDirectory(0); h_SL1L337->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L337->SetLineColor(ci); h_SL1L337->SetLineWidth(2); h_SL1L337->GetXaxis()->SetTitle("Cell"); h_SL1L337->GetXaxis()->SetLabelFont(42); h_SL1L337->GetXaxis()->SetLabelSize(0.035); h_SL1L337->GetXaxis()->SetTitleSize(0.035); h_SL1L337->GetXaxis()->SetTitleFont(42); h_SL1L337->GetYaxis()->SetTitle("Hz per wire"); h_SL1L337->GetYaxis()->SetLabelFont(42); h_SL1L337->GetYaxis()->SetLabelSize(0.035); h_SL1L337->GetYaxis()->SetTitleSize(0.035); h_SL1L337->GetYaxis()->SetTitleOffset(1.45); h_SL1L337->GetYaxis()->SetTitleFont(42); h_SL1L337->GetZaxis()->SetLabelFont(42); h_SL1L337->GetZaxis()->SetLabelSize(0.035); h_SL1L337->GetZaxis()->SetTitleSize(0.035); h_SL1L337->GetZaxis()->SetTitleFont(42); h_SL1L337->Draw("hist, same"); TH1D *h_SL1L438 = new TH1D("h_SL1L438","Background (digi time < 1000)",60,0,60); h_SL1L438->SetBinContent(2,66640); h_SL1L438->SetBinContent(3,57300); h_SL1L438->SetBinContent(4,60350); h_SL1L438->SetBinContent(5,53170); h_SL1L438->SetBinContent(6,53660); h_SL1L438->SetBinContent(7,48520); h_SL1L438->SetBinContent(8,54310); h_SL1L438->SetBinContent(9,59090); h_SL1L438->SetBinContent(10,72520); h_SL1L438->SetBinContent(11,83380); h_SL1L438->SetBinContent(12,84950); h_SL1L438->SetBinContent(13,85100); h_SL1L438->SetBinContent(14,87490); h_SL1L438->SetBinContent(15,79170); h_SL1L438->SetBinContent(16,70740); h_SL1L438->SetBinContent(17,108040); h_SL1L438->SetBinContent(18,106980); h_SL1L438->SetBinContent(19,103280); h_SL1L438->SetBinContent(20,99700); h_SL1L438->SetBinContent(21,95650); h_SL1L438->SetBinContent(22,95340); h_SL1L438->SetBinContent(23,91230); h_SL1L438->SetBinContent(24,90120); h_SL1L438->SetBinContent(25,77960); h_SL1L438->SetBinContent(26,79520); h_SL1L438->SetBinContent(27,80460); h_SL1L438->SetBinContent(28,82430); h_SL1L438->SetBinContent(29,80740); h_SL1L438->SetBinContent(30,80730); h_SL1L438->SetBinContent(31,77310); h_SL1L438->SetBinContent(32,74870); h_SL1L438->SetBinContent(33,58840); h_SL1L438->SetBinContent(34,56710); h_SL1L438->SetBinContent(35,57210); h_SL1L438->SetBinContent(36,48180); h_SL1L438->SetBinContent(37,39190); h_SL1L438->SetBinContent(38,43880); h_SL1L438->SetBinContent(39,49310); h_SL1L438->SetBinContent(40,44010); h_SL1L438->SetBinContent(41,40740); h_SL1L438->SetBinContent(42,43900); h_SL1L438->SetBinContent(43,45340); h_SL1L438->SetBinContent(44,44430); h_SL1L438->SetBinContent(45,38270); h_SL1L438->SetBinContent(46,39140); h_SL1L438->SetBinContent(47,38170); h_SL1L438->SetBinContent(48,37540); h_SL1L438->SetBinContent(49,43420); h_SL1L438->SetBinContent(50,47420); h_SL1L438->SetBinContent(51,47600); h_SL1L438->SetBinContent(52,48910); h_SL1L438->SetBinContent(53,48920); h_SL1L438->SetBinContent(54,51240); h_SL1L438->SetBinContent(56,60790); h_SL1L438->SetBinContent(57,74670); h_SL1L438->SetBinContent(58,105340); h_SL1L438->SetBinContent(59,121380); h_SL1L438->SetMaximum(154261); h_SL1L438->SetEntries(60); h_SL1L438->SetDirectory(0); h_SL1L438->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L438->SetLineColor(ci); h_SL1L438->SetLineWidth(2); h_SL1L438->GetXaxis()->SetTitle("Cell"); h_SL1L438->GetXaxis()->SetLabelFont(42); h_SL1L438->GetXaxis()->SetLabelSize(0.035); h_SL1L438->GetXaxis()->SetTitleSize(0.035); h_SL1L438->GetXaxis()->SetTitleFont(42); h_SL1L438->GetYaxis()->SetTitle("Hz per wire"); h_SL1L438->GetYaxis()->SetLabelFont(42); h_SL1L438->GetYaxis()->SetLabelSize(0.035); h_SL1L438->GetYaxis()->SetTitleSize(0.035); h_SL1L438->GetYaxis()->SetTitleOffset(1.45); h_SL1L438->GetYaxis()->SetTitleFont(42); h_SL1L438->GetZaxis()->SetLabelFont(42); h_SL1L438->GetZaxis()->SetLabelSize(0.035); h_SL1L438->GetZaxis()->SetTitleSize(0.035); h_SL1L438->GetZaxis()->SetTitleFont(42); h_SL1L438->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,-12.9375,67.5,116.4375); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->SetFrameBorderMode(0); TH1D *h_SL2L139 = new TH1D("h_SL2L139","Background (digi time < 1000)",60,0,60); h_SL2L139->SetBinContent(9,10); h_SL2L139->SetBinContent(57,20); h_SL2L139->SetMaximum(103.5); h_SL2L139->SetEntries(60); h_SL2L139->SetDirectory(0); h_SL2L139->SetStats(0); h_SL2L139->SetLineWidth(2); h_SL2L139->GetXaxis()->SetTitle("Cell"); h_SL2L139->GetXaxis()->SetLabelFont(42); h_SL2L139->GetXaxis()->SetLabelSize(0.035); h_SL2L139->GetXaxis()->SetTitleSize(0.035); h_SL2L139->GetXaxis()->SetTitleFont(42); h_SL2L139->GetYaxis()->SetTitle("Hz per wire"); h_SL2L139->GetYaxis()->SetLabelFont(42); h_SL2L139->GetYaxis()->SetLabelSize(0.035); h_SL2L139->GetYaxis()->SetTitleSize(0.035); h_SL2L139->GetYaxis()->SetTitleOffset(1.45); h_SL2L139->GetYaxis()->SetTitleFont(42); h_SL2L139->GetZaxis()->SetLabelFont(42); h_SL2L139->GetZaxis()->SetLabelSize(0.035); h_SL2L139->GetZaxis()->SetTitleSize(0.035); h_SL2L139->GetZaxis()->SetTitleFont(42); h_SL2L139->Draw("hist, "); TH1D *h_SL2L240 = new TH1D("h_SL2L240","Background (digi time < 1000)",60,0,60); h_SL2L240->SetMaximum(103.5); h_SL2L240->SetEntries(60); h_SL2L240->SetDirectory(0); h_SL2L240->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L240->SetLineColor(ci); h_SL2L240->SetLineWidth(2); h_SL2L240->GetXaxis()->SetTitle("Cell"); h_SL2L240->GetXaxis()->SetLabelFont(42); h_SL2L240->GetXaxis()->SetLabelSize(0.035); h_SL2L240->GetXaxis()->SetTitleSize(0.035); h_SL2L240->GetXaxis()->SetTitleFont(42); h_SL2L240->GetYaxis()->SetTitle("Hz per wire"); h_SL2L240->GetYaxis()->SetLabelFont(42); h_SL2L240->GetYaxis()->SetLabelSize(0.035); h_SL2L240->GetYaxis()->SetTitleSize(0.035); h_SL2L240->GetYaxis()->SetTitleOffset(1.45); h_SL2L240->GetYaxis()->SetTitleFont(42); h_SL2L240->GetZaxis()->SetLabelFont(42); h_SL2L240->GetZaxis()->SetLabelSize(0.035); h_SL2L240->GetZaxis()->SetTitleSize(0.035); h_SL2L240->GetZaxis()->SetTitleFont(42); h_SL2L240->Draw("hist, same"); TH1D *h_SL2L341 = new TH1D("h_SL2L341","Background (digi time < 1000)",60,0,60); h_SL2L341->SetBinContent(54,90); h_SL2L341->SetMaximum(103.5); h_SL2L341->SetEntries(60); h_SL2L341->SetDirectory(0); h_SL2L341->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L341->SetLineColor(ci); h_SL2L341->SetLineWidth(2); h_SL2L341->GetXaxis()->SetTitle("Cell"); h_SL2L341->GetXaxis()->SetLabelFont(42); h_SL2L341->GetXaxis()->SetLabelSize(0.035); h_SL2L341->GetXaxis()->SetTitleSize(0.035); h_SL2L341->GetXaxis()->SetTitleFont(42); h_SL2L341->GetYaxis()->SetTitle("Hz per wire"); h_SL2L341->GetYaxis()->SetLabelFont(42); h_SL2L341->GetYaxis()->SetLabelSize(0.035); h_SL2L341->GetYaxis()->SetTitleSize(0.035); h_SL2L341->GetYaxis()->SetTitleOffset(1.45); h_SL2L341->GetYaxis()->SetTitleFont(42); h_SL2L341->GetZaxis()->SetLabelFont(42); h_SL2L341->GetZaxis()->SetLabelSize(0.035); h_SL2L341->GetZaxis()->SetTitleSize(0.035); h_SL2L341->GetZaxis()->SetTitleFont(42); h_SL2L341->Draw("hist, same"); TH1D *h_SL2L442 = new TH1D("h_SL2L442","Background (digi time < 1000)",60,0,60); h_SL2L442->SetBinContent(32,20); h_SL2L442->SetBinContent(39,10); h_SL2L442->SetBinContent(41,10); h_SL2L442->SetBinContent(47,10); h_SL2L442->SetBinContent(52,10); h_SL2L442->SetMaximum(103.5); h_SL2L442->SetEntries(60); h_SL2L442->SetDirectory(0); h_SL2L442->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L442->SetLineColor(ci); h_SL2L442->SetLineWidth(2); h_SL2L442->GetXaxis()->SetTitle("Cell"); h_SL2L442->GetXaxis()->SetLabelFont(42); h_SL2L442->GetXaxis()->SetLabelSize(0.035); h_SL2L442->GetXaxis()->SetTitleSize(0.035); h_SL2L442->GetXaxis()->SetTitleFont(42); h_SL2L442->GetYaxis()->SetTitle("Hz per wire"); h_SL2L442->GetYaxis()->SetLabelFont(42); h_SL2L442->GetYaxis()->SetLabelSize(0.035); h_SL2L442->GetYaxis()->SetTitleSize(0.035); h_SL2L442->GetYaxis()->SetTitleOffset(1.45); h_SL2L442->GetYaxis()->SetTitleFont(42); h_SL2L442->GetZaxis()->SetLabelFont(42); h_SL2L442->GetZaxis()->SetLabelSize(0.035); h_SL2L442->GetZaxis()->SetTitleSize(0.035); h_SL2L442->GetZaxis()->SetTitleFont(42); h_SL2L442->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,-92.00001,67.5,828); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *h_SL3L143 = new TH1D("h_SL3L143","Background (digi time < 1000)",60,0,60); h_SL3L143->SetBinContent(1,50); h_SL3L143->SetBinContent(2,20); h_SL3L143->SetBinContent(3,90); h_SL3L143->SetBinContent(5,10); h_SL3L143->SetBinContent(6,10); h_SL3L143->SetBinContent(7,170); h_SL3L143->SetBinContent(8,360); h_SL3L143->SetBinContent(9,20); h_SL3L143->SetBinContent(10,30); h_SL3L143->SetBinContent(11,110); h_SL3L143->SetBinContent(12,110); h_SL3L143->SetBinContent(13,10); h_SL3L143->SetBinContent(15,70); h_SL3L143->SetBinContent(16,60); h_SL3L143->SetMaximum(736); h_SL3L143->SetEntries(60); h_SL3L143->SetDirectory(0); h_SL3L143->SetStats(0); h_SL3L143->SetLineWidth(2); h_SL3L143->GetXaxis()->SetTitle("Cell"); h_SL3L143->GetXaxis()->SetLabelFont(42); h_SL3L143->GetXaxis()->SetLabelSize(0.035); h_SL3L143->GetXaxis()->SetTitleSize(0.035); h_SL3L143->GetXaxis()->SetTitleFont(42); h_SL3L143->GetYaxis()->SetTitle("Hz per wire"); h_SL3L143->GetYaxis()->SetLabelFont(42); h_SL3L143->GetYaxis()->SetLabelSize(0.035); h_SL3L143->GetYaxis()->SetTitleSize(0.035); h_SL3L143->GetYaxis()->SetTitleOffset(1.45); h_SL3L143->GetYaxis()->SetTitleFont(42); h_SL3L143->GetZaxis()->SetLabelFont(42); h_SL3L143->GetZaxis()->SetLabelSize(0.035); h_SL3L143->GetZaxis()->SetTitleSize(0.035); h_SL3L143->GetZaxis()->SetTitleFont(42); h_SL3L143->Draw("hist, "); TH1D *h_SL3L244 = new TH1D("h_SL3L244","Background (digi time < 1000)",60,0,60); h_SL3L244->SetBinContent(1,50); h_SL3L244->SetBinContent(2,40); h_SL3L244->SetBinContent(3,10); h_SL3L244->SetBinContent(5,30); h_SL3L244->SetBinContent(7,20); h_SL3L244->SetBinContent(9,10); h_SL3L244->SetBinContent(10,20); h_SL3L244->SetBinContent(11,40); h_SL3L244->SetBinContent(12,10); h_SL3L244->SetBinContent(14,20); h_SL3L244->SetMaximum(736); h_SL3L244->SetEntries(60); h_SL3L244->SetDirectory(0); h_SL3L244->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L244->SetLineColor(ci); h_SL3L244->SetLineWidth(2); h_SL3L244->GetXaxis()->SetTitle("Cell"); h_SL3L244->GetXaxis()->SetLabelFont(42); h_SL3L244->GetXaxis()->SetLabelSize(0.035); h_SL3L244->GetXaxis()->SetTitleSize(0.035); h_SL3L244->GetXaxis()->SetTitleFont(42); h_SL3L244->GetYaxis()->SetTitle("Hz per wire"); h_SL3L244->GetYaxis()->SetLabelFont(42); h_SL3L244->GetYaxis()->SetLabelSize(0.035); h_SL3L244->GetYaxis()->SetTitleSize(0.035); h_SL3L244->GetYaxis()->SetTitleOffset(1.45); h_SL3L244->GetYaxis()->SetTitleFont(42); h_SL3L244->GetZaxis()->SetLabelFont(42); h_SL3L244->GetZaxis()->SetLabelSize(0.035); h_SL3L244->GetZaxis()->SetTitleSize(0.035); h_SL3L244->GetZaxis()->SetTitleFont(42); h_SL3L244->Draw("hist, same"); TH1D *h_SL3L345 = new TH1D("h_SL3L345","Background (digi time < 1000)",60,0,60); h_SL3L345->SetBinContent(1,70); h_SL3L345->SetBinContent(2,40); h_SL3L345->SetBinContent(4,10); h_SL3L345->SetBinContent(5,20); h_SL3L345->SetBinContent(6,10); h_SL3L345->SetBinContent(7,10); h_SL3L345->SetBinContent(8,10); h_SL3L345->SetBinContent(10,70); h_SL3L345->SetBinContent(11,20); h_SL3L345->SetBinContent(12,50); h_SL3L345->SetBinContent(13,10); h_SL3L345->SetBinContent(15,30); h_SL3L345->SetMaximum(736); h_SL3L345->SetEntries(60); h_SL3L345->SetDirectory(0); h_SL3L345->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L345->SetLineColor(ci); h_SL3L345->SetLineWidth(2); h_SL3L345->GetXaxis()->SetTitle("Cell"); h_SL3L345->GetXaxis()->SetLabelFont(42); h_SL3L345->GetXaxis()->SetLabelSize(0.035); h_SL3L345->GetXaxis()->SetTitleSize(0.035); h_SL3L345->GetXaxis()->SetTitleFont(42); h_SL3L345->GetYaxis()->SetTitle("Hz per wire"); h_SL3L345->GetYaxis()->SetLabelFont(42); h_SL3L345->GetYaxis()->SetLabelSize(0.035); h_SL3L345->GetYaxis()->SetTitleSize(0.035); h_SL3L345->GetYaxis()->SetTitleOffset(1.45); h_SL3L345->GetYaxis()->SetTitleFont(42); h_SL3L345->GetZaxis()->SetLabelFont(42); h_SL3L345->GetZaxis()->SetLabelSize(0.035); h_SL3L345->GetZaxis()->SetTitleSize(0.035); h_SL3L345->GetZaxis()->SetTitleFont(42); h_SL3L345->Draw("hist, same"); TH1D *h_SL3L446 = new TH1D("h_SL3L446","Background (digi time < 1000)",60,0,60); h_SL3L446->SetBinContent(2,60); h_SL3L446->SetBinContent(3,100); h_SL3L446->SetBinContent(4,600); h_SL3L446->SetBinContent(5,10); h_SL3L446->SetBinContent(7,80); h_SL3L446->SetBinContent(8,590); h_SL3L446->SetBinContent(9,40); h_SL3L446->SetBinContent(10,20); h_SL3L446->SetBinContent(11,40); h_SL3L446->SetBinContent(12,520); h_SL3L446->SetBinContent(14,10); h_SL3L446->SetBinContent(15,30); h_SL3L446->SetBinContent(16,640); h_SL3L446->SetBinContent(50,10); h_SL3L446->SetMaximum(736); h_SL3L446->SetEntries(60); h_SL3L446->SetDirectory(0); h_SL3L446->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L446->SetLineColor(ci); h_SL3L446->SetLineWidth(2); h_SL3L446->GetXaxis()->SetTitle("Cell"); h_SL3L446->GetXaxis()->SetLabelFont(42); h_SL3L446->GetXaxis()->SetLabelSize(0.035); h_SL3L446->GetXaxis()->SetTitleSize(0.035); h_SL3L446->GetXaxis()->SetTitleFont(42); h_SL3L446->GetYaxis()->SetTitle("Hz per wire"); h_SL3L446->GetYaxis()->SetLabelFont(42); h_SL3L446->GetYaxis()->SetLabelSize(0.035); h_SL3L446->GetYaxis()->SetTitleSize(0.035); h_SL3L446->GetYaxis()->SetTitleOffset(1.45); h_SL3L446->GetYaxis()->SetTitleFont(42); h_SL3L446->GetZaxis()->SetLabelFont(42); h_SL3L446->GetZaxis()->SetLabelSize(0.035); h_SL3L446->GetZaxis()->SetTitleSize(0.035); h_SL3L446->GetZaxis()->SetTitleFont(42); h_SL3L446->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 6253"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }