void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:41 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,-2443.402,67.5,21990.62); 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,11672.6); h_SL1L123->SetBinContent(2,12294.3); h_SL1L123->SetBinContent(3,11897.85); h_SL1L123->SetBinContent(4,11857.31); h_SL1L123->SetBinContent(5,10911.25); h_SL1L123->SetBinContent(6,11276.16); h_SL1L123->SetBinContent(7,10884.22); h_SL1L123->SetBinContent(8,11834.78); h_SL1L123->SetBinContent(9,11253.63); h_SL1L123->SetBinContent(10,11541.95); h_SL1L123->SetBinContent(11,11474.38); h_SL1L123->SetBinContent(12,11402.3); h_SL1L123->SetBinContent(13,11596.01); h_SL1L123->SetBinContent(14,10622.92); h_SL1L123->SetBinContent(15,9600.275); h_SL1L123->SetBinContent(16,9212.84); h_SL1L123->SetBinContent(17,9658.841); h_SL1L123->SetBinContent(18,10100.34); h_SL1L123->SetBinContent(19,10203.95); h_SL1L123->SetBinContent(20,10649.95); h_SL1L123->SetBinContent(21,10361.63); h_SL1L123->SetBinContent(22,10190.44); h_SL1L123->SetBinContent(23,10055.29); h_SL1L123->SetBinContent(24,9032.638); h_SL1L123->SetBinContent(25,8942.537); h_SL1L123->SetBinContent(26,8766.84); h_SL1L123->SetBinContent(27,8568.617); h_SL1L123->SetBinContent(28,9366.013); h_SL1L123->SetBinContent(29,9920.134); h_SL1L123->SetBinContent(30,9095.709); h_SL1L123->SetBinContent(31,8874.961); h_SL1L123->SetBinContent(32,8487.526); h_SL1L123->SetBinContent(33,9176.8); h_SL1L123->SetBinContent(34,8865.951); h_SL1L123->SetBinContent(35,9032.638); h_SL1L123->SetBinContent(36,8582.133); h_SL1L123->SetBinContent(37,8649.708); h_SL1L123->SetBinContent(38,9055.163); h_SL1L123->SetBinContent(39,8528.071); h_SL1L123->SetBinContent(40,7946.919); h_SL1L123->SetBinContent(41,8275.788); h_SL1L123->SetBinContent(42,8347.869); h_SL1L123->SetBinContent(43,8730.799); h_SL1L123->SetBinContent(44,8555.103); h_SL1L123->SetBinContent(45,8154.152); h_SL1L123->SetBinContent(46,7802.758); h_SL1L123->SetBinContent(47,8014.495); h_SL1L123->SetBinContent(48,7460.374); h_SL1L123->SetBinContent(49,7888.354); h_SL1L123->SetBinContent(50,8726.294); h_SL1L123->SetBinContent(51,7865.829); h_SL1L123->SetBinContent(52,8037.021); h_SL1L123->SetBinContent(53,7883.849); h_SL1L123->SetBinContent(54,7780.232); h_SL1L123->SetBinContent(55,7937.909); h_SL1L123->SetBinContent(56,8329.85); h_SL1L123->SetBinContent(57,9775.973); h_SL1L123->SetBinContent(58,10032.76); h_SL1L123->SetBinContent(59,10469.75); h_SL1L123->SetMaximum(19547.21); 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,14145.88); h_SL1L224->SetBinContent(2,15317.19); h_SL1L224->SetBinContent(3,15456.85); h_SL1L224->SetBinContent(4,15794.73); h_SL1L224->SetBinContent(5,15623.54); h_SL1L224->SetBinContent(6,15682.1); h_SL1L224->SetBinContent(7,16209.19); h_SL1L224->SetBinContent(8,16398.4); h_SL1L224->SetBinContent(9,16664.2); h_SL1L224->SetBinContent(10,16272.26); h_SL1L224->SetBinContent(11,16610.14); h_SL1L224->SetBinContent(12,16159.64); h_SL1L224->SetBinContent(13,16772.32); h_SL1L224->SetBinContent(14,16997.58); h_SL1L224->SetBinContent(15,15925.37); h_SL1L224->SetBinContent(16,14772.08); h_SL1L224->SetBinContent(17,14362.12); h_SL1L224->SetBinContent(18,15109.96); h_SL1L224->SetBinContent(19,15682.1); h_SL1L224->SetBinContent(20,16200.18); h_SL1L224->SetBinContent(21,15722.65); h_SL1L224->SetBinContent(22,15812.75); h_SL1L224->SetBinContent(23,16240.73); h_SL1L224->SetBinContent(24,15781.21); h_SL1L224->SetBinContent(25,15330.71); h_SL1L224->SetBinContent(26,14641.43); h_SL1L224->SetBinContent(27,14078.3); h_SL1L224->SetBinContent(28,14519.8); h_SL1L224->SetBinContent(29,16168.65); h_SL1L224->SetBinContent(30,16357.86); h_SL1L224->SetBinContent(31,16502.02); h_SL1L224->SetBinContent(32,16033.5); h_SL1L224->SetBinContent(33,16060.53); h_SL1L224->SetBinContent(34,15988.45); h_SL1L224->SetBinContent(35,15582.99); h_SL1L224->SetBinContent(36,15402.79); h_SL1L224->SetBinContent(37,14790.1); h_SL1L224->SetBinContent(38,15537.94); h_SL1L224->SetBinContent(39,14722.52); h_SL1L224->SetBinContent(40,14758.56); h_SL1L224->SetBinContent(41,14880.2); h_SL1L224->SetBinContent(42,15001.84); h_SL1L224->SetBinContent(43,15443.33); h_SL1L224->SetBinContent(44,15700.12); h_SL1L224->SetBinContent(45,15492.89); h_SL1L224->SetBinContent(46,14979.31); h_SL1L224->SetBinContent(47,14916.24); h_SL1L224->SetBinContent(48,15605.52); h_SL1L224->SetBinContent(49,15619.03); h_SL1L224->SetBinContent(50,15763.19); h_SL1L224->SetBinContent(51,14790.1); h_SL1L224->SetBinContent(52,15010.85); h_SL1L224->SetBinContent(53,14925.25); h_SL1L224->SetBinContent(54,15082.93); h_SL1L224->SetBinContent(55,14456.73); h_SL1L224->SetBinContent(56,14853.17); h_SL1L224->SetBinContent(57,14294.54); h_SL1L224->SetBinContent(58,14654.95); h_SL1L224->SetBinContent(59,14069.29); h_SL1L224->SetMaximum(19547.21); 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,14398.16); h_SL1L325->SetBinContent(2,14916.24); h_SL1L325->SetBinContent(3,15069.41); h_SL1L325->SetBinContent(4,15082.93); h_SL1L325->SetBinContent(5,15862.3); h_SL1L325->SetBinContent(6,15042.38); h_SL1L325->SetBinContent(7,15817.25); h_SL1L325->SetBinContent(8,16416.43); h_SL1L325->SetBinContent(9,15528.93); h_SL1L325->SetBinContent(10,15700.12); h_SL1L325->SetBinContent(11,16357.86); h_SL1L325->SetBinContent(12,16479.5); h_SL1L325->SetBinContent(13,15686.61); h_SL1L325->SetBinContent(14,15623.54); h_SL1L325->SetBinContent(15,15127.98); h_SL1L325->SetBinContent(16,15127.98); h_SL1L325->SetBinContent(17,14627.92); h_SL1L325->SetBinContent(18,14929.76); h_SL1L325->SetBinContent(19,15519.92); h_SL1L325->SetBinContent(20,15573.98); h_SL1L325->SetBinContent(21,15898.34); h_SL1L325->SetBinContent(22,15614.53); h_SL1L325->SetBinContent(23,15285.66); h_SL1L325->SetBinContent(24,15294.67); h_SL1L325->SetBinContent(25,14335.09); h_SL1L325->SetBinContent(26,13803.49); h_SL1L325->SetBinContent(27,14330.58); h_SL1L325->SetBinContent(28,14781.09); h_SL1L325->SetBinContent(29,15592); h_SL1L325->SetBinContent(30,15655.07); h_SL1L325->SetBinContent(31,15060.4); h_SL1L325->SetBinContent(32,15416.3); h_SL1L325->SetBinContent(33,15416.3); h_SL1L325->SetBinContent(34,15091.94); h_SL1L325->SetBinContent(35,14862.18); h_SL1L325->SetBinContent(36,14663.96); h_SL1L325->SetBinContent(37,14700); h_SL1L325->SetBinContent(38,14650.44); h_SL1L325->SetBinContent(39,14871.19); h_SL1L325->SetBinContent(40,14398.16); h_SL1L325->SetBinContent(41,14141.37); h_SL1L325->SetBinContent(42,14997.33); h_SL1L325->SetBinContent(43,14461.23); h_SL1L325->SetBinContent(44,15438.83); h_SL1L325->SetBinContent(45,14258.5); h_SL1L325->SetBinContent(46,14195.43); h_SL1L325->SetBinContent(47,15204.57); h_SL1L325->SetBinContent(48,15186.54); h_SL1L325->SetBinContent(49,15231.6); h_SL1L325->SetBinContent(50,13934.14); h_SL1L325->SetBinContent(51,14127.86); h_SL1L325->SetBinContent(52,14353.11); h_SL1L325->SetBinContent(53,14317.07); h_SL1L325->SetBinContent(54,13546.7); h_SL1L325->SetBinContent(55,13844.04); h_SL1L325->SetBinContent(56,13654.83); h_SL1L325->SetBinContent(57,14060.28); h_SL1L325->SetBinContent(58,14123.35); h_SL1L325->SetBinContent(59,13416.06); h_SL1L325->SetMaximum(19547.21); 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,10708.52); h_SL1L426->SetBinContent(3,10154.4); h_SL1L426->SetBinContent(4,10447.23); h_SL1L426->SetBinContent(5,10190.44); h_SL1L426->SetBinContent(6,10361.63); h_SL1L426->SetBinContent(7,9848.054); h_SL1L426->SetBinContent(8,10325.59); h_SL1L426->SetBinContent(9,11118.48); h_SL1L426->SetBinContent(10,11118.48); h_SL1L426->SetBinContent(11,11902.36); h_SL1L426->SetBinContent(12,12497.03); h_SL1L426->SetBinContent(13,12105.09); h_SL1L426->SetBinContent(14,12555.59); h_SL1L426->SetBinContent(15,11469.87); h_SL1L426->SetBinContent(16,11086.94); h_SL1L426->SetBinContent(17,10366.13); h_SL1L426->SetBinContent(18,10325.59); h_SL1L426->SetBinContent(19,10136.38); h_SL1L426->SetBinContent(20,10402.17); h_SL1L426->SetBinContent(21,10181.43); h_SL1L426->SetBinContent(22,10875.21); h_SL1L426->SetBinContent(23,9978.7); h_SL1L426->SetBinContent(24,10478.76); h_SL1L426->SetBinContent(25,9929.145); h_SL1L426->SetBinContent(26,9690.376); h_SL1L426->SetBinContent(27,9055.163); h_SL1L426->SetBinContent(28,9167.79); h_SL1L426->SetBinContent(29,9059.668); h_SL1L426->SetBinContent(30,9771.468); h_SL1L426->SetBinContent(31,9888.599); h_SL1L426->SetBinContent(32,9140.76); h_SL1L426->SetBinContent(33,8546.092); h_SL1L426->SetBinContent(34,8798.375); h_SL1L426->SetBinContent(35,9208.335); h_SL1L426->SetBinContent(36,8275.788); h_SL1L426->SetBinContent(37,7717.162); h_SL1L426->SetBinContent(38,7708.151); h_SL1L426->SetBinContent(39,8320.839); h_SL1L426->SetBinContent(40,6982.837); h_SL1L426->SetBinContent(41,7464.878); h_SL1L426->SetBinContent(42,8032.516); h_SL1L426->SetBinContent(43,8032.516); h_SL1L426->SetBinContent(44,7685.626); h_SL1L426->SetBinContent(45,7095.464); h_SL1L426->SetBinContent(46,7496.414); h_SL1L426->SetBinContent(47,7627.061); h_SL1L426->SetBinContent(48,7014.373); h_SL1L426->SetBinContent(49,7199.08); h_SL1L426->SetBinContent(50,7325.222); h_SL1L426->SetBinContent(51,7244.131); h_SL1L426->SetBinContent(52,7532.454); h_SL1L426->SetBinContent(53,7063.928); h_SL1L426->SetBinContent(54,7054.918); h_SL1L426->SetBinContent(56,7491.909); h_SL1L426->SetBinContent(57,8000.98); h_SL1L426->SetBinContent(58,9812.013); h_SL1L426->SetBinContent(59,9640.82); h_SL1L426->SetMaximum(19547.21); 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,-78.35983,67.5,705.2384); 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(57,108.1214); h_SL2L127->SetMaximum(626.8786); 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(626.8786); 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,545.1118); h_SL2L329->SetMaximum(626.8786); 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->SetMaximum(626.8786); 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,-1.942806,67.5,17.48525); 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->SetMaximum(15.54244); 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->SetMaximum(15.54244); 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->SetMaximum(15.54244); 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(50,13.51517); h_SL3L434->SetMaximum(15.54244); 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,-2433.429,67.5,21900.86); 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,10810.33); h_SL1L135->SetBinContent(2,12046.52); h_SL1L135->SetBinContent(3,11781.62); h_SL1L135->SetBinContent(4,11996.06); h_SL1L135->SetBinContent(5,10759.88); h_SL1L135->SetBinContent(6,11832.08); h_SL1L135->SetBinContent(7,10986.93); h_SL1L135->SetBinContent(8,11655.48); h_SL1L135->SetBinContent(9,10961.7); h_SL1L135->SetBinContent(10,11113.07); h_SL1L135->SetBinContent(11,11731.17); h_SL1L135->SetBinContent(12,11529.34); h_SL1L135->SetBinContent(13,10949.09); h_SL1L135->SetBinContent(14,10103.94); h_SL1L135->SetBinContent(15,9813.814); h_SL1L135->SetBinContent(16,8779.454); h_SL1L135->SetBinContent(17,9586.76); h_SL1L135->SetBinContent(18,10192.24); h_SL1L135->SetBinContent(19,10078.71); h_SL1L135->SetBinContent(20,11327.51); h_SL1L135->SetBinContent(21,10154.4); h_SL1L135->SetBinContent(22,10141.78); h_SL1L135->SetBinContent(23,9965.185); h_SL1L135->SetBinContent(24,9233.563); h_SL1L135->SetBinContent(25,9145.265); h_SL1L135->SetBinContent(26,8905.596); h_SL1L135->SetBinContent(27,8527.171); h_SL1L135->SetBinContent(28,9284.021); h_SL1L135->SetBinContent(29,10053.48); h_SL1L135->SetBinContent(30,9233.563); h_SL1L135->SetBinContent(31,8703.769); h_SL1L135->SetBinContent(32,8577.627); h_SL1L135->SetBinContent(33,9056.965); h_SL1L135->SetBinContent(34,8728.997); h_SL1L135->SetBinContent(35,9019.123); h_SL1L135->SetBinContent(36,8653.312); h_SL1L135->SetBinContent(37,8892.981); h_SL1L135->SetBinContent(38,8981.28); h_SL1L135->SetBinContent(39,8867.753); h_SL1L135->SetBinContent(40,7745.093); h_SL1L135->SetBinContent(41,8451.485); h_SL1L135->SetBinContent(42,8905.596); h_SL1L135->SetBinContent(43,8527.171); h_SL1L135->SetBinContent(44,8527.171); h_SL1L135->SetBinContent(45,7934.305); h_SL1L135->SetBinContent(46,8047.833); h_SL1L135->SetBinContent(47,7581.109); h_SL1L135->SetBinContent(48,7606.337); h_SL1L135->SetBinContent(49,7644.18); h_SL1L135->SetBinContent(50,8426.258); h_SL1L135->SetBinContent(51,8363.187); h_SL1L135->SetBinContent(52,8262.273); h_SL1L135->SetBinContent(53,7568.495); h_SL1L135->SetBinContent(54,7984.762); h_SL1L135->SetBinContent(55,7808.164); h_SL1L135->SetBinContent(56,8464.1); h_SL1L135->SetBinContent(57,9435.39); h_SL1L135->SetBinContent(58,10267.92); h_SL1L135->SetBinContent(59,10141.78); h_SL1L135->SetMaximum(19467.43); 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,14115.24); h_SL1L236->SetBinContent(2,14809.02); h_SL1L236->SetBinContent(3,15225.29); h_SL1L236->SetBinContent(4,15376.66); h_SL1L236->SetBinContent(5,15805.54); h_SL1L236->SetBinContent(6,15338.82); h_SL1L236->SetBinContent(7,16688.53); h_SL1L236->SetBinContent(8,16625.46); h_SL1L236->SetBinContent(9,16297.49); h_SL1L236->SetBinContent(10,16398.4); h_SL1L236->SetBinContent(11,16928.2); h_SL1L236->SetBinContent(12,15818.15); h_SL1L236->SetBinContent(13,16764.21); h_SL1L236->SetBinContent(14,16385.79); h_SL1L236->SetBinContent(15,15578.48); h_SL1L236->SetBinContent(16,14859.48); h_SL1L236->SetBinContent(17,14216.16); h_SL1L236->SetBinContent(18,15263.13); h_SL1L236->SetBinContent(19,15010.85); h_SL1L236->SetBinContent(20,16032.59); h_SL1L236->SetBinContent(21,15502.8); h_SL1L236->SetBinContent(22,15919.07); h_SL1L236->SetBinContent(23,15755.08); h_SL1L236->SetBinContent(24,15881.22); h_SL1L236->SetBinContent(25,15464.96); h_SL1L236->SetBinContent(26,14481.05); h_SL1L236->SetBinContent(27,14039.56); h_SL1L236->SetBinContent(28,14670.27); h_SL1L236->SetBinContent(29,16461.48); h_SL1L236->SetBinContent(30,16461.48); h_SL1L236->SetBinContent(31,16789.44); h_SL1L236->SetBinContent(32,15805.54); h_SL1L236->SetBinContent(33,15843.38); h_SL1L236->SetBinContent(34,15969.52); h_SL1L236->SetBinContent(35,15477.57); h_SL1L236->SetBinContent(36,15540.64); h_SL1L236->SetBinContent(37,14607.19); h_SL1L236->SetBinContent(38,16095.67); h_SL1L236->SetBinContent(39,14468.44); h_SL1L236->SetBinContent(40,14758.56); h_SL1L236->SetBinContent(41,14758.56); h_SL1L236->SetBinContent(42,14708.11); h_SL1L236->SetBinContent(43,15553.26); h_SL1L236->SetBinContent(44,16032.59); h_SL1L236->SetBinContent(45,15073.92); h_SL1L236->SetBinContent(46,14745.95); h_SL1L236->SetBinContent(47,14417.98); h_SL1L236->SetBinContent(48,15616.33); h_SL1L236->SetBinContent(49,15666.78); h_SL1L236->SetBinContent(50,15767.7); h_SL1L236->SetBinContent(51,15073.92); h_SL1L236->SetBinContent(52,14846.86); h_SL1L236->SetBinContent(53,15048.69); h_SL1L236->SetBinContent(54,15048.69); h_SL1L236->SetBinContent(55,14518.9); h_SL1L236->SetBinContent(56,15780.31); h_SL1L236->SetBinContent(57,14127.86); h_SL1L236->SetBinContent(58,13825.12); h_SL1L236->SetBinContent(59,13976.49); h_SL1L236->SetMaximum(19467.43); 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,14190.93); h_SL1L337->SetBinContent(2,15136.99); h_SL1L337->SetBinContent(3,15036.08); h_SL1L337->SetBinContent(4,15755.08); h_SL1L337->SetBinContent(5,15515.41); h_SL1L337->SetBinContent(6,15540.64); h_SL1L337->SetBinContent(7,15818.15); h_SL1L337->SetBinContent(8,16650.69); h_SL1L337->SetBinContent(9,15401.89); h_SL1L337->SetBinContent(10,15893.84); h_SL1L337->SetBinContent(11,16196.58); h_SL1L337->SetBinContent(12,16310.11); h_SL1L337->SetBinContent(13,15830.77); h_SL1L337->SetBinContent(14,15692.01); h_SL1L337->SetBinContent(15,15578.48); h_SL1L337->SetBinContent(16,14266.61); h_SL1L337->SetBinContent(17,14947.78); h_SL1L337->SetBinContent(18,14670.27); h_SL1L337->SetBinContent(19,15401.89); h_SL1L337->SetBinContent(20,16019.98); h_SL1L337->SetBinContent(21,15792.93); h_SL1L337->SetBinContent(22,15603.71); h_SL1L337->SetBinContent(23,15502.8); h_SL1L337->SetBinContent(24,14821.64); h_SL1L337->SetBinContent(25,13749.43); h_SL1L337->SetBinContent(26,13774.66); h_SL1L337->SetBinContent(27,14140.47); h_SL1L337->SetBinContent(28,15099.15); h_SL1L337->SetBinContent(29,16032.59); h_SL1L337->SetBinContent(30,15162.22); h_SL1L337->SetBinContent(31,15603.71); h_SL1L337->SetBinContent(32,14834.25); h_SL1L337->SetBinContent(33,15654.17); h_SL1L337->SetBinContent(34,14935.16); h_SL1L337->SetBinContent(35,14619.81); h_SL1L337->SetBinContent(36,14783.79); h_SL1L337->SetBinContent(37,14682.88); h_SL1L337->SetBinContent(38,14619.81); h_SL1L337->SetBinContent(39,15300.97); h_SL1L337->SetBinContent(40,14783.79); h_SL1L337->SetBinContent(41,13850.34); h_SL1L337->SetBinContent(42,15023.46); h_SL1L337->SetBinContent(43,14556.74); h_SL1L337->SetBinContent(44,15200.06); h_SL1L337->SetBinContent(45,14241.38); h_SL1L337->SetBinContent(46,14266.61); h_SL1L337->SetBinContent(47,15086.53); h_SL1L337->SetBinContent(48,15830.77); h_SL1L337->SetBinContent(49,15452.34); h_SL1L337->SetBinContent(50,13837.73); h_SL1L337->SetBinContent(51,13963.87); h_SL1L337->SetBinContent(52,14581.97); h_SL1L337->SetBinContent(53,14153.08); h_SL1L337->SetBinContent(54,13598.06); h_SL1L337->SetBinContent(55,13598.06); h_SL1L337->SetBinContent(56,13585.45); h_SL1L337->SetBinContent(57,14455.82); h_SL1L337->SetBinContent(58,14556.74); h_SL1L337->SetBinContent(59,13926.03); h_SL1L337->SetMaximum(19467.43); 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,10482.37); h_SL1L438->SetBinContent(3,10331); h_SL1L438->SetBinContent(4,10318.38); h_SL1L438->SetBinContent(5,10167.01); h_SL1L438->SetBinContent(6,10103.94); h_SL1L438->SetBinContent(7,9939.956); h_SL1L438->SetBinContent(8,10772.49); h_SL1L438->SetBinContent(9,10961.7); h_SL1L438->SetBinContent(10,10974.32); h_SL1L438->SetBinContent(11,12021.29); h_SL1L438->SetBinContent(12,12475.4); h_SL1L438->SetBinContent(13,12147.43); h_SL1L438->SetBinContent(14,12891.67); h_SL1L438->SetBinContent(15,11491.5); h_SL1L438->SetBinContent(16,11289.67); h_SL1L438->SetBinContent(17,10558.05); h_SL1L438->SetBinContent(18,9876.886); h_SL1L438->SetBinContent(19,10053.48); h_SL1L438->SetBinContent(20,10103.94); h_SL1L438->SetBinContent(21,9700.287); h_SL1L438->SetBinContent(22,11037.39); h_SL1L438->SetBinContent(23,9763.358); h_SL1L438->SetBinContent(24,10545.44); h_SL1L438->SetBinContent(25,10040.87); h_SL1L438->SetBinContent(26,9195.721); h_SL1L438->SetBinContent(27,8829.91); h_SL1L438->SetBinContent(28,8930.823); h_SL1L438->SetBinContent(29,9271.406); h_SL1L438->SetBinContent(30,9839.043); h_SL1L438->SetBinContent(31,9990.413); h_SL1L438->SetBinContent(32,8728.997); h_SL1L438->SetBinContent(33,8211.816); h_SL1L438->SetBinContent(34,8930.823); h_SL1L438->SetBinContent(35,8918.21); h_SL1L438->SetBinContent(36,8363.187); h_SL1L438->SetBinContent(37,7568.495); h_SL1L438->SetBinContent(38,7833.392); h_SL1L438->SetBinContent(39,8186.588); h_SL1L438->SetBinContent(40,6963.015); h_SL1L438->SetBinContent(41,7518.038); h_SL1L438->SetBinContent(42,7896.463); h_SL1L438->SetBinContent(43,8047.833); h_SL1L438->SetBinContent(44,7303.597); h_SL1L438->SetBinContent(45,7316.211); h_SL1L438->SetBinContent(46,7366.668); h_SL1L438->SetBinContent(47,7682.022); h_SL1L438->SetBinContent(48,6849.488); h_SL1L438->SetBinContent(49,7568.495); h_SL1L438->SetBinContent(50,6849.488); h_SL1L438->SetBinContent(51,7391.896); h_SL1L438->SetBinContent(52,7177.456); h_SL1L438->SetBinContent(53,6635.047); h_SL1L438->SetBinContent(54,7240.526); h_SL1L438->SetBinContent(56,7126.999); h_SL1L438->SetBinContent(57,8274.888); h_SL1L438->SetBinContent(58,9902.114); h_SL1L438->SetBinContent(59,9485.847); h_SL1L438->SetMaximum(19467.43); 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,-70.71813,67.5,636.4631); 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(57,100.9133); h_SL2L139->SetMaximum(565.745); 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(565.745); 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,491.9521); h_SL2L341->SetMaximum(565.745); 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->SetMaximum(565.745); 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,-3.626571,67.5,32.63913); 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->SetMaximum(29.01256); 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->SetMaximum(29.01256); 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->SetMaximum(29.01256); 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(50,25.22832); h_SL3L446->SetMaximum(29.01256); 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 6303"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }