void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:25:35 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,-6246.28,67.5,56216.52); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L124 = new TH1D("h_SL1L124","Occupancy",60,0,60); h_SL1L124->SetBinContent(1,23109.52); h_SL1L124->SetBinContent(2,23933.33); h_SL1L124->SetBinContent(3,24028.57); h_SL1L124->SetBinContent(4,22123.81); h_SL1L124->SetBinContent(5,19966.67); h_SL1L124->SetBinContent(6,21614.29); h_SL1L124->SetBinContent(7,20614.29); h_SL1L124->SetBinContent(8,22204.76); h_SL1L124->SetBinContent(9,22042.86); h_SL1L124->SetBinContent(10,22776.19); h_SL1L124->SetBinContent(11,23400); h_SL1L124->SetBinContent(12,22976.19); h_SL1L124->SetBinContent(13,22819.05); h_SL1L124->SetBinContent(14,20371.43); h_SL1L124->SetBinContent(15,17990.48); h_SL1L124->SetBinContent(16,17504.76); h_SL1L124->SetBinContent(17,17666.67); h_SL1L124->SetBinContent(18,18819.05); h_SL1L124->SetBinContent(19,18690.48); h_SL1L124->SetBinContent(20,19014.29); h_SL1L124->SetBinContent(21,18876.19); h_SL1L124->SetBinContent(22,19404.76); h_SL1L124->SetBinContent(23,17995.24); h_SL1L124->SetBinContent(24,16480.95); h_SL1L124->SetBinContent(25,15866.67); h_SL1L124->SetBinContent(26,16704.76); h_SL1L124->SetBinContent(27,15628.57); h_SL1L124->SetBinContent(28,16795.24); h_SL1L124->SetBinContent(29,18357.14); h_SL1L124->SetBinContent(30,15876.19); h_SL1L124->SetBinContent(31,15861.9); h_SL1L124->SetBinContent(32,15533.33); h_SL1L124->SetBinContent(33,16471.43); h_SL1L124->SetBinContent(34,15576.19); h_SL1L124->SetBinContent(35,15880.95); h_SL1L124->SetBinContent(36,16376.19); h_SL1L124->SetBinContent(37,16457.14); h_SL1L124->SetBinContent(38,17071.43); h_SL1L124->SetBinContent(39,16609.52); h_SL1L124->SetBinContent(40,14947.62); h_SL1L124->SetBinContent(41,16204.76); h_SL1L124->SetBinContent(42,16271.43); h_SL1L124->SetBinContent(43,16057.14); h_SL1L124->SetBinContent(44,16138.09); h_SL1L124->SetBinContent(45,15171.43); h_SL1L124->SetBinContent(46,14804.76); h_SL1L124->SetBinContent(47,14604.76); h_SL1L124->SetBinContent(48,14209.52); h_SL1L124->SetBinContent(49,15138.09); h_SL1L124->SetBinContent(50,16652.38); h_SL1L124->SetBinContent(51,16457.14); h_SL1L124->SetBinContent(52,15466.67); h_SL1L124->SetBinContent(53,15866.67); h_SL1L124->SetBinContent(54,15742.86); h_SL1L124->SetBinContent(55,15476.19); h_SL1L124->SetBinContent(56,17209.52); h_SL1L124->SetBinContent(57,20966.67); h_SL1L124->SetBinContent(58,24171.43); h_SL1L124->SetBinContent(59,25595.24); h_SL1L124->SetMaximum(49970.24); h_SL1L124->SetEntries(60); h_SL1L124->SetDirectory(0); h_SL1L124->SetStats(0); h_SL1L124->SetLineWidth(2); h_SL1L124->GetXaxis()->SetTitle("Cell"); h_SL1L124->GetXaxis()->SetLabelFont(42); h_SL1L124->GetXaxis()->SetLabelSize(0.035); h_SL1L124->GetXaxis()->SetTitleSize(0.035); h_SL1L124->GetXaxis()->SetTitleFont(42); h_SL1L124->GetYaxis()->SetTitle("Hz per wire"); h_SL1L124->GetYaxis()->SetLabelFont(42); h_SL1L124->GetYaxis()->SetLabelSize(0.035); h_SL1L124->GetYaxis()->SetTitleSize(0.035); h_SL1L124->GetYaxis()->SetTitleOffset(1.45); h_SL1L124->GetYaxis()->SetTitleFont(42); h_SL1L124->GetZaxis()->SetLabelFont(42); h_SL1L124->GetZaxis()->SetLabelSize(0.035); h_SL1L124->GetZaxis()->SetTitleSize(0.035); h_SL1L124->GetZaxis()->SetTitleFont(42); h_SL1L124->Draw("hist, "); TH1D *h_SL1L225 = new TH1D("h_SL1L225","Occupancy",60,0,60); h_SL1L225->SetBinContent(1,33880.95); h_SL1L225->SetBinContent(2,35533.33); h_SL1L225->SetBinContent(3,35971.43); h_SL1L225->SetBinContent(4,37552.38); h_SL1L225->SetBinContent(5,38080.95); h_SL1L225->SetBinContent(6,39195.24); h_SL1L225->SetBinContent(7,38500); h_SL1L225->SetBinContent(8,39947.62); h_SL1L225->SetBinContent(9,40309.52); h_SL1L225->SetBinContent(10,39861.91); h_SL1L225->SetBinContent(11,42314.29); h_SL1L225->SetBinContent(12,42604.76); h_SL1L225->SetBinContent(13,42738.09); h_SL1L225->SetBinContent(14,42304.76); h_SL1L225->SetBinContent(15,42219.05); h_SL1L225->SetBinContent(16,38861.91); h_SL1L225->SetBinContent(17,37514.29); h_SL1L225->SetBinContent(18,39614.29); h_SL1L225->SetBinContent(19,41228.57); h_SL1L225->SetBinContent(20,40080.95); h_SL1L225->SetBinContent(21,40666.67); h_SL1L225->SetBinContent(22,41300); h_SL1L225->SetBinContent(23,40461.91); h_SL1L225->SetBinContent(24,39876.19); h_SL1L225->SetBinContent(25,40071.43); h_SL1L225->SetBinContent(26,36509.52); h_SL1L225->SetBinContent(27,35933.33); h_SL1L225->SetBinContent(28,38542.86); h_SL1L225->SetBinContent(29,41909.52); h_SL1L225->SetBinContent(30,42947.62); h_SL1L225->SetBinContent(31,41661.91); h_SL1L225->SetBinContent(32,43033.33); h_SL1L225->SetBinContent(33,43452.38); h_SL1L225->SetBinContent(34,40890.48); h_SL1L225->SetBinContent(35,40414.29); h_SL1L225->SetBinContent(36,40800); h_SL1L225->SetBinContent(37,39809.52); h_SL1L225->SetBinContent(38,41552.38); h_SL1L225->SetBinContent(39,41614.29); h_SL1L225->SetBinContent(40,41023.81); h_SL1L225->SetBinContent(41,40742.86); h_SL1L225->SetBinContent(42,41500); h_SL1L225->SetBinContent(43,43190.48); h_SL1L225->SetBinContent(44,43295.24); h_SL1L225->SetBinContent(45,41647.62); h_SL1L225->SetBinContent(46,41071.43); h_SL1L225->SetBinContent(47,40328.57); h_SL1L225->SetBinContent(48,40966.67); h_SL1L225->SetBinContent(49,42019.05); h_SL1L225->SetBinContent(50,42157.14); h_SL1L225->SetBinContent(51,42923.81); h_SL1L225->SetBinContent(52,41742.86); h_SL1L225->SetBinContent(53,41866.67); h_SL1L225->SetBinContent(54,41061.91); h_SL1L225->SetBinContent(55,41228.57); h_SL1L225->SetBinContent(56,40238.09); h_SL1L225->SetBinContent(57,40304.76); h_SL1L225->SetBinContent(58,42142.86); h_SL1L225->SetBinContent(59,40723.81); h_SL1L225->SetMaximum(49970.24); h_SL1L225->SetEntries(60); h_SL1L225->SetDirectory(0); h_SL1L225->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L225->SetLineColor(ci); h_SL1L225->SetLineWidth(2); h_SL1L225->GetXaxis()->SetTitle("Cell"); h_SL1L225->GetXaxis()->SetLabelFont(42); h_SL1L225->GetXaxis()->SetLabelSize(0.035); h_SL1L225->GetXaxis()->SetTitleSize(0.035); h_SL1L225->GetXaxis()->SetTitleFont(42); h_SL1L225->GetYaxis()->SetTitle("Hz per wire"); h_SL1L225->GetYaxis()->SetLabelFont(42); h_SL1L225->GetYaxis()->SetLabelSize(0.035); h_SL1L225->GetYaxis()->SetTitleSize(0.035); h_SL1L225->GetYaxis()->SetTitleOffset(1.45); h_SL1L225->GetYaxis()->SetTitleFont(42); h_SL1L225->GetZaxis()->SetLabelFont(42); h_SL1L225->GetZaxis()->SetLabelSize(0.035); h_SL1L225->GetZaxis()->SetTitleSize(0.035); h_SL1L225->GetZaxis()->SetTitleFont(42); h_SL1L225->Draw("hist, same"); TH1D *h_SL1L326 = new TH1D("h_SL1L326","Occupancy",60,0,60); h_SL1L326->SetBinContent(1,33609.52); h_SL1L326->SetBinContent(2,34447.62); h_SL1L326->SetBinContent(3,36314.29); h_SL1L326->SetBinContent(4,37042.86); h_SL1L326->SetBinContent(5,36952.38); h_SL1L326->SetBinContent(6,38047.62); h_SL1L326->SetBinContent(7,38138.09); h_SL1L326->SetBinContent(8,40590.48); h_SL1L326->SetBinContent(9,38547.62); h_SL1L326->SetBinContent(10,39071.43); h_SL1L326->SetBinContent(11,42042.86); h_SL1L326->SetBinContent(12,41638.09); h_SL1L326->SetBinContent(13,41242.86); h_SL1L326->SetBinContent(14,41009.52); h_SL1L326->SetBinContent(15,39100); h_SL1L326->SetBinContent(16,37014.29); h_SL1L326->SetBinContent(17,37861.91); h_SL1L326->SetBinContent(18,40623.81); h_SL1L326->SetBinContent(19,39509.52); h_SL1L326->SetBinContent(20,40309.52); h_SL1L326->SetBinContent(21,39814.29); h_SL1L326->SetBinContent(22,39319.05); h_SL1L326->SetBinContent(23,38957.14); h_SL1L326->SetBinContent(24,38904.76); h_SL1L326->SetBinContent(25,36128.57); h_SL1L326->SetBinContent(26,34761.91); h_SL1L326->SetBinContent(27,36709.52); h_SL1L326->SetBinContent(28,39785.71); h_SL1L326->SetBinContent(29,41238.09); h_SL1L326->SetBinContent(30,41066.67); h_SL1L326->SetBinContent(31,40295.24); h_SL1L326->SetBinContent(32,41561.91); h_SL1L326->SetBinContent(33,40609.52); h_SL1L326->SetBinContent(34,40185.71); h_SL1L326->SetBinContent(35,39452.38); h_SL1L326->SetBinContent(36,38900); h_SL1L326->SetBinContent(37,39257.14); h_SL1L326->SetBinContent(38,39823.81); h_SL1L326->SetBinContent(39,41866.67); h_SL1L326->SetBinContent(40,40995.24); h_SL1L326->SetBinContent(41,39933.33); h_SL1L326->SetBinContent(42,41519.05); h_SL1L326->SetBinContent(43,42747.62); h_SL1L326->SetBinContent(44,41928.57); h_SL1L326->SetBinContent(45,39876.19); h_SL1L326->SetBinContent(46,40676.19); h_SL1L326->SetBinContent(47,39866.67); h_SL1L326->SetBinContent(48,40690.48); h_SL1L326->SetBinContent(49,41514.29); h_SL1L326->SetBinContent(50,41500); h_SL1L326->SetBinContent(51,40209.52); h_SL1L326->SetBinContent(52,40142.86); h_SL1L326->SetBinContent(53,39561.91); h_SL1L326->SetBinContent(54,40066.67); h_SL1L326->SetBinContent(55,39628.57); h_SL1L326->SetBinContent(56,39690.48); h_SL1L326->SetBinContent(57,39676.19); h_SL1L326->SetBinContent(58,40352.38); h_SL1L326->SetBinContent(59,39166.67); h_SL1L326->SetMaximum(49970.24); h_SL1L326->SetEntries(60); h_SL1L326->SetDirectory(0); h_SL1L326->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L326->SetLineColor(ci); h_SL1L326->SetLineWidth(2); h_SL1L326->GetXaxis()->SetTitle("Cell"); h_SL1L326->GetXaxis()->SetLabelFont(42); h_SL1L326->GetXaxis()->SetLabelSize(0.035); h_SL1L326->GetXaxis()->SetTitleSize(0.035); h_SL1L326->GetXaxis()->SetTitleFont(42); h_SL1L326->GetYaxis()->SetTitle("Hz per wire"); h_SL1L326->GetYaxis()->SetLabelFont(42); h_SL1L326->GetYaxis()->SetLabelSize(0.035); h_SL1L326->GetYaxis()->SetTitleSize(0.035); h_SL1L326->GetYaxis()->SetTitleOffset(1.45); h_SL1L326->GetYaxis()->SetTitleFont(42); h_SL1L326->GetZaxis()->SetLabelFont(42); h_SL1L326->GetZaxis()->SetLabelSize(0.035); h_SL1L326->GetZaxis()->SetTitleSize(0.035); h_SL1L326->GetZaxis()->SetTitleFont(42); h_SL1L326->Draw("hist, same"); TH1D *h_SL1L427 = new TH1D("h_SL1L427","Occupancy",60,0,60); h_SL1L427->SetBinContent(2,20804.76); h_SL1L427->SetBinContent(3,20104.76); h_SL1L427->SetBinContent(4,19866.67); h_SL1L427->SetBinContent(5,18647.62); h_SL1L427->SetBinContent(6,19580.95); h_SL1L427->SetBinContent(7,18985.71); h_SL1L427->SetBinContent(8,19838.1); h_SL1L427->SetBinContent(9,21338.1); h_SL1L427->SetBinContent(10,23085.71); h_SL1L427->SetBinContent(11,25142.86); h_SL1L427->SetBinContent(12,26709.52); h_SL1L427->SetBinContent(13,26176.19); h_SL1L427->SetBinContent(14,27009.52); h_SL1L427->SetBinContent(15,24500); h_SL1L427->SetBinContent(16,22395.24); h_SL1L427->SetBinContent(17,21285.71); h_SL1L427->SetBinContent(18,21371.43); h_SL1L427->SetBinContent(19,20414.29); h_SL1L427->SetBinContent(20,20347.62); h_SL1L427->SetBinContent(21,21180.95); h_SL1L427->SetBinContent(22,21604.76); h_SL1L427->SetBinContent(23,20214.29); h_SL1L427->SetBinContent(24,20333.33); h_SL1L427->SetBinContent(25,18871.43); h_SL1L427->SetBinContent(26,18157.14); h_SL1L427->SetBinContent(27,18623.81); h_SL1L427->SetBinContent(28,18190.48); h_SL1L427->SetBinContent(29,18423.81); h_SL1L427->SetBinContent(30,18685.71); h_SL1L427->SetBinContent(31,18585.71); h_SL1L427->SetBinContent(32,17190.48); h_SL1L427->SetBinContent(33,16119.05); h_SL1L427->SetBinContent(34,16819.05); h_SL1L427->SetBinContent(35,16533.33); h_SL1L427->SetBinContent(36,15133.33); h_SL1L427->SetBinContent(37,13071.43); h_SL1L427->SetBinContent(38,14719.05); h_SL1L427->SetBinContent(39,15500); h_SL1L427->SetBinContent(40,12947.62); h_SL1L427->SetBinContent(41,13009.52); h_SL1L427->SetBinContent(42,13719.05); h_SL1L427->SetBinContent(43,15219.05); h_SL1L427->SetBinContent(44,14276.19); h_SL1L427->SetBinContent(45,12771.43); h_SL1L427->SetBinContent(46,13023.81); h_SL1L427->SetBinContent(47,12719.05); h_SL1L427->SetBinContent(48,12290.48); h_SL1L427->SetBinContent(49,12523.81); h_SL1L427->SetBinContent(50,13547.62); h_SL1L427->SetBinContent(51,14133.33); h_SL1L427->SetBinContent(52,14028.57); h_SL1L427->SetBinContent(53,13414.29); h_SL1L427->SetBinContent(54,13066.67); h_SL1L427->SetBinContent(56,15395.24); h_SL1L427->SetBinContent(57,17361.9); h_SL1L427->SetBinContent(58,22314.29); h_SL1L427->SetBinContent(59,23652.38); h_SL1L427->SetMaximum(49970.24); h_SL1L427->SetEntries(60); h_SL1L427->SetDirectory(0); h_SL1L427->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L427->SetLineColor(ci); h_SL1L427->SetLineWidth(2); h_SL1L427->GetXaxis()->SetTitle("Cell"); h_SL1L427->GetXaxis()->SetLabelFont(42); h_SL1L427->GetXaxis()->SetLabelSize(0.035); h_SL1L427->GetXaxis()->SetTitleSize(0.035); h_SL1L427->GetXaxis()->SetTitleFont(42); h_SL1L427->GetYaxis()->SetTitle("Hz per wire"); h_SL1L427->GetYaxis()->SetLabelFont(42); h_SL1L427->GetYaxis()->SetLabelSize(0.035); h_SL1L427->GetYaxis()->SetTitleSize(0.035); h_SL1L427->GetYaxis()->SetTitleOffset(1.45); h_SL1L427->GetYaxis()->SetTitleFont(42); h_SL1L427->GetZaxis()->SetLabelFont(42); h_SL1L427->GetZaxis()->SetLabelSize(0.035); h_SL1L427->GetZaxis()->SetTitleSize(0.035); h_SL1L427->GetZaxis()->SetTitleFont(42); h_SL1L427->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,-111.5774,67.5,1004.196); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L128 = new TH1D("h_SL2L128","Occupancy",60,0,60); h_SL2L128->SetBinContent(57,776.1905); h_SL2L128->SetMaximum(892.6191); h_SL2L128->SetEntries(60); h_SL2L128->SetDirectory(0); h_SL2L128->SetStats(0); h_SL2L128->SetLineWidth(2); h_SL2L128->GetXaxis()->SetTitle("Cell"); h_SL2L128->GetXaxis()->SetLabelFont(42); h_SL2L128->GetXaxis()->SetLabelSize(0.035); h_SL2L128->GetXaxis()->SetTitleSize(0.035); h_SL2L128->GetXaxis()->SetTitleFont(42); h_SL2L128->GetYaxis()->SetTitle("Hz per wire"); h_SL2L128->GetYaxis()->SetLabelFont(42); h_SL2L128->GetYaxis()->SetLabelSize(0.035); h_SL2L128->GetYaxis()->SetTitleSize(0.035); h_SL2L128->GetYaxis()->SetTitleOffset(1.45); h_SL2L128->GetYaxis()->SetTitleFont(42); h_SL2L128->GetZaxis()->SetLabelFont(42); h_SL2L128->GetZaxis()->SetLabelSize(0.035); h_SL2L128->GetZaxis()->SetTitleSize(0.035); h_SL2L128->GetZaxis()->SetTitleFont(42); h_SL2L128->Draw("hist, "); TH1D *h_SL2L229 = new TH1D("h_SL2L229","Occupancy",60,0,60); h_SL2L229->SetMaximum(892.6191); h_SL2L229->SetEntries(60); h_SL2L229->SetDirectory(0); h_SL2L229->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L229->SetLineColor(ci); h_SL2L229->SetLineWidth(2); h_SL2L229->GetXaxis()->SetTitle("Cell"); h_SL2L229->GetXaxis()->SetLabelFont(42); h_SL2L229->GetXaxis()->SetLabelSize(0.035); h_SL2L229->GetXaxis()->SetTitleSize(0.035); h_SL2L229->GetXaxis()->SetTitleFont(42); h_SL2L229->GetYaxis()->SetTitle("Hz per wire"); h_SL2L229->GetYaxis()->SetLabelFont(42); h_SL2L229->GetYaxis()->SetLabelSize(0.035); h_SL2L229->GetYaxis()->SetTitleSize(0.035); h_SL2L229->GetYaxis()->SetTitleOffset(1.45); h_SL2L229->GetYaxis()->SetTitleFont(42); h_SL2L229->GetZaxis()->SetLabelFont(42); h_SL2L229->GetZaxis()->SetLabelSize(0.035); h_SL2L229->GetZaxis()->SetTitleSize(0.035); h_SL2L229->GetZaxis()->SetTitleFont(42); h_SL2L229->Draw("hist, same"); TH1D *h_SL2L330 = new TH1D("h_SL2L330","Occupancy",60,0,60); h_SL2L330->SetBinContent(54,4.761905); h_SL2L330->SetMaximum(892.6191); h_SL2L330->SetEntries(60); h_SL2L330->SetDirectory(0); h_SL2L330->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L330->SetLineColor(ci); h_SL2L330->SetLineWidth(2); h_SL2L330->GetXaxis()->SetTitle("Cell"); h_SL2L330->GetXaxis()->SetLabelFont(42); h_SL2L330->GetXaxis()->SetLabelSize(0.035); h_SL2L330->GetXaxis()->SetTitleSize(0.035); h_SL2L330->GetXaxis()->SetTitleFont(42); h_SL2L330->GetYaxis()->SetTitle("Hz per wire"); h_SL2L330->GetYaxis()->SetLabelFont(42); h_SL2L330->GetYaxis()->SetLabelSize(0.035); h_SL2L330->GetYaxis()->SetTitleSize(0.035); h_SL2L330->GetYaxis()->SetTitleOffset(1.45); h_SL2L330->GetYaxis()->SetTitleFont(42); h_SL2L330->GetZaxis()->SetLabelFont(42); h_SL2L330->GetZaxis()->SetLabelSize(0.035); h_SL2L330->GetZaxis()->SetTitleSize(0.035); h_SL2L330->GetZaxis()->SetTitleFont(42); h_SL2L330->Draw("hist, same"); TH1D *h_SL2L431 = new TH1D("h_SL2L431","Occupancy",60,0,60); h_SL2L431->SetMaximum(892.6191); h_SL2L431->SetEntries(60); h_SL2L431->SetDirectory(0); h_SL2L431->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L431->SetLineColor(ci); h_SL2L431->SetLineWidth(2); h_SL2L431->GetXaxis()->SetTitle("Cell"); h_SL2L431->GetXaxis()->SetLabelFont(42); h_SL2L431->GetXaxis()->SetLabelSize(0.035); h_SL2L431->GetXaxis()->SetTitleSize(0.035); h_SL2L431->GetXaxis()->SetTitleFont(42); h_SL2L431->GetYaxis()->SetTitle("Hz per wire"); h_SL2L431->GetYaxis()->SetLabelFont(42); h_SL2L431->GetYaxis()->SetLabelSize(0.035); h_SL2L431->GetYaxis()->SetTitleSize(0.035); h_SL2L431->GetYaxis()->SetTitleOffset(1.45); h_SL2L431->GetYaxis()->SetTitleFont(42); h_SL2L431->GetZaxis()->SetLabelFont(42); h_SL2L431->GetZaxis()->SetLabelSize(0.035); h_SL2L431->GetZaxis()->SetTitleSize(0.035); h_SL2L431->GetZaxis()->SetTitleFont(42); h_SL2L431->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_SL3L132 = new TH1D("h_SL3L132","Occupancy",60,0,60); h_SL3L132->SetMaximum(5.47619); h_SL3L132->SetEntries(60); h_SL3L132->SetDirectory(0); h_SL3L132->SetStats(0); h_SL3L132->SetLineWidth(2); h_SL3L132->GetXaxis()->SetTitle("Cell"); h_SL3L132->GetXaxis()->SetLabelFont(42); h_SL3L132->GetXaxis()->SetLabelSize(0.035); h_SL3L132->GetXaxis()->SetTitleSize(0.035); h_SL3L132->GetXaxis()->SetTitleFont(42); h_SL3L132->GetYaxis()->SetTitle("Hz per wire"); h_SL3L132->GetYaxis()->SetLabelFont(42); h_SL3L132->GetYaxis()->SetLabelSize(0.035); h_SL3L132->GetYaxis()->SetTitleSize(0.035); h_SL3L132->GetYaxis()->SetTitleOffset(1.45); h_SL3L132->GetYaxis()->SetTitleFont(42); h_SL3L132->GetZaxis()->SetLabelFont(42); h_SL3L132->GetZaxis()->SetLabelSize(0.035); h_SL3L132->GetZaxis()->SetTitleSize(0.035); h_SL3L132->GetZaxis()->SetTitleFont(42); h_SL3L132->Draw("hist, "); TH1D *h_SL3L233 = new TH1D("h_SL3L233","Occupancy",60,0,60); h_SL3L233->SetMaximum(5.47619); h_SL3L233->SetEntries(60); h_SL3L233->SetDirectory(0); h_SL3L233->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L233->SetLineColor(ci); h_SL3L233->SetLineWidth(2); h_SL3L233->GetXaxis()->SetTitle("Cell"); h_SL3L233->GetXaxis()->SetLabelFont(42); h_SL3L233->GetXaxis()->SetLabelSize(0.035); h_SL3L233->GetXaxis()->SetTitleSize(0.035); h_SL3L233->GetXaxis()->SetTitleFont(42); h_SL3L233->GetYaxis()->SetTitle("Hz per wire"); h_SL3L233->GetYaxis()->SetLabelFont(42); h_SL3L233->GetYaxis()->SetLabelSize(0.035); h_SL3L233->GetYaxis()->SetTitleSize(0.035); h_SL3L233->GetYaxis()->SetTitleOffset(1.45); h_SL3L233->GetYaxis()->SetTitleFont(42); h_SL3L233->GetZaxis()->SetLabelFont(42); h_SL3L233->GetZaxis()->SetLabelSize(0.035); h_SL3L233->GetZaxis()->SetTitleSize(0.035); h_SL3L233->GetZaxis()->SetTitleFont(42); h_SL3L233->Draw("hist, same"); TH1D *h_SL3L334 = new TH1D("h_SL3L334","Occupancy",60,0,60); h_SL3L334->SetMaximum(5.47619); h_SL3L334->SetEntries(60); h_SL3L334->SetDirectory(0); h_SL3L334->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L334->SetLineColor(ci); h_SL3L334->SetLineWidth(2); h_SL3L334->GetXaxis()->SetTitle("Cell"); h_SL3L334->GetXaxis()->SetLabelFont(42); h_SL3L334->GetXaxis()->SetLabelSize(0.035); h_SL3L334->GetXaxis()->SetTitleSize(0.035); h_SL3L334->GetXaxis()->SetTitleFont(42); h_SL3L334->GetYaxis()->SetTitle("Hz per wire"); h_SL3L334->GetYaxis()->SetLabelFont(42); h_SL3L334->GetYaxis()->SetLabelSize(0.035); h_SL3L334->GetYaxis()->SetTitleSize(0.035); h_SL3L334->GetYaxis()->SetTitleOffset(1.45); h_SL3L334->GetYaxis()->SetTitleFont(42); h_SL3L334->GetZaxis()->SetLabelFont(42); h_SL3L334->GetZaxis()->SetLabelSize(0.035); h_SL3L334->GetZaxis()->SetTitleSize(0.035); h_SL3L334->GetZaxis()->SetTitleFont(42); h_SL3L334->Draw("hist, same"); TH1D *h_SL3L435 = new TH1D("h_SL3L435","Occupancy",60,0,60); h_SL3L435->SetBinContent(50,4.761905); h_SL3L435->SetMaximum(5.47619); h_SL3L435->SetEntries(60); h_SL3L435->SetDirectory(0); h_SL3L435->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L435->SetLineColor(ci); h_SL3L435->SetLineWidth(2); h_SL3L435->GetXaxis()->SetTitle("Cell"); h_SL3L435->GetXaxis()->SetLabelFont(42); h_SL3L435->GetXaxis()->SetLabelSize(0.035); h_SL3L435->GetXaxis()->SetTitleSize(0.035); h_SL3L435->GetXaxis()->SetTitleFont(42); h_SL3L435->GetYaxis()->SetTitle("Hz per wire"); h_SL3L435->GetYaxis()->SetLabelFont(42); h_SL3L435->GetYaxis()->SetLabelSize(0.035); h_SL3L435->GetYaxis()->SetTitleSize(0.035); h_SL3L435->GetYaxis()->SetTitleOffset(1.45); h_SL3L435->GetYaxis()->SetTitleFont(42); h_SL3L435->GetZaxis()->SetLabelFont(42); h_SL3L435->GetZaxis()->SetLabelSize(0.035); h_SL3L435->GetZaxis()->SetTitleSize(0.035); h_SL3L435->GetZaxis()->SetTitleFont(42); h_SL3L435->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,-6246.417,67.5,56217.75); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->SetFrameBorderMode(0); TH1D *h_SL1L136 = new TH1D("h_SL1L136","Background (digi time < 1000)",60,0,60); h_SL1L136->SetBinContent(1,23360); h_SL1L136->SetBinContent(2,23080); h_SL1L136->SetBinContent(3,23893.33); h_SL1L136->SetBinContent(4,22546.67); h_SL1L136->SetBinContent(5,21053.33); h_SL1L136->SetBinContent(6,21773.33); h_SL1L136->SetBinContent(7,20586.67); h_SL1L136->SetBinContent(8,22413.33); h_SL1L136->SetBinContent(9,21613.33); h_SL1L136->SetBinContent(10,22106.67); h_SL1L136->SetBinContent(11,23786.67); h_SL1L136->SetBinContent(12,22813.33); h_SL1L136->SetBinContent(13,23213.33); h_SL1L136->SetBinContent(14,20613.33); h_SL1L136->SetBinContent(15,17533.33); h_SL1L136->SetBinContent(16,16760); h_SL1L136->SetBinContent(17,17586.67); h_SL1L136->SetBinContent(18,19120); h_SL1L136->SetBinContent(19,18720); h_SL1L136->SetBinContent(20,19520); h_SL1L136->SetBinContent(21,18506.67); h_SL1L136->SetBinContent(22,19453.33); h_SL1L136->SetBinContent(23,18546.67); h_SL1L136->SetBinContent(24,16453.33); h_SL1L136->SetBinContent(25,15546.67); h_SL1L136->SetBinContent(26,16880); h_SL1L136->SetBinContent(27,14866.67); h_SL1L136->SetBinContent(28,16960); h_SL1L136->SetBinContent(29,18946.67); h_SL1L136->SetBinContent(30,15640); h_SL1L136->SetBinContent(31,15653.33); h_SL1L136->SetBinContent(32,15866.67); h_SL1L136->SetBinContent(33,16226.67); h_SL1L136->SetBinContent(34,15666.67); h_SL1L136->SetBinContent(35,16186.67); h_SL1L136->SetBinContent(36,17120); h_SL1L136->SetBinContent(37,17173.33); h_SL1L136->SetBinContent(38,16880); h_SL1L136->SetBinContent(39,16533.33); h_SL1L136->SetBinContent(40,15066.67); h_SL1L136->SetBinContent(41,15640); h_SL1L136->SetBinContent(42,16866.67); h_SL1L136->SetBinContent(43,16013.33); h_SL1L136->SetBinContent(44,16373.33); h_SL1L136->SetBinContent(45,14893.33); h_SL1L136->SetBinContent(46,14920); h_SL1L136->SetBinContent(47,14706.67); h_SL1L136->SetBinContent(48,14306.67); h_SL1L136->SetBinContent(49,14920); h_SL1L136->SetBinContent(50,16973.33); h_SL1L136->SetBinContent(51,17013.33); h_SL1L136->SetBinContent(52,15000); h_SL1L136->SetBinContent(53,16026.67); h_SL1L136->SetBinContent(54,15986.67); h_SL1L136->SetBinContent(55,15813.33); h_SL1L136->SetBinContent(56,17253.33); h_SL1L136->SetBinContent(57,21213.33); h_SL1L136->SetBinContent(58,24053.33); h_SL1L136->SetBinContent(59,25520); h_SL1L136->SetMaximum(49971.33); h_SL1L136->SetEntries(60); h_SL1L136->SetDirectory(0); h_SL1L136->SetStats(0); h_SL1L136->SetLineWidth(2); h_SL1L136->GetXaxis()->SetTitle("Cell"); h_SL1L136->GetXaxis()->SetLabelFont(42); h_SL1L136->GetXaxis()->SetLabelSize(0.035); h_SL1L136->GetXaxis()->SetTitleSize(0.035); h_SL1L136->GetXaxis()->SetTitleFont(42); h_SL1L136->GetYaxis()->SetTitle("Hz per wire"); h_SL1L136->GetYaxis()->SetLabelFont(42); h_SL1L136->GetYaxis()->SetLabelSize(0.035); h_SL1L136->GetYaxis()->SetTitleSize(0.035); h_SL1L136->GetYaxis()->SetTitleOffset(1.45); h_SL1L136->GetYaxis()->SetTitleFont(42); h_SL1L136->GetZaxis()->SetLabelFont(42); h_SL1L136->GetZaxis()->SetLabelSize(0.035); h_SL1L136->GetZaxis()->SetTitleSize(0.035); h_SL1L136->GetZaxis()->SetTitleFont(42); h_SL1L136->Draw("hist, "); TH1D *h_SL1L237 = new TH1D("h_SL1L237","Background (digi time < 1000)",60,0,60); h_SL1L237->SetBinContent(1,33093.33); h_SL1L237->SetBinContent(2,34613.33); h_SL1L237->SetBinContent(3,35573.33); h_SL1L237->SetBinContent(4,37920); h_SL1L237->SetBinContent(5,38240); h_SL1L237->SetBinContent(6,39626.66); h_SL1L237->SetBinContent(7,38226.66); h_SL1L237->SetBinContent(8,39440); h_SL1L237->SetBinContent(9,39533.33); h_SL1L237->SetBinContent(10,39906.66); h_SL1L237->SetBinContent(11,42946.66); h_SL1L237->SetBinContent(12,43453.33); h_SL1L237->SetBinContent(13,42626.66); h_SL1L237->SetBinContent(14,41826.66); h_SL1L237->SetBinContent(15,42253.33); h_SL1L237->SetBinContent(16,39026.66); h_SL1L237->SetBinContent(17,36333.33); h_SL1L237->SetBinContent(18,38800); h_SL1L237->SetBinContent(19,41226.66); h_SL1L237->SetBinContent(20,39893.33); h_SL1L237->SetBinContent(21,40800); h_SL1L237->SetBinContent(22,41866.66); h_SL1L237->SetBinContent(23,40586.66); h_SL1L237->SetBinContent(24,39826.66); h_SL1L237->SetBinContent(25,41240); h_SL1L237->SetBinContent(26,35293.33); h_SL1L237->SetBinContent(27,34973.33); h_SL1L237->SetBinContent(28,37773.33); h_SL1L237->SetBinContent(29,42680); h_SL1L237->SetBinContent(30,42680); h_SL1L237->SetBinContent(31,42533.33); h_SL1L237->SetBinContent(32,42960); h_SL1L237->SetBinContent(33,43146.66); h_SL1L237->SetBinContent(34,41333.33); h_SL1L237->SetBinContent(35,40000); h_SL1L237->SetBinContent(36,41466.66); h_SL1L237->SetBinContent(37,39893.33); h_SL1L237->SetBinContent(38,41586.66); h_SL1L237->SetBinContent(39,41866.66); h_SL1L237->SetBinContent(40,40400); h_SL1L237->SetBinContent(41,40440); h_SL1L237->SetBinContent(42,41693.33); h_SL1L237->SetBinContent(43,43266.66); h_SL1L237->SetBinContent(44,42733.33); h_SL1L237->SetBinContent(45,42053.33); h_SL1L237->SetBinContent(46,39826.66); h_SL1L237->SetBinContent(47,41066.66); h_SL1L237->SetBinContent(48,40866.66); h_SL1L237->SetBinContent(49,42106.66); h_SL1L237->SetBinContent(50,41653.33); h_SL1L237->SetBinContent(51,41760); h_SL1L237->SetBinContent(52,40733.33); h_SL1L237->SetBinContent(53,41506.66); h_SL1L237->SetBinContent(54,41426.66); h_SL1L237->SetBinContent(55,41520); h_SL1L237->SetBinContent(56,40106.66); h_SL1L237->SetBinContent(57,41253.33); h_SL1L237->SetBinContent(58,41680); h_SL1L237->SetBinContent(59,39680); h_SL1L237->SetMaximum(49971.33); h_SL1L237->SetEntries(60); h_SL1L237->SetDirectory(0); h_SL1L237->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL1L237->SetLineColor(ci); h_SL1L237->SetLineWidth(2); h_SL1L237->GetXaxis()->SetTitle("Cell"); h_SL1L237->GetXaxis()->SetLabelFont(42); h_SL1L237->GetXaxis()->SetLabelSize(0.035); h_SL1L237->GetXaxis()->SetTitleSize(0.035); h_SL1L237->GetXaxis()->SetTitleFont(42); h_SL1L237->GetYaxis()->SetTitle("Hz per wire"); h_SL1L237->GetYaxis()->SetLabelFont(42); h_SL1L237->GetYaxis()->SetLabelSize(0.035); h_SL1L237->GetYaxis()->SetTitleSize(0.035); h_SL1L237->GetYaxis()->SetTitleOffset(1.45); h_SL1L237->GetYaxis()->SetTitleFont(42); h_SL1L237->GetZaxis()->SetLabelFont(42); h_SL1L237->GetZaxis()->SetLabelSize(0.035); h_SL1L237->GetZaxis()->SetTitleSize(0.035); h_SL1L237->GetZaxis()->SetTitleFont(42); h_SL1L237->Draw("hist, same"); TH1D *h_SL1L338 = new TH1D("h_SL1L338","Background (digi time < 1000)",60,0,60); h_SL1L338->SetBinContent(1,33346.66); h_SL1L338->SetBinContent(2,34413.33); h_SL1L338->SetBinContent(3,37173.33); h_SL1L338->SetBinContent(4,37626.66); h_SL1L338->SetBinContent(5,36706.66); h_SL1L338->SetBinContent(6,38120); h_SL1L338->SetBinContent(7,38333.33); h_SL1L338->SetBinContent(8,41173.33); h_SL1L338->SetBinContent(9,39973.33); h_SL1L338->SetBinContent(10,39000); h_SL1L338->SetBinContent(11,42600); h_SL1L338->SetBinContent(12,42706.66); h_SL1L338->SetBinContent(13,40786.66); h_SL1L338->SetBinContent(14,40880); h_SL1L338->SetBinContent(15,39040); h_SL1L338->SetBinContent(16,36200); h_SL1L338->SetBinContent(17,38453.33); h_SL1L338->SetBinContent(18,40520); h_SL1L338->SetBinContent(19,40520); h_SL1L338->SetBinContent(20,40733.33); h_SL1L338->SetBinContent(21,39960); h_SL1L338->SetBinContent(22,40173.33); h_SL1L338->SetBinContent(23,39320); h_SL1L338->SetBinContent(24,38413.33); h_SL1L338->SetBinContent(25,36346.66); h_SL1L338->SetBinContent(26,35733.33); h_SL1L338->SetBinContent(27,36906.66); h_SL1L338->SetBinContent(28,39946.66); h_SL1L338->SetBinContent(29,40626.66); h_SL1L338->SetBinContent(30,40706.66); h_SL1L338->SetBinContent(31,39600); h_SL1L338->SetBinContent(32,40160); h_SL1L338->SetBinContent(33,40000); h_SL1L338->SetBinContent(34,40026.66); h_SL1L338->SetBinContent(35,38133.33); h_SL1L338->SetBinContent(36,38693.33); h_SL1L338->SetBinContent(37,40160); h_SL1L338->SetBinContent(38,40293.33); h_SL1L338->SetBinContent(39,41466.66); h_SL1L338->SetBinContent(40,41013.33); h_SL1L338->SetBinContent(41,38666.66); h_SL1L338->SetBinContent(42,41200); h_SL1L338->SetBinContent(43,41893.33); h_SL1L338->SetBinContent(44,42306.66); h_SL1L338->SetBinContent(45,40200); h_SL1L338->SetBinContent(46,40746.66); h_SL1L338->SetBinContent(47,39573.33); h_SL1L338->SetBinContent(48,39146.66); h_SL1L338->SetBinContent(49,40960); h_SL1L338->SetBinContent(50,42386.66); h_SL1L338->SetBinContent(51,40826.66); h_SL1L338->SetBinContent(52,39666.66); h_SL1L338->SetBinContent(53,39040); h_SL1L338->SetBinContent(54,40880); h_SL1L338->SetBinContent(55,40013.33); h_SL1L338->SetBinContent(56,39000); h_SL1L338->SetBinContent(57,39640); h_SL1L338->SetBinContent(58,39786.66); h_SL1L338->SetBinContent(59,38813.33); h_SL1L338->SetMaximum(49971.33); h_SL1L338->SetEntries(60); h_SL1L338->SetDirectory(0); h_SL1L338->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L338->SetLineColor(ci); h_SL1L338->SetLineWidth(2); h_SL1L338->GetXaxis()->SetTitle("Cell"); h_SL1L338->GetXaxis()->SetLabelFont(42); h_SL1L338->GetXaxis()->SetLabelSize(0.035); h_SL1L338->GetXaxis()->SetTitleSize(0.035); h_SL1L338->GetXaxis()->SetTitleFont(42); h_SL1L338->GetYaxis()->SetTitle("Hz per wire"); h_SL1L338->GetYaxis()->SetLabelFont(42); h_SL1L338->GetYaxis()->SetLabelSize(0.035); h_SL1L338->GetYaxis()->SetTitleSize(0.035); h_SL1L338->GetYaxis()->SetTitleOffset(1.45); h_SL1L338->GetYaxis()->SetTitleFont(42); h_SL1L338->GetZaxis()->SetLabelFont(42); h_SL1L338->GetZaxis()->SetLabelSize(0.035); h_SL1L338->GetZaxis()->SetTitleSize(0.035); h_SL1L338->GetZaxis()->SetTitleFont(42); h_SL1L338->Draw("hist, same"); TH1D *h_SL1L439 = new TH1D("h_SL1L439","Background (digi time < 1000)",60,0,60); h_SL1L439->SetBinContent(2,21080); h_SL1L439->SetBinContent(3,20040); h_SL1L439->SetBinContent(4,18920); h_SL1L439->SetBinContent(5,18093.33); h_SL1L439->SetBinContent(6,20200); h_SL1L439->SetBinContent(7,18466.67); h_SL1L439->SetBinContent(8,20386.67); h_SL1L439->SetBinContent(9,21893.33); h_SL1L439->SetBinContent(10,23413.33); h_SL1L439->SetBinContent(11,26053.33); h_SL1L439->SetBinContent(12,26933.33); h_SL1L439->SetBinContent(13,25786.67); h_SL1L439->SetBinContent(14,27026.67); h_SL1L439->SetBinContent(15,24453.33); h_SL1L439->SetBinContent(16,21933.33); h_SL1L439->SetBinContent(17,21480); h_SL1L439->SetBinContent(18,20946.67); h_SL1L439->SetBinContent(19,20133.33); h_SL1L439->SetBinContent(20,20093.33); h_SL1L439->SetBinContent(21,21266.67); h_SL1L439->SetBinContent(22,20386.67); h_SL1L439->SetBinContent(23,19986.67); h_SL1L439->SetBinContent(24,19853.33); h_SL1L439->SetBinContent(25,18653.33); h_SL1L439->SetBinContent(26,17573.33); h_SL1L439->SetBinContent(27,19080); h_SL1L439->SetBinContent(28,18906.67); h_SL1L439->SetBinContent(29,18320); h_SL1L439->SetBinContent(30,18226.67); h_SL1L439->SetBinContent(31,18280); h_SL1L439->SetBinContent(32,17293.33); h_SL1L439->SetBinContent(33,16746.67); h_SL1L439->SetBinContent(34,16440); h_SL1L439->SetBinContent(35,16093.33); h_SL1L439->SetBinContent(36,15306.67); h_SL1L439->SetBinContent(37,12480); h_SL1L439->SetBinContent(38,15160); h_SL1L439->SetBinContent(39,15800); h_SL1L439->SetBinContent(40,13133.33); h_SL1L439->SetBinContent(41,12893.33); h_SL1L439->SetBinContent(42,13573.33); h_SL1L439->SetBinContent(43,15773.33); h_SL1L439->SetBinContent(44,14280); h_SL1L439->SetBinContent(45,12666.67); h_SL1L439->SetBinContent(46,13200); h_SL1L439->SetBinContent(47,12440); h_SL1L439->SetBinContent(48,11920); h_SL1L439->SetBinContent(49,12373.33); h_SL1L439->SetBinContent(50,13173.33); h_SL1L439->SetBinContent(51,13626.67); h_SL1L439->SetBinContent(52,14280); h_SL1L439->SetBinContent(53,13960); h_SL1L439->SetBinContent(54,13293.33); h_SL1L439->SetBinContent(56,15826.67); h_SL1L439->SetBinContent(57,17493.33); h_SL1L439->SetBinContent(58,22266.67); h_SL1L439->SetBinContent(59,23253.33); h_SL1L439->SetMaximum(49971.33); h_SL1L439->SetEntries(60); h_SL1L439->SetDirectory(0); h_SL1L439->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L439->SetLineColor(ci); h_SL1L439->SetLineWidth(2); h_SL1L439->GetXaxis()->SetTitle("Cell"); h_SL1L439->GetXaxis()->SetLabelFont(42); h_SL1L439->GetXaxis()->SetLabelSize(0.035); h_SL1L439->GetXaxis()->SetTitleSize(0.035); h_SL1L439->GetXaxis()->SetTitleFont(42); h_SL1L439->GetYaxis()->SetTitle("Hz per wire"); h_SL1L439->GetYaxis()->SetLabelFont(42); h_SL1L439->GetYaxis()->SetLabelSize(0.035); h_SL1L439->GetYaxis()->SetTitleSize(0.035); h_SL1L439->GetYaxis()->SetTitleOffset(1.45); h_SL1L439->GetYaxis()->SetTitleFont(42); h_SL1L439->GetZaxis()->SetLabelFont(42); h_SL1L439->GetZaxis()->SetLabelSize(0.035); h_SL1L439->GetZaxis()->SetTitleSize(0.035); h_SL1L439->GetZaxis()->SetTitleFont(42); h_SL1L439->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,-86.25001,67.5,776.25); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->SetFrameBorderMode(0); TH1D *h_SL2L140 = new TH1D("h_SL2L140","Background (digi time < 1000)",60,0,60); h_SL2L140->SetBinContent(57,600); h_SL2L140->SetMaximum(690); h_SL2L140->SetEntries(60); h_SL2L140->SetDirectory(0); h_SL2L140->SetStats(0); h_SL2L140->SetLineWidth(2); h_SL2L140->GetXaxis()->SetTitle("Cell"); h_SL2L140->GetXaxis()->SetLabelFont(42); h_SL2L140->GetXaxis()->SetLabelSize(0.035); h_SL2L140->GetXaxis()->SetTitleSize(0.035); h_SL2L140->GetXaxis()->SetTitleFont(42); h_SL2L140->GetYaxis()->SetTitle("Hz per wire"); h_SL2L140->GetYaxis()->SetLabelFont(42); h_SL2L140->GetYaxis()->SetLabelSize(0.035); h_SL2L140->GetYaxis()->SetTitleSize(0.035); h_SL2L140->GetYaxis()->SetTitleOffset(1.45); h_SL2L140->GetYaxis()->SetTitleFont(42); h_SL2L140->GetZaxis()->SetLabelFont(42); h_SL2L140->GetZaxis()->SetLabelSize(0.035); h_SL2L140->GetZaxis()->SetTitleSize(0.035); h_SL2L140->GetZaxis()->SetTitleFont(42); h_SL2L140->Draw("hist, "); TH1D *h_SL2L241 = new TH1D("h_SL2L241","Background (digi time < 1000)",60,0,60); h_SL2L241->SetMaximum(690); h_SL2L241->SetEntries(60); h_SL2L241->SetDirectory(0); h_SL2L241->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L241->SetLineColor(ci); h_SL2L241->SetLineWidth(2); h_SL2L241->GetXaxis()->SetTitle("Cell"); h_SL2L241->GetXaxis()->SetLabelFont(42); h_SL2L241->GetXaxis()->SetLabelSize(0.035); h_SL2L241->GetXaxis()->SetTitleSize(0.035); h_SL2L241->GetXaxis()->SetTitleFont(42); h_SL2L241->GetYaxis()->SetTitle("Hz per wire"); h_SL2L241->GetYaxis()->SetLabelFont(42); h_SL2L241->GetYaxis()->SetLabelSize(0.035); h_SL2L241->GetYaxis()->SetTitleSize(0.035); h_SL2L241->GetYaxis()->SetTitleOffset(1.45); h_SL2L241->GetYaxis()->SetTitleFont(42); h_SL2L241->GetZaxis()->SetLabelFont(42); h_SL2L241->GetZaxis()->SetLabelSize(0.035); h_SL2L241->GetZaxis()->SetTitleSize(0.035); h_SL2L241->GetZaxis()->SetTitleFont(42); h_SL2L241->Draw("hist, same"); TH1D *h_SL2L342 = new TH1D("h_SL2L342","Background (digi time < 1000)",60,0,60); h_SL2L342->SetMaximum(690); h_SL2L342->SetEntries(60); h_SL2L342->SetDirectory(0); h_SL2L342->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L342->SetLineColor(ci); h_SL2L342->SetLineWidth(2); h_SL2L342->GetXaxis()->SetTitle("Cell"); h_SL2L342->GetXaxis()->SetLabelFont(42); h_SL2L342->GetXaxis()->SetLabelSize(0.035); h_SL2L342->GetXaxis()->SetTitleSize(0.035); h_SL2L342->GetXaxis()->SetTitleFont(42); h_SL2L342->GetYaxis()->SetTitle("Hz per wire"); h_SL2L342->GetYaxis()->SetLabelFont(42); h_SL2L342->GetYaxis()->SetLabelSize(0.035); h_SL2L342->GetYaxis()->SetTitleSize(0.035); h_SL2L342->GetYaxis()->SetTitleOffset(1.45); h_SL2L342->GetYaxis()->SetTitleFont(42); h_SL2L342->GetZaxis()->SetLabelFont(42); h_SL2L342->GetZaxis()->SetLabelSize(0.035); h_SL2L342->GetZaxis()->SetTitleSize(0.035); h_SL2L342->GetZaxis()->SetTitleFont(42); h_SL2L342->Draw("hist, same"); TH1D *h_SL2L443 = new TH1D("h_SL2L443","Background (digi time < 1000)",60,0,60); h_SL2L443->SetMaximum(690); h_SL2L443->SetEntries(60); h_SL2L443->SetDirectory(0); h_SL2L443->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L443->SetLineColor(ci); h_SL2L443->SetLineWidth(2); h_SL2L443->GetXaxis()->SetTitle("Cell"); h_SL2L443->GetXaxis()->SetLabelFont(42); h_SL2L443->GetXaxis()->SetLabelSize(0.035); h_SL2L443->GetXaxis()->SetTitleSize(0.035); h_SL2L443->GetXaxis()->SetTitleFont(42); h_SL2L443->GetYaxis()->SetTitle("Hz per wire"); h_SL2L443->GetYaxis()->SetLabelFont(42); h_SL2L443->GetYaxis()->SetLabelSize(0.035); h_SL2L443->GetYaxis()->SetTitleSize(0.035); h_SL2L443->GetYaxis()->SetTitleOffset(1.45); h_SL2L443->GetYaxis()->SetTitleFont(42); h_SL2L443->GetZaxis()->SetLabelFont(42); h_SL2L443->GetZaxis()->SetLabelSize(0.035); h_SL2L443->GetZaxis()->SetTitleSize(0.035); h_SL2L443->GetZaxis()->SetTitleFont(42); h_SL2L443->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_SL3L144 = new TH1D("h_SL3L144","Background (digi time < 1000)",60,0,60); h_SL3L144->SetMaximum(0); h_SL3L144->SetEntries(60); h_SL3L144->SetDirectory(0); h_SL3L144->SetStats(0); h_SL3L144->SetLineWidth(2); h_SL3L144->GetXaxis()->SetTitle("Cell"); h_SL3L144->GetXaxis()->SetLabelFont(42); h_SL3L144->GetXaxis()->SetLabelSize(0.035); h_SL3L144->GetXaxis()->SetTitleSize(0.035); h_SL3L144->GetXaxis()->SetTitleFont(42); h_SL3L144->GetYaxis()->SetTitle("Hz per wire"); h_SL3L144->GetYaxis()->SetLabelFont(42); h_SL3L144->GetYaxis()->SetLabelSize(0.035); h_SL3L144->GetYaxis()->SetTitleSize(0.035); h_SL3L144->GetYaxis()->SetTitleOffset(1.45); h_SL3L144->GetYaxis()->SetTitleFont(42); h_SL3L144->GetZaxis()->SetLabelFont(42); h_SL3L144->GetZaxis()->SetLabelSize(0.035); h_SL3L144->GetZaxis()->SetTitleSize(0.035); h_SL3L144->GetZaxis()->SetTitleFont(42); h_SL3L144->Draw("hist, "); TH1D *h_SL3L245 = new TH1D("h_SL3L245","Background (digi time < 1000)",60,0,60); h_SL3L245->SetMaximum(0); h_SL3L245->SetEntries(60); h_SL3L245->SetDirectory(0); h_SL3L245->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L245->SetLineColor(ci); h_SL3L245->SetLineWidth(2); h_SL3L245->GetXaxis()->SetTitle("Cell"); h_SL3L245->GetXaxis()->SetLabelFont(42); h_SL3L245->GetXaxis()->SetLabelSize(0.035); h_SL3L245->GetXaxis()->SetTitleSize(0.035); h_SL3L245->GetXaxis()->SetTitleFont(42); h_SL3L245->GetYaxis()->SetTitle("Hz per wire"); h_SL3L245->GetYaxis()->SetLabelFont(42); h_SL3L245->GetYaxis()->SetLabelSize(0.035); h_SL3L245->GetYaxis()->SetTitleSize(0.035); h_SL3L245->GetYaxis()->SetTitleOffset(1.45); h_SL3L245->GetYaxis()->SetTitleFont(42); h_SL3L245->GetZaxis()->SetLabelFont(42); h_SL3L245->GetZaxis()->SetLabelSize(0.035); h_SL3L245->GetZaxis()->SetTitleSize(0.035); h_SL3L245->GetZaxis()->SetTitleFont(42); h_SL3L245->Draw("hist, same"); TH1D *h_SL3L346 = new TH1D("h_SL3L346","Background (digi time < 1000)",60,0,60); h_SL3L346->SetMaximum(0); h_SL3L346->SetEntries(60); h_SL3L346->SetDirectory(0); h_SL3L346->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L346->SetLineColor(ci); h_SL3L346->SetLineWidth(2); h_SL3L346->GetXaxis()->SetTitle("Cell"); h_SL3L346->GetXaxis()->SetLabelFont(42); h_SL3L346->GetXaxis()->SetLabelSize(0.035); h_SL3L346->GetXaxis()->SetTitleSize(0.035); h_SL3L346->GetXaxis()->SetTitleFont(42); h_SL3L346->GetYaxis()->SetTitle("Hz per wire"); h_SL3L346->GetYaxis()->SetLabelFont(42); h_SL3L346->GetYaxis()->SetLabelSize(0.035); h_SL3L346->GetYaxis()->SetTitleSize(0.035); h_SL3L346->GetYaxis()->SetTitleOffset(1.45); h_SL3L346->GetYaxis()->SetTitleFont(42); h_SL3L346->GetZaxis()->SetLabelFont(42); h_SL3L346->GetZaxis()->SetLabelSize(0.035); h_SL3L346->GetZaxis()->SetTitleSize(0.035); h_SL3L346->GetZaxis()->SetTitleFont(42); h_SL3L346->Draw("hist, same"); TH1D *h_SL3L447 = new TH1D("h_SL3L447","Background (digi time < 1000)",60,0,60); h_SL3L447->SetMaximum(0); h_SL3L447->SetEntries(60); h_SL3L447->SetDirectory(0); h_SL3L447->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L447->SetLineColor(ci); h_SL3L447->SetLineWidth(2); h_SL3L447->GetXaxis()->SetTitle("Cell"); h_SL3L447->GetXaxis()->SetLabelFont(42); h_SL3L447->GetXaxis()->SetLabelSize(0.035); h_SL3L447->GetXaxis()->SetTitleSize(0.035); h_SL3L447->GetXaxis()->SetTitleFont(42); h_SL3L447->GetYaxis()->SetTitle("Hz per wire"); h_SL3L447->GetYaxis()->SetLabelFont(42); h_SL3L447->GetYaxis()->SetLabelSize(0.035); h_SL3L447->GetYaxis()->SetTitleSize(0.035); h_SL3L447->GetYaxis()->SetTitleOffset(1.45); h_SL3L447->GetYaxis()->SetTitleFont(42); h_SL3L447->GetZaxis()->SetLabelFont(42); h_SL3L447->GetZaxis()->SetLabelSize(0.035); h_SL3L447->GetZaxis()->SetTitleSize(0.035); h_SL3L447->GetZaxis()->SetTitleFont(42); h_SL3L447->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 6352"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }