void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:11 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,-19164.96,67.5,172484.6); 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,81415.72); h_SL1L124->SetBinContent(2,79742.86); h_SL1L124->SetBinContent(3,78238.57); h_SL1L124->SetBinContent(4,79028.57); h_SL1L124->SetBinContent(5,77882.86); h_SL1L124->SetBinContent(6,79168.57); h_SL1L124->SetBinContent(7,78380); h_SL1L124->SetBinContent(8,78971.43); h_SL1L124->SetBinContent(9,75997.15); h_SL1L124->SetBinContent(10,71632.86); h_SL1L124->SetBinContent(11,68601.43); h_SL1L124->SetBinContent(12,67000); h_SL1L124->SetBinContent(13,68794.29); h_SL1L124->SetBinContent(14,70800); h_SL1L124->SetBinContent(15,72857.15); h_SL1L124->SetBinContent(16,67284.29); h_SL1L124->SetBinContent(17,68500); h_SL1L124->SetBinContent(18,71982.86); h_SL1L124->SetBinContent(19,74098.57); h_SL1L124->SetBinContent(20,74195.72); h_SL1L124->SetBinContent(21,77810); h_SL1L124->SetBinContent(22,77987.15); h_SL1L124->SetBinContent(23,78635.72); h_SL1L124->SetBinContent(24,78751.43); h_SL1L124->SetBinContent(25,78955.72); h_SL1L124->SetBinContent(26,73385.72); h_SL1L124->SetBinContent(27,74184.29); h_SL1L124->SetBinContent(28,76082.86); h_SL1L124->SetBinContent(29,76002.86); h_SL1L124->SetBinContent(30,76725.72); h_SL1L124->SetBinContent(31,77470); h_SL1L124->SetBinContent(32,80228.57); h_SL1L124->SetBinContent(33,111777.1); h_SL1L124->SetBinContent(34,123560); h_SL1L124->SetBinContent(35,128074.3); h_SL1L124->SetBinContent(36,131278.6); h_SL1L124->SetBinContent(37,133321.4); h_SL1L124->SetBinContent(38,125072.9); h_SL1L124->SetBinContent(39,102441.4); h_SL1L124->SetBinContent(40,74074.29); h_SL1L124->SetBinContent(41,71185.72); h_SL1L124->SetBinContent(42,71034.29); h_SL1L124->SetBinContent(43,68141.43); h_SL1L124->SetBinContent(44,67355.72); h_SL1L124->SetBinContent(45,65012.86); h_SL1L124->SetBinContent(46,64041.43); h_SL1L124->SetBinContent(47,64118.57); h_SL1L124->SetBinContent(48,62512.86); h_SL1L124->SetBinContent(49,61750); h_SL1L124->SetBinContent(50,62201.43); h_SL1L124->SetBinContent(51,60458.57); h_SL1L124->SetBinContent(52,59087.14); h_SL1L124->SetBinContent(53,59322.86); h_SL1L124->SetBinContent(54,57555.71); h_SL1L124->SetBinContent(55,58025.71); h_SL1L124->SetBinContent(56,56841.43); h_SL1L124->SetBinContent(57,55994.29); h_SL1L124->SetBinContent(58,54654.29); h_SL1L124->SetBinContent(59,55231.43); h_SL1L124->SetMaximum(153319.7); 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,1.428571); h_SL1L225->SetBinContent(2,1.428571); h_SL1L225->SetBinContent(3,1.428571); h_SL1L225->SetBinContent(4,1.428571); h_SL1L225->SetBinContent(5,1.428571); h_SL1L225->SetBinContent(6,1.428571); h_SL1L225->SetBinContent(7,2.857143); h_SL1L225->SetBinContent(8,2.857143); h_SL1L225->SetBinContent(9,1.428571); h_SL1L225->SetBinContent(10,1.428571); h_SL1L225->SetBinContent(11,1.428571); h_SL1L225->SetBinContent(12,2.857143); h_SL1L225->SetBinContent(13,1.428571); h_SL1L225->SetBinContent(14,1.428571); h_SL1L225->SetBinContent(15,1.428571); h_SL1L225->SetBinContent(16,1.428571); h_SL1L225->SetBinContent(17,1.428571); h_SL1L225->SetBinContent(18,1.428571); h_SL1L225->SetBinContent(19,1.428571); h_SL1L225->SetBinContent(21,1.428571); h_SL1L225->SetBinContent(22,1.428571); h_SL1L225->SetBinContent(23,1.428571); h_SL1L225->SetBinContent(24,1.428571); h_SL1L225->SetBinContent(25,1.428571); h_SL1L225->SetBinContent(26,1.428571); h_SL1L225->SetBinContent(27,2.857143); h_SL1L225->SetBinContent(28,2.857143); h_SL1L225->SetBinContent(29,2.857143); h_SL1L225->SetBinContent(30,1.428571); h_SL1L225->SetBinContent(31,1.428571); h_SL1L225->SetBinContent(32,2.857143); h_SL1L225->SetBinContent(33,1.428571); h_SL1L225->SetBinContent(34,2.857143); h_SL1L225->SetBinContent(35,1.428571); h_SL1L225->SetBinContent(36,1.428571); h_SL1L225->SetBinContent(37,1.428571); h_SL1L225->SetBinContent(38,1.428571); h_SL1L225->SetBinContent(39,1.428571); h_SL1L225->SetBinContent(40,1.428571); h_SL1L225->SetBinContent(41,1.428571); h_SL1L225->SetBinContent(42,1.428571); h_SL1L225->SetBinContent(43,2.857143); h_SL1L225->SetBinContent(44,1.428571); h_SL1L225->SetBinContent(45,1.428571); h_SL1L225->SetBinContent(46,1.428571); h_SL1L225->SetBinContent(47,1.428571); h_SL1L225->SetBinContent(48,1.428571); h_SL1L225->SetBinContent(49,322.8571); h_SL1L225->SetBinContent(50,2.857143); h_SL1L225->SetBinContent(51,1.428571); h_SL1L225->SetBinContent(52,1.428571); h_SL1L225->SetBinContent(53,10); h_SL1L225->SetBinContent(54,10); h_SL1L225->SetBinContent(55,8.571428); h_SL1L225->SetBinContent(56,11.42857); h_SL1L225->SetBinContent(57,1.428571); h_SL1L225->SetBinContent(58,1.428571); h_SL1L225->SetBinContent(59,1.428571); h_SL1L225->SetMaximum(153319.7); 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,1.428571); h_SL1L326->SetBinContent(2,1.428571); h_SL1L326->SetBinContent(3,1.428571); h_SL1L326->SetBinContent(4,1.428571); h_SL1L326->SetBinContent(5,1.428571); h_SL1L326->SetBinContent(6,1.428571); h_SL1L326->SetBinContent(7,1.428571); h_SL1L326->SetBinContent(8,1.428571); h_SL1L326->SetBinContent(9,1.428571); h_SL1L326->SetBinContent(10,1.428571); h_SL1L326->SetBinContent(11,1.428571); h_SL1L326->SetBinContent(12,1.428571); h_SL1L326->SetBinContent(13,1.428571); h_SL1L326->SetBinContent(14,1.428571); h_SL1L326->SetBinContent(15,2.857143); h_SL1L326->SetBinContent(16,1.428571); h_SL1L326->SetBinContent(17,1.428571); h_SL1L326->SetBinContent(18,1.428571); h_SL1L326->SetBinContent(19,1.428571); h_SL1L326->SetBinContent(20,1.428571); h_SL1L326->SetBinContent(21,1.428571); h_SL1L326->SetBinContent(22,1.428571); h_SL1L326->SetBinContent(23,1.428571); h_SL1L326->SetBinContent(24,2.857143); h_SL1L326->SetBinContent(25,1.428571); h_SL1L326->SetBinContent(26,1.428571); h_SL1L326->SetBinContent(27,2.857143); h_SL1L326->SetBinContent(28,1.428571); h_SL1L326->SetBinContent(29,1.428571); h_SL1L326->SetBinContent(30,1.428571); h_SL1L326->SetBinContent(31,1.428571); h_SL1L326->SetBinContent(32,1.428571); h_SL1L326->SetBinContent(33,1.428571); h_SL1L326->SetBinContent(34,1.428571); h_SL1L326->SetBinContent(35,1.428571); h_SL1L326->SetBinContent(36,1.428571); h_SL1L326->SetBinContent(37,2.857143); h_SL1L326->SetBinContent(38,2.857143); h_SL1L326->SetBinContent(39,1.428571); h_SL1L326->SetBinContent(40,1.428571); h_SL1L326->SetBinContent(41,2.857143); h_SL1L326->SetBinContent(42,2.857143); h_SL1L326->SetBinContent(43,1.428571); h_SL1L326->SetBinContent(44,1.428571); h_SL1L326->SetBinContent(45,1.428571); h_SL1L326->SetBinContent(46,1.428571); h_SL1L326->SetBinContent(47,1.428571); h_SL1L326->SetBinContent(48,1.428571); h_SL1L326->SetBinContent(49,1.428571); h_SL1L326->SetBinContent(50,4.285714); h_SL1L326->SetBinContent(51,2.857143); h_SL1L326->SetBinContent(52,2.857143); h_SL1L326->SetBinContent(53,11.42857); h_SL1L326->SetBinContent(54,1.428571); h_SL1L326->SetBinContent(55,1.428571); h_SL1L326->SetBinContent(56,14.28572); h_SL1L326->SetBinContent(57,2.857143); h_SL1L326->SetBinContent(58,1.428571); h_SL1L326->SetBinContent(59,1.428571); h_SL1L326->SetMaximum(153319.7); 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,75080); h_SL1L427->SetBinContent(3,71557.15); h_SL1L427->SetBinContent(4,72771.43); h_SL1L427->SetBinContent(5,71235.72); h_SL1L427->SetBinContent(6,72142.86); h_SL1L427->SetBinContent(7,71585.72); h_SL1L427->SetBinContent(8,72128.57); h_SL1L427->SetBinContent(9,71115.72); h_SL1L427->SetBinContent(10,68390); h_SL1L427->SetBinContent(11,63398.57); h_SL1L427->SetBinContent(12,62164.29); h_SL1L427->SetBinContent(13,62071.43); h_SL1L427->SetBinContent(14,64801.43); h_SL1L427->SetBinContent(15,66437.14); h_SL1L427->SetBinContent(16,64670); h_SL1L427->SetBinContent(17,62937.14); h_SL1L427->SetBinContent(18,64257.14); h_SL1L427->SetBinContent(19,66558.57); h_SL1L427->SetBinContent(20,68140); h_SL1L427->SetBinContent(21,69717.14); h_SL1L427->SetBinContent(22,72210); h_SL1L427->SetBinContent(23,72121.43); h_SL1L427->SetBinContent(24,72370); h_SL1L427->SetBinContent(25,73502.86); h_SL1L427->SetBinContent(26,71168.57); h_SL1L427->SetBinContent(27,68577.14); h_SL1L427->SetBinContent(28,68027.14); h_SL1L427->SetBinContent(29,71624.29); h_SL1L427->SetBinContent(30,71777.15); h_SL1L427->SetBinContent(31,71702.86); h_SL1L427->SetBinContent(32,73834.29); h_SL1L427->SetBinContent(33,87114.29); h_SL1L427->SetBinContent(34,118001.4); h_SL1L427->SetBinContent(35,121981.4); h_SL1L427->SetBinContent(36,125960); h_SL1L427->SetBinContent(37,127440); h_SL1L427->SetBinContent(38,123317.1); h_SL1L427->SetBinContent(39,112934.3); h_SL1L427->SetBinContent(40,77432.86); h_SL1L427->SetBinContent(41,67487.14); h_SL1L427->SetBinContent(42,65337.14); h_SL1L427->SetBinContent(43,63747.14); h_SL1L427->SetBinContent(44,63111.43); h_SL1L427->SetBinContent(45,61197.14); h_SL1L427->SetBinContent(46,61092.86); h_SL1L427->SetBinContent(47,59398.57); h_SL1L427->SetBinContent(48,58282.86); h_SL1L427->SetBinContent(49,56911.43); h_SL1L427->SetBinContent(50,56647.14); h_SL1L427->SetBinContent(51,56324.29); h_SL1L427->SetBinContent(52,54064.29); h_SL1L427->SetBinContent(53,54461.43); h_SL1L427->SetBinContent(54,52945.71); h_SL1L427->SetBinContent(56,53914.29); h_SL1L427->SetBinContent(57,51325.71); h_SL1L427->SetBinContent(58,51091.43); h_SL1L427->SetBinContent(59,49135.71); h_SL1L427->SetMaximum(153319.7); 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,-0.125,67.5,1.125); 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->SetMaximum(0); 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(0); 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->SetMaximum(0); 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(0); 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,-26785.97,67.5,241073.7); 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(214287.7); 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->SetBinContent(49,1.428571); h_SL3L233->SetBinContent(53,7.142858); h_SL3L233->SetMaximum(214287.7); 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->SetBinContent(3,1.428571); h_SL3L334->SetMaximum(214287.7); 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,186337.1); h_SL3L435->SetMaximum(214287.7); 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,-11609.83,67.5,104488.4); 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,80764); h_SL1L136->SetBinContent(2,80008); h_SL1L136->SetBinContent(3,78708); h_SL1L136->SetBinContent(4,79500); h_SL1L136->SetBinContent(5,77280); h_SL1L136->SetBinContent(6,79412); h_SL1L136->SetBinContent(7,78224); h_SL1L136->SetBinContent(8,77776); h_SL1L136->SetBinContent(9,75740); h_SL1L136->SetBinContent(10,70796); h_SL1L136->SetBinContent(11,68624); h_SL1L136->SetBinContent(12,66028); h_SL1L136->SetBinContent(13,68288); h_SL1L136->SetBinContent(14,70960); h_SL1L136->SetBinContent(15,72080); h_SL1L136->SetBinContent(16,66556); h_SL1L136->SetBinContent(17,67216); h_SL1L136->SetBinContent(18,71464); h_SL1L136->SetBinContent(19,72848); h_SL1L136->SetBinContent(20,72132); h_SL1L136->SetBinContent(21,77360); h_SL1L136->SetBinContent(22,77408); h_SL1L136->SetBinContent(23,77048); h_SL1L136->SetBinContent(24,76700); h_SL1L136->SetBinContent(25,77608); h_SL1L136->SetBinContent(26,72268); h_SL1L136->SetBinContent(27,72736); h_SL1L136->SetBinContent(28,74392); h_SL1L136->SetBinContent(29,72856); h_SL1L136->SetBinContent(30,73420); h_SL1L136->SetBinContent(31,73736); h_SL1L136->SetBinContent(32,72844); h_SL1L136->SetBinContent(33,73464); h_SL1L136->SetBinContent(34,73848); h_SL1L136->SetBinContent(35,73624); h_SL1L136->SetBinContent(36,71808); h_SL1L136->SetBinContent(37,72896); h_SL1L136->SetBinContent(38,70600); h_SL1L136->SetBinContent(39,68720); h_SL1L136->SetBinContent(40,68064); h_SL1L136->SetBinContent(41,67436); h_SL1L136->SetBinContent(42,68528); h_SL1L136->SetBinContent(43,65652); h_SL1L136->SetBinContent(44,64804); h_SL1L136->SetBinContent(45,62876); h_SL1L136->SetBinContent(46,62148); h_SL1L136->SetBinContent(47,61680); h_SL1L136->SetBinContent(48,61204); h_SL1L136->SetBinContent(49,60064); h_SL1L136->SetBinContent(50,60092); h_SL1L136->SetBinContent(51,59408); h_SL1L136->SetBinContent(52,58256); h_SL1L136->SetBinContent(53,58072); h_SL1L136->SetBinContent(54,56372); h_SL1L136->SetBinContent(55,56840); h_SL1L136->SetBinContent(56,56356); h_SL1L136->SetBinContent(57,54936); h_SL1L136->SetBinContent(58,53916); h_SL1L136->SetBinContent(59,54004); h_SL1L136->SetMaximum(92878.6); 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,4); h_SL1L237->SetBinContent(2,4); h_SL1L237->SetBinContent(3,4); h_SL1L237->SetBinContent(4,4); h_SL1L237->SetBinContent(5,4); h_SL1L237->SetBinContent(6,4); h_SL1L237->SetBinContent(7,8); h_SL1L237->SetBinContent(8,8); h_SL1L237->SetBinContent(9,4); h_SL1L237->SetBinContent(10,4); h_SL1L237->SetBinContent(11,4); h_SL1L237->SetBinContent(12,8); h_SL1L237->SetBinContent(13,4); h_SL1L237->SetBinContent(14,4); h_SL1L237->SetBinContent(15,4); h_SL1L237->SetBinContent(16,4); h_SL1L237->SetBinContent(17,4); h_SL1L237->SetBinContent(18,4); h_SL1L237->SetBinContent(19,4); h_SL1L237->SetBinContent(21,4); h_SL1L237->SetBinContent(22,4); h_SL1L237->SetBinContent(23,4); h_SL1L237->SetBinContent(24,4); h_SL1L237->SetBinContent(25,4); h_SL1L237->SetBinContent(26,4); h_SL1L237->SetBinContent(27,8); h_SL1L237->SetBinContent(28,8); h_SL1L237->SetBinContent(29,4); h_SL1L237->SetBinContent(30,4); h_SL1L237->SetBinContent(31,4); h_SL1L237->SetBinContent(32,8); h_SL1L237->SetBinContent(33,4); h_SL1L237->SetBinContent(34,8); h_SL1L237->SetBinContent(35,4); h_SL1L237->SetBinContent(36,4); h_SL1L237->SetBinContent(37,4); h_SL1L237->SetBinContent(38,4); h_SL1L237->SetBinContent(39,4); h_SL1L237->SetBinContent(40,4); h_SL1L237->SetBinContent(41,4); h_SL1L237->SetBinContent(42,4); h_SL1L237->SetBinContent(43,4); h_SL1L237->SetBinContent(44,4); h_SL1L237->SetBinContent(45,4); h_SL1L237->SetBinContent(46,4); h_SL1L237->SetBinContent(47,4); h_SL1L237->SetBinContent(48,4); h_SL1L237->SetBinContent(49,300); h_SL1L237->SetBinContent(50,8); h_SL1L237->SetBinContent(51,4); h_SL1L237->SetBinContent(52,4); h_SL1L237->SetBinContent(53,12); h_SL1L237->SetBinContent(54,8); h_SL1L237->SetBinContent(55,4); h_SL1L237->SetBinContent(56,16); h_SL1L237->SetBinContent(57,4); h_SL1L237->SetBinContent(58,4); h_SL1L237->SetBinContent(59,4); h_SL1L237->SetMaximum(92878.6); 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,4); h_SL1L338->SetBinContent(2,4); h_SL1L338->SetBinContent(3,4); h_SL1L338->SetBinContent(4,4); h_SL1L338->SetBinContent(5,4); h_SL1L338->SetBinContent(6,4); h_SL1L338->SetBinContent(7,4); h_SL1L338->SetBinContent(8,4); h_SL1L338->SetBinContent(9,4); h_SL1L338->SetBinContent(10,4); h_SL1L338->SetBinContent(11,4); h_SL1L338->SetBinContent(12,4); h_SL1L338->SetBinContent(13,4); h_SL1L338->SetBinContent(14,4); h_SL1L338->SetBinContent(15,8); h_SL1L338->SetBinContent(16,4); h_SL1L338->SetBinContent(17,4); h_SL1L338->SetBinContent(18,4); h_SL1L338->SetBinContent(19,4); h_SL1L338->SetBinContent(20,4); h_SL1L338->SetBinContent(21,4); h_SL1L338->SetBinContent(22,4); h_SL1L338->SetBinContent(23,4); h_SL1L338->SetBinContent(24,8); h_SL1L338->SetBinContent(25,4); h_SL1L338->SetBinContent(26,4); h_SL1L338->SetBinContent(27,8); h_SL1L338->SetBinContent(28,4); h_SL1L338->SetBinContent(29,4); h_SL1L338->SetBinContent(30,4); h_SL1L338->SetBinContent(31,4); h_SL1L338->SetBinContent(32,4); h_SL1L338->SetBinContent(33,4); h_SL1L338->SetBinContent(34,4); h_SL1L338->SetBinContent(35,4); h_SL1L338->SetBinContent(36,4); h_SL1L338->SetBinContent(37,4); h_SL1L338->SetBinContent(38,4); h_SL1L338->SetBinContent(39,4); h_SL1L338->SetBinContent(40,4); h_SL1L338->SetBinContent(41,8); h_SL1L338->SetBinContent(42,8); h_SL1L338->SetBinContent(43,4); h_SL1L338->SetBinContent(44,4); h_SL1L338->SetBinContent(45,4); h_SL1L338->SetBinContent(46,4); h_SL1L338->SetBinContent(47,4); h_SL1L338->SetBinContent(48,4); h_SL1L338->SetBinContent(49,4); h_SL1L338->SetBinContent(50,12); h_SL1L338->SetBinContent(51,8); h_SL1L338->SetBinContent(52,8); h_SL1L338->SetBinContent(53,4); h_SL1L338->SetBinContent(54,4); h_SL1L338->SetBinContent(55,4); h_SL1L338->SetBinContent(56,4); h_SL1L338->SetBinContent(57,4); h_SL1L338->SetBinContent(58,4); h_SL1L338->SetBinContent(59,4); h_SL1L338->SetMaximum(92878.6); 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,74680); h_SL1L439->SetBinContent(3,71044); h_SL1L439->SetBinContent(4,72128); h_SL1L439->SetBinContent(5,71204); h_SL1L439->SetBinContent(6,72012); h_SL1L439->SetBinContent(7,71588); h_SL1L439->SetBinContent(8,71376); h_SL1L439->SetBinContent(9,71352); h_SL1L439->SetBinContent(10,68164); h_SL1L439->SetBinContent(11,63148); h_SL1L439->SetBinContent(12,61892); h_SL1L439->SetBinContent(13,61220); h_SL1L439->SetBinContent(14,64064); h_SL1L439->SetBinContent(15,65872); h_SL1L439->SetBinContent(16,64364); h_SL1L439->SetBinContent(17,61888); h_SL1L439->SetBinContent(18,64228); h_SL1L439->SetBinContent(19,66068); h_SL1L439->SetBinContent(20,67888); h_SL1L439->SetBinContent(21,69688); h_SL1L439->SetBinContent(22,71944); h_SL1L439->SetBinContent(23,70496); h_SL1L439->SetBinContent(24,70312); h_SL1L439->SetBinContent(25,72920); h_SL1L439->SetBinContent(26,69848); h_SL1L439->SetBinContent(27,67124); h_SL1L439->SetBinContent(28,65532); h_SL1L439->SetBinContent(29,69220); h_SL1L439->SetBinContent(30,69604); h_SL1L439->SetBinContent(31,68232); h_SL1L439->SetBinContent(32,67852); h_SL1L439->SetBinContent(33,66728); h_SL1L439->SetBinContent(34,70004); h_SL1L439->SetBinContent(35,68780); h_SL1L439->SetBinContent(36,67084); h_SL1L439->SetBinContent(37,65728); h_SL1L439->SetBinContent(38,64856); h_SL1L439->SetBinContent(39,64028); h_SL1L439->SetBinContent(40,63096); h_SL1L439->SetBinContent(41,62064); h_SL1L439->SetBinContent(42,62772); h_SL1L439->SetBinContent(43,61024); h_SL1L439->SetBinContent(44,61028); h_SL1L439->SetBinContent(45,59320); h_SL1L439->SetBinContent(46,58924); h_SL1L439->SetBinContent(47,57864); h_SL1L439->SetBinContent(48,56588); h_SL1L439->SetBinContent(49,55044); h_SL1L439->SetBinContent(50,56208); h_SL1L439->SetBinContent(51,55600); h_SL1L439->SetBinContent(52,53412); h_SL1L439->SetBinContent(53,53168); h_SL1L439->SetBinContent(54,52528); h_SL1L439->SetBinContent(56,53264); h_SL1L439->SetBinContent(57,51056); h_SL1L439->SetBinContent(58,50492); h_SL1L439->SetBinContent(59,48376); h_SL1L439->SetMaximum(92878.6); 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,-0.125,67.5,1.125); 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->SetMaximum(0); 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(0); 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(0); 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(0); 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,-26693.23,67.5,240239); 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(213545.8); 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->SetBinContent(53,8); h_SL3L245->SetMaximum(213545.8); 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->SetBinContent(3,4); h_SL3L346->SetMaximum(213545.8); 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->SetBinContent(50,185692); h_SL3L447->SetMaximum(213545.8); 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 5383"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }