void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:21:51 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,-3757.009,67.5,33813.08); 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,18685.71); h_SL1L124->SetBinContent(2,19514.29); h_SL1L124->SetBinContent(3,20100); h_SL1L124->SetBinContent(4,19507.14); h_SL1L124->SetBinContent(5,17939.29); h_SL1L124->SetBinContent(6,18335.71); h_SL1L124->SetBinContent(7,18403.57); h_SL1L124->SetBinContent(8,19139.29); h_SL1L124->SetBinContent(9,17921.43); h_SL1L124->SetBinContent(10,18857.14); h_SL1L124->SetBinContent(11,19121.43); h_SL1L124->SetBinContent(12,18878.57); h_SL1L124->SetBinContent(13,18839.29); h_SL1L124->SetBinContent(14,17232.14); h_SL1L124->SetBinContent(15,16014.29); h_SL1L124->SetBinContent(16,15860.71); h_SL1L124->SetBinContent(17,15392.86); h_SL1L124->SetBinContent(18,16764.29); h_SL1L124->SetBinContent(19,16382.14); h_SL1L124->SetBinContent(20,17110.71); h_SL1L124->SetBinContent(21,17285.71); h_SL1L124->SetBinContent(22,16532.14); h_SL1L124->SetBinContent(23,15910.71); h_SL1L124->SetBinContent(24,15121.43); h_SL1L124->SetBinContent(25,14585.71); h_SL1L124->SetBinContent(26,14135.71); h_SL1L124->SetBinContent(27,13778.57); h_SL1L124->SetBinContent(28,15032.14); h_SL1L124->SetBinContent(29,15164.29); h_SL1L124->SetBinContent(30,15039.29); h_SL1L124->SetBinContent(31,14921.43); h_SL1L124->SetBinContent(32,14232.14); h_SL1L124->SetBinContent(33,771.4286); h_SL1L124->SetBinContent(34,803.5714); h_SL1L124->SetBinContent(35,760.7143); h_SL1L124->SetBinContent(36,707.1428); h_SL1L124->SetBinContent(37,810.7143); h_SL1L124->SetBinContent(38,764.2857); h_SL1L124->SetBinContent(39,696.4286); h_SL1L124->SetBinContent(40,753.5714); h_SL1L124->SetBinContent(41,771.4286); h_SL1L124->SetBinContent(42,767.8571); h_SL1L124->SetBinContent(43,850); h_SL1L124->SetBinContent(44,707.1428); h_SL1L124->SetBinContent(45,671.4286); h_SL1L124->SetBinContent(46,650); h_SL1L124->SetBinContent(47,725); h_SL1L124->SetBinContent(48,810.7143); h_SL1L124->SetBinContent(49,13514.29); h_SL1L124->SetBinContent(50,14057.14); h_SL1L124->SetBinContent(51,13700); h_SL1L124->SetBinContent(52,13392.86); h_SL1L124->SetBinContent(53,13660.71); h_SL1L124->SetBinContent(54,13475); h_SL1L124->SetBinContent(55,13803.57); h_SL1L124->SetBinContent(56,14478.57); h_SL1L124->SetBinContent(57,17067.86); h_SL1L124->SetBinContent(58,19003.57); h_SL1L124->SetBinContent(59,19128.57); h_SL1L124->SetMaximum(30056.07); 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,21796.43); h_SL1L225->SetBinContent(2,22057.14); h_SL1L225->SetBinContent(3,23239.29); h_SL1L225->SetBinContent(4,23775); h_SL1L225->SetBinContent(5,23557.14); h_SL1L225->SetBinContent(6,24821.43); h_SL1L225->SetBinContent(7,24021.43); h_SL1L225->SetBinContent(8,24439.29); h_SL1L225->SetBinContent(9,25403.57); h_SL1L225->SetBinContent(10,24796.43); h_SL1L225->SetBinContent(11,25914.29); h_SL1L225->SetBinContent(12,26135.71); h_SL1L225->SetBinContent(13,25932.14); h_SL1L225->SetBinContent(14,25957.14); h_SL1L225->SetBinContent(15,25539.29); h_SL1L225->SetBinContent(16,23796.43); h_SL1L225->SetBinContent(17,23196.43); h_SL1L225->SetBinContent(18,24842.86); h_SL1L225->SetBinContent(19,24717.86); h_SL1L225->SetBinContent(20,25325); h_SL1L225->SetBinContent(21,25346.43); h_SL1L225->SetBinContent(22,25400); h_SL1L225->SetBinContent(23,25146.43); h_SL1L225->SetBinContent(24,24682.14); h_SL1L225->SetBinContent(25,24903.57); h_SL1L225->SetBinContent(26,22707.14); h_SL1L225->SetBinContent(27,22185.71); h_SL1L225->SetBinContent(28,23785.71); h_SL1L225->SetBinContent(29,24960.71); h_SL1L225->SetBinContent(30,25617.86); h_SL1L225->SetBinContent(31,25525); h_SL1L225->SetBinContent(32,25789.29); h_SL1L225->SetBinContent(33,1357.143); h_SL1L225->SetBinContent(34,1457.143); h_SL1L225->SetBinContent(35,1117.857); h_SL1L225->SetBinContent(36,1253.571); h_SL1L225->SetBinContent(37,1303.571); h_SL1L225->SetBinContent(38,1214.286); h_SL1L225->SetBinContent(39,1325); h_SL1L225->SetBinContent(40,1239.286); h_SL1L225->SetBinContent(41,1214.286); h_SL1L225->SetBinContent(42,1253.571); h_SL1L225->SetBinContent(43,1242.857); h_SL1L225->SetBinContent(44,1310.714); h_SL1L225->SetBinContent(45,1221.429); h_SL1L225->SetBinContent(46,1300); h_SL1L225->SetBinContent(47,1414.286); h_SL1L225->SetBinContent(48,1285.714); h_SL1L225->SetBinContent(49,24564.29); h_SL1L225->SetBinContent(50,25485.71); h_SL1L225->SetBinContent(51,24175); h_SL1L225->SetBinContent(52,24071.43); h_SL1L225->SetBinContent(53,24600); h_SL1L225->SetBinContent(54,23967.86); h_SL1L225->SetBinContent(55,24507.14); h_SL1L225->SetBinContent(56,23492.86); h_SL1L225->SetBinContent(57,23960.71); h_SL1L225->SetBinContent(58,24392.86); h_SL1L225->SetBinContent(59,23282.14); h_SL1L225->SetMaximum(30056.07); 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,20550); h_SL1L326->SetBinContent(2,21635.71); h_SL1L326->SetBinContent(3,21671.43); h_SL1L326->SetBinContent(4,22935.71); h_SL1L326->SetBinContent(5,22321.43); h_SL1L326->SetBinContent(6,23132.14); h_SL1L326->SetBinContent(7,23032.14); h_SL1L326->SetBinContent(8,24003.57); h_SL1L326->SetBinContent(9,22900); h_SL1L326->SetBinContent(10,23860.71); h_SL1L326->SetBinContent(11,24807.14); h_SL1L326->SetBinContent(12,25107.14); h_SL1L326->SetBinContent(13,24575); h_SL1L326->SetBinContent(14,24457.14); h_SL1L326->SetBinContent(15,23132.14); h_SL1L326->SetBinContent(16,21957.14); h_SL1L326->SetBinContent(17,22314.29); h_SL1L326->SetBinContent(18,23439.29); h_SL1L326->SetBinContent(19,23732.14); h_SL1L326->SetBinContent(20,23310.71); h_SL1L326->SetBinContent(21,24082.14); h_SL1L326->SetBinContent(22,24521.43); h_SL1L326->SetBinContent(23,23121.43); h_SL1L326->SetBinContent(24,23128.57); h_SL1L326->SetBinContent(25,21450); h_SL1L326->SetBinContent(26,20482.14); h_SL1L326->SetBinContent(27,21785.71); h_SL1L326->SetBinContent(28,22907.14); h_SL1L326->SetBinContent(29,24060.71); h_SL1L326->SetBinContent(30,24085.71); h_SL1L326->SetBinContent(31,23478.57); h_SL1L326->SetBinContent(32,23678.57); h_SL1L326->SetBinContent(33,1346.429); h_SL1L326->SetBinContent(34,1317.857); h_SL1L326->SetBinContent(35,1214.286); h_SL1L326->SetBinContent(36,1057.143); h_SL1L326->SetBinContent(37,1064.286); h_SL1L326->SetBinContent(38,1021.429); h_SL1L326->SetBinContent(39,1125); h_SL1L326->SetBinContent(40,1114.286); h_SL1L326->SetBinContent(41,1239.286); h_SL1L326->SetBinContent(42,1367.857); h_SL1L326->SetBinContent(43,1278.571); h_SL1L326->SetBinContent(44,1300); h_SL1L326->SetBinContent(45,1121.429); h_SL1L326->SetBinContent(46,1250); h_SL1L326->SetBinContent(47,1346.429); h_SL1L326->SetBinContent(48,1189.286); h_SL1L326->SetBinContent(49,23732.14); h_SL1L326->SetBinContent(50,23996.43); h_SL1L326->SetBinContent(51,21900); h_SL1L326->SetBinContent(52,23303.57); h_SL1L326->SetBinContent(53,22014.29); h_SL1L326->SetBinContent(54,22900); h_SL1L326->SetBinContent(55,21996.43); h_SL1L326->SetBinContent(56,22425); h_SL1L326->SetBinContent(57,23217.86); h_SL1L326->SetBinContent(58,22571.43); h_SL1L326->SetBinContent(59,22582.14); h_SL1L326->SetMaximum(30056.07); 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,17085.71); h_SL1L427->SetBinContent(3,16353.57); h_SL1L427->SetBinContent(4,16814.29); h_SL1L427->SetBinContent(5,16117.86); h_SL1L427->SetBinContent(6,16182.14); h_SL1L427->SetBinContent(7,16350); h_SL1L427->SetBinContent(8,17317.86); h_SL1L427->SetBinContent(9,17539.29); h_SL1L427->SetBinContent(10,19425); h_SL1L427->SetBinContent(11,19939.29); h_SL1L427->SetBinContent(12,20625); h_SL1L427->SetBinContent(13,20939.29); h_SL1L427->SetBinContent(14,21125); h_SL1L427->SetBinContent(15,19917.86); h_SL1L427->SetBinContent(16,18303.57); h_SL1L427->SetBinContent(17,17371.43); h_SL1L427->SetBinContent(18,17500); h_SL1L427->SetBinContent(19,17210.71); h_SL1L427->SetBinContent(20,17003.57); h_SL1L427->SetBinContent(21,17289.29); h_SL1L427->SetBinContent(22,17425); h_SL1L427->SetBinContent(23,17157.14); h_SL1L427->SetBinContent(24,16764.29); h_SL1L427->SetBinContent(25,15603.57); h_SL1L427->SetBinContent(26,15260.71); h_SL1L427->SetBinContent(27,15075); h_SL1L427->SetBinContent(28,15500); h_SL1L427->SetBinContent(29,15975); h_SL1L427->SetBinContent(30,16685.71); h_SL1L427->SetBinContent(31,15892.86); h_SL1L427->SetBinContent(32,15242.86); h_SL1L427->SetBinContent(33,696.4286); h_SL1L427->SetBinContent(34,907.1428); h_SL1L427->SetBinContent(35,796.4286); h_SL1L427->SetBinContent(36,678.5714); h_SL1L427->SetBinContent(37,542.8571); h_SL1L427->SetBinContent(38,653.5714); h_SL1L427->SetBinContent(39,775); h_SL1L427->SetBinContent(40,664.2857); h_SL1L427->SetBinContent(41,689.2857); h_SL1L427->SetBinContent(42,657.1428); h_SL1L427->SetBinContent(43,689.2857); h_SL1L427->SetBinContent(44,700); h_SL1L427->SetBinContent(45,728.5714); h_SL1L427->SetBinContent(46,675); h_SL1L427->SetBinContent(47,707.1428); h_SL1L427->SetBinContent(48,628.5714); h_SL1L427->SetBinContent(49,11828.57); h_SL1L427->SetBinContent(50,12325); h_SL1L427->SetBinContent(51,12139.29); h_SL1L427->SetBinContent(52,11842.86); h_SL1L427->SetBinContent(53,12382.14); h_SL1L427->SetBinContent(54,12157.14); h_SL1L427->SetBinContent(56,13007.14); h_SL1L427->SetBinContent(57,14167.86); h_SL1L427->SetBinContent(58,16839.29); h_SL1L427->SetBinContent(59,18185.71); h_SL1L427->SetMaximum(30056.07); 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,-20.02232,67.5,180.2009); 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,3.571429); h_SL2L128->SetMaximum(160.1786); 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(33,14.28571); h_SL2L229->SetBinContent(35,10.71429); h_SL2L229->SetBinContent(36,14.28571); h_SL2L229->SetBinContent(49,7.142857); h_SL2L229->SetBinContent(50,3.571429); h_SL2L229->SetBinContent(51,7.142857); h_SL2L229->SetMaximum(160.1786); 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(52,3.571429); h_SL2L330->SetBinContent(54,139.2857); h_SL2L330->SetMaximum(160.1786); 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(49,28.57143); h_SL2L431->SetMaximum(160.1786); 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,-74.95537,67.5,674.5982); 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(599.6429); 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(599.6429); 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(37,3.571429); h_SL3L334->SetMaximum(599.6429); 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,521.4286); h_SL3L435->SetMaximum(599.6429); 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,-3884.125,67.5,34957.13); 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,18500); h_SL1L136->SetBinContent(2,19520); h_SL1L136->SetBinContent(3,20000); h_SL1L136->SetBinContent(4,19520); h_SL1L136->SetBinContent(5,18300); h_SL1L136->SetBinContent(6,18380); h_SL1L136->SetBinContent(7,18370); h_SL1L136->SetBinContent(8,18760); h_SL1L136->SetBinContent(9,17710); h_SL1L136->SetBinContent(10,19300); h_SL1L136->SetBinContent(11,18610); h_SL1L136->SetBinContent(12,18870); h_SL1L136->SetBinContent(13,19410); h_SL1L136->SetBinContent(14,16780); h_SL1L136->SetBinContent(15,15750); h_SL1L136->SetBinContent(16,15860); h_SL1L136->SetBinContent(17,15100); h_SL1L136->SetBinContent(18,16770); h_SL1L136->SetBinContent(19,16260); h_SL1L136->SetBinContent(20,16990); h_SL1L136->SetBinContent(21,17310); h_SL1L136->SetBinContent(22,16760); h_SL1L136->SetBinContent(23,16160); h_SL1L136->SetBinContent(24,15070); h_SL1L136->SetBinContent(25,14400); h_SL1L136->SetBinContent(26,13930); h_SL1L136->SetBinContent(27,14020); h_SL1L136->SetBinContent(28,14870); h_SL1L136->SetBinContent(29,14860); h_SL1L136->SetBinContent(30,14980); h_SL1L136->SetBinContent(31,15170); h_SL1L136->SetBinContent(32,14280); h_SL1L136->SetBinContent(33,830); h_SL1L136->SetBinContent(34,760); h_SL1L136->SetBinContent(35,790); h_SL1L136->SetBinContent(36,720); h_SL1L136->SetBinContent(37,790); h_SL1L136->SetBinContent(38,780); h_SL1L136->SetBinContent(39,740); h_SL1L136->SetBinContent(40,630); h_SL1L136->SetBinContent(41,890); h_SL1L136->SetBinContent(42,800); h_SL1L136->SetBinContent(43,770); h_SL1L136->SetBinContent(44,640); h_SL1L136->SetBinContent(45,620); h_SL1L136->SetBinContent(46,550); h_SL1L136->SetBinContent(47,850); h_SL1L136->SetBinContent(48,890); h_SL1L136->SetBinContent(49,13460); h_SL1L136->SetBinContent(50,14300); h_SL1L136->SetBinContent(51,13600); h_SL1L136->SetBinContent(52,12820); h_SL1L136->SetBinContent(53,13420); h_SL1L136->SetBinContent(54,13190); h_SL1L136->SetBinContent(55,13620); h_SL1L136->SetBinContent(56,14080); h_SL1L136->SetBinContent(57,17820); h_SL1L136->SetBinContent(58,19140); h_SL1L136->SetBinContent(59,19210); h_SL1L136->SetMaximum(31073); 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,21590); h_SL1L237->SetBinContent(2,22020); h_SL1L237->SetBinContent(3,23280); h_SL1L237->SetBinContent(4,23630); h_SL1L237->SetBinContent(5,23640); h_SL1L237->SetBinContent(6,24660); h_SL1L237->SetBinContent(7,23500); h_SL1L237->SetBinContent(8,24130); h_SL1L237->SetBinContent(9,25620); h_SL1L237->SetBinContent(10,25200); h_SL1L237->SetBinContent(11,26340); h_SL1L237->SetBinContent(12,27020); h_SL1L237->SetBinContent(13,25380); h_SL1L237->SetBinContent(14,25330); h_SL1L237->SetBinContent(15,25260); h_SL1L237->SetBinContent(16,23520); h_SL1L237->SetBinContent(17,23270); h_SL1L237->SetBinContent(18,24630); h_SL1L237->SetBinContent(19,24190); h_SL1L237->SetBinContent(20,25240); h_SL1L237->SetBinContent(21,25150); h_SL1L237->SetBinContent(22,24950); h_SL1L237->SetBinContent(23,25220); h_SL1L237->SetBinContent(24,24320); h_SL1L237->SetBinContent(25,25100); h_SL1L237->SetBinContent(26,23240); h_SL1L237->SetBinContent(27,21600); h_SL1L237->SetBinContent(28,23840); h_SL1L237->SetBinContent(29,25060); h_SL1L237->SetBinContent(30,25420); h_SL1L237->SetBinContent(31,26570); h_SL1L237->SetBinContent(32,26070); h_SL1L237->SetBinContent(33,1340); h_SL1L237->SetBinContent(34,1400); h_SL1L237->SetBinContent(35,1030); h_SL1L237->SetBinContent(36,1230); h_SL1L237->SetBinContent(37,1200); h_SL1L237->SetBinContent(38,1280); h_SL1L237->SetBinContent(39,1330); h_SL1L237->SetBinContent(40,1390); h_SL1L237->SetBinContent(41,1240); h_SL1L237->SetBinContent(42,1250); h_SL1L237->SetBinContent(43,1190); h_SL1L237->SetBinContent(44,1370); h_SL1L237->SetBinContent(45,990); h_SL1L237->SetBinContent(46,1200); h_SL1L237->SetBinContent(47,1430); h_SL1L237->SetBinContent(48,1390); h_SL1L237->SetBinContent(49,24360); h_SL1L237->SetBinContent(50,25950); h_SL1L237->SetBinContent(51,23690); h_SL1L237->SetBinContent(52,24690); h_SL1L237->SetBinContent(53,24570); h_SL1L237->SetBinContent(54,23850); h_SL1L237->SetBinContent(55,24570); h_SL1L237->SetBinContent(56,23520); h_SL1L237->SetBinContent(57,24790); h_SL1L237->SetBinContent(58,24080); h_SL1L237->SetBinContent(59,22950); h_SL1L237->SetMaximum(31073); 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,20730); h_SL1L338->SetBinContent(2,22020); h_SL1L338->SetBinContent(3,22110); h_SL1L338->SetBinContent(4,23190); h_SL1L338->SetBinContent(5,22460); h_SL1L338->SetBinContent(6,22700); h_SL1L338->SetBinContent(7,23010); h_SL1L338->SetBinContent(8,24320); h_SL1L338->SetBinContent(9,22930); h_SL1L338->SetBinContent(10,24000); h_SL1L338->SetBinContent(11,25470); h_SL1L338->SetBinContent(12,25220); h_SL1L338->SetBinContent(13,24460); h_SL1L338->SetBinContent(14,23940); h_SL1L338->SetBinContent(15,23130); h_SL1L338->SetBinContent(16,21660); h_SL1L338->SetBinContent(17,22490); h_SL1L338->SetBinContent(18,23440); h_SL1L338->SetBinContent(19,23990); h_SL1L338->SetBinContent(20,23130); h_SL1L338->SetBinContent(21,24680); h_SL1L338->SetBinContent(22,24470); h_SL1L338->SetBinContent(23,23340); h_SL1L338->SetBinContent(24,23030); h_SL1L338->SetBinContent(25,21960); h_SL1L338->SetBinContent(26,20750); h_SL1L338->SetBinContent(27,21160); h_SL1L338->SetBinContent(28,22320); h_SL1L338->SetBinContent(29,23490); h_SL1L338->SetBinContent(30,24300); h_SL1L338->SetBinContent(31,23800); h_SL1L338->SetBinContent(32,23890); h_SL1L338->SetBinContent(33,1430); h_SL1L338->SetBinContent(34,1290); h_SL1L338->SetBinContent(35,1040); h_SL1L338->SetBinContent(36,1120); h_SL1L338->SetBinContent(37,1080); h_SL1L338->SetBinContent(38,1080); h_SL1L338->SetBinContent(39,1000); h_SL1L338->SetBinContent(40,1090); h_SL1L338->SetBinContent(41,1230); h_SL1L338->SetBinContent(42,1390); h_SL1L338->SetBinContent(43,1230); h_SL1L338->SetBinContent(44,1170); h_SL1L338->SetBinContent(45,1120); h_SL1L338->SetBinContent(46,1180); h_SL1L338->SetBinContent(47,1330); h_SL1L338->SetBinContent(48,1160); h_SL1L338->SetBinContent(49,23610); h_SL1L338->SetBinContent(50,23740); h_SL1L338->SetBinContent(51,22050); h_SL1L338->SetBinContent(52,22960); h_SL1L338->SetBinContent(53,21670); h_SL1L338->SetBinContent(54,23810); h_SL1L338->SetBinContent(55,21920); h_SL1L338->SetBinContent(56,22200); h_SL1L338->SetBinContent(57,23330); h_SL1L338->SetBinContent(58,21910); h_SL1L338->SetBinContent(59,22630); h_SL1L338->SetMaximum(31073); 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,16780); h_SL1L439->SetBinContent(3,16630); h_SL1L439->SetBinContent(4,17030); h_SL1L439->SetBinContent(5,16390); h_SL1L439->SetBinContent(6,16310); h_SL1L439->SetBinContent(7,16650); h_SL1L439->SetBinContent(8,17650); h_SL1L439->SetBinContent(9,17170); h_SL1L439->SetBinContent(10,19460); h_SL1L439->SetBinContent(11,19540); h_SL1L439->SetBinContent(12,20880); h_SL1L439->SetBinContent(13,20770); h_SL1L439->SetBinContent(14,21480); h_SL1L439->SetBinContent(15,19860); h_SL1L439->SetBinContent(16,17830); h_SL1L439->SetBinContent(17,17750); h_SL1L439->SetBinContent(18,17520); h_SL1L439->SetBinContent(19,17090); h_SL1L439->SetBinContent(20,17440); h_SL1L439->SetBinContent(21,16920); h_SL1L439->SetBinContent(22,16840); h_SL1L439->SetBinContent(23,17540); h_SL1L439->SetBinContent(24,17380); h_SL1L439->SetBinContent(25,16080); h_SL1L439->SetBinContent(26,14860); h_SL1L439->SetBinContent(27,14920); h_SL1L439->SetBinContent(28,16010); h_SL1L439->SetBinContent(29,16260); h_SL1L439->SetBinContent(30,15330); h_SL1L439->SetBinContent(31,15970); h_SL1L439->SetBinContent(32,15590); h_SL1L439->SetBinContent(33,760); h_SL1L439->SetBinContent(34,880); h_SL1L439->SetBinContent(35,860); h_SL1L439->SetBinContent(36,700); h_SL1L439->SetBinContent(37,600); h_SL1L439->SetBinContent(38,630); h_SL1L439->SetBinContent(39,810); h_SL1L439->SetBinContent(40,650); h_SL1L439->SetBinContent(41,660); h_SL1L439->SetBinContent(42,660); h_SL1L439->SetBinContent(43,720); h_SL1L439->SetBinContent(44,590); h_SL1L439->SetBinContent(45,560); h_SL1L439->SetBinContent(46,770); h_SL1L439->SetBinContent(47,710); h_SL1L439->SetBinContent(48,670); h_SL1L439->SetBinContent(49,11460); h_SL1L439->SetBinContent(50,12390); h_SL1L439->SetBinContent(51,11970); h_SL1L439->SetBinContent(52,11740); h_SL1L439->SetBinContent(53,12730); h_SL1L439->SetBinContent(54,11810); h_SL1L439->SetBinContent(56,12890); h_SL1L439->SetBinContent(57,14710); h_SL1L439->SetBinContent(58,17110); h_SL1L439->SetBinContent(59,18070); h_SL1L439->SetMaximum(31073); 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,-15.8125,67.5,142.3125); 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(126.5); 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(33,20); h_SL2L241->SetBinContent(35,20); h_SL2L241->SetBinContent(36,20); h_SL2L241->SetBinContent(50,10); h_SL2L241->SetBinContent(51,10); h_SL2L241->SetMaximum(126.5); 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->SetBinContent(54,110); h_SL2L342->SetMaximum(126.5); 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->SetBinContent(49,40); h_SL2L443->SetMaximum(126.5); 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,-53.1875,67.5,478.6875); 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(425.5); 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(425.5); 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,10); h_SL3L346->SetMaximum(425.5); 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,370); h_SL3L447->SetMaximum(425.5); 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 6256"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }