void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:46 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,-1604.512,67.5,14440.6); 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,5921.155); h_SL1L123->SetBinContent(2,5810.686); h_SL1L123->SetBinContent(3,5801.848); h_SL1L123->SetBinContent(4,5408.577); h_SL1L123->SetBinContent(5,4480.635); h_SL1L123->SetBinContent(6,4679.48); h_SL1L123->SetBinContent(7,4785.53); h_SL1L123->SetBinContent(8,4940.188); h_SL1L123->SetBinContent(9,4542.498); h_SL1L123->SetBinContent(10,5002.05); h_SL1L123->SetBinContent(11,5024.144); h_SL1L123->SetBinContent(12,4949.025); h_SL1L123->SetBinContent(13,5002.05); h_SL1L123->SetBinContent(14,4480.635); h_SL1L123->SetBinContent(15,3822.238); h_SL1L123->SetBinContent(16,3433.386); h_SL1L123->SetBinContent(17,3694.094); h_SL1L123->SetBinContent(18,3959.22); h_SL1L123->SetBinContent(19,3976.895); h_SL1L123->SetBinContent(20,4149.227); h_SL1L123->SetBinContent(21,3954.801); h_SL1L123->SetBinContent(22,3968.057); h_SL1L123->SetBinContent(23,4100.621); h_SL1L123->SetBinContent(24,3318.498); h_SL1L123->SetBinContent(25,3119.653); h_SL1L123->SetBinContent(26,3512.924); h_SL1L123->SetBinContent(27,3402.455); h_SL1L123->SetBinContent(28,3349.429); h_SL1L123->SetBinContent(29,3839.913); h_SL1L123->SetBinContent(30,3433.386); h_SL1L123->SetBinContent(31,3424.549); h_SL1L123->SetBinContent(32,3455.48); h_SL1L123->SetBinContent(33,3380.361); h_SL1L123->SetBinContent(34,3442.224); h_SL1L123->SetBinContent(35,3592.462); h_SL1L123->SetBinContent(36,3384.78); h_SL1L123->SetBinContent(37,3632.231); h_SL1L123->SetBinContent(38,3875.263); h_SL1L123->SetBinContent(39,3685.256); h_SL1L123->SetBinContent(40,2907.552); h_SL1L123->SetBinContent(41,3296.404); h_SL1L123->SetBinContent(42,3212.448); h_SL1L123->SetBinContent(43,3230.123); h_SL1L123->SetBinContent(44,3283.148); h_SL1L123->SetBinContent(45,3079.884); h_SL1L123->SetBinContent(46,2819.177); h_SL1L123->SetBinContent(47,3084.303); h_SL1L123->SetBinContent(48,2801.502); h_SL1L123->SetBinContent(49,3000.346); h_SL1L123->SetBinContent(50,3389.198); h_SL1L123->SetBinContent(51,3318.498); h_SL1L123->SetBinContent(52,2969.415); h_SL1L123->SetBinContent(53,3097.559); h_SL1L123->SetBinContent(54,2872.202); h_SL1L123->SetBinContent(55,2721.964); h_SL1L123->SetBinContent(56,3084.303); h_SL1L123->SetBinContent(57,4211.09); h_SL1L123->SetBinContent(58,4582.267); h_SL1L123->SetBinContent(59,4520.404); h_SL1L123->SetMaximum(12836.09); 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,9871.537); h_SL1L224->SetBinContent(2,9738.974); h_SL1L224->SetBinContent(3,10892.27); h_SL1L224->SetBinContent(4,11161.82); h_SL1L224->SetBinContent(5,10176.43); h_SL1L224->SetBinContent(6,10428.3); h_SL1L224->SetBinContent(7,10401.79); h_SL1L224->SetBinContent(8,10702.27); h_SL1L224->SetBinContent(9,10207.36); h_SL1L224->SetBinContent(10,10388.53); h_SL1L224->SetBinContent(11,11011.58); h_SL1L224->SetBinContent(12,10728.78); h_SL1L224->SetBinContent(13,10901.11); h_SL1L224->SetBinContent(14,10861.34); h_SL1L224->SetBinContent(15,10494.58); h_SL1L224->SetBinContent(16,9226.396); h_SL1L224->SetBinContent(17,9235.234); h_SL1L224->SetBinContent(18,9460.592); h_SL1L224->SetBinContent(19,10154.34); h_SL1L224->SetBinContent(20,10552.03); h_SL1L224->SetBinContent(21,10640.4); h_SL1L224->SetBinContent(22,10989.49); h_SL1L224->SetBinContent(23,10560.87); h_SL1L224->SetBinContent(24,10123.41); h_SL1L224->SetBinContent(25,10432.72); h_SL1L224->SetBinContent(26,9690.367); h_SL1L224->SetBinContent(27,9036.39); h_SL1L224->SetBinContent(28,9504.779); h_SL1L224->SetBinContent(29,9968.75); h_SL1L224->SetBinContent(30,10092.48); h_SL1L224->SetBinContent(31,10141.08); h_SL1L224->SetBinContent(32,10309); h_SL1L224->SetBinContent(33,10136.66); h_SL1L224->SetBinContent(34,10587.38); h_SL1L224->SetBinContent(35,10079.22); h_SL1L224->SetBinContent(36,9557.805); h_SL1L224->SetBinContent(37,9217.559); h_SL1L224->SetBinContent(38,9920.144); h_SL1L224->SetBinContent(39,9955.494); h_SL1L224->SetBinContent(40,9473.848); h_SL1L224->SetBinContent(41,9526.873); h_SL1L224->SetBinContent(42,9350.122); h_SL1L224->SetBinContent(43,10335.51); h_SL1L224->SetBinContent(44,9482.686); h_SL1L224->SetBinContent(45,9504.779); h_SL1L224->SetBinContent(46,9964.331); h_SL1L224->SetBinContent(47,8890.569); h_SL1L224->SetBinContent(48,9221.978); h_SL1L224->SetBinContent(49,9297.097); h_SL1L224->SetBinContent(50,10079.22); h_SL1L224->SetBinContent(51,9310.354); h_SL1L224->SetBinContent(52,9407.566); h_SL1L224->SetBinContent(53,10145.5); h_SL1L224->SetBinContent(54,9151.277); h_SL1L224->SetBinContent(55,8961.271); h_SL1L224->SetBinContent(56,9049.646); h_SL1L224->SetBinContent(57,8519.393); h_SL1L224->SetBinContent(58,8961.271); h_SL1L224->SetBinContent(59,8855.22); h_SL1L224->SetMaximum(12836.09); 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,9257.328); h_SL1L325->SetBinContent(2,9990.844); h_SL1L325->SetBinContent(3,10141.08); h_SL1L325->SetBinContent(4,10445.98); h_SL1L325->SetBinContent(5,9875.956); h_SL1L325->SetBinContent(6,10653.66); h_SL1L325->SetBinContent(7,10415.05); h_SL1L325->SetBinContent(8,10105.73); h_SL1L325->SetBinContent(9,10649.24); h_SL1L325->SetBinContent(10,10286.9); h_SL1L325->SetBinContent(11,10724.36); h_SL1L325->SetBinContent(12,10397.37); h_SL1L325->SetBinContent(13,11046.93); h_SL1L325->SetBinContent(14,10291.32); h_SL1L325->SetBinContent(15,10039.45); h_SL1L325->SetBinContent(16,9102.671); h_SL1L325->SetBinContent(17,9275.003); h_SL1L325->SetBinContent(18,9495.941); h_SL1L325->SetBinContent(19,10247.13); h_SL1L325->SetBinContent(20,10057.13); h_SL1L325->SetBinContent(21,10428.3); h_SL1L325->SetBinContent(22,10233.88); h_SL1L325->SetBinContent(23,10211.78); h_SL1L325->SetBinContent(24,10021.78); h_SL1L325->SetBinContent(25,9230.815); h_SL1L325->SetBinContent(26,8943.595); h_SL1L325->SetBinContent(27,9557.805); h_SL1L325->SetBinContent(28,9637.342); h_SL1L325->SetBinContent(29,9787.58); h_SL1L325->SetBinContent(30,9548.967); h_SL1L325->SetBinContent(31,9787.58); h_SL1L325->SetBinContent(32,9703.624); h_SL1L325->SetBinContent(33,9557.805); h_SL1L325->SetBinContent(34,10118.99); h_SL1L325->SetBinContent(35,10061.54); h_SL1L325->SetBinContent(36,9332.447); h_SL1L325->SetBinContent(37,9884.794); h_SL1L325->SetBinContent(38,9478.267); h_SL1L325->SetBinContent(39,9951.075); h_SL1L325->SetBinContent(40,8638.699); h_SL1L325->SetBinContent(41,9403.147); h_SL1L325->SetBinContent(42,9959.912); h_SL1L325->SetBinContent(43,9973.169); h_SL1L325->SetBinContent(44,9601.992); h_SL1L325->SetBinContent(45,9319.19); h_SL1L325->SetBinContent(46,9531.292); h_SL1L325->SetBinContent(47,9513.616); h_SL1L325->SetBinContent(48,8912.663); h_SL1L325->SetBinContent(49,9363.378); h_SL1L325->SetBinContent(50,9593.154); h_SL1L325->SetBinContent(51,9204.303); h_SL1L325->SetBinContent(52,8828.707); h_SL1L325->SetBinContent(53,8572.418); h_SL1L325->SetBinContent(54,8651.956); h_SL1L325->SetBinContent(55,8585.675); h_SL1L325->SetBinContent(56,8881.732); h_SL1L325->SetBinContent(57,9124.765); h_SL1L325->SetBinContent(58,8550.324); h_SL1L325->SetBinContent(59,8271.941); h_SL1L325->SetMaximum(12836.09); 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,5280.433); h_SL1L426->SetBinContent(3,4719.249); h_SL1L426->SetBinContent(4,4546.917); h_SL1L426->SetBinContent(5,4193.415); h_SL1L426->SetBinContent(6,4644.129); h_SL1L426->SetBinContent(7,4591.104); h_SL1L426->SetBinContent(8,4370.166); h_SL1L426->SetBinContent(9,4869.487); h_SL1L426->SetBinContent(10,4887.162); h_SL1L426->SetBinContent(11,5249.501); h_SL1L426->SetBinContent(12,5925.574); h_SL1L426->SetBinContent(13,5854.873); h_SL1L426->SetBinContent(14,5779.754); h_SL1L426->SetBinContent(15,5470.44); h_SL1L426->SetBinContent(16,5130.194); h_SL1L426->SetBinContent(17,4670.642); h_SL1L426->SetBinContent(18,4467.379); h_SL1L426->SetBinContent(19,4414.354); h_SL1L426->SetBinContent(20,4202.252); h_SL1L426->SetBinContent(21,4489.473); h_SL1L426->SetBinContent(22,4688.317); h_SL1L426->SetBinContent(23,4299.465); h_SL1L426->SetBinContent(24,4507.147); h_SL1L426->SetBinContent(25,3764.794); h_SL1L426->SetBinContent(26,3954.801); h_SL1L426->SetBinContent(27,3729.444); h_SL1L426->SetBinContent(28,4038.758); h_SL1L426->SetBinContent(29,3786.888); h_SL1L426->SetBinContent(30,3782.469); h_SL1L426->SetBinContent(31,3800.144); h_SL1L426->SetBinContent(32,3508.505); h_SL1L426->SetBinContent(33,3446.642); h_SL1L426->SetBinContent(34,3627.812); h_SL1L426->SetBinContent(35,3892.938); h_SL1L426->SetBinContent(36,3574.787); h_SL1L426->SetBinContent(37,2907.552); h_SL1L426->SetBinContent(38,3115.234); h_SL1L426->SetBinContent(39,3565.949); h_SL1L426->SetBinContent(40,2699.87); h_SL1L426->SetBinContent(41,3013.603); h_SL1L426->SetBinContent(42,2934.065); h_SL1L426->SetBinContent(43,3720.606); h_SL1L426->SetBinContent(44,3221.285); h_SL1L426->SetBinContent(45,2686.614); h_SL1L426->SetBinContent(46,3353.848); h_SL1L426->SetBinContent(47,2761.733); h_SL1L426->SetBinContent(48,2673.357); h_SL1L426->SetBinContent(49,2403.812); h_SL1L426->SetBinContent(50,2814.758); h_SL1L426->SetBinContent(51,2828.014); h_SL1L426->SetBinContent(52,2744.058); h_SL1L426->SetBinContent(53,2792.664); h_SL1L426->SetBinContent(54,2814.758); h_SL1L426->SetBinContent(56,2942.902); h_SL1L426->SetBinContent(57,3097.559); h_SL1L426->SetBinContent(58,3963.639); h_SL1L426->SetBinContent(59,4082.946); h_SL1L426->SetMaximum(12836.09); 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,-68.60144,67.5,617.4129); 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,101.6318); h_SL2L127->SetMaximum(548.8115); 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(548.8115); 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,477.2274); h_SL2L329->SetMaximum(548.8115); 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(548.8115); 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.905596,67.5,17.15036); 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.24476); 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.24476); 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.24476); 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.25632); h_SL3L434->SetMaximum(15.24476); 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,-1639.829,67.5,14758.46); 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,5530.535); h_SL1L135->SetBinContent(2,6025.438); h_SL1L135->SetBinContent(3,5827.477); h_SL1L135->SetBinContent(4,5604.771); h_SL1L135->SetBinContent(5,4726.319); h_SL1L135->SetBinContent(6,4862.417); h_SL1L135->SetBinContent(7,5159.358); h_SL1L135->SetBinContent(8,4812.927); h_SL1L135->SetBinContent(9,4713.946); h_SL1L135->SetBinContent(10,5159.358); h_SL1L135->SetBinContent(11,5010.888); h_SL1L135->SetBinContent(12,4998.515); h_SL1L135->SetBinContent(13,5146.986); h_SL1L135->SetBinContent(14,4751.064); h_SL1L135->SetBinContent(15,3922.102); h_SL1L135->SetBinContent(16,3266.356); h_SL1L135->SetBinContent(17,3847.867); h_SL1L135->SetBinContent(18,4082.946); h_SL1L135->SetBinContent(19,4379.887); h_SL1L135->SetBinContent(20,4181.926); h_SL1L135->SetBinContent(21,4008.71); h_SL1L135->SetBinContent(22,4095.318); h_SL1L135->SetBinContent(23,4144.809); h_SL1L135->SetBinContent(24,3451.945); h_SL1L135->SetBinContent(25,3043.65); h_SL1L135->SetBinContent(26,3773.632); h_SL1L135->SetBinContent(27,3303.474); h_SL1L135->SetBinContent(28,3402.455); h_SL1L135->SetBinContent(29,3971.593); h_SL1L135->SetBinContent(30,3229.239); h_SL1L135->SetBinContent(31,3476.69); h_SL1L135->SetBinContent(32,3315.847); h_SL1L135->SetBinContent(33,3352.964); h_SL1L135->SetBinContent(34,3501.435); h_SL1L135->SetBinContent(35,3884.985); h_SL1L135->SetBinContent(36,3575.671); h_SL1L135->SetBinContent(37,3674.651); h_SL1L135->SetBinContent(38,3909.73); h_SL1L135->SetBinContent(39,3649.906); h_SL1L135->SetBinContent(40,2796.199); h_SL1L135->SetBinContent(41,3167.376); h_SL1L135->SetBinContent(42,3352.964); h_SL1L135->SetBinContent(43,3229.239); h_SL1L135->SetBinContent(44,3303.474); h_SL1L135->SetBinContent(45,2969.415); h_SL1L135->SetBinContent(46,2796.199); h_SL1L135->SetBinContent(47,2870.435); h_SL1L135->SetBinContent(48,2870.435); h_SL1L135->SetBinContent(49,2969.415); h_SL1L135->SetBinContent(50,3291.102); h_SL1L135->SetBinContent(51,3513.808); h_SL1L135->SetBinContent(52,2796.199); h_SL1L135->SetBinContent(53,2907.552); h_SL1L135->SetBinContent(54,3080.768); h_SL1L135->SetBinContent(55,2622.983); h_SL1L135->SetBinContent(56,3167.376); h_SL1L135->SetBinContent(57,4169.554); h_SL1L135->SetBinContent(58,4454.123); h_SL1L135->SetBinContent(59,4515.985); h_SL1L135->SetMaximum(13118.63); 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,9613.481); h_SL1L236->SetBinContent(2,9712.462); h_SL1L236->SetBinContent(3,10665.15); h_SL1L236->SetBinContent(4,11407.5); h_SL1L236->SetBinContent(5,10170.25); h_SL1L236->SetBinContent(6,10108.38); h_SL1L236->SetBinContent(7,10145.5); h_SL1L236->SetBinContent(8,10479.56); h_SL1L236->SetBinContent(9,10355.83); h_SL1L236->SetBinContent(10,9737.207); h_SL1L236->SetBinContent(11,10937.34); h_SL1L236->SetBinContent(12,10504.31); h_SL1L236->SetBinContent(13,10949.72); h_SL1L236->SetBinContent(14,11172.42); h_SL1L236->SetBinContent(15,10219.74); h_SL1L236->SetBinContent(16,9291.794); h_SL1L236->SetBinContent(17,9563.991); h_SL1L236->SetBinContent(18,9601.108); h_SL1L236->SetBinContent(19,10541.42); h_SL1L236->SetBinContent(20,10368.21); h_SL1L236->SetBinContent(21,10751.76); h_SL1L236->SetBinContent(22,10999.21); h_SL1L236->SetBinContent(23,10021.78); h_SL1L236->SetBinContent(24,9860.933); h_SL1L236->SetBinContent(25,10306.34); h_SL1L236->SetBinContent(26,9700.089); h_SL1L236->SetBinContent(27,9143.323); h_SL1L236->SetBinContent(28,9650.599); h_SL1L236->SetBinContent(29,9873.305); h_SL1L236->SetBinContent(30,10529.05); h_SL1L236->SetBinContent(31,10281.6); h_SL1L236->SetBinContent(32,10665.15); h_SL1L236->SetBinContent(33,10170.25); h_SL1L236->SetBinContent(34,11197.17); h_SL1L236->SetBinContent(35,10133.13); h_SL1L236->SetBinContent(36,9799.069); h_SL1L236->SetBinContent(37,9229.932); h_SL1L236->SetBinContent(38,10145.5); h_SL1L236->SetBinContent(39,9910.423); h_SL1L236->SetBinContent(40,9093.833); h_SL1L236->SetBinContent(41,9093.833); h_SL1L236->SetBinContent(42,9403.147); h_SL1L236->SetBinContent(43,10566.17); h_SL1L236->SetBinContent(44,9378.402); h_SL1L236->SetBinContent(45,9811.442); h_SL1L236->SetBinContent(46,9304.167); h_SL1L236->SetBinContent(47,9403.147); h_SL1L236->SetBinContent(48,9007.226); h_SL1L236->SetBinContent(49,9415.52); h_SL1L236->SetBinContent(50,10108.38); h_SL1L236->SetBinContent(51,9155.696); h_SL1L236->SetBinContent(52,9613.481); h_SL1L236->SetBinContent(53,10232.11); h_SL1L236->SetBinContent(54,9192.813); h_SL1L236->SetBinContent(55,9081.461); h_SL1L236->SetBinContent(56,8970.107); h_SL1L236->SetBinContent(57,7992.675); h_SL1L236->SetBinContent(58,8759.774); h_SL1L236->SetBinContent(59,8772.146); h_SL1L236->SetMaximum(13118.63); 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,9502.128); h_SL1L337->SetBinContent(2,9910.423); h_SL1L337->SetBinContent(3,9860.933); h_SL1L337->SetBinContent(4,10430.07); h_SL1L337->SetBinContent(5,9935.168); h_SL1L337->SetBinContent(6,10652.78); h_SL1L337->SetBinContent(7,10170.25); h_SL1L337->SetBinContent(8,10467.19); h_SL1L337->SetBinContent(9,11135.31); h_SL1L337->SetBinContent(10,10232.11); h_SL1L337->SetBinContent(11,11147.68); h_SL1L337->SetBinContent(12,10071.27); h_SL1L337->SetBinContent(13,10764.13); h_SL1L337->SetBinContent(14,10368.21); h_SL1L337->SetBinContent(15,10157.87); h_SL1L337->SetBinContent(16,9378.402); h_SL1L337->SetBinContent(17,9093.833); h_SL1L337->SetBinContent(18,9390.774); h_SL1L337->SetBinContent(19,10467.19); h_SL1L337->SetBinContent(20,10442.44); h_SL1L337->SetBinContent(21,10306.34); h_SL1L337->SetBinContent(22,10306.34); h_SL1L337->SetBinContent(23,10293.97); h_SL1L337->SetBinContent(24,9737.207); h_SL1L337->SetBinContent(25,8636.049); h_SL1L337->SetBinContent(26,8772.146); h_SL1L337->SetBinContent(27,9465.01); h_SL1L337->SetBinContent(28,9502.128); h_SL1L337->SetBinContent(29,9588.736); h_SL1L337->SetBinContent(30,9477.383); h_SL1L337->SetBinContent(31,9279.422); h_SL1L337->SetBinContent(32,9304.167); h_SL1L337->SetBinContent(33,9737.207); h_SL1L337->SetBinContent(34,9774.324); h_SL1L337->SetBinContent(35,9601.108); h_SL1L337->SetBinContent(36,9229.932); h_SL1L337->SetBinContent(37,9749.579); h_SL1L337->SetBinContent(38,9898.05); h_SL1L337->SetBinContent(39,10281.6); h_SL1L337->SetBinContent(40,8772.146); h_SL1L337->SetBinContent(41,8846.382); h_SL1L337->SetBinContent(42,10046.52); h_SL1L337->SetBinContent(43,9836.188); h_SL1L337->SetBinContent(44,10083.64); h_SL1L337->SetBinContent(45,8821.637); h_SL1L337->SetBinContent(46,9700.089); h_SL1L337->SetBinContent(47,9304.167); h_SL1L337->SetBinContent(48,8994.853); h_SL1L337->SetBinContent(49,9106.206); h_SL1L337->SetBinContent(50,9403.147); h_SL1L337->SetBinContent(51,8772.146); h_SL1L337->SetBinContent(52,8735.029); h_SL1L337->SetBinContent(53,8351.479); h_SL1L337->SetBinContent(54,8598.931); h_SL1L337->SetBinContent(55,8524.695); h_SL1L337->SetBinContent(56,9477.383); h_SL1L337->SetBinContent(57,9242.304); h_SL1L337->SetBinContent(58,8475.205); h_SL1L337->SetBinContent(59,8190.636); h_SL1L337->SetMaximum(13118.63); 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,5530.535); h_SL1L438->SetBinContent(3,5048.005); h_SL1L438->SetBinContent(4,4305.652); h_SL1L438->SetBinContent(5,4169.554); h_SL1L438->SetBinContent(6,4763.437); h_SL1L438->SetBinContent(7,4540.73); h_SL1L438->SetBinContent(8,4441.75); h_SL1L438->SetBinContent(9,4775.809); h_SL1L438->SetBinContent(10,4367.515); h_SL1L438->SetBinContent(11,5072.75); h_SL1L438->SetBinContent(12,6186.281); h_SL1L438->SetBinContent(13,5852.222); h_SL1L438->SetBinContent(14,5567.653); h_SL1L438->SetBinContent(15,5505.79); h_SL1L438->SetBinContent(16,4874.79); h_SL1L438->SetBinContent(17,4429.377); h_SL1L438->SetBinContent(18,4664.456); h_SL1L438->SetBinContent(19,4392.26); h_SL1L438->SetBinContent(20,3983.965); h_SL1L438->SetBinContent(21,4639.711); h_SL1L438->SetBinContent(22,4676.829); h_SL1L438->SetBinContent(23,4515.985); h_SL1L438->SetBinContent(24,4553.103); h_SL1L438->SetBinContent(25,3748.886); h_SL1L438->SetBinContent(26,3946.847); h_SL1L438->SetBinContent(27,3649.906); h_SL1L438->SetBinContent(28,3550.925); h_SL1L438->SetBinContent(29,3526.18); h_SL1L438->SetBinContent(30,3909.73); h_SL1L438->SetBinContent(31,4021.083); h_SL1L438->SetBinContent(32,3625.161); h_SL1L438->SetBinContent(33,3464.317); h_SL1L438->SetBinContent(34,3550.925); h_SL1L438->SetBinContent(35,4107.691); h_SL1L438->SetBinContent(36,3600.416); h_SL1L438->SetBinContent(37,3117.886); h_SL1L438->SetBinContent(38,3303.474); h_SL1L438->SetBinContent(39,3526.18); h_SL1L438->SetBinContent(40,2734.336); h_SL1L438->SetBinContent(41,2969.415); h_SL1L438->SetBinContent(42,2969.415); h_SL1L438->SetBinContent(43,3687.024); h_SL1L438->SetBinContent(44,3241.611); h_SL1L438->SetBinContent(45,2882.807); h_SL1L438->SetBinContent(46,3328.219); h_SL1L438->SetBinContent(47,2660.101); h_SL1L438->SetBinContent(48,2660.101); h_SL1L438->SetBinContent(49,2350.787); h_SL1L438->SetBinContent(50,2833.317); h_SL1L438->SetBinContent(51,2870.435); h_SL1L438->SetBinContent(52,2709.591); h_SL1L438->SetBinContent(53,2598.238); h_SL1L438->SetBinContent(54,2660.101); h_SL1L438->SetBinContent(56,2907.552); h_SL1L438->SetBinContent(57,3204.494); h_SL1L438->SetBinContent(58,3872.612); h_SL1L438->SetBinContent(59,3959.22); h_SL1L438->SetMaximum(13118.63); 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,-90.70635,67.5,816.3571); 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.7256); h_SL2L139->SetMaximum(725.6508); 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(725.6508); 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,631.0007); h_SL2L341->SetMaximum(725.6508); 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(725.6508); 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 6306"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }