void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:40 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,-2555.587,67.5,23000.29); 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,14281.89); h_SL1L124->SetBinContent(2,14975.11); h_SL1L124->SetBinContent(3,15177.07); h_SL1L124->SetBinContent(4,14906.88); h_SL1L124->SetBinContent(5,14352.85); h_SL1L124->SetBinContent(6,14819.55); h_SL1L124->SetBinContent(7,14541.17); h_SL1L124->SetBinContent(8,15452.72); h_SL1L124->SetBinContent(9,15127.95); h_SL1L124->SetBinContent(10,15182.53); h_SL1L124->SetBinContent(11,15703.81); h_SL1L124->SetBinContent(12,15193.45); h_SL1L124->SetBinContent(13,15196.18); h_SL1L124->SetBinContent(14,14767.69); h_SL1L124->SetBinContent(15,13667.82); h_SL1L124->SetBinContent(16,12802.67); h_SL1L124->SetBinContent(17,12914.57); h_SL1L124->SetBinContent(18,13877.97); h_SL1L124->SetBinContent(19,13984.41); h_SL1L124->SetBinContent(20,14265.52); h_SL1L124->SetBinContent(21,13951.66); h_SL1L124->SetBinContent(22,13970.77); h_SL1L124->SetBinContent(23,13907.99); h_SL1L124->SetBinContent(24,12865.44); h_SL1L124->SetBinContent(25,12578.88); h_SL1L124->SetBinContent(26,12398.75); h_SL1L124->SetBinContent(27,12169.5); h_SL1L124->SetBinContent(28,13045.57); h_SL1L124->SetBinContent(29,13389.45); h_SL1L124->SetBinContent(30,12442.42); h_SL1L124->SetBinContent(31,12466.98); h_SL1L124->SetBinContent(32,12565.23); h_SL1L124->SetBinContent(33,12808.13); h_SL1L124->SetBinContent(34,12472.44); h_SL1L124->SetBinContent(35,12330.52); h_SL1L124->SetBinContent(36,12194.06); h_SL1L124->SetBinContent(37,12117.64); h_SL1L124->SetBinContent(38,12876.36); h_SL1L124->SetBinContent(39,12183.14); h_SL1L124->SetBinContent(40,11899.3); h_SL1L124->SetBinContent(41,11882.93); h_SL1L124->SetBinContent(42,11882.93); h_SL1L124->SetBinContent(43,12325.06); h_SL1L124->SetBinContent(44,11817.43); h_SL1L124->SetBinContent(45,11910.22); h_SL1L124->SetBinContent(46,11468.09); h_SL1L124->SetBinContent(47,11345.28); h_SL1L124->SetBinContent(48,11304.34); h_SL1L124->SetBinContent(49,11697.34); h_SL1L124->SetBinContent(50,11923.87); h_SL1L124->SetBinContent(51,11784.68); h_SL1L124->SetBinContent(52,11825.62); h_SL1L124->SetBinContent(53,11004.13); h_SL1L124->SetBinContent(54,11096.92); h_SL1L124->SetBinContent(55,11001.4); h_SL1L124->SetBinContent(56,11694.61); h_SL1L124->SetBinContent(57,12682.58); h_SL1L124->SetBinContent(58,13618.7); h_SL1L124->SetBinContent(59,13831.58); h_SL1L124->SetMaximum(20444.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,14890.51); h_SL1L225->SetBinContent(2,15117.03); h_SL1L225->SetBinContent(3,16050.42); h_SL1L225->SetBinContent(4,16159.58); h_SL1L225->SetBinContent(5,15780.22); h_SL1L225->SetBinContent(6,16530.75); h_SL1L225->SetBinContent(7,16260.56); h_SL1L225->SetBinContent(8,16765.46); h_SL1L225->SetBinContent(9,16858.26); h_SL1L225->SetBinContent(10,16459.79); h_SL1L225->SetBinContent(11,17346.78); h_SL1L225->SetBinContent(12,17308.57); h_SL1L225->SetBinContent(13,17778); h_SL1L225->SetBinContent(14,17308.57); h_SL1L225->SetBinContent(15,17308.57); h_SL1L225->SetBinContent(16,15998.56); h_SL1L225->SetBinContent(17,15635.58); h_SL1L225->SetBinContent(18,16023.12); h_SL1L225->SetBinContent(19,16779.11); h_SL1L225->SetBinContent(20,16380.65); h_SL1L225->SetBinContent(21,16817.32); h_SL1L225->SetBinContent(22,17144.82); h_SL1L225->SetBinContent(23,16732.71); h_SL1L225->SetBinContent(24,16822.78); h_SL1L225->SetBinContent(25,16186.88); h_SL1L225->SetBinContent(26,15641.04); h_SL1L225->SetBinContent(27,14958.74); h_SL1L225->SetBinContent(28,16255.1); h_SL1L225->SetBinContent(29,16699.96); h_SL1L225->SetBinContent(30,16877.36); h_SL1L225->SetBinContent(31,16770.92); h_SL1L225->SetBinContent(32,16669.94); h_SL1L225->SetBinContent(33,16533.48); h_SL1L225->SetBinContent(34,16255.1); h_SL1L225->SetBinContent(35,16034.04); h_SL1L225->SetBinContent(36,15501.85); h_SL1L225->SetBinContent(37,15818.43); h_SL1L225->SetBinContent(38,15608.28); h_SL1L225->SetBinContent(39,15447.26); h_SL1L225->SetBinContent(40,15447.26); h_SL1L225->SetBinContent(41,15193.45); h_SL1L225->SetBinContent(42,15381.76); h_SL1L225->SetBinContent(43,15692.89); h_SL1L225->SetBinContent(44,15761.12); h_SL1L225->SetBinContent(45,15575.53); h_SL1L225->SetBinContent(46,15883.93); h_SL1L225->SetBinContent(47,16069.52); h_SL1L225->SetBinContent(48,15436.34); h_SL1L225->SetBinContent(49,15747.47); h_SL1L225->SetBinContent(50,15984.91); h_SL1L225->SetBinContent(51,15687.43); h_SL1L225->SetBinContent(52,15204.36); h_SL1L225->SetBinContent(53,15720.18); h_SL1L225->SetBinContent(54,15310.8); h_SL1L225->SetBinContent(55,15501.85); h_SL1L225->SetBinContent(56,15280.78); h_SL1L225->SetBinContent(57,15275.32); h_SL1L225->SetBinContent(58,15163.43); h_SL1L225->SetBinContent(59,14478.4); h_SL1L225->SetMaximum(20444.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,14669.44); h_SL1L326->SetBinContent(2,15540.05); h_SL1L326->SetBinContent(3,15829.35); h_SL1L326->SetBinContent(4,15695.62); h_SL1L326->SetBinContent(5,16072.25); h_SL1L326->SetBinContent(6,16099.54); h_SL1L326->SetBinContent(7,16667.21); h_SL1L326->SetBinContent(8,16282.4); h_SL1L326->SetBinContent(9,16266.02); h_SL1L326->SetBinContent(10,16511.65); h_SL1L326->SetBinContent(11,16904.65); h_SL1L326->SetBinContent(12,16740.9); h_SL1L326->SetBinContent(13,16740.9); h_SL1L326->SetBinContent(14,16719.07); h_SL1L326->SetBinContent(15,15267.13); h_SL1L326->SetBinContent(16,14775.88); h_SL1L326->SetBinContent(17,14950.55); h_SL1L326->SetBinContent(18,15834.81); h_SL1L326->SetBinContent(19,15862.1); h_SL1L326->SetBinContent(20,16399.75); h_SL1L326->SetBinContent(21,16364.27); h_SL1L326->SetBinContent(22,16306.96); h_SL1L326->SetBinContent(23,16140.48); h_SL1L326->SetBinContent(24,15725.64); h_SL1L326->SetBinContent(25,15278.05); h_SL1L326->SetBinContent(26,14650.34); h_SL1L326->SetBinContent(27,14931.44); h_SL1L326->SetBinContent(28,15709.26); h_SL1L326->SetBinContent(29,15930.33); h_SL1L326->SetBinContent(30,16197.79); h_SL1L326->SetBinContent(31,16135.02); h_SL1L326->SetBinContent(32,16478.9); h_SL1L326->SetBinContent(33,16749.09); h_SL1L326->SetBinContent(34,15832.08); h_SL1L326->SetBinContent(35,15130.67); h_SL1L326->SetBinContent(36,15695.62); h_SL1L326->SetBinContent(37,15469.1); h_SL1L326->SetBinContent(38,15422.7); h_SL1L326->SetBinContent(39,15354.47); h_SL1L326->SetBinContent(40,15095.2); h_SL1L326->SetBinContent(41,14838.65); h_SL1L326->SetBinContent(42,15455.45); h_SL1L326->SetBinContent(43,15452.72); h_SL1L326->SetBinContent(44,15174.34); h_SL1L326->SetBinContent(45,15106.11); h_SL1L326->SetBinContent(46,15439.07); h_SL1L326->SetBinContent(47,15133.4); h_SL1L326->SetBinContent(48,15782.95); h_SL1L326->SetBinContent(49,15913.96); h_SL1L326->SetBinContent(50,15660.14); h_SL1L326->SetBinContent(51,14876.86); h_SL1L326->SetBinContent(52,15269.86); h_SL1L326->SetBinContent(53,15065.17); h_SL1L326->SetBinContent(54,14502.96); h_SL1L326->SetBinContent(55,14825); h_SL1L326->SetBinContent(56,14623.04); h_SL1L326->SetBinContent(57,14511.15); h_SL1L326->SetBinContent(58,14773.15); h_SL1L326->SetBinContent(59,14565.73); h_SL1L326->SetMaximum(20444.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,13490.43); h_SL1L427->SetBinContent(3,13403.09); h_SL1L427->SetBinContent(4,13266.63); h_SL1L427->SetBinContent(5,13051.03); h_SL1L427->SetBinContent(6,13392.18); h_SL1L427->SetBinContent(7,12952.77); h_SL1L427->SetBinContent(8,13487.7); h_SL1L427->SetBinContent(9,14063.56); h_SL1L427->SetBinContent(10,14126.33); h_SL1L427->SetBinContent(11,14909.61); h_SL1L427->SetBinContent(12,15035.15); h_SL1L427->SetBinContent(13,15340.82); h_SL1L427->SetBinContent(14,15048.8); h_SL1L427->SetBinContent(15,15122.49); h_SL1L427->SetBinContent(16,13708.76); h_SL1L427->SetBinContent(17,13143.82); h_SL1L427->SetBinContent(18,13555.93); h_SL1L427->SetBinContent(19,13569.57); h_SL1L427->SetBinContent(20,14041.72); h_SL1L427->SetBinContent(21,13995.33); h_SL1L427->SetBinContent(22,13706.03); h_SL1L427->SetBinContent(23,13572.3); h_SL1L427->SetBinContent(24,13667.82); h_SL1L427->SetBinContent(25,12764.46); h_SL1L427->SetBinContent(26,12305.96); h_SL1L427->SetBinContent(27,12068.51); h_SL1L427->SetBinContent(28,12406.94); h_SL1L427->SetBinContent(29,12922.75); h_SL1L427->SetBinContent(30,13040.11); h_SL1L427->SetBinContent(31,13304.84); h_SL1L427->SetBinContent(32,12426.04); h_SL1L427->SetBinContent(33,12499.73); h_SL1L427->SetBinContent(34,12278.66); h_SL1L427->SetBinContent(35,12177.68); h_SL1L427->SetBinContent(36,11331.63); h_SL1L427->SetBinContent(37,10813.08); h_SL1L427->SetBinContent(38,11075.09); h_SL1L427->SetBinContent(39,11547.24); h_SL1L427->SetBinContent(40,10780.33); h_SL1L427->SetBinContent(41,10534.71); h_SL1L427->SetBinContent(42,11203.36); h_SL1L427->SetBinContent(43,11599.09); h_SL1L427->SetBinContent(44,10965.92); h_SL1L427->SetBinContent(45,10542.89); h_SL1L427->SetBinContent(46,10873.13); h_SL1L427->SetBinContent(47,10619.31); h_SL1L427->SetBinContent(48,10223.58); h_SL1L427->SetBinContent(49,10177.18); h_SL1L427->SetBinContent(50,10720.29); h_SL1L427->SetBinContent(51,10196.28); h_SL1L427->SetBinContent(52,10761.23); h_SL1L427->SetBinContent(53,10368.22); h_SL1L427->SetBinContent(54,10362.77); h_SL1L427->SetBinContent(56,10690.27); h_SL1L427->SetBinContent(57,11503.57); h_SL1L427->SetBinContent(58,12799.94); h_SL1L427->SetBinContent(59,12660.75); h_SL1L427->SetMaximum(20444.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,-65.1255,67.5,586.1294); 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,70.95915); h_SL2L128->SetMaximum(521.0039); 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(521.0039); h_SL2L229->SetEntries(60); h_SL2L229->SetDirectory(0); h_SL2L229->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L229->SetLineColor(ci); h_SL2L229->SetLineWidth(2); h_SL2L229->GetXaxis()->SetTitle("Cell"); h_SL2L229->GetXaxis()->SetLabelFont(42); h_SL2L229->GetXaxis()->SetLabelSize(0.035); h_SL2L229->GetXaxis()->SetTitleSize(0.035); h_SL2L229->GetXaxis()->SetTitleFont(42); h_SL2L229->GetYaxis()->SetTitle("Hz per wire"); h_SL2L229->GetYaxis()->SetLabelFont(42); h_SL2L229->GetYaxis()->SetLabelSize(0.035); h_SL2L229->GetYaxis()->SetTitleSize(0.035); h_SL2L229->GetYaxis()->SetTitleOffset(1.45); h_SL2L229->GetYaxis()->SetTitleFont(42); h_SL2L229->GetZaxis()->SetLabelFont(42); h_SL2L229->GetZaxis()->SetLabelSize(0.035); h_SL2L229->GetZaxis()->SetTitleSize(0.035); h_SL2L229->GetZaxis()->SetTitleFont(42); h_SL2L229->Draw("hist, same"); TH1D *h_SL2L330 = new TH1D("h_SL2L330","Occupancy",60,0,60); h_SL2L330->SetBinContent(54,453.0469); h_SL2L330->SetMaximum(521.0039); 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(521.0039); 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,-3.923223,67.5,35.309); 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(31.38578); 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(53,2.729198); h_SL3L233->SetMaximum(31.38578); h_SL3L233->SetEntries(60); h_SL3L233->SetDirectory(0); h_SL3L233->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L233->SetLineColor(ci); h_SL3L233->SetLineWidth(2); h_SL3L233->GetXaxis()->SetTitle("Cell"); h_SL3L233->GetXaxis()->SetLabelFont(42); h_SL3L233->GetXaxis()->SetLabelSize(0.035); h_SL3L233->GetXaxis()->SetTitleSize(0.035); h_SL3L233->GetXaxis()->SetTitleFont(42); h_SL3L233->GetYaxis()->SetTitle("Hz per wire"); h_SL3L233->GetYaxis()->SetLabelFont(42); h_SL3L233->GetYaxis()->SetLabelSize(0.035); h_SL3L233->GetYaxis()->SetTitleSize(0.035); h_SL3L233->GetYaxis()->SetTitleOffset(1.45); h_SL3L233->GetYaxis()->SetTitleFont(42); h_SL3L233->GetZaxis()->SetLabelFont(42); h_SL3L233->GetZaxis()->SetLabelSize(0.035); h_SL3L233->GetZaxis()->SetTitleSize(0.035); h_SL3L233->GetZaxis()->SetTitleFont(42); h_SL3L233->Draw("hist, same"); TH1D *h_SL3L334 = new TH1D("h_SL3L334","Occupancy",60,0,60); h_SL3L334->SetMaximum(31.38578); 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,27.29198); h_SL3L435->SetMaximum(31.38578); 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,-2539.737,67.5,22857.63); 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,14259.51); h_SL1L136->SetBinContent(2,14786.79); h_SL1L136->SetBinContent(3,14840.29); h_SL1L136->SetBinContent(4,14977.84); h_SL1L136->SetBinContent(5,14366.5); h_SL1L136->SetBinContent(6,14771.51); h_SL1L136->SetBinContent(7,14526.98); h_SL1L136->SetBinContent(8,15512.76); h_SL1L136->SetBinContent(9,15306.43); h_SL1L136->SetBinContent(10,15191.81); h_SL1L136->SetBinContent(11,15199.45); h_SL1L136->SetBinContent(12,15092.47); h_SL1L136->SetBinContent(13,15115.39); h_SL1L136->SetBinContent(14,15008.41); h_SL1L136->SetBinContent(15,13648.17); h_SL1L136->SetBinContent(16,12692.95); h_SL1L136->SetBinContent(17,12945.13); h_SL1L136->SetBinContent(18,13877.43); h_SL1L136->SetBinContent(19,14389.42); h_SL1L136->SetBinContent(20,13533.55); h_SL1L136->SetBinContent(21,14121.96); h_SL1L136->SetBinContent(22,14228.95); h_SL1L136->SetBinContent(23,14091.4); h_SL1L136->SetBinContent(24,12708.24); h_SL1L136->SetBinContent(25,12723.52); h_SL1L136->SetBinContent(26,11730.09); h_SL1L136->SetBinContent(27,12410.21); h_SL1L136->SetBinContent(28,12983.34); h_SL1L136->SetBinContent(29,13159.1); h_SL1L136->SetBinContent(30,12188.6); h_SL1L136->SetBinContent(31,12990.98); h_SL1L136->SetBinContent(32,12608.9); h_SL1L136->SetBinContent(33,12631.82); h_SL1L136->SetBinContent(34,12058.69); h_SL1L136->SetBinContent(35,12226.81); h_SL1L136->SetBinContent(36,11837.08); h_SL1L136->SetBinContent(37,11921.14); h_SL1L136->SetBinContent(38,13273.73); h_SL1L136->SetBinContent(39,12226.81); h_SL1L136->SetBinContent(40,12089.26); h_SL1L136->SetBinContent(41,11630.75); h_SL1L136->SetBinContent(42,11753.02); h_SL1L136->SetBinContent(43,12081.61); h_SL1L136->SetBinContent(44,11867.64); h_SL1L136->SetBinContent(45,11760.66); h_SL1L136->SetBinContent(46,11554.33); h_SL1L136->SetBinContent(47,11485.56); h_SL1L136->SetBinContent(48,11179.89); h_SL1L136->SetBinContent(49,11714.81); h_SL1L136->SetBinContent(50,12303.22); h_SL1L136->SetBinContent(51,11370.93); h_SL1L136->SetBinContent(52,11684.24); h_SL1L136->SetBinContent(53,10713.74); h_SL1L136->SetBinContent(54,10897.14); h_SL1L136->SetBinContent(55,11248.66); h_SL1L136->SetBinContent(56,11676.6); h_SL1L136->SetBinContent(57,12731.16); h_SL1L136->SetBinContent(58,13716.95); h_SL1L136->SetBinContent(59,13907.99); h_SL1L136->SetMaximum(20317.9); 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,15069.54); h_SL1L237->SetBinContent(2,15359.93); h_SL1L237->SetBinContent(3,16246.37); h_SL1L237->SetBinContent(4,16574.96); h_SL1L237->SetBinContent(5,15321.72); h_SL1L237->SetBinContent(6,16582.61); h_SL1L237->SetBinContent(7,15795.51); h_SL1L237->SetBinContent(8,16605.53); h_SL1L237->SetBinContent(9,16773.65); h_SL1L237->SetBinContent(10,16697.23); h_SL1L237->SetBinContent(11,17667.74); h_SL1L237->SetBinContent(12,17591.32); h_SL1L237->SetBinContent(13,17117.53); h_SL1L237->SetBinContent(14,17064.04); h_SL1L237->SetBinContent(15,17278.01); h_SL1L237->SetBinContent(16,16154.67); h_SL1L237->SetBinContent(17,15428.7); h_SL1L237->SetBinContent(18,16284.58); h_SL1L237->SetBinContent(19,17415.56); h_SL1L237->SetBinContent(20,16269.3); h_SL1L237->SetBinContent(21,16513.83); h_SL1L237->SetBinContent(22,17201.59); h_SL1L237->SetBinContent(23,16850.07); h_SL1L237->SetBinContent(24,16957.05); h_SL1L237->SetBinContent(25,16284.58); h_SL1L237->SetBinContent(26,15222.38); h_SL1L237->SetBinContent(27,15008.41); h_SL1L237->SetBinContent(28,16192.88); h_SL1L237->SetBinContent(29,16636.1); h_SL1L237->SetBinContent(30,16727.8); h_SL1L237->SetBinContent(31,16941.77); h_SL1L237->SetBinContent(32,16636.1); h_SL1L237->SetBinContent(33,16521.47); h_SL1L237->SetBinContent(34,17041.11); h_SL1L237->SetBinContent(35,15955.98); h_SL1L237->SetBinContent(36,15665.6); h_SL1L237->SetBinContent(37,15948.34); h_SL1L237->SetBinContent(38,15642.67); h_SL1L237->SetBinContent(39,15214.73); h_SL1L237->SetBinContent(40,15635.03); h_SL1L237->SetBinContent(41,15398.14); h_SL1L237->SetBinContent(42,15398.14); h_SL1L237->SetBinContent(43,15512.76); h_SL1L237->SetBinContent(44,15436.34); h_SL1L237->SetBinContent(45,15742.01); h_SL1L237->SetBinContent(46,15940.7); h_SL1L237->SetBinContent(47,15795.51); h_SL1L237->SetBinContent(48,15497.48); h_SL1L237->SetBinContent(49,15810.79); h_SL1L237->SetBinContent(50,15742.01); h_SL1L237->SetBinContent(51,15826.07); h_SL1L237->SetBinContent(52,15314.08); h_SL1L237->SetBinContent(53,15474.55); h_SL1L237->SetBinContent(54,15230.02); h_SL1L237->SetBinContent(55,15436.34); h_SL1L237->SetBinContent(56,15451.63); h_SL1L237->SetBinContent(57,15306.43); h_SL1L237->SetBinContent(58,15451.63); h_SL1L237->SetBinContent(59,14450.56); h_SL1L237->SetMaximum(20317.9); 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,14549.9); h_SL1L338->SetBinContent(2,15627.39); h_SL1L338->SetBinContent(3,15887.21); h_SL1L338->SetBinContent(4,15772.58); h_SL1L338->SetBinContent(5,16269.3); h_SL1L338->SetBinContent(6,16200.52); h_SL1L338->SetBinContent(7,16223.45); h_SL1L338->SetBinContent(8,15986.55); h_SL1L338->SetBinContent(9,15680.88); h_SL1L338->SetBinContent(10,16437.41); h_SL1L338->SetBinContent(11,17270.37); h_SL1L338->SetBinContent(12,16276.94); h_SL1L338->SetBinContent(13,17025.83); h_SL1L338->SetBinContent(14,16819.5); h_SL1L338->SetBinContent(15,15214.73); h_SL1L338->SetBinContent(16,14603.39); h_SL1L338->SetBinContent(17,15084.82); h_SL1L338->SetBinContent(18,15978.91); h_SL1L338->SetBinContent(19,16200.52); h_SL1L338->SetBinContent(20,15871.92); h_SL1L338->SetBinContent(21,16177.59); h_SL1L338->SetBinContent(22,15879.57); h_SL1L338->SetBinContent(23,16315.15); h_SL1L338->SetBinContent(24,15978.91); h_SL1L338->SetBinContent(25,15100.11); h_SL1L338->SetBinContent(26,14274.8); h_SL1L338->SetBinContent(27,15719.09); h_SL1L338->SetBinContent(28,15963.62); h_SL1L338->SetBinContent(29,16024.76); h_SL1L338->SetBinContent(30,15879.57); h_SL1L338->SetBinContent(31,15818.43); h_SL1L338->SetBinContent(32,16429.77); h_SL1L338->SetBinContent(33,16345.71); h_SL1L338->SetBinContent(34,15528.04); h_SL1L338->SetBinContent(35,15214.73); h_SL1L338->SetBinContent(36,15871.92); h_SL1L338->SetBinContent(37,15581.54); h_SL1L338->SetBinContent(38,15398.14); h_SL1L338->SetBinContent(39,15359.93); h_SL1L338->SetBinContent(40,15314.08); h_SL1L338->SetBinContent(41,15069.54); h_SL1L338->SetBinContent(42,15657.96); h_SL1L338->SetBinContent(43,15757.3); h_SL1L338->SetBinContent(44,15016.05); h_SL1L338->SetBinContent(45,15627.39); h_SL1L338->SetBinContent(46,15100.11); h_SL1L338->SetBinContent(47,15398.14); h_SL1L338->SetBinContent(48,15428.7); h_SL1L338->SetBinContent(49,15520.4); h_SL1L338->SetBinContent(50,15291.15); h_SL1L338->SetBinContent(51,15252.94); h_SL1L338->SetBinContent(52,15260.58); h_SL1L338->SetBinContent(53,15184.17); h_SL1L338->SetBinContent(54,14809.72); h_SL1L338->SetBinContent(55,15145.96); h_SL1L338->SetBinContent(56,14083.75); h_SL1L338->SetBinContent(57,14381.78); h_SL1L338->SetBinContent(58,14832.65); h_SL1L338->SetBinContent(59,14611.04); h_SL1L338->SetMaximum(20317.9); 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,13441.85); h_SL1L439->SetBinContent(3,13365.43); h_SL1L439->SetBinContent(4,13044.48); h_SL1L439->SetBinContent(5,13120.89); h_SL1L439->SetBinContent(6,13380.71); h_SL1L439->SetBinContent(7,12761.73); h_SL1L439->SetBinContent(8,13609.96); h_SL1L439->SetBinContent(9,13655.82); h_SL1L439->SetBinContent(10,14450.56); h_SL1L439->SetBinContent(11,14656.89); h_SL1L439->SetBinContent(12,15054.26); h_SL1L439->SetBinContent(13,15451.63); h_SL1L439->SetBinContent(14,15321.72); h_SL1L439->SetBinContent(15,14786.79); h_SL1L439->SetBinContent(16,14183.1); h_SL1L439->SetBinContent(17,13021.55); h_SL1L439->SetBinContent(18,13862.14); h_SL1L439->SetBinContent(19,13846.86); h_SL1L439->SetBinContent(20,13961.49); h_SL1L439->SetBinContent(21,13579.4); h_SL1L439->SetBinContent(22,13510.62); h_SL1L439->SetBinContent(23,13243.16); h_SL1L439->SetBinContent(24,13640.53); h_SL1L439->SetBinContent(25,12349.08); h_SL1L439->SetBinContent(26,12165.67); h_SL1L439->SetBinContent(27,11844.72); h_SL1L439->SetBinContent(28,12226.81); h_SL1L439->SetBinContent(29,13204.95); h_SL1L439->SetBinContent(30,12807.58); h_SL1L439->SetBinContent(31,13525.91); h_SL1L439->SetBinContent(32,12700.6); h_SL1L439->SetBinContent(33,12715.88); h_SL1L439->SetBinContent(34,11936.42); h_SL1L439->SetBinContent(35,12364.36); h_SL1L439->SetBinContent(36,11355.65); h_SL1L439->SetBinContent(37,10667.89); h_SL1L439->SetBinContent(38,11118.75); h_SL1L439->SetBinContent(39,11034.69); h_SL1L439->SetBinContent(40,10683.17); h_SL1L439->SetBinContent(41,10522.7); h_SL1L439->SetBinContent(42,10744.31); h_SL1L439->SetBinContent(43,11454.99); h_SL1L439->SetBinContent(44,11179.89); h_SL1L439->SetBinContent(45,10606.76); h_SL1L439->SetBinContent(46,10904.78); h_SL1L439->SetBinContent(47,10767.23); h_SL1L439->SetBinContent(48,10622.04); h_SL1L439->SetBinContent(49,10079.47); h_SL1L439->SetBinContent(50,10874.22); h_SL1L439->SetBinContent(51,9651.536); h_SL1L439->SetBinContent(52,10790.16); h_SL1L439->SetBinContent(53,10385.14); h_SL1L439->SetBinContent(54,10331.65); h_SL1L439->SetBinContent(56,10667.89); h_SL1L439->SetBinContent(57,12043.41); h_SL1L439->SetBinContent(58,13128.53); h_SL1L439->SetBinContent(59,13289.01); h_SL1L439->SetMaximum(20317.9); 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,-71.40265,67.5,642.6238); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->SetFrameBorderMode(0); TH1D *h_SL2L140 = new TH1D("h_SL2L140","Background (digi time < 1000)",60,0,60); h_SL2L140->SetBinContent(57,99.34281); h_SL2L140->SetMaximum(571.2212); 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(571.2212); 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,496.7141); h_SL2L342->SetMaximum(571.2212); 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(571.2212); 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,-3.295507,67.5,29.65956); 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(26.36405); 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(26.36405); h_SL3L245->SetEntries(60); h_SL3L245->SetDirectory(0); h_SL3L245->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L245->SetLineColor(ci); h_SL3L245->SetLineWidth(2); h_SL3L245->GetXaxis()->SetTitle("Cell"); h_SL3L245->GetXaxis()->SetLabelFont(42); h_SL3L245->GetXaxis()->SetLabelSize(0.035); h_SL3L245->GetXaxis()->SetTitleSize(0.035); h_SL3L245->GetXaxis()->SetTitleFont(42); h_SL3L245->GetYaxis()->SetTitle("Hz per wire"); h_SL3L245->GetYaxis()->SetLabelFont(42); h_SL3L245->GetYaxis()->SetLabelSize(0.035); h_SL3L245->GetYaxis()->SetTitleSize(0.035); h_SL3L245->GetYaxis()->SetTitleOffset(1.45); h_SL3L245->GetYaxis()->SetTitleFont(42); h_SL3L245->GetZaxis()->SetLabelFont(42); h_SL3L245->GetZaxis()->SetLabelSize(0.035); h_SL3L245->GetZaxis()->SetTitleSize(0.035); h_SL3L245->GetZaxis()->SetTitleFont(42); h_SL3L245->Draw("hist, same"); TH1D *h_SL3L346 = new TH1D("h_SL3L346","Background (digi time < 1000)",60,0,60); h_SL3L346->SetMaximum(26.36405); 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,22.92526); h_SL3L447->SetMaximum(26.36405); 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 6301"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }