void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:25 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,-33774.62,67.5,303971.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,150358.5); h_SL1L124->SetBinContent(2,154916.6); h_SL1L124->SetBinContent(3,157398.9); h_SL1L124->SetBinContent(4,150761); h_SL1L124->SetBinContent(5,132777.2); h_SL1L124->SetBinContent(6,136352.7); h_SL1L124->SetBinContent(7,136431.6); h_SL1L124->SetBinContent(8,145784.6); h_SL1L124->SetBinContent(9,140839.7); h_SL1L124->SetBinContent(10,143014.2); h_SL1L124->SetBinContent(11,144746.7); h_SL1L124->SetBinContent(12,135476.5); h_SL1L124->SetBinContent(13,132023.4); h_SL1L124->SetBinContent(14,121869.3); h_SL1L124->SetBinContent(15,108100.3); h_SL1L124->SetBinContent(16,107358.3); h_SL1L124->SetBinContent(17,107090); h_SL1L124->SetBinContent(18,109154); h_SL1L124->SetBinContent(19,111742.8); h_SL1L124->SetBinContent(20,108384.4); h_SL1L124->SetBinContent(21,111640.2); h_SL1L124->SetBinContent(22,109371); h_SL1L124->SetBinContent(23,99477.34); h_SL1L124->SetBinContent(24,89114.05); h_SL1L124->SetBinContent(25,84457.27); h_SL1L124->SetBinContent(26,88454.99); h_SL1L124->SetBinContent(27,84701.95); h_SL1L124->SetBinContent(28,89721.79); h_SL1L124->SetBinContent(29,92267.23); h_SL1L124->SetBinContent(30,88454.99); h_SL1L124->SetBinContent(31,89532.37); h_SL1L124->SetBinContent(32,82748.48); h_SL1L124->SetBinContent(33,86402.86); h_SL1L124->SetBinContent(34,84915.05); h_SL1L124->SetBinContent(35,85313.65); h_SL1L124->SetBinContent(36,81840.8); h_SL1L124->SetBinContent(37,81335.66); h_SL1L124->SetBinContent(38,89279.8); h_SL1L124->SetBinContent(39,86379.18); h_SL1L124->SetBinContent(40,81734.24); h_SL1L124->SetBinContent(41,85854.3); h_SL1L124->SetBinContent(42,88155.06); h_SL1L124->SetBinContent(43,87255.28); h_SL1L124->SetBinContent(44,89662.59); h_SL1L124->SetBinContent(45,84942.68); h_SL1L124->SetBinContent(46,78360.05); h_SL1L124->SetBinContent(47,77764.15); h_SL1L124->SetBinContent(48,80147.78); h_SL1L124->SetBinContent(49,85739.86); h_SL1L124->SetBinContent(50,92677.66); h_SL1L124->SetBinContent(51,94998.15); h_SL1L124->SetBinContent(52,92476.39); h_SL1L124->SetBinContent(53,91580.55); h_SL1L124->SetBinContent(54,91801.55); h_SL1L124->SetBinContent(55,93451.16); h_SL1L124->SetBinContent(56,105460.1); h_SL1L124->SetBinContent(57,137512.9); h_SL1L124->SetBinContent(58,158728.8); h_SL1L124->SetBinContent(59,170473.4); h_SL1L124->SetMaximum(270197); 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,183141.4); h_SL1L225->SetBinContent(2,190497.5); h_SL1L225->SetBinContent(3,196578.9); h_SL1L225->SetBinContent(4,201610.6); h_SL1L225->SetBinContent(5,204310); h_SL1L225->SetBinContent(6,215016.6); h_SL1L225->SetBinContent(7,216196.6); h_SL1L225->SetBinContent(8,226161.3); h_SL1L225->SetBinContent(9,226595.4); h_SL1L225->SetBinContent(10,219298.5); h_SL1L225->SetBinContent(11,232720.2); h_SL1L225->SetBinContent(12,234953.9); h_SL1L225->SetBinContent(13,234358); h_SL1L225->SetBinContent(14,234914.4); h_SL1L225->SetBinContent(15,234156.7); h_SL1L225->SetBinContent(16,215869); h_SL1L225->SetBinContent(17,213161.8); h_SL1L225->SetBinContent(18,226252); h_SL1L225->SetBinContent(19,226177.1); h_SL1L225->SetBinContent(20,223679); h_SL1L225->SetBinContent(21,228035.8); h_SL1L225->SetBinContent(22,223761.8); h_SL1L225->SetBinContent(23,219002.5); h_SL1L225->SetBinContent(24,210572.9); h_SL1L225->SetBinContent(25,210348); h_SL1L225->SetBinContent(26,194151.9); h_SL1L225->SetBinContent(27,193777); h_SL1L225->SetBinContent(28,210569); h_SL1L225->SetBinContent(29,224626.1); h_SL1L225->SetBinContent(30,230455); h_SL1L225->SetBinContent(31,232108.5); h_SL1L225->SetBinContent(32,233166.2); h_SL1L225->SetBinContent(33,233848.9); h_SL1L225->SetBinContent(34,227566.2); h_SL1L225->SetBinContent(35,212423.8); h_SL1L225->SetBinContent(36,210924.2); h_SL1L225->SetBinContent(37,200699); h_SL1L225->SetBinContent(38,207100.1); h_SL1L225->SetBinContent(39,211093.8); h_SL1L225->SetBinContent(40,213738); h_SL1L225->SetBinContent(41,214203.6); h_SL1L225->SetBinContent(42,221196.7); h_SL1L225->SetBinContent(43,232787.3); h_SL1L225->SetBinContent(44,234571.1); h_SL1L225->SetBinContent(45,226832.2); h_SL1L225->SetBinContent(46,223327.8); h_SL1L225->SetBinContent(47,220727); h_SL1L225->SetBinContent(48,227021.6); h_SL1L225->SetBinContent(49,231962.5); h_SL1L225->SetBinContent(50,234243.5); h_SL1L225->SetBinContent(51,226050.8); h_SL1L225->SetBinContent(52,228485.7); h_SL1L225->SetBinContent(53,232053.3); h_SL1L225->SetBinContent(54,227755.6); h_SL1L225->SetBinContent(55,231062.7); h_SL1L225->SetBinContent(56,226378.3); h_SL1L225->SetBinContent(57,226512.5); h_SL1L225->SetBinContent(58,231713.9); h_SL1L225->SetBinContent(59,232767.6); h_SL1L225->SetMaximum(270197); 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,178796.4); h_SL1L326->SetBinContent(2,189132); h_SL1L326->SetBinContent(3,193998); h_SL1L326->SetBinContent(4,198800.8); h_SL1L326->SetBinContent(5,204755.9); h_SL1L326->SetBinContent(6,206018.8); h_SL1L326->SetBinContent(7,214606.2); h_SL1L326->SetBinContent(8,222937); h_SL1L326->SetBinContent(9,212254.1); h_SL1L326->SetBinContent(10,220458.7); h_SL1L326->SetBinContent(11,229835.4); h_SL1L326->SetBinContent(12,230498.4); h_SL1L326->SetBinContent(13,225289.1); h_SL1L326->SetBinContent(14,230589.2); h_SL1L326->SetBinContent(15,213801.1); h_SL1L326->SetBinContent(16,207617.1); h_SL1L326->SetBinContent(17,211287.2); h_SL1L326->SetBinContent(18,220782.3); h_SL1L326->SetBinContent(19,216942.4); h_SL1L326->SetBinContent(20,221054.6); h_SL1L326->SetBinContent(21,218974.8); h_SL1L326->SetBinContent(22,212711.9); h_SL1L326->SetBinContent(23,206989.6); h_SL1L326->SetBinContent(24,206370); h_SL1L326->SetBinContent(25,194337.4); h_SL1L326->SetBinContent(26,186322.2); h_SL1L326->SetBinContent(27,196634.2); h_SL1L326->SetBinContent(28,214254.9); h_SL1L326->SetBinContent(29,222313.5); h_SL1L326->SetBinContent(30,223943.4); h_SL1L326->SetBinContent(31,224641.9); h_SL1L326->SetBinContent(32,226832.2); h_SL1L326->SetBinContent(33,222751.6); h_SL1L326->SetBinContent(34,213224.9); h_SL1L326->SetBinContent(35,204759.8); h_SL1L326->SetBinContent(36,200521.4); h_SL1L326->SetBinContent(37,195612.1); h_SL1L326->SetBinContent(38,201646.1); h_SL1L326->SetBinContent(39,207822.3); h_SL1L326->SetBinContent(40,206168.7); h_SL1L326->SetBinContent(41,211630.6); h_SL1L326->SetBinContent(42,222195.1); h_SL1L326->SetBinContent(43,226188.9); h_SL1L326->SetBinContent(44,222191.2); h_SL1L326->SetBinContent(45,214724.5); h_SL1L326->SetBinContent(46,215229.7); h_SL1L326->SetBinContent(47,216168.9); h_SL1L326->SetBinContent(48,221670.2); h_SL1L326->SetBinContent(49,226500.7); h_SL1L326->SetBinContent(50,226342.8); h_SL1L326->SetBinContent(51,217084.5); h_SL1L326->SetBinContent(52,223150.2); h_SL1L326->SetBinContent(53,221319); h_SL1L326->SetBinContent(54,221413.7); h_SL1L326->SetBinContent(55,220569.2); h_SL1L326->SetBinContent(56,217021.4); h_SL1L326->SetBinContent(57,223371.2); h_SL1L326->SetBinContent(58,223485.6); h_SL1L326->SetBinContent(59,223635.6); h_SL1L326->SetMaximum(270197); 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,137039.3); h_SL1L427->SetBinContent(3,128870.2); h_SL1L427->SetBinContent(4,122200.8); h_SL1L427->SetBinContent(5,114876.3); h_SL1L427->SetBinContent(6,112078.2); h_SL1L427->SetBinContent(7,108917.2); h_SL1L427->SetBinContent(8,120638); h_SL1L427->SetBinContent(9,129020.2); h_SL1L427->SetBinContent(10,149036.4); h_SL1L427->SetBinContent(11,166886.1); h_SL1L427->SetBinContent(12,174782.9); h_SL1L427->SetBinContent(13,174226.4); h_SL1L427->SetBinContent(14,178097.9); h_SL1L427->SetBinContent(15,165804.8); h_SL1L427->SetBinContent(16,150705.8); h_SL1L427->SetBinContent(17,139971.5); h_SL1L427->SetBinContent(18,141996); h_SL1L427->SetBinContent(19,137023.5); h_SL1L427->SetBinContent(20,132205); h_SL1L427->SetBinContent(21,130235.7); h_SL1L427->SetBinContent(22,128538.8); h_SL1L427->SetBinContent(23,123432.1); h_SL1L427->SetBinContent(24,123254.5); h_SL1L427->SetBinContent(25,109966.9); h_SL1L427->SetBinContent(26,108933); h_SL1L427->SetBinContent(27,108877.7); h_SL1L427->SetBinContent(28,115511.6); h_SL1L427->SetBinContent(29,112299.2); h_SL1L427->SetBinContent(30,115416.9); h_SL1L427->SetBinContent(31,110294.5); h_SL1L427->SetBinContent(32,104840.5); h_SL1L427->SetBinContent(33,93758.98); h_SL1L427->SetBinContent(34,90542.65); h_SL1L427->SetBinContent(35,87661.77); h_SL1L427->SetBinContent(36,75869.87); h_SL1L427->SetBinContent(37,66157.73); h_SL1L427->SetBinContent(38,71730.08); h_SL1L427->SetBinContent(39,80234.61); h_SL1L427->SetBinContent(40,69456.94); h_SL1L427->SetBinContent(41,67688.95); h_SL1L427->SetBinContent(42,72641.7); h_SL1L427->SetBinContent(43,74500.46); h_SL1L427->SetBinContent(44,71789.27); h_SL1L427->SetBinContent(45,62108.71); h_SL1L427->SetBinContent(46,66122.22); h_SL1L427->SetBinContent(47,62590.18); h_SL1L427->SetBinContent(48,62274.46); h_SL1L427->SetBinContent(49,60660.38); h_SL1L427->SetBinContent(50,67874.43); h_SL1L427->SetBinContent(51,66982.54); h_SL1L427->SetBinContent(52,70838.19); h_SL1L427->SetBinContent(53,70676.38); h_SL1L427->SetBinContent(54,73600.68); h_SL1L427->SetBinContent(56,86580.45); h_SL1L427->SetBinContent(57,103664.5); h_SL1L427->SetBinContent(58,139892.6); h_SL1L427->SetBinContent(59,152971); h_SL1L427->SetMaximum(270197); 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,-39.71083,67.5,357.3974); 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,90.76759); h_SL2L128->SetMaximum(317.6866); 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(317.6866); 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,276.2492); h_SL2L330->SetMaximum(317.6866); 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(317.6866); 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,-0.125,67.5,1.125); 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(0); 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(0); 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(0); 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->SetMaximum(0); 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,-33954.34,67.5,305589.1); 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,149108.3); h_SL1L136->SetBinContent(2,154964.8); h_SL1L136->SetBinContent(3,157495.2); h_SL1L136->SetBinContent(4,150158); h_SL1L136->SetBinContent(5,133240.5); h_SL1L136->SetBinContent(6,136555.5); h_SL1L136->SetBinContent(7,135925.7); h_SL1L136->SetBinContent(8,145229.7); h_SL1L136->SetBinContent(9,140003.1); h_SL1L136->SetBinContent(10,142953.4); h_SL1L136->SetBinContent(11,145572.3); h_SL1L136->SetBinContent(12,134942.2); h_SL1L136->SetBinContent(13,131693.5); h_SL1L136->SetBinContent(14,122897.7); h_SL1L136->SetBinContent(15,108389.1); h_SL1L136->SetBinContent(16,109107.4); h_SL1L136->SetBinContent(17,106455.4); h_SL1L136->SetBinContent(18,108831.1); h_SL1L136->SetBinContent(19,110698.6); h_SL1L136->SetBinContent(20,107902.9); h_SL1L136->SetBinContent(21,110588.1); h_SL1L136->SetBinContent(22,110112.9); h_SL1L136->SetBinContent(23,99571.26); h_SL1L136->SetBinContent(24,90222.98); h_SL1L136->SetBinContent(25,83836.1); h_SL1L136->SetBinContent(26,86355.5); h_SL1L136->SetBinContent(27,85946.65); h_SL1L136->SetBinContent(28,90355.59); h_SL1L136->SetBinContent(29,91383.23); h_SL1L136->SetBinContent(30,87869.34); h_SL1L136->SetBinContent(31,90068.29); h_SL1L136->SetBinContent(32,83294.66); h_SL1L136->SetBinContent(33,87095.84); h_SL1L136->SetBinContent(34,86035.05); h_SL1L136->SetBinContent(35,86565.45); h_SL1L136->SetBinContent(36,82355.41); h_SL1L136->SetBinContent(37,81316.71); h_SL1L136->SetBinContent(38,89427.39); h_SL1L136->SetBinContent(39,87095.84); h_SL1L136->SetBinContent(40,81946.56); h_SL1L136->SetBinContent(41,84532.25); h_SL1L136->SetBinContent(42,86233.95); h_SL1L136->SetBinContent(43,87471.55); h_SL1L136->SetBinContent(44,90200.89); h_SL1L136->SetBinContent(45,85140); h_SL1L136->SetBinContent(46,79714.47); h_SL1L136->SetBinContent(47,77747.57); h_SL1L136->SetBinContent(48,81294.61); h_SL1L136->SetBinContent(49,85935.6); h_SL1L136->SetBinContent(50,92455.08); h_SL1L136->SetBinContent(51,95107.07); h_SL1L136->SetBinContent(52,92311.43); h_SL1L136->SetBinContent(53,90764.44); h_SL1L136->SetBinContent(54,92046.23); h_SL1L136->SetBinContent(55,93151.23); h_SL1L136->SetBinContent(56,103902.8); h_SL1L136->SetBinContent(57,137251.7); h_SL1L136->SetBinContent(58,157992.4); h_SL1L136->SetBinContent(59,169462.3); h_SL1L136->SetMaximum(271634.7); 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,183761); h_SL1L237->SetBinContent(2,191783.2); h_SL1L237->SetBinContent(3,196799.9); h_SL1L237->SetBinContent(4,201297.3); h_SL1L237->SetBinContent(5,205142.7); h_SL1L237->SetBinContent(6,214888.7); h_SL1L237->SetBinContent(7,217618.1); h_SL1L237->SetBinContent(8,227143.1); h_SL1L237->SetBinContent(9,227773); h_SL1L237->SetBinContent(10,217308.7); h_SL1L237->SetBinContent(11,230292.4); h_SL1L237->SetBinContent(12,232944.4); h_SL1L237->SetBinContent(13,232657.1); h_SL1L237->SetBinContent(14,235132.3); h_SL1L237->SetBinContent(15,233496.9); h_SL1L237->SetBinContent(16,215750.6); h_SL1L237->SetBinContent(17,211960.5); h_SL1L237->SetBinContent(18,226126.5); h_SL1L237->SetBinContent(19,227861.4); h_SL1L237->SetBinContent(20,223750.8); h_SL1L237->SetBinContent(21,230314.5); h_SL1L237->SetBinContent(22,222579.5); h_SL1L237->SetBinContent(23,218502.1); h_SL1L237->SetBinContent(24,211010.2); h_SL1L237->SetBinContent(25,208645.5); h_SL1L237->SetBinContent(26,193230.8); h_SL1L237->SetBinContent(27,193540.2); h_SL1L237->SetBinContent(28,211905.2); h_SL1L237->SetBinContent(29,223143); h_SL1L237->SetBinContent(30,229596.2); h_SL1L237->SetBinContent(31,231927.8); h_SL1L237->SetBinContent(32,233032.8); h_SL1L237->SetBinContent(33,233507.9); h_SL1L237->SetBinContent(34,227839.3); h_SL1L237->SetBinContent(35,213164.9); h_SL1L237->SetBinContent(36,208977); h_SL1L237->SetBinContent(37,200468.5); h_SL1L237->SetBinContent(38,206369.2); h_SL1L237->SetBinContent(39,213076.5); h_SL1L237->SetBinContent(40,215286.5); h_SL1L237->SetBinContent(41,214524.1); h_SL1L237->SetBinContent(42,219408.2); h_SL1L237->SetBinContent(43,232292.4); h_SL1L237->SetBinContent(44,236204.1); h_SL1L237->SetBinContent(45,228215); h_SL1L237->SetBinContent(46,223275.7); h_SL1L237->SetBinContent(47,220192.7); h_SL1L237->SetBinContent(48,229518.9); h_SL1L237->SetBinContent(49,230557.6); h_SL1L237->SetBinContent(50,232955.4); h_SL1L237->SetBinContent(51,227032.6); h_SL1L237->SetBinContent(52,230900.1); h_SL1L237->SetBinContent(53,230668.1); h_SL1L237->SetBinContent(54,227640.4); h_SL1L237->SetBinContent(55,230447.1); h_SL1L237->SetBinContent(56,225342); h_SL1L237->SetBinContent(57,228369.7); h_SL1L237->SetBinContent(58,231496.8); h_SL1L237->SetBinContent(59,230413.9); h_SL1L237->SetMaximum(271634.7); 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,179097.9); h_SL1L338->SetBinContent(2,188413); h_SL1L338->SetBinContent(3,193308.1); h_SL1L338->SetBinContent(4,197750.2); h_SL1L338->SetBinContent(5,203971.4); h_SL1L338->SetBinContent(6,205231); h_SL1L338->SetBinContent(7,216546.2); h_SL1L338->SetBinContent(8,222082.2); h_SL1L338->SetBinContent(9,212402.5); h_SL1L338->SetBinContent(10,220678.9); h_SL1L338->SetBinContent(11,227065.8); h_SL1L338->SetBinContent(12,232259.3); h_SL1L338->SetBinContent(13,226391.7); h_SL1L338->SetBinContent(14,232712.3); h_SL1L338->SetBinContent(15,215761.7); h_SL1L338->SetBinContent(16,208181.4); h_SL1L338->SetBinContent(17,212424.6); h_SL1L338->SetBinContent(18,221441.4); h_SL1L338->SetBinContent(19,214778.2); h_SL1L338->SetBinContent(20,220800.5); h_SL1L338->SetBinContent(21,218513.1); h_SL1L338->SetBinContent(22,214800.3); h_SL1L338->SetBinContent(23,205065.3); h_SL1L338->SetBinContent(24,204358.1); h_SL1L338->SetBinContent(25,192921.4); h_SL1L338->SetBinContent(26,186214.1); h_SL1L338->SetBinContent(27,197893.9); h_SL1L338->SetBinContent(28,213938.4); h_SL1L338->SetBinContent(29,221717.6); h_SL1L338->SetBinContent(30,223198.3); h_SL1L338->SetBinContent(31,223629.2); h_SL1L338->SetBinContent(32,228855.9); h_SL1L338->SetBinContent(33,222214.9); h_SL1L338->SetBinContent(34,213352.8); h_SL1L338->SetBinContent(35,203043.2); h_SL1L338->SetBinContent(36,199451.9); h_SL1L338->SetBinContent(37,193893.8); h_SL1L338->SetBinContent(38,200081.8); h_SL1L338->SetBinContent(39,208236.6); h_SL1L338->SetBinContent(40,205242.1); h_SL1L338->SetBinContent(41,212590.3); h_SL1L338->SetBinContent(42,221308.8); h_SL1L338->SetBinContent(43,226424.9); h_SL1L338->SetBinContent(44,222458); h_SL1L338->SetBinContent(45,214281); h_SL1L338->SetBinContent(46,215408.1); h_SL1L338->SetBinContent(47,215894.3); h_SL1L338->SetBinContent(48,224214.9); h_SL1L338->SetBinContent(49,227728.8); h_SL1L338->SetBinContent(50,226800.6); h_SL1L338->SetBinContent(51,218170.6); h_SL1L338->SetBinContent(52,223993.9); h_SL1L338->SetBinContent(53,219297.7); h_SL1L338->SetBinContent(54,221993.9); h_SL1L338->SetBinContent(55,222336.4); h_SL1L338->SetBinContent(56,216944); h_SL1L338->SetBinContent(57,224568.5); h_SL1L338->SetBinContent(58,224933.1); h_SL1L338->SetBinContent(59,221750.8); h_SL1L338->SetMaximum(271634.7); 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,138246.1); h_SL1L439->SetBinContent(3,130378.6); h_SL1L439->SetBinContent(4,122908.8); h_SL1L439->SetBinContent(5,115317.5); h_SL1L439->SetBinContent(6,111671); h_SL1L439->SetBinContent(7,108996.9); h_SL1L439->SetBinContent(8,121737.5); h_SL1L439->SetBinContent(9,128687.9); h_SL1L439->SetBinContent(10,149948.1); h_SL1L439->SetBinContent(11,166810.3); h_SL1L439->SetBinContent(12,174832.6); h_SL1L439->SetBinContent(13,174987.3); h_SL1L439->SetBinContent(14,177794); h_SL1L439->SetBinContent(15,166235.7); h_SL1L439->SetBinContent(16,148588.9); h_SL1L439->SetBinContent(17,139240.6); h_SL1L439->SetBinContent(18,140732.4); h_SL1L439->SetBinContent(19,136997.5); h_SL1L439->SetBinContent(20,133273.7); h_SL1L439->SetBinContent(21,131538.8); h_SL1L439->SetBinContent(22,127947.6); h_SL1L439->SetBinContent(23,122975.1); h_SL1L439->SetBinContent(24,121593.8); h_SL1L439->SetBinContent(25,107571.4); h_SL1L439->SetBinContent(26,108588); h_SL1L439->SetBinContent(27,108963.7); h_SL1L439->SetBinContent(28,113660); h_SL1L439->SetBinContent(29,111659.9); h_SL1L439->SetBinContent(30,117240.2); h_SL1L439->SetBinContent(31,111394.7); h_SL1L439->SetBinContent(32,102974.6); h_SL1L439->SetBinContent(33,93803.18); h_SL1L439->SetBinContent(34,91482.68); h_SL1L439->SetBinContent(35,87604.14); h_SL1L439->SetBinContent(36,76366.33); h_SL1L439->SetBinContent(37,64719.66); h_SL1L439->SetBinContent(38,71603.79); h_SL1L439->SetBinContent(39,80841.56); h_SL1L439->SetBinContent(40,69073.35); h_SL1L439->SetBinContent(41,67747.35); h_SL1L439->SetBinContent(42,73880.09); h_SL1L439->SetBinContent(43,75427.08); h_SL1L439->SetBinContent(44,72145.24); h_SL1L439->SetBinContent(45,61990.32); h_SL1L439->SetBinContent(46,64929.61); h_SL1L439->SetBinContent(47,63161.62); h_SL1L439->SetBinContent(48,62498.62); h_SL1L439->SetBinContent(49,61448.87); h_SL1L439->SetBinContent(50,68542.95); h_SL1L439->SetBinContent(51,67194.85); h_SL1L439->SetBinContent(52,70310.95); h_SL1L439->SetBinContent(53,69515.34); h_SL1L439->SetBinContent(54,73449.13); h_SL1L439->SetBinContent(56,86366.55); h_SL1L439->SetBinContent(57,103737.1); h_SL1L439->SetBinContent(58,140699.2); h_SL1L439->SetBinContent(59,152003.4); h_SL1L439->SetMaximum(271634.7); 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,-42.88769,67.5,385.9892); 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,77.34978); h_SL2L140->SetMaximum(343.1015); 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(343.1015); 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,298.3491); h_SL2L342->SetMaximum(343.1015); 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(343.1015); 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,-0.125,67.5,1.125); 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(0); 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(0); 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(0); h_SL3L346->SetEntries(60); h_SL3L346->SetDirectory(0); h_SL3L346->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L346->SetLineColor(ci); h_SL3L346->SetLineWidth(2); h_SL3L346->GetXaxis()->SetTitle("Cell"); h_SL3L346->GetXaxis()->SetLabelFont(42); h_SL3L346->GetXaxis()->SetLabelSize(0.035); h_SL3L346->GetXaxis()->SetTitleSize(0.035); h_SL3L346->GetXaxis()->SetTitleFont(42); h_SL3L346->GetYaxis()->SetTitle("Hz per wire"); h_SL3L346->GetYaxis()->SetLabelFont(42); h_SL3L346->GetYaxis()->SetLabelSize(0.035); h_SL3L346->GetYaxis()->SetTitleSize(0.035); h_SL3L346->GetYaxis()->SetTitleOffset(1.45); h_SL3L346->GetYaxis()->SetTitleFont(42); h_SL3L346->GetZaxis()->SetLabelFont(42); h_SL3L346->GetZaxis()->SetLabelSize(0.035); h_SL3L346->GetZaxis()->SetTitleSize(0.035); h_SL3L346->GetZaxis()->SetTitleFont(42); h_SL3L346->Draw("hist, same"); TH1D *h_SL3L447 = new TH1D("h_SL3L447","Background (digi time < 1000)",60,0,60); h_SL3L447->SetMaximum(0); 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 6271"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }