void SigAndBkgOcupancy() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:22:30 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,-33485.77,67.5,301371.9); 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,126794.9); h_SL1L124->SetBinContent(2,130795.7); h_SL1L124->SetBinContent(3,130620.2); h_SL1L124->SetBinContent(4,121107.9); h_SL1L124->SetBinContent(5,101732.3); h_SL1L124->SetBinContent(6,107333.5); h_SL1L124->SetBinContent(7,105153.4); h_SL1L124->SetBinContent(8,111403.8); h_SL1L124->SetBinContent(9,107202.9); h_SL1L124->SetBinContent(10,110787.3); h_SL1L124->SetBinContent(11,111652.8); h_SL1L124->SetBinContent(12,102491.6); h_SL1L124->SetBinContent(13,102463.1); h_SL1L124->SetBinContent(14,91048.34); h_SL1L124->SetBinContent(15,83173.16); h_SL1L124->SetBinContent(16,80315.4); h_SL1L124->SetBinContent(17,80148.02); h_SL1L124->SetBinContent(18,82385.23); h_SL1L124->SetBinContent(19,84712.27); h_SL1L124->SetBinContent(20,81711.62); h_SL1L124->SetBinContent(21,83663.06); h_SL1L124->SetBinContent(22,80654.25); h_SL1L124->SetBinContent(23,75371.47); h_SL1L124->SetBinContent(24,66712.45); h_SL1L124->SetBinContent(25,63605.65); h_SL1L124->SetBinContent(26,66524.65); h_SL1L124->SetBinContent(27,63577.07); h_SL1L124->SetBinContent(28,67320.74); h_SL1L124->SetBinContent(29,69141.54); h_SL1L124->SetBinContent(30,66304.2); h_SL1L124->SetBinContent(31,66741.02); h_SL1L124->SetBinContent(32,61364.34); h_SL1L124->SetBinContent(33,63842.43); h_SL1L124->SetBinContent(34,63817.94); h_SL1L124->SetBinContent(35,63103.5); h_SL1L124->SetBinContent(36,60837.7); h_SL1L124->SetBinContent(37,61552.14); h_SL1L124->SetBinContent(38,67610.6); h_SL1L124->SetBinContent(39,65230.49); h_SL1L124->SetBinContent(40,60119.18); h_SL1L124->SetBinContent(41,62670.75); h_SL1L124->SetBinContent(42,64246.6); h_SL1L124->SetBinContent(43,64381.32); h_SL1L124->SetBinContent(44,66794.09); h_SL1L124->SetBinContent(45,62474.79); h_SL1L124->SetBinContent(46,58506.58); h_SL1L124->SetBinContent(47,57718.66); h_SL1L124->SetBinContent(48,59367.99); h_SL1L124->SetBinContent(49,65189.66); h_SL1L124->SetBinContent(50,67753.48); h_SL1L124->SetBinContent(51,70774.55); h_SL1L124->SetBinContent(52,70158.09); h_SL1L124->SetBinContent(53,70117.27); h_SL1L124->SetBinContent(54,68447.52); h_SL1L124->SetBinContent(55,71027.66); h_SL1L124->SetBinContent(56,80666.49); h_SL1L124->SetBinContent(57,107737.7); h_SL1L124->SetBinContent(58,126415.2); h_SL1L124->SetBinContent(59,139030.2); h_SL1L124->SetMaximum(267886.1); 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,179369.6); h_SL1L225->SetBinContent(2,188163.3); h_SL1L225->SetBinContent(3,193046); h_SL1L225->SetBinContent(4,199741.3); h_SL1L225->SetBinContent(5,201590.7); h_SL1L225->SetBinContent(6,211303); h_SL1L225->SetBinContent(7,212695.2); h_SL1L225->SetBinContent(8,221317.4); h_SL1L225->SetBinContent(9,220256); h_SL1L225->SetBinContent(10,216055.1); h_SL1L225->SetBinContent(11,227800.5); h_SL1L225->SetBinContent(12,231091); h_SL1L225->SetBinContent(13,230245.9); h_SL1L225->SetBinContent(14,232944.5); h_SL1L225->SetBinContent(15,227923); h_SL1L225->SetBinContent(16,210939.7); h_SL1L225->SetBinContent(17,208343.2); h_SL1L225->SetBinContent(18,220656.1); h_SL1L225->SetBinContent(19,222301.3); h_SL1L225->SetBinContent(20,219476.2); h_SL1L225->SetBinContent(21,222423.8); h_SL1L225->SetBinContent(22,219639.5); h_SL1L225->SetBinContent(23,215859.1); h_SL1L225->SetBinContent(24,207730.8); h_SL1L225->SetBinContent(25,206457.1); h_SL1L225->SetBinContent(26,188751.2); h_SL1L225->SetBinContent(27,191102.7); h_SL1L225->SetBinContent(28,204248.4); h_SL1L225->SetBinContent(29,217908.5); h_SL1L225->SetBinContent(30,225171.3); h_SL1L225->SetBinContent(31,229221.2); h_SL1L225->SetBinContent(32,227314.7); h_SL1L225->SetBinContent(33,229062); h_SL1L225->SetBinContent(34,221705.3); h_SL1L225->SetBinContent(35,208808.6); h_SL1L225->SetBinContent(36,206575.5); h_SL1L225->SetBinContent(37,197953.2); h_SL1L225->SetBinContent(38,203811.6); h_SL1L225->SetBinContent(39,208351.4); h_SL1L225->SetBinContent(40,209265.8); h_SL1L225->SetBinContent(41,211405.1); h_SL1L225->SetBinContent(42,217671.8); h_SL1L225->SetBinContent(43,229290.6); h_SL1L225->SetBinContent(44,230286.7); h_SL1L225->SetBinContent(45,220643.8); h_SL1L225->SetBinContent(46,218190.2); h_SL1L225->SetBinContent(47,216312.3); h_SL1L225->SetBinContent(48,217418.6); h_SL1L225->SetBinContent(49,226641); h_SL1L225->SetBinContent(50,230294.9); h_SL1L225->SetBinContent(51,222962.7); h_SL1L225->SetBinContent(52,224522.2); h_SL1L225->SetBinContent(53,228743.5); h_SL1L225->SetBinContent(54,221652.2); h_SL1L225->SetBinContent(55,224387.5); h_SL1L225->SetBinContent(56,221672.6); h_SL1L225->SetBinContent(57,222085); h_SL1L225->SetBinContent(58,227037); h_SL1L225->SetBinContent(59,225734.7); h_SL1L225->SetMaximum(267886.1); 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,175789.2); h_SL1L326->SetBinContent(2,188289.9); h_SL1L326->SetBinContent(3,191621.2); h_SL1L326->SetBinContent(4,195989.5); h_SL1L326->SetBinContent(5,202991); h_SL1L326->SetBinContent(6,204085.1); h_SL1L326->SetBinContent(7,209347.5); h_SL1L326->SetBinContent(8,216389.8); h_SL1L326->SetBinContent(9,207820.6); h_SL1L326->SetBinContent(10,219574.2); h_SL1L326->SetBinContent(11,225126.4); h_SL1L326->SetBinContent(12,227988.3); h_SL1L326->SetBinContent(13,222395.2); h_SL1L326->SetBinContent(14,225832.7); h_SL1L326->SetBinContent(15,208286); h_SL1L326->SetBinContent(16,202215.3); h_SL1L326->SetBinContent(17,206110.1); h_SL1L326->SetBinContent(18,216361.3); h_SL1L326->SetBinContent(19,214565); h_SL1L326->SetBinContent(20,214295.5); h_SL1L326->SetBinContent(21,215908.1); h_SL1L326->SetBinContent(22,208633); h_SL1L326->SetBinContent(23,204256.6); h_SL1L326->SetBinContent(24,201607); h_SL1L326->SetBinContent(25,189747.3); h_SL1L326->SetBinContent(26,183725.6); h_SL1L326->SetBinContent(27,194389.1); h_SL1L326->SetBinContent(28,210135.4); h_SL1L326->SetBinContent(29,218218.8); h_SL1L326->SetBinContent(30,220656.1); h_SL1L326->SetBinContent(31,222174.8); h_SL1L326->SetBinContent(32,220109); h_SL1L326->SetBinContent(33,219643.6); h_SL1L326->SetBinContent(34,209919); h_SL1L326->SetBinContent(35,200521.1); h_SL1L326->SetBinContent(36,197798); h_SL1L326->SetBinContent(37,192960.3); h_SL1L326->SetBinContent(38,197863.4); h_SL1L326->SetBinContent(39,206567.3); h_SL1L326->SetBinContent(40,201721.3); h_SL1L326->SetBinContent(41,208661.6); h_SL1L326->SetBinContent(42,220354); h_SL1L326->SetBinContent(43,224546.7); h_SL1L326->SetBinContent(44,218133.1); h_SL1L326->SetBinContent(45,215479.4); h_SL1L326->SetBinContent(46,210290.6); h_SL1L326->SetBinContent(47,211478.6); h_SL1L326->SetBinContent(48,215736.6); h_SL1L326->SetBinContent(49,222280.9); h_SL1L326->SetBinContent(50,220341.7); h_SL1L326->SetBinContent(51,213299.4); h_SL1L326->SetBinContent(52,219223.1); h_SL1L326->SetBinContent(53,215875.4); h_SL1L326->SetBinContent(54,213634.1); h_SL1L326->SetBinContent(55,216826.7); h_SL1L326->SetBinContent(56,211948.1); h_SL1L326->SetBinContent(57,218908.8); h_SL1L326->SetBinContent(58,221178.6); h_SL1L326->SetBinContent(59,219076.1); h_SL1L326->SetMaximum(267886.1); 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,111612); h_SL1L427->SetBinContent(3,102789.7); h_SL1L427->SetBinContent(4,98229.49); h_SL1L427->SetBinContent(5,89741.94); h_SL1L427->SetBinContent(6,88537.59); h_SL1L427->SetBinContent(7,86186.06); h_SL1L427->SetBinContent(8,94959.39); h_SL1L427->SetBinContent(9,102495.7); h_SL1L427->SetBinContent(10,120565); h_SL1L427->SetBinContent(11,139422.1); h_SL1L427->SetBinContent(12,145158); h_SL1L427->SetBinContent(13,145247.9); h_SL1L427->SetBinContent(14,148207.7); h_SL1L427->SetBinContent(15,139164.9); h_SL1L427->SetBinContent(16,124002.4); h_SL1L427->SetBinContent(17,111567.1); h_SL1L427->SetBinContent(18,113049); h_SL1L427->SetBinContent(19,108982.8); h_SL1L427->SetBinContent(20,103949.1); h_SL1L427->SetBinContent(21,102369.2); h_SL1L427->SetBinContent(22,99576.72); h_SL1L427->SetBinContent(23,97016.98); h_SL1L427->SetBinContent(24,95563.61); h_SL1L427->SetBinContent(25,84606.12); h_SL1L427->SetBinContent(26,85300.16); h_SL1L427->SetBinContent(27,85634.92); h_SL1L427->SetBinContent(28,88790.7); h_SL1L427->SetBinContent(29,84920.48); h_SL1L427->SetBinContent(30,86361.61); h_SL1L427->SetBinContent(31,84332.59); h_SL1L427->SetBinContent(32,78747.71); h_SL1L427->SetBinContent(33,70292.81); h_SL1L427->SetBinContent(34,68868.02); h_SL1L427->SetBinContent(35,68790.45); h_SL1L427->SetBinContent(36,57559.44); h_SL1L427->SetBinContent(37,48381.93); h_SL1L427->SetBinContent(38,53632.05); h_SL1L427->SetBinContent(39,61025.5); h_SL1L427->SetBinContent(40,51207.04); h_SL1L427->SetBinContent(41,49545.45); h_SL1L427->SetBinContent(42,53203.39); h_SL1L427->SetBinContent(43,56036.66); h_SL1L427->SetBinContent(44,53942.32); h_SL1L427->SetBinContent(45,46120.22); h_SL1L427->SetBinContent(46,47010.21); h_SL1L427->SetBinContent(47,46385.58); h_SL1L427->SetBinContent(48,46022.24); h_SL1L427->SetBinContent(49,46054.9); h_SL1L427->SetBinContent(50,49578.11); h_SL1L427->SetBinContent(51,50223.15); h_SL1L427->SetBinContent(52,52697.16); h_SL1L427->SetBinContent(53,52901.28); h_SL1L427->SetBinContent(54,54844.56); h_SL1L427->SetBinContent(56,65357.05); h_SL1L427->SetBinContent(57,80490.95); h_SL1L427->SetBinContent(58,112195.8); h_SL1L427->SetBinContent(59,127582.8); h_SL1L427->SetMaximum(267886.1); 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,-45.18839,67.5,406.6955); 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,69.40282); h_SL2L128->SetMaximum(361.5071); 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(361.5071); 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,314.354); h_SL2L330->SetMaximum(361.5071); 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(361.5071); 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,-1.760586,67.5,15.84528); 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(14.08469); 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(14.08469); 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(14.08469); 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,12.24756); h_SL3L435->SetMaximum(14.08469); 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,-33572.51,67.5,302152.5); 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,126804.7); h_SL1L136->SetBinContent(2,130314); h_SL1L136->SetBinContent(3,131182.8); h_SL1L136->SetBinContent(4,122312.3); h_SL1L136->SetBinContent(5,101576.3); h_SL1L136->SetBinContent(6,107829.1); h_SL1L136->SetBinContent(7,104502.7); h_SL1L136->SetBinContent(8,112253); h_SL1L136->SetBinContent(9,106891.8); h_SL1L136->SetBinContent(10,108777.9); h_SL1L136->SetBinContent(11,110972.7); h_SL1L136->SetBinContent(12,101233.4); h_SL1L136->SetBinContent(13,103565.4); h_SL1L136->SetBinContent(14,91162.66); h_SL1L136->SetBinContent(15,83583.87); h_SL1L136->SetBinContent(16,81103.33); h_SL1L136->SetBinContent(17,81011.88); h_SL1L136->SetBinContent(18,82109.26); h_SL1L136->SetBinContent(19,85024.18); h_SL1L136->SetBinContent(20,81194.78); h_SL1L136->SetBinContent(21,83058.04); h_SL1L136->SetBinContent(22,81377.67); h_SL1L136->SetBinContent(23,74553.34); h_SL1L136->SetBinContent(24,65877.16); h_SL1L136->SetBinContent(25,62516.43); h_SL1L136->SetBinContent(26,66002.91); h_SL1L136->SetBinContent(27,63602.39); h_SL1L136->SetBinContent(28,68071.93); h_SL1L136->SetBinContent(29,69466.52); h_SL1L136->SetBinContent(30,66277.25); h_SL1L136->SetBinContent(31,65397.06); h_SL1L136->SetBinContent(32,61533.36); h_SL1L136->SetBinContent(33,63522.37); h_SL1L136->SetBinContent(34,65225.59); h_SL1L136->SetBinContent(35,62470.71); h_SL1L136->SetBinContent(36,60344.54); h_SL1L136->SetBinContent(37,61533.36); h_SL1L136->SetBinContent(38,67271.75); h_SL1L136->SetBinContent(39,65419.92); h_SL1L136->SetBinContent(40,60721.76); h_SL1L136->SetBinContent(41,62562.16); h_SL1L136->SetBinContent(42,64345.4); h_SL1L136->SetBinContent(43,64151.07); h_SL1L136->SetBinContent(44,65820.01); h_SL1L136->SetBinContent(45,62196.37); h_SL1L136->SetBinContent(46,57555.36); h_SL1L136->SetBinContent(47,57223.86); h_SL1L136->SetBinContent(48,59167.14); h_SL1L136->SetBinContent(49,65237.03); h_SL1L136->SetBinContent(50,68174.8); h_SL1L136->SetBinContent(51,71501.24); h_SL1L136->SetBinContent(52,69935.19); h_SL1L136->SetBinContent(53,68734.93); h_SL1L136->SetBinContent(54,69477.95); h_SL1L136->SetBinContent(55,72118.52); h_SL1L136->SetBinContent(56,80131.69); h_SL1L136->SetBinContent(57,106526); h_SL1L136->SetBinContent(58,126084.5); h_SL1L136->SetBinContent(59,137892.8); h_SL1L136->SetMaximum(268580); 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,178210.1); h_SL1L237->SetBinContent(2,187355); h_SL1L237->SetBinContent(3,191961.7); h_SL1L237->SetBinContent(4,200912.2); h_SL1L237->SetBinContent(5,198923.2); h_SL1L237->SetBinContent(6,209485.5); h_SL1L237->SetBinContent(7,213006.3); h_SL1L237->SetBinContent(8,220779.4); h_SL1L237->SetBinContent(9,219933.5); h_SL1L237->SetBinContent(10,217601.5); h_SL1L237->SetBinContent(11,227786.6); h_SL1L237->SetBinContent(12,230107.1); h_SL1L237->SetBinContent(13,232073.3); h_SL1L237->SetBinContent(14,233547.9); h_SL1L237->SetBinContent(15,228026.7); h_SL1L237->SetBinContent(16,211657.4); h_SL1L237->SetBinContent(17,206650.6); h_SL1L237->SetBinContent(18,222128.2); h_SL1L237->SetBinContent(19,222596.9); h_SL1L237->SetBinContent(20,221373.8); h_SL1L237->SetBinContent(21,220585); h_SL1L237->SetBinContent(22,218584.6); h_SL1L237->SetBinContent(23,217212.9); h_SL1L237->SetBinContent(24,207553.7); h_SL1L237->SetBinContent(25,203895.7); h_SL1L237->SetBinContent(26,186577.7); h_SL1L237->SetBinContent(27,193470.6); h_SL1L237->SetBinContent(28,204055.8); h_SL1L237->SetBinContent(29,216892.8); h_SL1L237->SetBinContent(30,224220.1); h_SL1L237->SetBinContent(31,228415.3); h_SL1L237->SetBinContent(32,227157.9); h_SL1L237->SetBinContent(33,229592.7); h_SL1L237->SetBinContent(34,220653.6); h_SL1L237->SetBinContent(35,207233.6); h_SL1L237->SetBinContent(36,207930.9); h_SL1L237->SetBinContent(37,197928.7); h_SL1L237->SetBinContent(38,204192.9); h_SL1L237->SetBinContent(39,209885.6); h_SL1L237->SetBinContent(40,206787.8); h_SL1L237->SetBinContent(41,212137.5); h_SL1L237->SetBinContent(42,217624.4); h_SL1L237->SetBinContent(43,227443.7); h_SL1L237->SetBinContent(44,228621.1); h_SL1L237->SetBinContent(45,222002.5); h_SL1L237->SetBinContent(46,217430.1); h_SL1L237->SetBinContent(47,217235.8); h_SL1L237->SetBinContent(48,218367.4); h_SL1L237->SetBinContent(49,225546.1); h_SL1L237->SetBinContent(50,229204.1); h_SL1L237->SetBinContent(51,224997.4); h_SL1L237->SetBinContent(52,225168.9); h_SL1L237->SetBinContent(53,225660.4); h_SL1L237->SetBinContent(54,223237.1); h_SL1L237->SetBinContent(55,223797.2); h_SL1L237->SetBinContent(56,221636.7); h_SL1L237->SetBinContent(57,221156.6); h_SL1L237->SetBinContent(58,225077.5); h_SL1L237->SetBinContent(59,226254.9); h_SL1L237->SetMaximum(268580); 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,174940.9); h_SL1L338->SetBinContent(2,190784.3); h_SL1L338->SetBinContent(3,190830); h_SL1L338->SetBinContent(4,195608.2); h_SL1L338->SetBinContent(5,202626.9); h_SL1L338->SetBinContent(6,205187.4); h_SL1L338->SetBinContent(7,207782.3); h_SL1L338->SetBinContent(8,216847.1); h_SL1L338->SetBinContent(9,207427.9); h_SL1L338->SetBinContent(10,222494); h_SL1L338->SetBinContent(11,225363.2); h_SL1L338->SetBinContent(12,227443.7); h_SL1L338->SetBinContent(13,222596.9); h_SL1L338->SetBinContent(14,225580.4); h_SL1L338->SetBinContent(15,209382.6); h_SL1L338->SetBinContent(16,201335.2); h_SL1L338->SetBinContent(17,205850.4); h_SL1L338->SetBinContent(18,216058.4); h_SL1L338->SetBinContent(19,214492.3); h_SL1L338->SetBinContent(20,216035.5); h_SL1L338->SetBinContent(21,219602); h_SL1L338->SetBinContent(22,210891.5); h_SL1L338->SetBinContent(23,202146.8); h_SL1L338->SetBinContent(24,202535.4); h_SL1L338->SetBinContent(25,188612.4); h_SL1L338->SetBinContent(26,183559.9); h_SL1L338->SetBinContent(27,196545.5); h_SL1L338->SetBinContent(28,211588.8); h_SL1L338->SetBinContent(29,217853); h_SL1L338->SetBinContent(30,218618.9); h_SL1L338->SetBinContent(31,222151.1); h_SL1L338->SetBinContent(32,220356.4); h_SL1L338->SetBinContent(33,220630.8); h_SL1L338->SetBinContent(34,207850.9); h_SL1L338->SetBinContent(35,201426.6); h_SL1L338->SetBinContent(36,197631.5); h_SL1L338->SetBinContent(37,192921.9); h_SL1L338->SetBinContent(38,198020.2); h_SL1L338->SetBinContent(39,208605.3); h_SL1L338->SetBinContent(40,203930); h_SL1L338->SetBinContent(41,208250.9); h_SL1L338->SetBinContent(42,219270.5); h_SL1L338->SetBinContent(43,224894.6); h_SL1L338->SetBinContent(44,219693.4); h_SL1L338->SetBinContent(45,214503.7); h_SL1L338->SetBinContent(46,211566); h_SL1L338->SetBinContent(47,210457.1); h_SL1L338->SetBinContent(48,215246.8); h_SL1L338->SetBinContent(49,222425.5); h_SL1L338->SetBinContent(50,221831); h_SL1L338->SetBinContent(51,213372.1); h_SL1L338->SetBinContent(52,218001.6); h_SL1L338->SetBinContent(53,215018.1); h_SL1L338->SetBinContent(54,214160.8); h_SL1L338->SetBinContent(55,218333.1); h_SL1L338->SetBinContent(56,211588.8); h_SL1L338->SetBinContent(57,217395.8); h_SL1L338->SetBinContent(58,220173.5); h_SL1L338->SetBinContent(59,217452.9); h_SL1L338->SetMaximum(268580); 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,110732.6); h_SL1L439->SetBinContent(3,101587.8); h_SL1L439->SetBinContent(4,98329.93); h_SL1L439->SetBinContent(5,89562.31); h_SL1L439->SetBinContent(6,88373.48); h_SL1L439->SetBinContent(7,84509.78); h_SL1L439->SetBinContent(8,94203.32); h_SL1L439->SetBinContent(9,101256.3); h_SL1L439->SetBinContent(10,117694.1); h_SL1L439->SetBinContent(11,139904.7); h_SL1L439->SetBinContent(12,146157.5); h_SL1L439->SetBinContent(13,144831.5); h_SL1L439->SetBinContent(14,147895); h_SL1L439->SetBinContent(15,137915.7); h_SL1L439->SetBinContent(16,122312.3); h_SL1L439->SetBinContent(17,112584.5); h_SL1L439->SetBinContent(18,112847.4); h_SL1L439->SetBinContent(19,108995.1); h_SL1L439->SetBinContent(20,104434.1); h_SL1L439->SetBinContent(21,103108.1); h_SL1L439->SetBinContent(22,99050.09); h_SL1L439->SetBinContent(23,97998.43); h_SL1L439->SetBinContent(24,95266.41); h_SL1L439->SetBinContent(25,83881.08); h_SL1L439->SetBinContent(26,86167.29); h_SL1L439->SetBinContent(27,85127.06); h_SL1L439->SetBinContent(28,88865.02); h_SL1L439->SetBinContent(29,85652.89); h_SL1L439->SetBinContent(30,86087.27); h_SL1L439->SetBinContent(31,84749.84); h_SL1L439->SetBinContent(32,78337.02); h_SL1L439->SetBinContent(33,71112.59); h_SL1L439->SetBinContent(34,69660.84); h_SL1L439->SetBinContent(35,68574.89); h_SL1L439->SetBinContent(36,57909.72); h_SL1L439->SetBinContent(37,48181.89); h_SL1L439->SetBinContent(38,53348.73); h_SL1L439->SetBinContent(39,60687.46); h_SL1L439->SetBinContent(40,50982.5); h_SL1L439->SetBinContent(41,49725.09); h_SL1L439->SetBinContent(42,52125.61); h_SL1L439->SetBinContent(43,56343.66); h_SL1L439->SetBinContent(44,53188.7); h_SL1L439->SetBinContent(45,45632.77); h_SL1L439->SetBinContent(46,47507.46); h_SL1L439->SetBinContent(47,45598.48); h_SL1L439->SetBinContent(48,46787.3); h_SL1L439->SetBinContent(49,47358.86); h_SL1L439->SetBinContent(50,50502.4); h_SL1L439->SetBinContent(51,49667.93); h_SL1L439->SetBinContent(52,53303); h_SL1L439->SetBinContent(53,53017.23); h_SL1L439->SetBinContent(54,54354.66); h_SL1L439->SetBinContent(56,65534.23); h_SL1L439->SetBinContent(57,80623.23); h_SL1L439->SetBinContent(58,110058.2); h_SL1L439->SetBinContent(59,127101.9); h_SL1L439->SetMaximum(268580); 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,-34.5075,67.5,310.5675); 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,91.44843); h_SL2L140->SetMaximum(276.06); 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(276.06); 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,240.0521); h_SL2L342->SetMaximum(276.06); 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(276.06); 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,-1.643214,67.5,14.78893); 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(13.14571); 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(13.14571); 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(13.14571); 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,11.43105); h_SL3L447->SetMaximum(13.14571); 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 6272"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }