void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:25:36 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,-2550.536,67.5,22954.82); 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,6247.619); h_SL1L123->SetBinContent(2,6057.143); h_SL1L123->SetBinContent(3,6028.571); h_SL1L123->SetBinContent(4,5442.857); h_SL1L123->SetBinContent(5,4266.667); h_SL1L123->SetBinContent(6,5009.524); h_SL1L123->SetBinContent(7,4547.619); h_SL1L123->SetBinContent(8,5100); h_SL1L123->SetBinContent(9,5000); h_SL1L123->SetBinContent(10,4952.381); h_SL1L123->SetBinContent(11,5219.047); h_SL1L123->SetBinContent(12,5071.429); h_SL1L123->SetBinContent(13,5057.143); h_SL1L123->SetBinContent(14,4333.333); h_SL1L123->SetBinContent(15,3600); h_SL1L123->SetBinContent(16,3552.381); h_SL1L123->SetBinContent(17,3452.381); h_SL1L123->SetBinContent(18,4176.19); h_SL1L123->SetBinContent(19,4114.286); h_SL1L123->SetBinContent(20,3652.381); h_SL1L123->SetBinContent(21,3700); h_SL1L123->SetBinContent(22,4000); h_SL1L123->SetBinContent(23,3566.667); h_SL1L123->SetBinContent(24,2961.905); h_SL1L123->SetBinContent(25,2919.048); h_SL1L123->SetBinContent(26,3500); h_SL1L123->SetBinContent(27,3409.524); h_SL1L123->SetBinContent(28,3214.286); h_SL1L123->SetBinContent(29,3742.857); h_SL1L123->SetBinContent(30,3114.286); h_SL1L123->SetBinContent(31,2942.857); h_SL1L123->SetBinContent(32,2776.19); h_SL1L123->SetBinContent(33,2900); h_SL1L123->SetBinContent(34,3257.143); h_SL1L123->SetBinContent(35,3171.428); h_SL1L123->SetBinContent(36,3033.333); h_SL1L123->SetBinContent(37,3600); h_SL1L123->SetBinContent(38,3780.952); h_SL1L123->SetBinContent(39,3542.857); h_SL1L123->SetBinContent(40,2557.143); h_SL1L123->SetBinContent(41,2938.095); h_SL1L123->SetBinContent(42,3180.952); h_SL1L123->SetBinContent(43,3219.048); h_SL1L123->SetBinContent(44,3285.714); h_SL1L123->SetBinContent(45,2938.095); h_SL1L123->SetBinContent(46,2447.619); h_SL1L123->SetBinContent(47,2571.428); h_SL1L123->SetBinContent(48,2376.19); h_SL1L123->SetBinContent(49,2761.905); h_SL1L123->SetBinContent(50,2952.381); h_SL1L123->SetBinContent(51,3042.857); h_SL1L123->SetBinContent(52,2761.905); h_SL1L123->SetBinContent(53,2947.619); h_SL1L123->SetBinContent(54,2676.19); h_SL1L123->SetBinContent(55,2461.905); h_SL1L123->SetBinContent(56,3252.381); h_SL1L123->SetBinContent(57,4561.905); h_SL1L123->SetBinContent(58,5338.095); h_SL1L123->SetBinContent(59,6185.714); h_SL1L123->SetMaximum(20404.29); 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,13571.43); h_SL1L224->SetBinContent(2,13547.62); h_SL1L224->SetBinContent(3,15166.67); h_SL1L224->SetBinContent(4,15576.19); h_SL1L224->SetBinContent(5,14490.48); h_SL1L224->SetBinContent(6,15280.95); h_SL1L224->SetBinContent(7,15014.29); h_SL1L224->SetBinContent(8,15219.05); h_SL1L224->SetBinContent(9,15757.14); h_SL1L224->SetBinContent(10,14938.09); h_SL1L224->SetBinContent(11,16514.29); h_SL1L224->SetBinContent(12,16152.38); h_SL1L224->SetBinContent(13,17519.05); h_SL1L224->SetBinContent(14,16295.24); h_SL1L224->SetBinContent(15,15966.67); h_SL1L224->SetBinContent(16,15100); h_SL1L224->SetBinContent(17,13328.57); h_SL1L224->SetBinContent(18,15285.71); h_SL1L224->SetBinContent(19,15680.95); h_SL1L224->SetBinContent(20,15738.09); h_SL1L224->SetBinContent(21,16214.29); h_SL1L224->SetBinContent(22,15947.62); h_SL1L224->SetBinContent(23,15838.09); h_SL1L224->SetBinContent(24,15314.29); h_SL1L224->SetBinContent(25,15514.29); h_SL1L224->SetBinContent(26,13671.43); h_SL1L224->SetBinContent(27,13728.57); h_SL1L224->SetBinContent(28,14147.62); h_SL1L224->SetBinContent(29,15333.33); h_SL1L224->SetBinContent(30,16380.95); h_SL1L224->SetBinContent(31,16571.43); h_SL1L224->SetBinContent(32,15500); h_SL1L224->SetBinContent(33,16376.19); h_SL1L224->SetBinContent(34,16161.9); h_SL1L224->SetBinContent(35,15733.33); h_SL1L224->SetBinContent(36,15838.09); h_SL1L224->SetBinContent(37,14428.57); h_SL1L224->SetBinContent(38,16585.71); h_SL1L224->SetBinContent(39,16176.19); h_SL1L224->SetBinContent(40,15780.95); h_SL1L224->SetBinContent(41,16809.52); h_SL1L224->SetBinContent(42,16023.81); h_SL1L224->SetBinContent(43,17742.86); h_SL1L224->SetBinContent(44,16547.62); h_SL1L224->SetBinContent(45,16747.62); h_SL1L224->SetBinContent(46,16947.62); h_SL1L224->SetBinContent(47,14614.29); h_SL1L224->SetBinContent(48,15219.05); h_SL1L224->SetBinContent(49,16090.48); h_SL1L224->SetBinContent(50,16790.48); h_SL1L224->SetBinContent(51,16719.05); h_SL1L224->SetBinContent(52,16109.52); h_SL1L224->SetBinContent(53,16609.52); h_SL1L224->SetBinContent(54,15461.9); h_SL1L224->SetBinContent(55,15966.67); h_SL1L224->SetBinContent(56,16123.81); h_SL1L224->SetBinContent(57,14323.81); h_SL1L224->SetBinContent(58,14752.38); h_SL1L224->SetBinContent(59,14785.71); h_SL1L224->SetMaximum(20404.29); 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,13290.48); h_SL1L325->SetBinContent(2,13761.9); h_SL1L325->SetBinContent(3,13680.95); h_SL1L325->SetBinContent(4,14885.71); h_SL1L325->SetBinContent(5,14600); h_SL1L325->SetBinContent(6,15514.29); h_SL1L325->SetBinContent(7,15071.43); h_SL1L325->SetBinContent(8,15890.48); h_SL1L325->SetBinContent(9,15014.29); h_SL1L325->SetBinContent(10,15133.33); h_SL1L325->SetBinContent(11,16109.52); h_SL1L325->SetBinContent(12,16257.14); h_SL1L325->SetBinContent(13,16909.52); h_SL1L325->SetBinContent(14,15333.33); h_SL1L325->SetBinContent(15,14947.62); h_SL1L325->SetBinContent(16,14652.38); h_SL1L325->SetBinContent(17,14338.09); h_SL1L325->SetBinContent(18,15023.81); h_SL1L325->SetBinContent(19,15014.29); h_SL1L325->SetBinContent(20,15561.9); h_SL1L325->SetBinContent(21,15585.71); h_SL1L325->SetBinContent(22,15657.14); h_SL1L325->SetBinContent(23,15323.81); h_SL1L325->SetBinContent(24,14747.62); h_SL1L325->SetBinContent(25,13600); h_SL1L325->SetBinContent(26,13571.43); h_SL1L325->SetBinContent(27,14985.71); h_SL1L325->SetBinContent(28,14828.57); h_SL1L325->SetBinContent(29,15614.29); h_SL1L325->SetBinContent(30,15438.09); h_SL1L325->SetBinContent(31,15500); h_SL1L325->SetBinContent(32,15719.05); h_SL1L325->SetBinContent(33,15395.24); h_SL1L325->SetBinContent(34,15742.86); h_SL1L325->SetBinContent(35,15157.14); h_SL1L325->SetBinContent(36,15695.24); h_SL1L325->SetBinContent(37,15528.57); h_SL1L325->SetBinContent(38,16085.71); h_SL1L325->SetBinContent(39,16728.57); h_SL1L325->SetBinContent(40,14595.24); h_SL1L325->SetBinContent(41,15585.71); h_SL1L325->SetBinContent(42,16961.9); h_SL1L325->SetBinContent(43,16747.62); h_SL1L325->SetBinContent(44,16533.33); h_SL1L325->SetBinContent(45,16080.95); h_SL1L325->SetBinContent(46,15228.57); h_SL1L325->SetBinContent(47,15719.05); h_SL1L325->SetBinContent(48,15080.95); h_SL1L325->SetBinContent(49,15719.05); h_SL1L325->SetBinContent(50,15442.86); h_SL1L325->SetBinContent(51,15976.19); h_SL1L325->SetBinContent(52,14833.33); h_SL1L325->SetBinContent(53,14519.05); h_SL1L325->SetBinContent(54,14314.29); h_SL1L325->SetBinContent(55,14185.71); h_SL1L325->SetBinContent(56,14776.19); h_SL1L325->SetBinContent(57,15528.57); h_SL1L325->SetBinContent(58,14747.62); h_SL1L325->SetBinContent(59,14142.86); h_SL1L325->SetMaximum(20404.29); 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,5376.19); h_SL1L426->SetBinContent(3,4828.571); h_SL1L426->SetBinContent(4,4376.19); h_SL1L426->SetBinContent(5,4271.429); h_SL1L426->SetBinContent(6,4576.19); h_SL1L426->SetBinContent(7,4338.095); h_SL1L426->SetBinContent(8,4323.81); h_SL1L426->SetBinContent(9,4852.381); h_SL1L426->SetBinContent(10,5128.571); h_SL1L426->SetBinContent(11,6052.381); h_SL1L426->SetBinContent(12,6809.524); h_SL1L426->SetBinContent(13,6509.524); h_SL1L426->SetBinContent(14,6800); h_SL1L426->SetBinContent(15,5623.81); h_SL1L426->SetBinContent(16,5338.095); h_SL1L426->SetBinContent(17,4814.286); h_SL1L426->SetBinContent(18,4871.429); h_SL1L426->SetBinContent(19,4757.143); h_SL1L426->SetBinContent(20,4671.429); h_SL1L426->SetBinContent(21,4423.81); h_SL1L426->SetBinContent(22,4990.476); h_SL1L426->SetBinContent(23,4495.238); h_SL1L426->SetBinContent(24,4428.571); h_SL1L426->SetBinContent(25,3919.048); h_SL1L426->SetBinContent(26,4109.524); h_SL1L426->SetBinContent(27,3938.095); h_SL1L426->SetBinContent(28,3952.381); h_SL1L426->SetBinContent(29,3704.762); h_SL1L426->SetBinContent(30,3576.19); h_SL1L426->SetBinContent(31,4009.524); h_SL1L426->SetBinContent(32,3480.952); h_SL1L426->SetBinContent(33,2800); h_SL1L426->SetBinContent(34,3042.857); h_SL1L426->SetBinContent(35,3919.048); h_SL1L426->SetBinContent(36,3009.524); h_SL1L426->SetBinContent(37,2485.714); h_SL1L426->SetBinContent(38,2719.048); h_SL1L426->SetBinContent(39,3361.905); h_SL1L426->SetBinContent(40,2409.524); h_SL1L426->SetBinContent(41,2566.667); h_SL1L426->SetBinContent(42,2738.095); h_SL1L426->SetBinContent(43,3290.476); h_SL1L426->SetBinContent(44,2842.857); h_SL1L426->SetBinContent(45,2109.524); h_SL1L426->SetBinContent(46,2580.952); h_SL1L426->SetBinContent(47,2385.714); h_SL1L426->SetBinContent(48,2290.476); h_SL1L426->SetBinContent(49,2342.857); h_SL1L426->SetBinContent(50,2361.905); h_SL1L426->SetBinContent(51,2638.095); h_SL1L426->SetBinContent(52,2604.762); h_SL1L426->SetBinContent(53,2347.619); h_SL1L426->SetBinContent(54,2533.333); h_SL1L426->SetBinContent(56,3023.81); h_SL1L426->SetBinContent(57,3342.857); h_SL1L426->SetBinContent(58,4785.714); h_SL1L426->SetBinContent(59,5457.143); h_SL1L426->SetMaximum(20404.29); 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,-86.93453,67.5,782.4107); 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,604.7619); h_SL2L127->SetMaximum(695.4762); 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(695.4762); 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->SetMaximum(695.4762); 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(695.4762); 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,-0.6845239,67.5,6.160714); 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(5.47619); 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(5.47619); 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(5.47619); 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,4.761905); h_SL3L434->SetMaximum(5.47619); 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,-2530,67.5,22770); 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,6346.667); h_SL1L135->SetBinContent(2,6200); h_SL1L135->SetBinContent(3,6093.333); h_SL1L135->SetBinContent(4,5626.667); h_SL1L135->SetBinContent(5,4280); h_SL1L135->SetBinContent(6,5240); h_SL1L135->SetBinContent(7,4160); h_SL1L135->SetBinContent(8,5013.333); h_SL1L135->SetBinContent(9,5133.333); h_SL1L135->SetBinContent(10,5266.667); h_SL1L135->SetBinContent(11,5280); h_SL1L135->SetBinContent(12,5053.333); h_SL1L135->SetBinContent(13,5053.333); h_SL1L135->SetBinContent(14,4160); h_SL1L135->SetBinContent(15,3626.667); h_SL1L135->SetBinContent(16,3480); h_SL1L135->SetBinContent(17,3400); h_SL1L135->SetBinContent(18,4160); h_SL1L135->SetBinContent(19,3960); h_SL1L135->SetBinContent(20,3680); h_SL1L135->SetBinContent(21,3666.667); h_SL1L135->SetBinContent(22,3760); h_SL1L135->SetBinContent(23,3453.333); h_SL1L135->SetBinContent(24,2933.333); h_SL1L135->SetBinContent(25,2706.667); h_SL1L135->SetBinContent(26,3640); h_SL1L135->SetBinContent(27,3346.667); h_SL1L135->SetBinContent(28,3053.333); h_SL1L135->SetBinContent(29,3546.667); h_SL1L135->SetBinContent(30,2760); h_SL1L135->SetBinContent(31,2893.333); h_SL1L135->SetBinContent(32,2866.667); h_SL1L135->SetBinContent(33,2960); h_SL1L135->SetBinContent(34,3186.667); h_SL1L135->SetBinContent(35,3266.667); h_SL1L135->SetBinContent(36,2733.333); h_SL1L135->SetBinContent(37,3760); h_SL1L135->SetBinContent(38,3400); h_SL1L135->SetBinContent(39,3453.333); h_SL1L135->SetBinContent(40,2546.667); h_SL1L135->SetBinContent(41,2866.667); h_SL1L135->SetBinContent(42,3306.667); h_SL1L135->SetBinContent(43,3226.667); h_SL1L135->SetBinContent(44,3093.333); h_SL1L135->SetBinContent(45,3093.333); h_SL1L135->SetBinContent(46,2280); h_SL1L135->SetBinContent(47,2493.333); h_SL1L135->SetBinContent(48,2480); h_SL1L135->SetBinContent(49,2800); h_SL1L135->SetBinContent(50,2586.667); h_SL1L135->SetBinContent(51,3080); h_SL1L135->SetBinContent(52,2746.667); h_SL1L135->SetBinContent(53,2720); h_SL1L135->SetBinContent(54,2546.667); h_SL1L135->SetBinContent(55,2440); h_SL1L135->SetBinContent(56,3066.667); h_SL1L135->SetBinContent(57,4720); h_SL1L135->SetBinContent(58,5680); h_SL1L135->SetBinContent(59,5720); h_SL1L135->SetMaximum(20240); 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,13813.33); h_SL1L236->SetBinContent(2,13613.33); h_SL1L236->SetBinContent(3,15173.33); h_SL1L236->SetBinContent(4,15560); h_SL1L236->SetBinContent(5,14666.67); h_SL1L236->SetBinContent(6,15893.33); h_SL1L236->SetBinContent(7,14946.67); h_SL1L236->SetBinContent(8,15146.67); h_SL1L236->SetBinContent(9,15493.33); h_SL1L236->SetBinContent(10,15160); h_SL1L236->SetBinContent(11,17160); h_SL1L236->SetBinContent(12,15613.33); h_SL1L236->SetBinContent(13,17413.33); h_SL1L236->SetBinContent(14,16293.33); h_SL1L236->SetBinContent(15,16293.33); h_SL1L236->SetBinContent(16,15106.67); h_SL1L236->SetBinContent(17,13453.33); h_SL1L236->SetBinContent(18,14946.67); h_SL1L236->SetBinContent(19,16040); h_SL1L236->SetBinContent(20,15506.67); h_SL1L236->SetBinContent(21,16106.67); h_SL1L236->SetBinContent(22,16120); h_SL1L236->SetBinContent(23,15826.67); h_SL1L236->SetBinContent(24,15600); h_SL1L236->SetBinContent(25,15586.67); h_SL1L236->SetBinContent(26,14226.67); h_SL1L236->SetBinContent(27,14266.67); h_SL1L236->SetBinContent(28,13880); h_SL1L236->SetBinContent(29,15386.67); h_SL1L236->SetBinContent(30,16120); h_SL1L236->SetBinContent(31,16546.67); h_SL1L236->SetBinContent(32,15400); h_SL1L236->SetBinContent(33,16306.67); h_SL1L236->SetBinContent(34,16106.67); h_SL1L236->SetBinContent(35,15866.67); h_SL1L236->SetBinContent(36,16093.33); h_SL1L236->SetBinContent(37,13906.67); h_SL1L236->SetBinContent(38,16733.33); h_SL1L236->SetBinContent(39,16293.33); h_SL1L236->SetBinContent(40,15906.67); h_SL1L236->SetBinContent(41,17493.33); h_SL1L236->SetBinContent(42,16440); h_SL1L236->SetBinContent(43,17240); h_SL1L236->SetBinContent(44,16986.67); h_SL1L236->SetBinContent(45,16760); h_SL1L236->SetBinContent(46,17333.33); h_SL1L236->SetBinContent(47,15480); h_SL1L236->SetBinContent(48,14533.33); h_SL1L236->SetBinContent(49,16293.33); h_SL1L236->SetBinContent(50,16146.67); h_SL1L236->SetBinContent(51,16946.67); h_SL1L236->SetBinContent(52,15786.67); h_SL1L236->SetBinContent(53,16613.33); h_SL1L236->SetBinContent(54,15653.33); h_SL1L236->SetBinContent(55,16280); h_SL1L236->SetBinContent(56,16506.67); h_SL1L236->SetBinContent(57,14560); h_SL1L236->SetBinContent(58,13786.67); h_SL1L236->SetBinContent(59,14640); h_SL1L236->SetMaximum(20240); 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,13346.67); h_SL1L337->SetBinContent(2,13586.67); h_SL1L337->SetBinContent(3,13920); h_SL1L337->SetBinContent(4,14573.33); h_SL1L337->SetBinContent(5,14826.67); h_SL1L337->SetBinContent(6,15213.33); h_SL1L337->SetBinContent(7,14760); h_SL1L337->SetBinContent(8,15186.67); h_SL1L337->SetBinContent(9,14800); h_SL1L337->SetBinContent(10,14826.67); h_SL1L337->SetBinContent(11,16440); h_SL1L337->SetBinContent(12,16080); h_SL1L337->SetBinContent(13,16720); h_SL1L337->SetBinContent(14,15493.33); h_SL1L337->SetBinContent(15,14466.67); h_SL1L337->SetBinContent(16,14613.33); h_SL1L337->SetBinContent(17,14413.33); h_SL1L337->SetBinContent(18,15146.67); h_SL1L337->SetBinContent(19,14706.67); h_SL1L337->SetBinContent(20,15866.67); h_SL1L337->SetBinContent(21,15946.67); h_SL1L337->SetBinContent(22,15840); h_SL1L337->SetBinContent(23,15693.33); h_SL1L337->SetBinContent(24,15746.67); h_SL1L337->SetBinContent(25,13586.67); h_SL1L337->SetBinContent(26,13786.67); h_SL1L337->SetBinContent(27,15320); h_SL1L337->SetBinContent(28,14600); h_SL1L337->SetBinContent(29,15053.33); h_SL1L337->SetBinContent(30,15640); h_SL1L337->SetBinContent(31,15466.67); h_SL1L337->SetBinContent(32,15586.67); h_SL1L337->SetBinContent(33,15893.33); h_SL1L337->SetBinContent(34,16040); h_SL1L337->SetBinContent(35,15666.67); h_SL1L337->SetBinContent(36,15373.33); h_SL1L337->SetBinContent(37,15506.67); h_SL1L337->SetBinContent(38,16026.67); h_SL1L337->SetBinContent(39,16560); h_SL1L337->SetBinContent(40,14720); h_SL1L337->SetBinContent(41,14693.33); h_SL1L337->SetBinContent(42,17600); h_SL1L337->SetBinContent(43,16346.67); h_SL1L337->SetBinContent(44,16760); h_SL1L337->SetBinContent(45,16333.33); h_SL1L337->SetBinContent(46,14293.33); h_SL1L337->SetBinContent(47,16480); h_SL1L337->SetBinContent(48,14520); h_SL1L337->SetBinContent(49,16040); h_SL1L337->SetBinContent(50,16146.67); h_SL1L337->SetBinContent(51,16226.67); h_SL1L337->SetBinContent(52,14186.67); h_SL1L337->SetBinContent(53,14640); h_SL1L337->SetBinContent(54,13760); h_SL1L337->SetBinContent(55,14920); h_SL1L337->SetBinContent(56,14333.33); h_SL1L337->SetBinContent(57,14946.67); h_SL1L337->SetBinContent(58,14733.33); h_SL1L337->SetBinContent(59,14586.67); h_SL1L337->SetMaximum(20240); 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,4986.667); h_SL1L438->SetBinContent(3,4733.333); h_SL1L438->SetBinContent(4,4466.667); h_SL1L438->SetBinContent(5,4120); h_SL1L438->SetBinContent(6,4573.333); h_SL1L438->SetBinContent(7,4306.667); h_SL1L438->SetBinContent(8,4093.333); h_SL1L438->SetBinContent(9,5093.333); h_SL1L438->SetBinContent(10,4920); h_SL1L438->SetBinContent(11,5933.333); h_SL1L438->SetBinContent(12,6506.667); h_SL1L438->SetBinContent(13,6560); h_SL1L438->SetBinContent(14,7026.667); h_SL1L438->SetBinContent(15,5480); h_SL1L438->SetBinContent(16,5026.667); h_SL1L438->SetBinContent(17,4893.333); h_SL1L438->SetBinContent(18,4826.667); h_SL1L438->SetBinContent(19,4973.333); h_SL1L438->SetBinContent(20,4733.333); h_SL1L438->SetBinContent(21,4506.667); h_SL1L438->SetBinContent(22,4693.333); h_SL1L438->SetBinContent(23,4493.333); h_SL1L438->SetBinContent(24,4400); h_SL1L438->SetBinContent(25,3946.667); h_SL1L438->SetBinContent(26,4133.333); h_SL1L438->SetBinContent(27,3960); h_SL1L438->SetBinContent(28,3920); h_SL1L438->SetBinContent(29,3906.667); h_SL1L438->SetBinContent(30,3826.667); h_SL1L438->SetBinContent(31,4333.333); h_SL1L438->SetBinContent(32,3466.667); h_SL1L438->SetBinContent(33,2813.333); h_SL1L438->SetBinContent(34,3013.333); h_SL1L438->SetBinContent(35,4093.333); h_SL1L438->SetBinContent(36,3013.333); h_SL1L438->SetBinContent(37,2680); h_SL1L438->SetBinContent(38,2840); h_SL1L438->SetBinContent(39,3173.333); h_SL1L438->SetBinContent(40,2466.667); h_SL1L438->SetBinContent(41,2680); h_SL1L438->SetBinContent(42,2653.333); h_SL1L438->SetBinContent(43,3586.667); h_SL1L438->SetBinContent(44,2880); h_SL1L438->SetBinContent(45,2013.333); h_SL1L438->SetBinContent(46,2573.333); h_SL1L438->SetBinContent(47,2253.333); h_SL1L438->SetBinContent(48,2240); h_SL1L438->SetBinContent(49,2306.667); h_SL1L438->SetBinContent(50,2466.667); h_SL1L438->SetBinContent(51,2893.333); h_SL1L438->SetBinContent(52,2600); h_SL1L438->SetBinContent(53,1960); h_SL1L438->SetBinContent(54,2520); h_SL1L438->SetBinContent(56,3106.667); h_SL1L438->SetBinContent(57,3373.333); h_SL1L438->SetBinContent(58,4626.667); h_SL1L438->SetBinContent(59,5320); h_SL1L438->SetMaximum(20240); 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,-95.83333,67.5,862.5); 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,666.6666); h_SL2L139->SetMaximum(766.6666); 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(766.6666); 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->SetMaximum(766.6666); 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(766.6666); 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,-0.125,67.5,1.125); 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(0); 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(0); 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(0); 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->SetMaximum(0); 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 6356"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }