void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:24 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,-1984.907,67.5,17864.17); 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,8159.747); h_SL1L123->SetBinContent(2,7573.418); h_SL1L123->SetBinContent(3,8013.165); h_SL1L123->SetBinContent(4,7436.607); h_SL1L123->SetBinContent(5,6518.025); h_SL1L123->SetBinContent(6,6806.304); h_SL1L123->SetBinContent(7,6386.101); h_SL1L123->SetBinContent(8,7280.253); h_SL1L123->SetBinContent(9,7270.481); h_SL1L123->SetBinContent(10,7255.823); h_SL1L123->SetBinContent(11,7192.304); h_SL1L123->SetBinContent(12,6899.139); h_SL1L123->SetBinContent(13,7089.696); h_SL1L123->SetBinContent(14,6122.253); h_SL1L123->SetBinContent(15,5320.937); h_SL1L123->SetBinContent(16,5584.785); h_SL1L123->SetBinContent(17,5384.456); h_SL1L123->SetBinContent(18,5790); h_SL1L123->SetBinContent(19,5941.468); h_SL1L123->SetBinContent(20,5814.43); h_SL1L123->SetBinContent(21,5824.203); h_SL1L123->SetBinContent(22,6034.304); h_SL1L123->SetBinContent(23,5618.987); h_SL1L123->SetBinContent(24,5237.874); h_SL1L123->SetBinContent(25,5115.722); h_SL1L123->SetBinContent(26,5428.43); h_SL1L123->SetBinContent(27,5149.924); h_SL1L123->SetBinContent(28,4988.684); h_SL1L123->SetBinContent(29,5706.937); h_SL1L123->SetBinContent(30,5008.228); h_SL1L123->SetBinContent(31,5228.101); h_SL1L123->SetBinContent(32,4734.607); h_SL1L123->SetBinContent(33,4969.139); h_SL1L123->SetBinContent(34,5008.228); h_SL1L123->SetBinContent(35,4983.797); h_SL1L123->SetBinContent(36,5130.38); h_SL1L123->SetBinContent(37,5252.532); h_SL1L123->SetBinContent(38,5325.823); h_SL1L123->SetBinContent(39,4939.823); h_SL1L123->SetBinContent(40,4744.38); h_SL1L123->SetBinContent(41,4700.405); h_SL1L123->SetBinContent(42,4934.937); h_SL1L123->SetBinContent(43,4690.633); h_SL1L123->SetBinContent(44,5125.494); h_SL1L123->SetBinContent(45,4548.937); h_SL1L123->SetBinContent(46,4363.266); h_SL1L123->SetBinContent(47,4358.38); h_SL1L123->SetBinContent(48,4153.165); h_SL1L123->SetBinContent(49,4636.886); h_SL1L123->SetBinContent(50,4710.177); h_SL1L123->SetBinContent(51,4680.861); h_SL1L123->SetBinContent(52,4588.025); h_SL1L123->SetBinContent(53,4583.139); h_SL1L123->SetBinContent(54,4377.924); h_SL1L123->SetBinContent(55,4255.772); h_SL1L123->SetBinContent(56,4939.823); h_SL1L123->SetBinContent(57,5887.722); h_SL1L123->SetBinContent(58,6478.937); h_SL1L123->SetBinContent(59,6205.316); h_SL1L123->SetMaximum(15879.26); 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,11663.06); h_SL1L224->SetBinContent(2,12454.61); h_SL1L224->SetBinContent(3,12708.68); h_SL1L224->SetBinContent(4,13241.27); h_SL1L224->SetBinContent(5,12728.23); h_SL1L224->SetBinContent(6,13563.75); h_SL1L224->SetBinContent(7,12723.34); h_SL1L224->SetBinContent(8,12654.94); h_SL1L224->SetBinContent(9,12640.28); h_SL1L224->SetBinContent(10,12957.87); h_SL1L224->SetBinContent(11,13808.05); h_SL1L224->SetBinContent(12,13617.49); h_SL1L224->SetBinContent(13,13627.27); h_SL1L224->SetBinContent(14,13783.62); h_SL1L224->SetBinContent(15,13143.54); h_SL1L224->SetBinContent(16,12215.19); h_SL1L224->SetBinContent(17,11208.66); h_SL1L224->SetBinContent(18,12195.65); h_SL1L224->SetBinContent(19,12630.51); h_SL1L224->SetBinContent(20,12874.81); h_SL1L224->SetBinContent(21,13221.72); h_SL1L224->SetBinContent(22,13759.19); h_SL1L224->SetBinContent(23,13319.44); h_SL1L224->SetBinContent(24,12327.57); h_SL1L224->SetBinContent(25,13202.18); h_SL1L224->SetBinContent(26,11848.73); h_SL1L224->SetBinContent(27,11540.91); h_SL1L224->SetBinContent(28,12200.53); h_SL1L224->SetBinContent(29,12259.17); h_SL1L224->SetBinContent(30,12948.1); h_SL1L224->SetBinContent(31,13211.95); h_SL1L224->SetBinContent(32,13080.03); h_SL1L224->SetBinContent(33,13177.75); h_SL1L224->SetBinContent(34,12185.87); h_SL1L224->SetBinContent(35,13319.44); h_SL1L224->SetBinContent(36,12264.05); h_SL1L224->SetBinContent(37,12151.67); h_SL1L224->SetBinContent(38,11702.15); h_SL1L224->SetBinContent(39,12239.62); h_SL1L224->SetBinContent(40,11638.63); h_SL1L224->SetBinContent(41,11702.15); h_SL1L224->SetBinContent(42,12005.09); h_SL1L224->SetBinContent(43,12557.21); h_SL1L224->SetBinContent(44,12352); h_SL1L224->SetBinContent(45,12381.32); h_SL1L224->SetBinContent(46,12454.61); h_SL1L224->SetBinContent(47,11487.17); h_SL1L224->SetBinContent(48,12053.95); h_SL1L224->SetBinContent(49,12073.49); h_SL1L224->SetBinContent(50,11707.04); h_SL1L224->SetBinContent(51,12053.95); h_SL1L224->SetBinContent(52,11560.46); h_SL1L224->SetBinContent(53,12264.05); h_SL1L224->SetBinContent(54,11145.14); h_SL1L224->SetBinContent(55,11316.15); h_SL1L224->SetBinContent(56,11589.77); h_SL1L224->SetBinContent(57,10974.13); h_SL1L224->SetBinContent(58,11096.28); h_SL1L224->SetBinContent(59,10988.79); h_SL1L224->SetMaximum(15879.26); 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,11790.1); h_SL1L325->SetBinContent(2,12185.87); h_SL1L325->SetBinContent(3,12757.54); h_SL1L325->SetBinContent(4,12620.73); h_SL1L325->SetBinContent(5,12606.08); h_SL1L325->SetBinContent(6,12239.62); h_SL1L325->SetBinContent(7,12596.3); h_SL1L325->SetBinContent(8,12913.9); h_SL1L325->SetBinContent(9,12855.27); h_SL1L325->SetBinContent(10,12835.72); h_SL1L325->SetBinContent(11,13563.75); h_SL1L325->SetBinContent(12,13153.32); h_SL1L325->SetBinContent(13,13304.79); h_SL1L325->SetBinContent(14,12928.56); h_SL1L325->SetBinContent(15,12366.66); h_SL1L325->SetBinContent(16,12009.97); h_SL1L325->SetBinContent(17,11145.14); h_SL1L325->SetBinContent(18,11975.77); h_SL1L325->SetBinContent(19,12107.7); h_SL1L325->SetBinContent(20,12772.2); h_SL1L325->SetBinContent(21,13011.62); h_SL1L325->SetBinContent(22,12166.33); h_SL1L325->SetBinContent(23,12630.51); h_SL1L325->SetBinContent(24,12537.67); h_SL1L325->SetBinContent(25,12034.41); h_SL1L325->SetBinContent(26,10705.39); h_SL1L325->SetBinContent(27,11907.37); h_SL1L325->SetBinContent(28,11936.68); h_SL1L325->SetBinContent(29,11956.23); h_SL1L325->SetBinContent(30,12713.57); h_SL1L325->SetBinContent(31,12571.87); h_SL1L325->SetBinContent(32,12273.82); h_SL1L325->SetBinContent(33,11838.96); h_SL1L325->SetBinContent(34,12552.33); h_SL1L325->SetBinContent(35,12049.06); h_SL1L325->SetBinContent(36,11736.35); h_SL1L325->SetBinContent(37,11804.76); h_SL1L325->SetBinContent(38,11628.86); h_SL1L325->SetBinContent(39,11726.58); h_SL1L325->SetBinContent(40,11242.86); h_SL1L325->SetBinContent(41,11663.06); h_SL1L325->SetBinContent(42,12185.87); h_SL1L325->SetBinContent(43,12024.63); h_SL1L325->SetBinContent(44,12562.1); h_SL1L325->SetBinContent(45,11775.44); h_SL1L325->SetBinContent(46,11912.25); h_SL1L325->SetBinContent(47,11834.08); h_SL1L325->SetBinContent(48,12093.04); h_SL1L325->SetBinContent(49,11970.89); h_SL1L325->SetBinContent(50,11555.57); h_SL1L325->SetBinContent(51,11321.04); h_SL1L325->SetBinContent(52,10739.59); h_SL1L325->SetBinContent(53,10983.9); h_SL1L325->SetBinContent(54,10729.82); h_SL1L325->SetBinContent(55,11003.44); h_SL1L325->SetBinContent(56,11003.44); h_SL1L325->SetBinContent(57,11125.59); h_SL1L325->SetBinContent(58,10988.79); h_SL1L325->SetBinContent(59,11130.48); h_SL1L325->SetMaximum(15879.26); 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,7299.797); h_SL1L426->SetBinContent(3,6522.912); h_SL1L426->SetBinContent(4,6454.506); h_SL1L426->SetBinContent(5,5941.468); h_SL1L426->SetBinContent(6,6410.532); h_SL1L426->SetBinContent(7,6268.835); h_SL1L426->SetBinContent(8,6395.874); h_SL1L426->SetBinContent(9,6601.089); h_SL1L426->SetBinContent(10,6889.367); h_SL1L426->SetBinContent(11,7729.772); h_SL1L426->SetBinContent(12,8330.76); h_SL1L426->SetBinContent(13,8032.709); h_SL1L426->SetBinContent(14,8071.797); h_SL1L426->SetBinContent(15,7827.494); h_SL1L426->SetBinContent(16,6742.785); h_SL1L426->SetBinContent(17,6772.101); h_SL1L426->SetBinContent(18,6483.823); h_SL1L426->SetBinContent(19,6630.405); h_SL1L426->SetBinContent(20,6117.367); h_SL1L426->SetBinContent(21,6454.506); h_SL1L426->SetBinContent(22,6786.76); h_SL1L426->SetBinContent(23,6161.342); h_SL1L426->SetBinContent(24,6464.278); h_SL1L426->SetBinContent(25,5540.81); h_SL1L426->SetBinContent(26,5877.949); h_SL1L426->SetBinContent(27,5579.899); h_SL1L426->SetBinContent(28,5579.899); h_SL1L426->SetBinContent(29,5223.215); h_SL1L426->SetBinContent(30,5467.519); h_SL1L426->SetBinContent(31,5579.899); h_SL1L426->SetBinContent(32,5223.215); h_SL1L426->SetBinContent(33,5091.291); h_SL1L426->SetBinContent(34,5203.671); h_SL1L426->SetBinContent(35,5438.203); h_SL1L426->SetBinContent(36,4729.722); h_SL1L426->SetBinContent(37,4148.278); h_SL1L426->SetBinContent(38,4460.987); h_SL1L426->SetBinContent(39,4881.19); h_SL1L426->SetBinContent(40,4211.797); h_SL1L426->SetBinContent(41,4016.354); h_SL1L426->SetBinContent(42,4588.025); h_SL1L426->SetBinContent(43,4910.506); h_SL1L426->SetBinContent(44,4964.253); h_SL1L426->SetBinContent(45,3864.886); h_SL1L426->SetBinContent(46,4206.912); h_SL1L426->SetBinContent(47,4001.696); h_SL1L426->SetBinContent(48,3894.203); h_SL1L426->SetBinContent(49,3811.139); h_SL1L426->SetBinContent(50,4299.747); h_SL1L426->SetBinContent(51,4162.937); h_SL1L426->SetBinContent(52,4153.165); h_SL1L426->SetBinContent(53,4055.443); h_SL1L426->SetBinContent(54,4026.127); h_SL1L426->SetBinContent(56,4314.405); h_SL1L426->SetBinContent(57,4729.722); h_SL1L426->SetBinContent(58,5917.038); h_SL1L426->SetBinContent(59,5804.658); h_SL1L426->SetMaximum(15879.26); 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,-75.85634,67.5,682.707); 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,131.9241); h_SL2L127->SetMaximum(606.8507); 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(606.8507); 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,527.6962); h_SL2L329->SetMaximum(606.8507); 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(606.8507); 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,-3.511867,67.5,31.6068); 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(28.09494); 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(28.09494); 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(28.09494); 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,24.43038); h_SL3L434->SetMaximum(28.09494); 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,-2004.012,67.5,18036.11); 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,8017.074); h_SL1L135->SetBinContent(2,8222.289); h_SL1L135->SetBinContent(3,8194.927); h_SL1L135->SetBinContent(4,7497.195); h_SL1L135->SetBinContent(5,6867.869); h_SL1L135->SetBinContent(6,6867.869); h_SL1L135->SetBinContent(7,6320.628); h_SL1L135->SetBinContent(8,7209.894); h_SL1L135->SetBinContent(9,7127.808); h_SL1L135->SetBinContent(10,6758.42); h_SL1L135->SetBinContent(11,7168.851); h_SL1L135->SetBinContent(12,6539.524); h_SL1L135->SetBinContent(13,7114.127); h_SL1L135->SetBinContent(14,6361.671); h_SL1L135->SetBinContent(15,5362.957); h_SL1L135->SetBinContent(16,6060.689); h_SL1L135->SetBinContent(17,5362.957); h_SL1L135->SetBinContent(18,5568.172); h_SL1L135->SetBinContent(19,5691.301); h_SL1L135->SetBinContent(20,5814.431); h_SL1L135->SetBinContent(21,6074.37); h_SL1L135->SetBinContent(22,5910.198); h_SL1L135->SetBinContent(23,5253.509); h_SL1L135->SetBinContent(24,5472.405); h_SL1L135->SetBinContent(25,5349.276); h_SL1L135->SetBinContent(26,5390.319); h_SL1L135->SetBinContent(27,5007.251); h_SL1L135->SetBinContent(28,5130.38); h_SL1L135->SetBinContent(29,5445.043); h_SL1L135->SetBinContent(30,5239.828); h_SL1L135->SetBinContent(31,5212.466); h_SL1L135->SetBinContent(32,4282.157); h_SL1L135->SetBinContent(33,4678.906); h_SL1L135->SetBinContent(34,4747.312); h_SL1L135->SetBinContent(35,5212.466); h_SL1L135->SetBinContent(36,5171.423); h_SL1L135->SetBinContent(37,5321.914); h_SL1L135->SetBinContent(38,5239.828); h_SL1L135->SetBinContent(39,5034.613); h_SL1L135->SetBinContent(40,4911.484); h_SL1L135->SetBinContent(41,5362.957); h_SL1L135->SetBinContent(42,4651.544); h_SL1L135->SetBinContent(43,4938.846); h_SL1L135->SetBinContent(44,4788.354); h_SL1L135->SetBinContent(45,4692.587); h_SL1L135->SetBinContent(46,4076.942); h_SL1L135->SetBinContent(47,4254.795); h_SL1L135->SetBinContent(48,3967.494); h_SL1L135->SetBinContent(49,4706.269); h_SL1L135->SetBinContent(50,4432.648); h_SL1L135->SetBinContent(51,4583.139); h_SL1L135->SetBinContent(52,4870.44); h_SL1L135->SetBinContent(53,4610.501); h_SL1L135->SetBinContent(54,3734.917); h_SL1L135->SetBinContent(55,4186.39); h_SL1L135->SetBinContent(56,4719.95); h_SL1L135->SetBinContent(57,5896.517); h_SL1L135->SetBinContent(58,6703.696); h_SL1L135->SetBinContent(59,6074.37); h_SL1L135->SetMaximum(16032.09); 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,11669.9); h_SL1L236->SetBinContent(2,12518.13); h_SL1L236->SetBinContent(3,12504.45); h_SL1L236->SetBinContent(4,13270.58); h_SL1L236->SetBinContent(5,12654.94); h_SL1L236->SetBinContent(6,12901.2); h_SL1L236->SetBinContent(7,12955.92); h_SL1L236->SetBinContent(8,12750.7); h_SL1L236->SetBinContent(9,12217.14); h_SL1L236->SetBinContent(10,13120.09); h_SL1L236->SetBinContent(11,13913.59); h_SL1L236->SetBinContent(12,13927.27); h_SL1L236->SetBinContent(13,13612.61); h_SL1L236->SetBinContent(14,13913.59); h_SL1L236->SetBinContent(15,13133.77); h_SL1L236->SetBinContent(16,12203.46); h_SL1L236->SetBinContent(17,11505.73); h_SL1L236->SetBinContent(18,12395); h_SL1L236->SetBinContent(19,12121.38); h_SL1L236->SetBinContent(20,12942.24); h_SL1L236->SetBinContent(21,13940.95); h_SL1L236->SetBinContent(22,13872.55); h_SL1L236->SetBinContent(23,12860.15); h_SL1L236->SetBinContent(24,11998.25); h_SL1L236->SetBinContent(25,12723.34); h_SL1L236->SetBinContent(26,11423.65); h_SL1L236->SetBinContent(27,11368.92); h_SL1L236->SetBinContent(28,12395); h_SL1L236->SetBinContent(29,12367.64); h_SL1L236->SetBinContent(30,13243.22); h_SL1L236->SetBinContent(31,13516.84); h_SL1L236->SetBinContent(32,12504.45); h_SL1L236->SetBinContent(33,13626.29); h_SL1L236->SetBinContent(34,11533.09); h_SL1L236->SetBinContent(35,13462.12); h_SL1L236->SetBinContent(36,12381.32); h_SL1L236->SetBinContent(37,11642.54); h_SL1L236->SetBinContent(38,11533.09); h_SL1L236->SetBinContent(39,12217.14); h_SL1L236->SetBinContent(40,11820.4); h_SL1L236->SetBinContent(41,11136.34); h_SL1L236->SetBinContent(42,12340.27); h_SL1L236->SetBinContent(43,12928.56); h_SL1L236->SetBinContent(44,12312.91); h_SL1L236->SetBinContent(45,11943.52); h_SL1L236->SetBinContent(46,13188.5); h_SL1L236->SetBinContent(47,12162.42); h_SL1L236->SetBinContent(48,12011.93); h_SL1L236->SetBinContent(49,11286.84); h_SL1L236->SetBinContent(50,12244.51); h_SL1L236->SetBinContent(51,12121.38); h_SL1L236->SetBinContent(52,11847.76); h_SL1L236->SetBinContent(53,12244.51); h_SL1L236->SetBinContent(54,11314.2); h_SL1L236->SetBinContent(55,11341.56); h_SL1L236->SetBinContent(56,12039.29); h_SL1L236->SetBinContent(57,10999.53); h_SL1L236->SetBinContent(58,10753.28); h_SL1L236->SetBinContent(59,11327.88); h_SL1L236->SetMaximum(16032.09); 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,11669.9); h_SL1L337->SetBinContent(2,12203.46); h_SL1L337->SetBinContent(3,12668.62); h_SL1L337->SetBinContent(4,12381.32); h_SL1L337->SetBinContent(5,12463.4); h_SL1L337->SetBinContent(6,12477.08); h_SL1L337->SetBinContent(7,12778.07); h_SL1L337->SetBinContent(8,13051.69); h_SL1L337->SetBinContent(9,12873.83); h_SL1L337->SetBinContent(10,12600.21); h_SL1L337->SetBinContent(11,13270.58); h_SL1L337->SetBinContent(12,13215.86); h_SL1L337->SetBinContent(13,12586.53); h_SL1L337->SetBinContent(14,12408.68); h_SL1L337->SetBinContent(15,12066.65); h_SL1L337->SetBinContent(16,11642.54); h_SL1L337->SetBinContent(17,10739.6); h_SL1L337->SetBinContent(18,11478.37); h_SL1L337->SetBinContent(19,12107.7); h_SL1L337->SetBinContent(20,13051.69); h_SL1L337->SetBinContent(21,12518.13); h_SL1L337->SetBinContent(22,12737.02); h_SL1L337->SetBinContent(23,12627.58); h_SL1L337->SetBinContent(24,12668.62); h_SL1L337->SetBinContent(25,11724.63); h_SL1L337->SetBinContent(26,10274.44); h_SL1L337->SetBinContent(27,12011.93); h_SL1L337->SetBinContent(28,11847.76); h_SL1L337->SetBinContent(29,12463.4); h_SL1L337->SetBinContent(30,13120.09); h_SL1L337->SetBinContent(31,13079.05); h_SL1L337->SetBinContent(32,11998.25); h_SL1L337->SetBinContent(33,11710.95); h_SL1L337->SetBinContent(34,13544.2); h_SL1L337->SetBinContent(35,12572.85); h_SL1L337->SetBinContent(36,11970.89); h_SL1L337->SetBinContent(37,12025.61); h_SL1L337->SetBinContent(38,11437.33); h_SL1L337->SetBinContent(39,11683.58); h_SL1L337->SetBinContent(40,11601.5); h_SL1L337->SetBinContent(41,11519.41); h_SL1L337->SetBinContent(42,12271.87); h_SL1L337->SetBinContent(43,11738.31); h_SL1L337->SetBinContent(44,12750.7); h_SL1L337->SetBinContent(45,11409.96); h_SL1L337->SetBinContent(46,11943.52); h_SL1L337->SetBinContent(47,11464.69); h_SL1L337->SetBinContent(48,11847.76); h_SL1L337->SetBinContent(49,11533.09); h_SL1L337->SetBinContent(50,11191.07); h_SL1L337->SetBinContent(51,11273.16); h_SL1L337->SetBinContent(52,11232.11); h_SL1L337->SetBinContent(53,10972.17); h_SL1L337->SetBinContent(54,10452.29); h_SL1L337->SetBinContent(55,11560.46); h_SL1L337->SetBinContent(56,11054.26); h_SL1L337->SetBinContent(57,11409.96); h_SL1L337->SetBinContent(58,11505.73); h_SL1L337->SetBinContent(59,11218.43); h_SL1L337->SetMaximum(16032.09); 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,7264.618); h_SL1L438->SetBinContent(3,6785.783); h_SL1L438->SetBinContent(4,6690.016); h_SL1L438->SetBinContent(5,5034.613); h_SL1L438->SetBinContent(6,6676.334); h_SL1L438->SetBinContent(7,6334.309); h_SL1L438->SetBinContent(8,6484.8); h_SL1L438->SetBinContent(9,6607.929); h_SL1L438->SetBinContent(10,7018.36); h_SL1L438->SetBinContent(11,8222.289); h_SL1L438->SetBinContent(12,8386.461); h_SL1L438->SetBinContent(13,7893.944); h_SL1L438->SetBinContent(14,8249.651); h_SL1L438->SetBinContent(15,8359.099); h_SL1L438->SetBinContent(16,7086.765); h_SL1L438->SetBinContent(17,7346.704); h_SL1L438->SetBinContent(18,6334.309); h_SL1L438->SetBinContent(19,6703.696); h_SL1L438->SetBinContent(20,5896.517); h_SL1L438->SetBinContent(21,6580.567); h_SL1L438->SetBinContent(22,6635.292); h_SL1L438->SetBinContent(23,6088.051); h_SL1L438->SetBinContent(24,6389.033); h_SL1L438->SetBinContent(25,5663.939); h_SL1L438->SetBinContent(26,5828.112); h_SL1L438->SetBinContent(27,5554.491); h_SL1L438->SetBinContent(28,5992.284); h_SL1L438->SetBinContent(29,5198.785); h_SL1L438->SetBinContent(30,5527.129); h_SL1L438->SetBinContent(31,5472.405); h_SL1L438->SetBinContent(32,5198.785); h_SL1L438->SetBinContent(33,5103.018); h_SL1L438->SetBinContent(34,5226.147); h_SL1L438->SetBinContent(35,5636.578); h_SL1L438->SetBinContent(36,4897.803); h_SL1L438->SetBinContent(37,4405.286); h_SL1L438->SetBinContent(38,4460.01); h_SL1L438->SetBinContent(39,4897.803); h_SL1L438->SetBinContent(40,4213.752); h_SL1L438->SetBinContent(41,3844.365); h_SL1L438->SetBinContent(42,4350.562); h_SL1L438->SetBinContent(43,4870.44); h_SL1L438->SetBinContent(44,4788.354); h_SL1L438->SetBinContent(45,3940.132); h_SL1L438->SetBinContent(46,4268.476); h_SL1L438->SetBinContent(47,4254.795); h_SL1L438->SetBinContent(48,4104.304); h_SL1L438->SetBinContent(49,3885.408); h_SL1L438->SetBinContent(50,4008.537); h_SL1L438->SetBinContent(51,4200.071); h_SL1L438->SetBinContent(52,4131.666); h_SL1L438->SetBinContent(53,4131.666); h_SL1L438->SetBinContent(54,4131.666); h_SL1L438->SetBinContent(56,4514.734); h_SL1L438->SetBinContent(57,4719.95); h_SL1L438->SetBinContent(58,5828.112); h_SL1L438->SetBinContent(59,6443.757); h_SL1L438->SetMaximum(16032.09); 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,-62.93266,67.5,566.3939); 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,123.1291); h_SL2L139->SetMaximum(503.4613); 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(503.4613); 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,437.7924); h_SL2L341->SetMaximum(503.4613); 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(503.4613); 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.933292,67.5,35.39962); 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(31.46633); 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(31.46633); 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(31.46633); 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,27.36203); h_SL3L446->SetMaximum(31.46633); 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 6305"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }