void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:03 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,-33454.73,67.5,301092.6); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L124 = new TH1D("h_SL1L124","Occupancy",60,0,60); h_SL1L124->SetBinContent(1,123635.7); h_SL1L124->SetBinContent(2,127828.6); h_SL1L124->SetBinContent(3,130778.6); h_SL1L124->SetBinContent(4,120100); h_SL1L124->SetBinContent(5,98992.86); h_SL1L124->SetBinContent(6,103792.9); h_SL1L124->SetBinContent(7,103978.6); h_SL1L124->SetBinContent(8,110192.9); h_SL1L124->SetBinContent(9,106850); h_SL1L124->SetBinContent(10,109321.4); h_SL1L124->SetBinContent(11,110514.3); h_SL1L124->SetBinContent(12,103914.3); h_SL1L124->SetBinContent(13,100271.4); h_SL1L124->SetBinContent(14,89121.43); h_SL1L124->SetBinContent(15,80971.43); h_SL1L124->SetBinContent(16,80400); h_SL1L124->SetBinContent(17,80171.43); h_SL1L124->SetBinContent(18,82864.28); h_SL1L124->SetBinContent(19,84707.14); h_SL1L124->SetBinContent(20,80342.86); h_SL1L124->SetBinContent(21,82435.71); h_SL1L124->SetBinContent(22,81171.43); h_SL1L124->SetBinContent(23,74964.28); h_SL1L124->SetBinContent(24,66792.86); h_SL1L124->SetBinContent(25,62457.14); h_SL1L124->SetBinContent(26,65107.14); h_SL1L124->SetBinContent(27,63800); h_SL1L124->SetBinContent(28,67000); h_SL1L124->SetBinContent(29,69492.86); h_SL1L124->SetBinContent(30,65264.29); h_SL1L124->SetBinContent(31,64664.29); h_SL1L124->SetBinContent(32,60157.14); h_SL1L124->SetBinContent(33,7307.143); h_SL1L124->SetBinContent(34,6778.571); h_SL1L124->SetBinContent(35,7021.429); h_SL1L124->SetBinContent(36,6550); h_SL1L124->SetBinContent(37,6878.571); h_SL1L124->SetBinContent(38,7500); h_SL1L124->SetBinContent(39,7285.714); h_SL1L124->SetBinContent(40,6557.143); h_SL1L124->SetBinContent(41,7185.714); h_SL1L124->SetBinContent(42,7164.286); h_SL1L124->SetBinContent(43,7107.143); h_SL1L124->SetBinContent(44,7335.714); h_SL1L124->SetBinContent(45,7192.857); h_SL1L124->SetBinContent(46,6692.857); h_SL1L124->SetBinContent(47,6435.714); h_SL1L124->SetBinContent(48,6728.571); h_SL1L124->SetBinContent(49,62428.57); h_SL1L124->SetBinContent(50,67692.86); h_SL1L124->SetBinContent(51,71214.28); h_SL1L124->SetBinContent(52,69864.28); h_SL1L124->SetBinContent(53,69200); h_SL1L124->SetBinContent(54,66535.71); h_SL1L124->SetBinContent(55,70150); h_SL1L124->SetBinContent(56,80457.14); h_SL1L124->SetBinContent(57,106857.1); h_SL1L124->SetBinContent(58,126114.3); h_SL1L124->SetBinContent(59,138607.1); h_SL1L124->SetMaximum(267637.8); 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,181228.6); h_SL1L225->SetBinContent(2,187150); h_SL1L225->SetBinContent(3,194014.3); h_SL1L225->SetBinContent(4,200628.6); h_SL1L225->SetBinContent(5,200578.6); h_SL1L225->SetBinContent(6,210792.9); h_SL1L225->SetBinContent(7,210957.1); h_SL1L225->SetBinContent(8,222085.7); h_SL1L225->SetBinContent(9,223692.9); h_SL1L225->SetBinContent(10,213600); h_SL1L225->SetBinContent(11,229392.9); h_SL1L225->SetBinContent(12,232514.3); h_SL1L225->SetBinContent(13,228750); h_SL1L225->SetBinContent(14,230407.1); h_SL1L225->SetBinContent(15,230221.4); h_SL1L225->SetBinContent(16,212557.1); h_SL1L225->SetBinContent(17,209042.9); h_SL1L225->SetBinContent(18,222000); h_SL1L225->SetBinContent(19,224692.9); h_SL1L225->SetBinContent(20,220242.9); h_SL1L225->SetBinContent(21,222550); h_SL1L225->SetBinContent(22,220585.7); h_SL1L225->SetBinContent(23,215500); h_SL1L225->SetBinContent(24,208071.4); h_SL1L225->SetBinContent(25,206750); h_SL1L225->SetBinContent(26,189128.6); h_SL1L225->SetBinContent(27,191028.6); h_SL1L225->SetBinContent(28,202321.4); h_SL1L225->SetBinContent(29,221642.9); h_SL1L225->SetBinContent(30,226885.7); h_SL1L225->SetBinContent(31,226850); h_SL1L225->SetBinContent(32,228392.9); h_SL1L225->SetBinContent(33,25642.86); h_SL1L225->SetBinContent(34,24892.86); h_SL1L225->SetBinContent(35,23964.29); h_SL1L225->SetBinContent(36,23450); h_SL1L225->SetBinContent(37,22385.71); h_SL1L225->SetBinContent(38,22050); h_SL1L225->SetBinContent(39,23257.14); h_SL1L225->SetBinContent(40,24342.86); h_SL1L225->SetBinContent(41,23928.57); h_SL1L225->SetBinContent(42,24392.86); h_SL1L225->SetBinContent(43,25514.29); h_SL1L225->SetBinContent(44,25578.57); h_SL1L225->SetBinContent(45,25035.71); h_SL1L225->SetBinContent(46,25378.57); h_SL1L225->SetBinContent(47,25085.71); h_SL1L225->SetBinContent(48,25042.86); h_SL1L225->SetBinContent(49,224292.9); h_SL1L225->SetBinContent(50,232728.6); h_SL1L225->SetBinContent(51,224200); h_SL1L225->SetBinContent(52,223192.9); h_SL1L225->SetBinContent(53,229064.3); h_SL1L225->SetBinContent(54,222100); h_SL1L225->SetBinContent(55,227771.4); h_SL1L225->SetBinContent(56,223950); h_SL1L225->SetBinContent(57,221385.7); h_SL1L225->SetBinContent(58,228857.1); h_SL1L225->SetBinContent(59,225278.6); h_SL1L225->SetMaximum(267637.8); 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,168250); h_SL1L326->SetBinContent(2,174414.3); h_SL1L326->SetBinContent(3,181107.1); h_SL1L326->SetBinContent(4,186521.4); h_SL1L326->SetBinContent(5,190135.7); h_SL1L326->SetBinContent(6,193750); h_SL1L326->SetBinContent(7,201100); h_SL1L326->SetBinContent(8,206050); h_SL1L326->SetBinContent(9,195492.9); h_SL1L326->SetBinContent(10,205185.7); h_SL1L326->SetBinContent(11,209192.9); h_SL1L326->SetBinContent(12,214900); h_SL1L326->SetBinContent(13,210692.9); h_SL1L326->SetBinContent(14,208221.4); h_SL1L326->SetBinContent(15,196421.4); h_SL1L326->SetBinContent(16,193792.9); h_SL1L326->SetBinContent(17,194521.4); h_SL1L326->SetBinContent(18,201592.9); h_SL1L326->SetBinContent(19,200992.9); h_SL1L326->SetBinContent(20,202778.6); h_SL1L326->SetBinContent(21,204121.4); h_SL1L326->SetBinContent(22,197692.9); h_SL1L326->SetBinContent(23,192042.9); h_SL1L326->SetBinContent(24,190321.4); h_SL1L326->SetBinContent(25,178064.3); h_SL1L326->SetBinContent(26,173442.9); h_SL1L326->SetBinContent(27,183407.1); h_SL1L326->SetBinContent(28,197814.3); h_SL1L326->SetBinContent(29,205885.7); h_SL1L326->SetBinContent(30,207285.7); h_SL1L326->SetBinContent(31,207864.3); h_SL1L326->SetBinContent(32,209300); h_SL1L326->SetBinContent(33,22992.86); h_SL1L326->SetBinContent(34,22607.14); h_SL1L326->SetBinContent(35,22028.57); h_SL1L326->SetBinContent(36,20728.57); h_SL1L326->SetBinContent(37,20571.43); h_SL1L326->SetBinContent(38,21521.43); h_SL1L326->SetBinContent(39,22014.29); h_SL1L326->SetBinContent(40,21385.71); h_SL1L326->SetBinContent(41,23321.43); h_SL1L326->SetBinContent(42,24307.14); h_SL1L326->SetBinContent(43,23692.86); h_SL1L326->SetBinContent(44,24200); h_SL1L326->SetBinContent(45,22378.57); h_SL1L326->SetBinContent(46,22385.71); h_SL1L326->SetBinContent(47,22700); h_SL1L326->SetBinContent(48,21771.43); h_SL1L326->SetBinContent(49,209871.4); h_SL1L326->SetBinContent(50,205657.1); h_SL1L326->SetBinContent(51,201871.4); h_SL1L326->SetBinContent(52,206750); h_SL1L326->SetBinContent(53,200735.7); h_SL1L326->SetBinContent(54,201207.1); h_SL1L326->SetBinContent(55,202150); h_SL1L326->SetBinContent(56,199950); h_SL1L326->SetBinContent(57,207385.7); h_SL1L326->SetBinContent(58,205242.9); h_SL1L326->SetBinContent(59,205757.1); h_SL1L326->SetMaximum(267637.8); 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,112857.1); h_SL1L427->SetBinContent(3,101542.9); h_SL1L427->SetBinContent(4,95171.43); h_SL1L427->SetBinContent(5,89914.28); h_SL1L427->SetBinContent(6,88407.14); h_SL1L427->SetBinContent(7,85314.28); h_SL1L427->SetBinContent(8,93792.86); h_SL1L427->SetBinContent(9,101728.6); h_SL1L427->SetBinContent(10,120707.1); h_SL1L427->SetBinContent(11,137028.6); h_SL1L427->SetBinContent(12,143742.9); h_SL1L427->SetBinContent(13,145528.6); h_SL1L427->SetBinContent(14,148107.1); h_SL1L427->SetBinContent(15,135457.1); h_SL1L427->SetBinContent(16,122242.9); h_SL1L427->SetBinContent(17,111935.7); h_SL1L427->SetBinContent(18,111985.7); h_SL1L427->SetBinContent(19,107571.4); h_SL1L427->SetBinContent(20,102385.7); h_SL1L427->SetBinContent(21,101321.4); h_SL1L427->SetBinContent(22,99885.71); h_SL1L427->SetBinContent(23,94507.14); h_SL1L427->SetBinContent(24,93157.14); h_SL1L427->SetBinContent(25,84242.86); h_SL1L427->SetBinContent(26,83928.57); h_SL1L427->SetBinContent(27,82450); h_SL1L427->SetBinContent(28,88292.86); h_SL1L427->SetBinContent(29,84864.28); h_SL1L427->SetBinContent(30,86650); h_SL1L427->SetBinContent(31,83271.43); h_SL1L427->SetBinContent(32,78535.71); h_SL1L427->SetBinContent(33,8064.286); h_SL1L427->SetBinContent(34,7814.286); h_SL1L427->SetBinContent(35,7700); h_SL1L427->SetBinContent(36,6350); h_SL1L427->SetBinContent(37,5192.857); h_SL1L427->SetBinContent(38,5964.286); h_SL1L427->SetBinContent(39,6621.429); h_SL1L427->SetBinContent(40,5742.857); h_SL1L427->SetBinContent(41,5392.857); h_SL1L427->SetBinContent(42,6114.286); h_SL1L427->SetBinContent(43,5842.857); h_SL1L427->SetBinContent(44,6350); h_SL1L427->SetBinContent(45,5185.714); h_SL1L427->SetBinContent(46,5257.143); h_SL1L427->SetBinContent(47,5264.286); h_SL1L427->SetBinContent(48,5178.571); h_SL1L427->SetBinContent(49,46235.71); h_SL1L427->SetBinContent(50,49785.71); h_SL1L427->SetBinContent(51,50978.57); h_SL1L427->SetBinContent(52,54442.86); h_SL1L427->SetBinContent(53,52528.57); h_SL1L427->SetBinContent(54,53735.71); h_SL1L427->SetBinContent(55,21.42857); h_SL1L427->SetBinContent(56,64685.71); h_SL1L427->SetBinContent(57,78842.86); h_SL1L427->SetBinContent(58,111371.4); h_SL1L427->SetBinContent(59,124421.4); h_SL1L427->SetMaximum(267637.8); 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,-17.45536,67.5,157.0982); 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(49,7.142857); h_SL2L128->SetBinContent(55,35.71429); h_SL2L128->SetBinContent(56,107.1429); h_SL2L128->SetBinContent(57,7.142857); h_SL2L128->SetMaximum(139.6429); 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,35.71429); h_SL2L229->SetBinContent(35,7.142857); h_SL2L229->SetBinContent(36,35.71429); h_SL2L229->SetBinContent(49,28.57143); h_SL2L229->SetBinContent(51,21.42857); h_SL2L229->SetBinContent(55,121.4286); h_SL2L229->SetBinContent(56,92.85714); h_SL2L229->SetMaximum(139.6429); 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(37,7.142857); h_SL2L330->SetBinContent(40,21.42857); h_SL2L330->SetBinContent(52,14.28571); h_SL2L330->SetBinContent(54,57.14286); h_SL2L330->SetBinContent(55,71.42857); h_SL2L330->SetBinContent(56,92.85714); h_SL2L330->SetMaximum(139.6429); 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,35.71429); h_SL2L431->SetBinContent(55,28.57143); h_SL2L431->SetBinContent(56,35.71429); h_SL2L431->SetMaximum(139.6429); 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,-86.25001,67.5,776.25); 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(690); 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(690); 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(690); 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,600); h_SL3L435->SetMaximum(690); 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,-33835.88,67.5,304522.9); 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,123300); h_SL1L136->SetBinContent(2,127200); h_SL1L136->SetBinContent(3,130520); h_SL1L136->SetBinContent(4,122360); h_SL1L136->SetBinContent(5,99920); h_SL1L136->SetBinContent(6,102360); h_SL1L136->SetBinContent(7,102280); h_SL1L136->SetBinContent(8,109140); h_SL1L136->SetBinContent(9,107080); h_SL1L136->SetBinContent(10,106960); h_SL1L136->SetBinContent(11,109240); h_SL1L136->SetBinContent(12,103660); h_SL1L136->SetBinContent(13,100260); h_SL1L136->SetBinContent(14,89460); h_SL1L136->SetBinContent(15,80360); h_SL1L136->SetBinContent(16,78400); h_SL1L136->SetBinContent(17,81320); h_SL1L136->SetBinContent(18,82380); h_SL1L136->SetBinContent(19,85640); h_SL1L136->SetBinContent(20,82640); h_SL1L136->SetBinContent(21,82840); h_SL1L136->SetBinContent(22,80320); h_SL1L136->SetBinContent(23,74120); h_SL1L136->SetBinContent(24,67040); h_SL1L136->SetBinContent(25,62520); h_SL1L136->SetBinContent(26,64820); h_SL1L136->SetBinContent(27,63200); h_SL1L136->SetBinContent(28,67560); h_SL1L136->SetBinContent(29,69820); h_SL1L136->SetBinContent(30,65600); h_SL1L136->SetBinContent(31,66180); h_SL1L136->SetBinContent(32,60300); h_SL1L136->SetBinContent(33,7100); h_SL1L136->SetBinContent(34,6820); h_SL1L136->SetBinContent(35,7300); h_SL1L136->SetBinContent(36,6220); h_SL1L136->SetBinContent(37,7040); h_SL1L136->SetBinContent(38,8040); h_SL1L136->SetBinContent(39,7540); h_SL1L136->SetBinContent(40,6460); h_SL1L136->SetBinContent(41,7540); h_SL1L136->SetBinContent(42,7240); h_SL1L136->SetBinContent(43,6740); h_SL1L136->SetBinContent(44,7280); h_SL1L136->SetBinContent(45,7480); h_SL1L136->SetBinContent(46,6600); h_SL1L136->SetBinContent(47,6740); h_SL1L136->SetBinContent(48,7060); h_SL1L136->SetBinContent(49,63760); h_SL1L136->SetBinContent(50,68860); h_SL1L136->SetBinContent(51,70000); h_SL1L136->SetBinContent(52,68540); h_SL1L136->SetBinContent(53,66700); h_SL1L136->SetBinContent(54,66760); h_SL1L136->SetBinContent(55,69440); h_SL1L136->SetBinContent(56,79060); h_SL1L136->SetBinContent(57,107400); h_SL1L136->SetBinContent(58,126720); h_SL1L136->SetBinContent(59,137280); h_SL1L136->SetMaximum(270687); 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,181160); h_SL1L237->SetBinContent(2,186720); h_SL1L237->SetBinContent(3,192320); h_SL1L237->SetBinContent(4,202080); h_SL1L237->SetBinContent(5,198360); h_SL1L237->SetBinContent(6,214180); h_SL1L237->SetBinContent(7,210500); h_SL1L237->SetBinContent(8,222800); h_SL1L237->SetBinContent(9,222520); h_SL1L237->SetBinContent(10,212420); h_SL1L237->SetBinContent(11,227300); h_SL1L237->SetBinContent(12,229860); h_SL1L237->SetBinContent(13,229120); h_SL1L237->SetBinContent(14,229200); h_SL1L237->SetBinContent(15,230000); h_SL1L237->SetBinContent(16,214560); h_SL1L237->SetBinContent(17,207920); h_SL1L237->SetBinContent(18,224340); h_SL1L237->SetBinContent(19,225860); h_SL1L237->SetBinContent(20,223000); h_SL1L237->SetBinContent(21,222280); h_SL1L237->SetBinContent(22,220980); h_SL1L237->SetBinContent(23,214140); h_SL1L237->SetBinContent(24,209420); h_SL1L237->SetBinContent(25,209320); h_SL1L237->SetBinContent(26,188380); h_SL1L237->SetBinContent(27,188320); h_SL1L237->SetBinContent(28,199480); h_SL1L237->SetBinContent(29,217620); h_SL1L237->SetBinContent(30,225720); h_SL1L237->SetBinContent(31,226320); h_SL1L237->SetBinContent(32,225720); h_SL1L237->SetBinContent(33,25460); h_SL1L237->SetBinContent(34,24800); h_SL1L237->SetBinContent(35,24620); h_SL1L237->SetBinContent(36,23620); h_SL1L237->SetBinContent(37,22880); h_SL1L237->SetBinContent(38,21980); h_SL1L237->SetBinContent(39,23320); h_SL1L237->SetBinContent(40,24360); h_SL1L237->SetBinContent(41,24140); h_SL1L237->SetBinContent(42,24660); h_SL1L237->SetBinContent(43,26560); h_SL1L237->SetBinContent(44,25380); h_SL1L237->SetBinContent(45,25120); h_SL1L237->SetBinContent(46,25060); h_SL1L237->SetBinContent(47,25640); h_SL1L237->SetBinContent(48,25640); h_SL1L237->SetBinContent(49,225420); h_SL1L237->SetBinContent(50,235380); h_SL1L237->SetBinContent(51,223220); h_SL1L237->SetBinContent(52,222380); h_SL1L237->SetBinContent(53,228120); h_SL1L237->SetBinContent(54,220640); h_SL1L237->SetBinContent(55,226520); h_SL1L237->SetBinContent(56,223620); h_SL1L237->SetBinContent(57,221080); h_SL1L237->SetBinContent(58,227820); h_SL1L237->SetBinContent(59,227020); h_SL1L237->SetMaximum(270687); 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,165800); h_SL1L338->SetBinContent(2,171540); h_SL1L338->SetBinContent(3,182540); h_SL1L338->SetBinContent(4,186560); h_SL1L338->SetBinContent(5,189220); h_SL1L338->SetBinContent(6,195040); h_SL1L338->SetBinContent(7,202040); h_SL1L338->SetBinContent(8,203360); h_SL1L338->SetBinContent(9,197420); h_SL1L338->SetBinContent(10,203440); h_SL1L338->SetBinContent(11,209600); h_SL1L338->SetBinContent(12,213520); h_SL1L338->SetBinContent(13,208320); h_SL1L338->SetBinContent(14,209480); h_SL1L338->SetBinContent(15,199300); h_SL1L338->SetBinContent(16,192080); h_SL1L338->SetBinContent(17,195980); h_SL1L338->SetBinContent(18,203900); h_SL1L338->SetBinContent(19,199780); h_SL1L338->SetBinContent(20,202900); h_SL1L338->SetBinContent(21,202140); h_SL1L338->SetBinContent(22,199180); h_SL1L338->SetBinContent(23,193320); h_SL1L338->SetBinContent(24,189820); h_SL1L338->SetBinContent(25,177840); h_SL1L338->SetBinContent(26,175760); h_SL1L338->SetBinContent(27,182040); h_SL1L338->SetBinContent(28,196500); h_SL1L338->SetBinContent(29,204060); h_SL1L338->SetBinContent(30,203800); h_SL1L338->SetBinContent(31,207660); h_SL1L338->SetBinContent(32,208480); h_SL1L338->SetBinContent(33,23840); h_SL1L338->SetBinContent(34,22860); h_SL1L338->SetBinContent(35,22580); h_SL1L338->SetBinContent(36,20580); h_SL1L338->SetBinContent(37,21360); h_SL1L338->SetBinContent(38,21760); h_SL1L338->SetBinContent(39,22400); h_SL1L338->SetBinContent(40,22280); h_SL1L338->SetBinContent(41,23380); h_SL1L338->SetBinContent(42,24720); h_SL1L338->SetBinContent(43,22940); h_SL1L338->SetBinContent(44,24400); h_SL1L338->SetBinContent(45,22120); h_SL1L338->SetBinContent(46,22700); h_SL1L338->SetBinContent(47,23380); h_SL1L338->SetBinContent(48,21800); h_SL1L338->SetBinContent(49,209640); h_SL1L338->SetBinContent(50,205400); h_SL1L338->SetBinContent(51,205740); h_SL1L338->SetBinContent(52,205540); h_SL1L338->SetBinContent(53,201100); h_SL1L338->SetBinContent(54,201940); h_SL1L338->SetBinContent(55,202460); h_SL1L338->SetBinContent(56,201220); h_SL1L338->SetBinContent(57,207000); h_SL1L338->SetBinContent(58,204640); h_SL1L338->SetBinContent(59,206060); h_SL1L338->SetMaximum(270687); 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,113240); h_SL1L439->SetBinContent(3,100200); h_SL1L439->SetBinContent(4,96020); h_SL1L439->SetBinContent(5,88620); h_SL1L439->SetBinContent(6,88260); h_SL1L439->SetBinContent(7,84880); h_SL1L439->SetBinContent(8,93520); h_SL1L439->SetBinContent(9,101960); h_SL1L439->SetBinContent(10,120740); h_SL1L439->SetBinContent(11,134180); h_SL1L439->SetBinContent(12,144260); h_SL1L439->SetBinContent(13,145540); h_SL1L439->SetBinContent(14,146340); h_SL1L439->SetBinContent(15,134480); h_SL1L439->SetBinContent(16,122720); h_SL1L439->SetBinContent(17,110640); h_SL1L439->SetBinContent(18,113380); h_SL1L439->SetBinContent(19,110080); h_SL1L439->SetBinContent(20,103320); h_SL1L439->SetBinContent(21,101420); h_SL1L439->SetBinContent(22,99900); h_SL1L439->SetBinContent(23,94380); h_SL1L439->SetBinContent(24,93160); h_SL1L439->SetBinContent(25,84680); h_SL1L439->SetBinContent(26,84840); h_SL1L439->SetBinContent(27,81180); h_SL1L439->SetBinContent(28,87320); h_SL1L439->SetBinContent(29,85420); h_SL1L439->SetBinContent(30,85700); h_SL1L439->SetBinContent(31,84280); h_SL1L439->SetBinContent(32,76320); h_SL1L439->SetBinContent(33,8480); h_SL1L439->SetBinContent(34,8120); h_SL1L439->SetBinContent(35,7900); h_SL1L439->SetBinContent(36,6280); h_SL1L439->SetBinContent(37,4920); h_SL1L439->SetBinContent(38,5700); h_SL1L439->SetBinContent(39,6860); h_SL1L439->SetBinContent(40,5420); h_SL1L439->SetBinContent(41,5040); h_SL1L439->SetBinContent(42,6040); h_SL1L439->SetBinContent(43,5980); h_SL1L439->SetBinContent(44,6180); h_SL1L439->SetBinContent(45,4980); h_SL1L439->SetBinContent(46,5120); h_SL1L439->SetBinContent(47,5060); h_SL1L439->SetBinContent(48,5200); h_SL1L439->SetBinContent(49,47000); h_SL1L439->SetBinContent(50,48160); h_SL1L439->SetBinContent(51,50580); h_SL1L439->SetBinContent(52,55100); h_SL1L439->SetBinContent(53,51880); h_SL1L439->SetBinContent(54,52980); h_SL1L439->SetBinContent(55,20); h_SL1L439->SetBinContent(56,63840); h_SL1L439->SetBinContent(57,78740); h_SL1L439->SetBinContent(58,112380); h_SL1L439->SetBinContent(59,124000); h_SL1L439->SetMaximum(270687); 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,-20.125,67.5,181.125); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->SetFrameBorderMode(0); TH1D *h_SL2L140 = new TH1D("h_SL2L140","Background (digi time < 1000)",60,0,60); h_SL2L140->SetBinContent(49,20); h_SL2L140->SetBinContent(55,20); h_SL2L140->SetBinContent(56,120); h_SL2L140->SetMaximum(161); 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(36,60); h_SL2L241->SetBinContent(49,40); h_SL2L241->SetBinContent(51,20); h_SL2L241->SetBinContent(55,120); h_SL2L241->SetBinContent(56,140); h_SL2L241->SetMaximum(161); 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(37,20); h_SL2L342->SetBinContent(40,60); h_SL2L342->SetBinContent(52,20); h_SL2L342->SetBinContent(54,80); h_SL2L342->SetBinContent(55,60); h_SL2L342->SetBinContent(56,120); h_SL2L342->SetMaximum(161); 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->SetBinContent(55,20); h_SL2L443->SetBinContent(56,20); h_SL2L443->SetMaximum(161); 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,-60.375,67.5,543.375); 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(483); 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(483); 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(483); 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,420); h_SL3L447->SetMaximum(483); 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 6262"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }