void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Wed Jan 16 11:04:22 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,-10524.82,67.5,94723.38); 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,677.505); h_SL1L124->SetBinContent(2,664.4761); h_SL1L124->SetBinContent(3,807.7944); h_SL1L124->SetBinContent(4,814.3089); h_SL1L124->SetBinContent(5,859.9102); h_SL1L124->SetBinContent(6,716.5918); h_SL1L124->SetBinContent(7,775.222); h_SL1L124->SetBinContent(8,859.9102); h_SL1L124->SetBinContent(9,840.3668); h_SL1L124->SetBinContent(10,1009.743); h_SL1L124->SetBinContent(11,1100.946); h_SL1L124->SetBinContent(12,1074.888); h_SL1L124->SetBinContent(13,1146.547); h_SL1L124->SetBinContent(14,1309.409); h_SL1L124->SetBinContent(15,1270.322); h_SL1L124->SetBinContent(16,1387.582); h_SL1L124->SetBinContent(17,1478.785); h_SL1L124->SetBinContent(18,1791.479); h_SL1L124->SetBinContent(19,1791.479); h_SL1L124->SetBinContent(20,2182.348); h_SL1L124->SetBinContent(21,2280.065); h_SL1L124->SetBinContent(22,2377.782); h_SL1L124->SetBinContent(23,2749.107); h_SL1L124->SetBinContent(24,2938.026); h_SL1L124->SetBinContent(25,2905.454); h_SL1L124->SetBinContent(26,3367.981); h_SL1L124->SetBinContent(27,3797.937); h_SL1L124->SetBinContent(28,4455.898); h_SL1L124->SetBinContent(29,4722.992); h_SL1L124->SetBinContent(30,5680.619); h_SL1L124->SetBinContent(31,7700.105); h_SL1L124->SetBinContent(32,10670.7); h_SL1L124->SetBinContent(33,38546.12); h_SL1L124->SetBinContent(34,51321); h_SL1L124->SetBinContent(35,60076.45); h_SL1L124->SetBinContent(36,67203.28); h_SL1L124->SetBinContent(37,73216.14); h_SL1L124->SetBinContent(38,67014.37); h_SL1L124->SetBinContent(39,47034.48); h_SL1L124->SetBinContent(40,12566.42); h_SL1L124->SetBinContent(41,8475.327); h_SL1L124->SetBinContent(42,7419.982); h_SL1L124->SetBinContent(43,6032.4); h_SL1L124->SetBinContent(44,5485.185); h_SL1L124->SetBinContent(45,5309.294); h_SL1L124->SetBinContent(46,5035.686); h_SL1L124->SetBinContent(47,4644.818); h_SL1L124->SetBinContent(48,3863.081); h_SL1L124->SetBinContent(49,3693.705); h_SL1L124->SetBinContent(50,3576.445); h_SL1L124->SetBinContent(51,3322.38); h_SL1L124->SetBinContent(52,3016.2); h_SL1L124->SetBinContent(53,2951.055); h_SL1L124->SetBinContent(54,2468.985); h_SL1L124->SetBinContent(55,2749.107); h_SL1L124->SetBinContent(56,2540.644); h_SL1L124->SetBinContent(57,2254.007); h_SL1L124->SetBinContent(58,2488.528); h_SL1L124->SetBinContent(59,2149.775); h_SL1L124->SetMaximum(84198.56); 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(5,13.02894); h_SL1L225->SetBinContent(6,26.05788); h_SL1L225->SetBinContent(7,26.05788); h_SL1L225->SetBinContent(8,19.54341); h_SL1L225->SetBinContent(9,71.65918); h_SL1L225->SetBinContent(10,52.11577); h_SL1L225->SetBinContent(11,45.6013); h_SL1L225->SetBinContent(12,65.14471); h_SL1L225->SetBinContent(17,32.57236); h_SL1L225->SetBinContent(18,19.54341); h_SL1L225->SetBinContent(19,26.05788); h_SL1L225->SetBinContent(20,26.05788); h_SL1L225->SetBinContent(38,6.514471); h_SL1L225->SetBinContent(39,6.514471); h_SL1L225->SetBinContent(40,13.02894); h_SL1L225->SetBinContent(44,6.514471); h_SL1L225->SetBinContent(49,130.2894); h_SL1L225->SetBinContent(56,6.514471); h_SL1L225->SetBinContent(57,26.05788); h_SL1L225->SetBinContent(58,6.514471); h_SL1L225->SetBinContent(59,13.02894); h_SL1L225->SetMaximum(84198.56); 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,6.514471); h_SL1L326->SetBinContent(5,6.514471); h_SL1L326->SetBinContent(7,6.514471); h_SL1L326->SetBinContent(8,6.514471); h_SL1L326->SetBinContent(9,45.6013); h_SL1L326->SetBinContent(12,45.6013); h_SL1L326->SetBinContent(17,13.02894); h_SL1L326->SetBinContent(18,6.514471); h_SL1L326->SetBinContent(19,6.514471); h_SL1L326->SetBinContent(20,26.05788); h_SL1L326->SetBinContent(37,19.54341); h_SL1L326->SetBinContent(38,19.54341); h_SL1L326->SetBinContent(39,26.05788); h_SL1L326->SetBinContent(40,19.54341); h_SL1L326->SetBinContent(41,32.57236); h_SL1L326->SetBinContent(42,19.54341); h_SL1L326->SetBinContent(43,39.08683); h_SL1L326->SetBinContent(44,26.05788); h_SL1L326->SetBinContent(48,6.514471); h_SL1L326->SetBinContent(49,13.02894); h_SL1L326->SetBinContent(50,19.54341); h_SL1L326->SetBinContent(51,6.514471); h_SL1L326->SetBinContent(52,13.02894); h_SL1L326->SetBinContent(56,6.514471); h_SL1L326->SetBinContent(57,26.05788); h_SL1L326->SetBinContent(58,39.08683); h_SL1L326->SetBinContent(59,45.6013); h_SL1L326->SetMaximum(84198.56); 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,684.0195); h_SL1L427->SetBinContent(3,729.6207); h_SL1L427->SetBinContent(4,573.2734); h_SL1L427->SetBinContent(5,540.7011); h_SL1L427->SetBinContent(6,644.9326); h_SL1L427->SetBinContent(7,638.4182); h_SL1L427->SetBinContent(8,560.2445); h_SL1L427->SetBinContent(9,664.4761); h_SL1L427->SetBinContent(10,814.3089); h_SL1L427->SetBinContent(11,964.1417); h_SL1L427->SetBinContent(12,879.4536); h_SL1L427->SetBinContent(13,885.9681); h_SL1L427->SetBinContent(14,1205.177); h_SL1L427->SetBinContent(15,1081.402); h_SL1L427->SetBinContent(16,1172.605); h_SL1L427->SetBinContent(17,1244.264); h_SL1L427->SetBinContent(18,1628.618); h_SL1L427->SetBinContent(19,1609.074); h_SL1L427->SetBinContent(20,1615.589); h_SL1L427->SetBinContent(21,2071.602); h_SL1L427->SetBinContent(22,2143.261); h_SL1L427->SetBinContent(23,2254.007); h_SL1L427->SetBinContent(24,2475.499); h_SL1L427->SetBinContent(25,2651.39); h_SL1L427->SetBinContent(26,2892.425); h_SL1L427->SetBinContent(27,3381.01); h_SL1L427->SetBinContent(28,3830.509); h_SL1L427->SetBinContent(29,4306.065); h_SL1L427->SetBinContent(30,4977.056); h_SL1L427->SetBinContent(31,6494.928); h_SL1L427->SetBinContent(32,9061.629); h_SL1L427->SetBinContent(33,22553.1); h_SL1L427->SetBinContent(34,47887.88); h_SL1L427->SetBinContent(35,56428.35); h_SL1L427->SetBinContent(36,64278.29); h_SL1L427->SetBinContent(37,71646.16); h_SL1L427->SetBinContent(38,71372.55); h_SL1L427->SetBinContent(39,62838.59); h_SL1L427->SetBinContent(40,24201.26); h_SL1L427->SetBinContent(41,10827.05); h_SL1L427->SetBinContent(42,8006.285); h_SL1L427->SetBinContent(43,6358.124); h_SL1L427->SetBinContent(44,5615.474); h_SL1L427->SetBinContent(45,5081.288); h_SL1L427->SetBinContent(46,5074.773); h_SL1L427->SetBinContent(47,4579.673); h_SL1L427->SetBinContent(48,4247.435); h_SL1L427->SetBinContent(49,3485.242); h_SL1L427->SetBinContent(50,3472.213); h_SL1L427->SetBinContent(51,3263.75); h_SL1L427->SetBinContent(52,2990.142); h_SL1L427->SetBinContent(53,2879.396); h_SL1L427->SetBinContent(54,2254.007); h_SL1L427->SetBinContent(56,2410.354); h_SL1L427->SetBinContent(57,2325.666); h_SL1L427->SetBinContent(58,2260.521); h_SL1L427->SetBinContent(59,2123.718); h_SL1L427->SetMaximum(84198.56); 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,-7.491642,67.5,67.42478); 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,6.514471); h_SL2L128->SetMaximum(59.93313); 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->SetBinContent(25,26.05788); h_SL2L229->SetBinContent(26,19.54341); h_SL2L229->SetBinContent(27,26.05788); h_SL2L229->SetBinContent(28,26.05788); h_SL2L229->SetBinContent(29,32.57236); h_SL2L229->SetBinContent(30,32.57236); h_SL2L229->SetBinContent(31,52.11577); h_SL2L229->SetBinContent(32,45.6013); h_SL2L229->SetBinContent(33,6.514471); h_SL2L229->SetBinContent(35,13.02894); h_SL2L229->SetBinContent(36,13.02894); h_SL2L229->SetBinContent(45,13.02894); h_SL2L229->SetBinContent(46,13.02894); h_SL2L229->SetBinContent(47,13.02894); h_SL2L229->SetBinContent(48,19.54341); h_SL2L229->SetMaximum(59.93313); 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(9,13.02894); h_SL2L330->SetBinContent(10,13.02894); h_SL2L330->SetBinContent(11,6.514471); h_SL2L330->SetBinContent(12,6.514471); h_SL2L330->SetBinContent(17,13.02894); h_SL2L330->SetBinContent(18,19.54341); h_SL2L330->SetBinContent(19,13.02894); h_SL2L330->SetBinContent(20,6.514471); h_SL2L330->SetBinContent(21,13.02894); h_SL2L330->SetBinContent(22,19.54341); h_SL2L330->SetBinContent(23,19.54341); h_SL2L330->SetBinContent(24,19.54341); h_SL2L330->SetBinContent(25,26.05788); h_SL2L330->SetBinContent(26,26.05788); h_SL2L330->SetBinContent(27,26.05788); h_SL2L330->SetBinContent(28,32.57236); h_SL2L330->SetBinContent(29,26.05788); h_SL2L330->SetBinContent(30,26.05788); h_SL2L330->SetBinContent(31,26.05788); h_SL2L330->SetBinContent(32,26.05788); h_SL2L330->SetBinContent(33,19.54341); h_SL2L330->SetBinContent(34,13.02894); h_SL2L330->SetBinContent(35,6.514471); h_SL2L330->SetBinContent(36,13.02894); h_SL2L330->SetBinContent(53,13.02894); h_SL2L330->SetBinContent(54,6.514471); h_SL2L330->SetBinContent(55,6.514471); h_SL2L330->SetBinContent(56,6.514471); h_SL2L330->SetMaximum(59.93313); 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->SetBinContent(25,19.54341); h_SL2L431->SetBinContent(26,39.08683); h_SL2L431->SetBinContent(27,19.54341); h_SL2L431->SetBinContent(28,13.02894); h_SL2L431->SetBinContent(29,39.08683); h_SL2L431->SetBinContent(30,19.54341); h_SL2L431->SetBinContent(31,26.05788); h_SL2L431->SetBinContent(32,39.08683); h_SL2L431->SetMaximum(59.93313); 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,-13.11037,67.5,117.9934); 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->SetBinContent(29,6.514471); h_SL3L132->SetBinContent(30,13.02894); h_SL3L132->SetBinContent(31,6.514471); h_SL3L132->SetBinContent(32,13.02894); h_SL3L132->SetMaximum(104.883); 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(33,58.63024); h_SL3L233->SetBinContent(34,19.54341); h_SL3L233->SetBinContent(35,32.57236); h_SL3L233->SetBinContent(36,71.65918); h_SL3L233->SetBinContent(37,26.05788); h_SL3L233->SetBinContent(38,39.08683); h_SL3L233->SetBinContent(39,52.11577); h_SL3L233->SetBinContent(40,39.08683); h_SL3L233->SetBinContent(41,26.05788); h_SL3L233->SetBinContent(42,13.02894); h_SL3L233->SetBinContent(43,19.54341); h_SL3L233->SetBinContent(44,19.54341); h_SL3L233->SetBinContent(45,71.65918); h_SL3L233->SetBinContent(46,45.6013); h_SL3L233->SetBinContent(47,71.65918); h_SL3L233->SetBinContent(48,45.6013); h_SL3L233->SetBinContent(52,6.514471); h_SL3L233->SetBinContent(57,19.54341); h_SL3L233->SetBinContent(58,13.02894); h_SL3L233->SetBinContent(59,13.02894); h_SL3L233->SetMaximum(104.883); 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(33,91.20259); h_SL3L334->SetBinContent(34,32.57236); h_SL3L334->SetBinContent(35,39.08683); h_SL3L334->SetBinContent(36,78.17365); h_SL3L334->SetBinContent(37,19.54341); h_SL3L334->SetBinContent(38,19.54341); h_SL3L334->SetBinContent(39,19.54341); h_SL3L334->SetBinContent(40,26.05788); h_SL3L334->SetBinContent(46,71.65918); h_SL3L334->SetBinContent(47,84.68813); h_SL3L334->SetBinContent(48,65.14471); h_SL3L334->SetBinContent(49,6.514471); h_SL3L334->SetBinContent(50,6.514471); h_SL3L334->SetBinContent(51,6.514471); h_SL3L334->SetBinContent(52,6.514471); h_SL3L334->SetBinContent(57,19.54341); h_SL3L334->SetBinContent(58,32.57236); h_SL3L334->SetBinContent(59,26.05788); h_SL3L334->SetMaximum(104.883); 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(33,13.02894); h_SL3L435->SetBinContent(34,13.02894); h_SL3L435->SetBinContent(35,13.02894); h_SL3L435->SetBinContent(36,6.514471); h_SL3L435->SetBinContent(46,6.514471); h_SL3L435->SetBinContent(47,13.02894); h_SL3L435->SetMaximum(104.883); 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,-726.3147,67.5,6536.832); 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,583.6966); h_SL1L136->SetBinContent(2,510.7345); h_SL1L136->SetBinContent(3,510.7345); h_SL1L136->SetBinContent(4,583.6966); h_SL1L136->SetBinContent(5,656.6587); h_SL1L136->SetBinContent(6,291.8483); h_SL1L136->SetBinContent(7,601.9371); h_SL1L136->SetBinContent(8,674.8992); h_SL1L136->SetBinContent(9,583.6966); h_SL1L136->SetBinContent(10,620.1776); h_SL1L136->SetBinContent(11,802.5828); h_SL1L136->SetBinContent(12,766.1018); h_SL1L136->SetBinContent(13,802.5828); h_SL1L136->SetBinContent(14,802.5828); h_SL1L136->SetBinContent(15,784.3423); h_SL1L136->SetBinContent(16,1021.469); h_SL1L136->SetBinContent(17,711.3802); h_SL1L136->SetBinContent(18,1057.95); h_SL1L136->SetBinContent(19,857.3044); h_SL1L136->SetBinContent(20,1094.431); h_SL1L136->SetBinContent(21,1185.634); h_SL1L136->SetBinContent(22,984.988); h_SL1L136->SetBinContent(23,1422.76); h_SL1L136->SetBinContent(24,1495.723); h_SL1L136->SetBinContent(25,1532.204); h_SL1L136->SetBinContent(26,1441.001); h_SL1L136->SetBinContent(27,1678.128); h_SL1L136->SetBinContent(28,1696.368); h_SL1L136->SetBinContent(29,2061.179); h_SL1L136->SetBinContent(30,2261.824); h_SL1L136->SetBinContent(31,3064.407); h_SL1L136->SetBinContent(32,3611.623); h_SL1L136->SetBinContent(33,3210.331); h_SL1L136->SetBinContent(34,3757.547); h_SL1L136->SetBinContent(35,4177.079); h_SL1L136->SetBinContent(36,4195.319); h_SL1L136->SetBinContent(37,4414.206); h_SL1L136->SetBinContent(38,4104.117); h_SL1L136->SetBinContent(39,4450.687); h_SL1L136->SetBinContent(40,5052.624); h_SL1L136->SetBinContent(41,4359.484); h_SL1L136->SetBinContent(42,4122.357); h_SL1L136->SetBinContent(43,2900.242); h_SL1L136->SetBinContent(44,2681.356); h_SL1L136->SetBinContent(45,2882.002); h_SL1L136->SetBinContent(46,2590.154); h_SL1L136->SetBinContent(47,2225.343); h_SL1L136->SetBinContent(48,1805.811); h_SL1L136->SetBinContent(49,1605.166); h_SL1L136->SetBinContent(50,1824.052); h_SL1L136->SetBinContent(51,1897.014); h_SL1L136->SetBinContent(52,1568.685); h_SL1L136->SetBinContent(53,1313.317); h_SL1L136->SetBinContent(54,1441.001); h_SL1L136->SetBinContent(55,1550.444); h_SL1L136->SetBinContent(56,1459.241); h_SL1L136->SetBinContent(57,1349.798); h_SL1L136->SetBinContent(58,1605.166); h_SL1L136->SetBinContent(59,1441.001); h_SL1L136->SetMaximum(5810.517); 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(9,91.20259); h_SL1L237->SetBinContent(10,54.72156); h_SL1L237->SetBinContent(11,54.72156); h_SL1L237->SetBinContent(12,91.20259); h_SL1L237->SetBinContent(49,72.96207); h_SL1L237->SetMaximum(5810.517); 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(9,36.48104); h_SL1L338->SetBinContent(12,36.48104); h_SL1L338->SetBinContent(17,36.48104); h_SL1L338->SetBinContent(18,18.24052); h_SL1L338->SetBinContent(19,18.24052); h_SL1L338->SetBinContent(20,72.96207); h_SL1L338->SetBinContent(49,36.48104); h_SL1L338->SetBinContent(50,54.72156); h_SL1L338->SetBinContent(51,18.24052); h_SL1L338->SetBinContent(52,36.48104); h_SL1L338->SetMaximum(5810.517); 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,492.494); h_SL1L439->SetBinContent(3,565.4561); h_SL1L439->SetBinContent(4,474.2535); h_SL1L439->SetBinContent(5,419.5319); h_SL1L439->SetBinContent(6,492.494); h_SL1L439->SetBinContent(7,310.0888); h_SL1L439->SetBinContent(8,492.494); h_SL1L439->SetBinContent(9,528.975); h_SL1L439->SetBinContent(10,583.6966); h_SL1L439->SetBinContent(11,766.1018); h_SL1L439->SetBinContent(12,547.2156); h_SL1L439->SetBinContent(13,693.1397); h_SL1L439->SetBinContent(14,857.3044); h_SL1L439->SetBinContent(15,711.3802); h_SL1L439->SetBinContent(16,966.7475); h_SL1L439->SetBinContent(17,820.8234); h_SL1L439->SetBinContent(18,912.0259); h_SL1L439->SetBinContent(19,966.7475); h_SL1L439->SetBinContent(20,857.3044); h_SL1L439->SetBinContent(21,1276.836); h_SL1L439->SetBinContent(22,1295.077); h_SL1L439->SetBinContent(23,1185.634); h_SL1L439->SetBinContent(24,1258.596); h_SL1L439->SetBinContent(25,1550.444); h_SL1L439->SetBinContent(26,1495.723); h_SL1L439->SetBinContent(27,1714.609); h_SL1L439->SetBinContent(28,1769.33); h_SL1L439->SetBinContent(29,1824.052); h_SL1L439->SetBinContent(30,1969.976); h_SL1L439->SetBinContent(31,2863.761); h_SL1L439->SetBinContent(32,3429.218); h_SL1L439->SetBinContent(33,3794.028); h_SL1L439->SetBinContent(34,3520.42); h_SL1L439->SetBinContent(35,3739.306); h_SL1L439->SetBinContent(36,4031.155); h_SL1L439->SetBinContent(37,4286.522); h_SL1L439->SetBinContent(38,4140.598); h_SL1L439->SetBinContent(39,4231.8); h_SL1L439->SetBinContent(40,4906.7); h_SL1L439->SetBinContent(41,4596.611); h_SL1L439->SetBinContent(42,4323.003); h_SL1L439->SetBinContent(43,3064.407); h_SL1L439->SetBinContent(44,2699.597); h_SL1L439->SetBinContent(45,2699.597); h_SL1L439->SetBinContent(46,2644.875); h_SL1L439->SetBinContent(47,2371.267); h_SL1L439->SetBinContent(48,2097.66); h_SL1L439->SetBinContent(49,1605.166); h_SL1L439->SetBinContent(50,1568.685); h_SL1L439->SetBinContent(51,1732.849); h_SL1L439->SetBinContent(52,1787.571); h_SL1L439->SetBinContent(53,1568.685); h_SL1L439->SetBinContent(54,1167.393); h_SL1L439->SetBinContent(56,1477.482); h_SL1L439->SetBinContent(57,1331.558); h_SL1L439->SetBinContent(58,1751.09); h_SL1L439->SetBinContent(59,1459.241); h_SL1L439->SetMaximum(5810.517); 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,-7.866224,67.5,70.79602); 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(62.92979); 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->SetBinContent(45,36.48104); h_SL2L241->SetBinContent(46,36.48104); h_SL2L241->SetBinContent(47,36.48104); h_SL2L241->SetBinContent(48,54.72156); h_SL2L241->SetMaximum(62.92979); 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(62.92979); 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(62.92979); 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,-7.866224,67.5,70.79602); 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(62.92979); 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(40,18.24052); h_SL3L245->SetBinContent(52,18.24052); h_SL3L245->SetMaximum(62.92979); 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(37,18.24052); h_SL3L346->SetBinContent(38,18.24052); h_SL3L346->SetBinContent(39,54.72156); h_SL3L346->SetBinContent(40,18.24052); h_SL3L346->SetBinContent(49,18.24052); h_SL3L346->SetBinContent(50,18.24052); h_SL3L346->SetBinContent(51,18.24052); h_SL3L346->SetBinContent(52,18.24052); h_SL3L346->SetBinContent(59,18.24052); h_SL3L346->SetMaximum(62.92979); 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(62.92979); 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 5549"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }