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,-31784.06,67.5,286056.5); 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,98161.97); h_SL1L124->SetBinContent(2,100745.5); h_SL1L124->SetBinContent(3,99518.45); h_SL1L124->SetBinContent(4,89251.13); h_SL1L124->SetBinContent(5,74035.34); h_SL1L124->SetBinContent(6,78109.24); h_SL1L124->SetBinContent(7,76730.45); h_SL1L124->SetBinContent(8,81531.68); h_SL1L124->SetBinContent(9,78916.88); h_SL1L124->SetBinContent(10,79965.48); h_SL1L124->SetBinContent(11,80643.73); h_SL1L124->SetBinContent(12,75838.03); h_SL1L124->SetBinContent(13,73740.84); h_SL1L124->SetBinContent(14,65423.46); h_SL1L124->SetBinContent(15,58739.22); h_SL1L124->SetBinContent(16,57962.82); h_SL1L124->SetBinContent(17,58159.15); h_SL1L124->SetBinContent(18,58962.33); h_SL1L124->SetBinContent(19,61505.73); h_SL1L124->SetBinContent(20,57802.18); h_SL1L124->SetBinContent(21,59386.23); h_SL1L124->SetBinContent(22,57953.89); h_SL1L124->SetBinContent(23,54174.48); h_SL1L124->SetBinContent(24,47525.94); h_SL1L124->SetBinContent(25,44121.35); h_SL1L124->SetBinContent(26,47963.23); h_SL1L124->SetBinContent(27,46392.56); h_SL1L124->SetBinContent(28,48364.82); h_SL1L124->SetBinContent(29,49989.02); h_SL1L124->SetBinContent(30,47003.87); h_SL1L124->SetBinContent(31,47463.47); h_SL1L124->SetBinContent(32,43014.75); h_SL1L124->SetBinContent(33,45629.54); h_SL1L124->SetBinContent(34,46004.36); h_SL1L124->SetBinContent(35,45393.05); h_SL1L124->SetBinContent(36,43893.78); h_SL1L124->SetBinContent(37,43916.09); h_SL1L124->SetBinContent(38,49203.69); h_SL1L124->SetBinContent(39,46405.95); h_SL1L124->SetBinContent(40,42398.97); h_SL1L124->SetBinContent(41,45892.81); h_SL1L124->SetBinContent(42,46240.85); h_SL1L124->SetBinContent(43,46263.16); h_SL1L124->SetBinContent(44,46579.97); h_SL1L124->SetBinContent(45,44812.98); h_SL1L124->SetBinContent(46,40373.18); h_SL1L124->SetBinContent(47,40779.23); h_SL1L124->SetBinContent(48,41622.57); h_SL1L124->SetBinContent(49,45491.21); h_SL1L124->SetBinContent(50,48610.23); h_SL1L124->SetBinContent(51,51033.16); h_SL1L124->SetBinContent(52,50350.46); h_SL1L124->SetBinContent(53,48422.82); h_SL1L124->SetBinContent(54,48650.39); h_SL1L124->SetBinContent(55,50743.12); h_SL1L124->SetBinContent(56,59649.49); h_SL1L124->SetBinContent(57,80666.03); h_SL1L124->SetBinContent(58,95341.91); h_SL1L124->SetBinContent(59,107090.7); h_SL1L124->SetMaximum(254272.5); 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,172304.4); h_SL1L225->SetBinContent(2,175508.2); h_SL1L225->SetBinContent(3,185298.1); h_SL1L225->SetBinContent(4,189278.3); h_SL1L225->SetBinContent(5,190268.9); h_SL1L225->SetBinContent(6,200420.2); h_SL1L225->SetBinContent(7,198019.5); h_SL1L225->SetBinContent(8,209326.5); h_SL1L225->SetBinContent(9,205752.4); h_SL1L225->SetBinContent(10,201071.6); h_SL1L225->SetBinContent(11,218759.4); h_SL1L225->SetBinContent(12,215515.5); h_SL1L225->SetBinContent(13,221106.5); h_SL1L225->SetBinContent(14,216470.4); h_SL1L225->SetBinContent(15,214739.1); h_SL1L225->SetBinContent(16,198331.9); h_SL1L225->SetBinContent(17,191272.8); h_SL1L225->SetBinContent(18,206653.7); h_SL1L225->SetBinContent(19,209210.5); h_SL1L225->SetBinContent(20,204868.9); h_SL1L225->SetBinContent(21,211459.4); h_SL1L225->SetBinContent(22,210825.8); h_SL1L225->SetBinContent(23,205038.4); h_SL1L225->SetBinContent(24,196475.7); h_SL1L225->SetBinContent(25,195882.2); h_SL1L225->SetBinContent(26,176101.7); h_SL1L225->SetBinContent(27,180487.9); h_SL1L225->SetBinContent(28,192245.6); h_SL1L225->SetBinContent(29,205194.6); h_SL1L225->SetBinContent(30,213431.7); h_SL1L225->SetBinContent(31,215292.4); h_SL1L225->SetBinContent(32,214458); h_SL1L225->SetBinContent(33,216144.6); h_SL1L225->SetBinContent(34,210973); h_SL1L225->SetBinContent(35,198961); h_SL1L225->SetBinContent(36,196783.5); h_SL1L225->SetBinContent(37,187685.3); h_SL1L225->SetBinContent(38,194168.7); h_SL1L225->SetBinContent(39,196591.7); h_SL1L225->SetBinContent(40,199996.2); h_SL1L225->SetBinContent(41,199425.1); h_SL1L225->SetBinContent(42,206809.9); h_SL1L225->SetBinContent(43,218589.9); h_SL1L225->SetBinContent(44,217474.3); h_SL1L225->SetBinContent(45,209616.6); h_SL1L225->SetBinContent(46,207693.4); h_SL1L225->SetBinContent(47,203173.3); h_SL1L225->SetBinContent(48,208541.2); h_SL1L225->SetBinContent(49,210509); h_SL1L225->SetBinContent(50,215943.8); h_SL1L225->SetBinContent(51,212878.4); h_SL1L225->SetBinContent(52,211321.1); h_SL1L225->SetBinContent(53,218277.5); h_SL1L225->SetBinContent(54,209995.8); h_SL1L225->SetBinContent(55,213904.7); h_SL1L225->SetBinContent(56,209500.5); h_SL1L225->SetBinContent(57,207849.6); h_SL1L225->SetBinContent(58,213449.5); h_SL1L225->SetBinContent(59,213155); h_SL1L225->SetMaximum(254272.5); 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,167842.3); h_SL1L326->SetBinContent(2,176543.4); h_SL1L326->SetBinContent(3,180719.9); h_SL1L326->SetBinContent(4,186507.3); h_SL1L326->SetBinContent(5,190438.4); h_SL1L326->SetBinContent(6,193727); h_SL1L326->SetBinContent(7,199032.4); h_SL1L326->SetBinContent(8,207242.7); h_SL1L326->SetBinContent(9,195485.1); h_SL1L326->SetBinContent(10,205841.6); h_SL1L326->SetBinContent(11,210705.3); h_SL1L326->SetBinContent(12,213694.9); h_SL1L326->SetBinContent(13,209781.7); h_SL1L326->SetBinContent(14,208394); h_SL1L326->SetBinContent(15,196591.7); h_SL1L326->SetBinContent(16,190197.5); h_SL1L326->SetBinContent(17,196573.8); h_SL1L326->SetBinContent(18,204824.3); h_SL1L326->SetBinContent(19,199652.7); h_SL1L326->SetBinContent(20,203200); h_SL1L326->SetBinContent(21,202686.9); h_SL1L326->SetBinContent(22,196199); h_SL1L326->SetBinContent(23,191616.4); h_SL1L326->SetBinContent(24,188381.4); h_SL1L326->SetBinContent(25,179488.4); h_SL1L326->SetBinContent(26,173446.7); h_SL1L326->SetBinContent(27,185472.1); h_SL1L326->SetBinContent(28,198706.7); h_SL1L326->SetBinContent(29,206394.9); h_SL1L326->SetBinContent(30,204659.2); h_SL1L326->SetBinContent(31,208063.8); h_SL1L326->SetBinContent(32,207483.7); h_SL1L326->SetBinContent(33,204743.9); h_SL1L326->SetBinContent(34,200156.9); h_SL1L326->SetBinContent(35,192441.9); h_SL1L326->SetBinContent(36,184954.5); h_SL1L326->SetBinContent(37,183477.5); h_SL1L326->SetBinContent(38,186391.3); h_SL1L326->SetBinContent(39,193887.6); h_SL1L326->SetBinContent(40,189456.8); h_SL1L326->SetBinContent(41,194449.9); h_SL1L326->SetBinContent(42,209652.3); h_SL1L326->SetBinContent(43,215229.9); h_SL1L326->SetBinContent(44,208791.1); h_SL1L326->SetBinContent(45,198430.1); h_SL1L326->SetBinContent(46,200219.4); h_SL1L326->SetBinContent(47,201749.9); h_SL1L326->SetBinContent(48,202164.8); h_SL1L326->SetBinContent(49,211450.5); h_SL1L326->SetBinContent(50,207091); h_SL1L326->SetBinContent(51,202347.8); h_SL1L326->SetBinContent(52,206403.8); h_SL1L326->SetBinContent(53,203958.6); h_SL1L326->SetBinContent(54,203570.4); h_SL1L326->SetBinContent(55,203124.2); h_SL1L326->SetBinContent(56,199331.4); h_SL1L326->SetBinContent(57,203806.9); h_SL1L326->SetBinContent(58,206069.2); h_SL1L326->SetBinContent(59,205109.8); h_SL1L326->SetMaximum(254272.5); 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,84833.65); h_SL1L427->SetBinContent(3,76819.7); h_SL1L427->SetBinContent(4,73464.19); h_SL1L427->SetBinContent(5,69019.92); h_SL1L427->SetBinContent(6,65829.52); h_SL1L427->SetBinContent(7,64218.7); h_SL1L427->SetBinContent(8,71715.04); h_SL1L427->SetBinContent(9,77895.06); h_SL1L427->SetBinContent(10,92570.95); h_SL1L427->SetBinContent(11,105118.4); h_SL1L427->SetBinContent(12,112106.1); h_SL1L427->SetBinContent(13,114118.5); h_SL1L427->SetBinContent(14,115564.2); h_SL1L427->SetBinContent(15,105520); h_SL1L427->SetBinContent(16,95725.66); h_SL1L427->SetBinContent(17,85212.92); h_SL1L427->SetBinContent(18,84708.7); h_SL1L427->SetBinContent(19,81558.45); h_SL1L427->SetBinContent(20,75333.81); h_SL1L427->SetBinContent(21,76476.11); h_SL1L427->SetBinContent(22,74660.03); h_SL1L427->SetBinContent(23,71465.16); h_SL1L427->SetBinContent(24,71255.45); h_SL1L427->SetBinContent(25,61715.45); h_SL1L427->SetBinContent(26,62893.45); h_SL1L427->SetBinContent(27,61465.57); h_SL1L427->SetBinContent(28,64031.29); h_SL1L427->SetBinContent(29,61394.18); h_SL1L427->SetBinContent(30,61907.32); h_SL1L427->SetBinContent(31,60831.95); h_SL1L427->SetBinContent(32,56958.84); h_SL1L427->SetBinContent(33,49913.17); h_SL1L427->SetBinContent(34,50702.96); h_SL1L427->SetBinContent(35,50702.96); h_SL1L427->SetBinContent(36,41711.81); h_SL1L427->SetBinContent(37,34376.1); h_SL1L427->SetBinContent(38,38070.73); h_SL1L427->SetBinContent(39,44897.76); h_SL1L427->SetBinContent(40,36330.5); h_SL1L427->SetBinContent(41,35295.29); h_SL1L427->SetBinContent(42,39284.42); h_SL1L427->SetBinContent(43,40761.38); h_SL1L427->SetBinContent(44,39061.32); h_SL1L427->SetBinContent(45,33247.18); h_SL1L427->SetBinContent(46,35112.35); h_SL1L427->SetBinContent(47,33015.16); h_SL1L427->SetBinContent(48,32577.87); h_SL1L427->SetBinContent(49,33782.64); h_SL1L427->SetBinContent(50,35866.45); h_SL1L427->SetBinContent(51,36401.9); h_SL1L427->SetBinContent(52,38191.2); h_SL1L427->SetBinContent(53,37080.14); h_SL1L427->SetBinContent(54,39632.46); h_SL1L427->SetBinContent(55,4.462111); h_SL1L427->SetBinContent(56,48489.75); h_SL1L427->SetBinContent(57,58944.48); h_SL1L427->SetBinContent(58,87247.65); h_SL1L427->SetBinContent(59,95083.11); h_SL1L427->SetMaximum(254272.5); 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.12714,67.5,352.1442); 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,84.7801); h_SL2L128->SetMaximum(313.0171); 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(313.0171); 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,272.1888); h_SL2L330->SetMaximum(313.0171); 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(313.0171); 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.282857,67.5,11.54571); 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(10.26285); 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(10.26285); 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(10.26285); 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,8.924221); h_SL3L435->SetMaximum(10.26285); 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,-31805.35,67.5,286248.2); 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,97177.62); h_SL1L136->SetBinContent(2,99938.77); h_SL1L136->SetBinContent(3,99951.27); h_SL1L136->SetBinContent(4,90181.03); h_SL1L136->SetBinContent(5,73863.99); h_SL1L136->SetBinContent(6,77912.02); h_SL1L136->SetBinContent(7,76425.24); h_SL1L136->SetBinContent(8,81135.45); h_SL1L136->SetBinContent(9,78961.51); h_SL1L136->SetBinContent(10,79461.26); h_SL1L136->SetBinContent(11,79923.53); h_SL1L136->SetBinContent(12,74588.63); h_SL1L136->SetBinContent(13,72177.31); h_SL1L136->SetBinContent(14,65143.24); h_SL1L136->SetBinContent(15,59396.04); h_SL1L136->SetBinContent(16,58071.69); h_SL1L136->SetBinContent(17,58683.89); h_SL1L136->SetBinContent(18,60095.7); h_SL1L136->SetBinContent(19,61619.96); h_SL1L136->SetBinContent(20,56335.04); h_SL1L136->SetBinContent(21,58633.91); h_SL1L136->SetBinContent(22,58908.78); h_SL1L136->SetBinContent(23,53598.87); h_SL1L136->SetBinContent(24,46852.16); h_SL1L136->SetBinContent(25,43866.11); h_SL1L136->SetBinContent(26,47914.14); h_SL1L136->SetBinContent(27,46065.04); h_SL1L136->SetBinContent(28,48813.7); h_SL1L136->SetBinContent(29,50425.42); h_SL1L136->SetBinContent(30,47251.96); h_SL1L136->SetBinContent(31,47589.3); h_SL1L136->SetBinContent(32,42704.18); h_SL1L136->SetBinContent(33,45327.9); h_SL1L136->SetBinContent(34,45977.59); h_SL1L136->SetBinContent(35,44628.24); h_SL1L136->SetBinContent(36,43791.15); h_SL1L136->SetBinContent(37,43491.3); h_SL1L136->SetBinContent(38,47701.74); h_SL1L136->SetBinContent(39,47301.94); h_SL1L136->SetBinContent(40,41354.84); h_SL1L136->SetBinContent(41,46140); h_SL1L136->SetBinContent(42,46065.04); h_SL1L136->SetBinContent(43,46777.2); h_SL1L136->SetBinContent(44,47139.52); h_SL1L136->SetBinContent(45,45752.7); h_SL1L136->SetBinContent(46,40055.47); h_SL1L136->SetBinContent(47,41079.97); h_SL1L136->SetBinContent(48,41717.16); h_SL1L136->SetBinContent(49,45352.89); h_SL1L136->SetBinContent(50,48051.57); h_SL1L136->SetBinContent(51,50175.54); h_SL1L136->SetBinContent(52,49800.72); h_SL1L136->SetBinContent(53,48251.48); h_SL1L136->SetBinContent(54,49513.36); h_SL1L136->SetBinContent(55,50075.59); h_SL1L136->SetBinContent(56,59208.63); h_SL1L136->SetBinContent(57,80798.11); h_SL1L136->SetBinContent(58,94553.91); h_SL1L136->SetBinContent(59,106410.6); h_SL1L136->SetMaximum(254442.8); 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,172728.3); h_SL1L237->SetBinContent(2,176201.6); h_SL1L237->SetBinContent(3,185597); h_SL1L237->SetBinContent(4,191169.3); h_SL1L237->SetBinContent(5,189957.4); h_SL1L237->SetBinContent(6,200002.5); h_SL1L237->SetBinContent(7,197053.9); h_SL1L237->SetBinContent(8,210372.4); h_SL1L237->SetBinContent(9,205999.6); h_SL1L237->SetBinContent(10,202601.2); h_SL1L237->SetBinContent(11,217344); h_SL1L237->SetBinContent(12,216119.6); h_SL1L237->SetBinContent(13,221254.6); h_SL1L237->SetBinContent(14,215157.6); h_SL1L237->SetBinContent(15,213958.2); h_SL1L237->SetBinContent(16,198565.7); h_SL1L237->SetBinContent(17,188932.9); h_SL1L237->SetBinContent(18,206311.9); h_SL1L237->SetBinContent(19,208648.3); h_SL1L237->SetBinContent(20,205225); h_SL1L237->SetBinContent(21,209835.2); h_SL1L237->SetBinContent(22,212646.3); h_SL1L237->SetBinContent(23,206049.5); h_SL1L237->SetBinContent(24,197641.1); h_SL1L237->SetBinContent(25,196616.6); h_SL1L237->SetBinContent(26,175514.4); h_SL1L237->SetBinContent(27,179912.3); h_SL1L237->SetBinContent(28,190469.6); h_SL1L237->SetBinContent(29,205449.8); h_SL1L237->SetBinContent(30,213595.9); h_SL1L237->SetBinContent(31,215082.6); h_SL1L237->SetBinContent(32,214283); h_SL1L237->SetBinContent(33,217006.7); h_SL1L237->SetBinContent(34,212334); h_SL1L237->SetBinContent(35,201476.8); h_SL1L237->SetBinContent(36,196379.3); h_SL1L237->SetBinContent(37,184884.9); h_SL1L237->SetBinContent(38,191619.1); h_SL1L237->SetBinContent(39,198303.3); h_SL1L237->SetBinContent(40,198840.6); h_SL1L237->SetBinContent(41,196866.5); h_SL1L237->SetBinContent(42,208048.6); h_SL1L237->SetBinContent(43,218181.1); h_SL1L237->SetBinContent(44,220092.7); h_SL1L237->SetBinContent(45,209397.9); h_SL1L237->SetBinContent(46,210459.9); h_SL1L237->SetBinContent(47,202638.7); h_SL1L237->SetBinContent(48,208798.2); h_SL1L237->SetBinContent(49,212633.8); h_SL1L237->SetBinContent(50,216382); h_SL1L237->SetBinContent(51,210684.8); h_SL1L237->SetBinContent(52,211846.7); h_SL1L237->SetBinContent(53,216307); h_SL1L237->SetBinContent(54,207224); h_SL1L237->SetBinContent(55,211509.4); h_SL1L237->SetBinContent(56,210547.4); h_SL1L237->SetBinContent(57,207373.9); h_SL1L237->SetBinContent(58,213870.7); h_SL1L237->SetBinContent(59,211134.6); h_SL1L237->SetMaximum(254442.8); 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,166506.3); h_SL1L338->SetBinContent(2,177088.7); h_SL1L338->SetBinContent(3,182348.6); h_SL1L338->SetBinContent(4,184085.2); h_SL1L338->SetBinContent(5,188320.7); h_SL1L338->SetBinContent(6,192468.7); h_SL1L338->SetBinContent(7,201976.5); h_SL1L338->SetBinContent(8,207698.7); h_SL1L338->SetBinContent(9,193980.4); h_SL1L338->SetBinContent(10,203500.8); h_SL1L338->SetBinContent(11,210384.9); h_SL1L338->SetBinContent(12,213171.1); h_SL1L338->SetBinContent(13,207261.5); h_SL1L338->SetBinContent(14,207511.3); h_SL1L338->SetBinContent(15,197303.8); h_SL1L338->SetBinContent(16,191694); h_SL1L338->SetBinContent(17,195754.6); h_SL1L338->SetBinContent(18,205225); h_SL1L338->SetBinContent(19,200727.1); h_SL1L338->SetBinContent(20,203163.5); h_SL1L338->SetBinContent(21,201526.8); h_SL1L338->SetBinContent(22,194167.8); h_SL1L338->SetBinContent(23,188320.7); h_SL1L338->SetBinContent(24,185084.8); h_SL1L338->SetBinContent(25,180974.3); h_SL1L338->SetBinContent(26,174864.8); h_SL1L338->SetBinContent(27,185821.9); h_SL1L338->SetBinContent(28,198353.3); h_SL1L338->SetBinContent(29,205749.7); h_SL1L338->SetBinContent(30,204612.8); h_SL1L338->SetBinContent(31,207249); h_SL1L338->SetBinContent(32,205000.1); h_SL1L338->SetBinContent(33,206599.3); h_SL1L338->SetBinContent(34,200452.3); h_SL1L338->SetBinContent(35,191656.6); h_SL1L338->SetBinContent(36,184909.8); h_SL1L338->SetBinContent(37,182760.9); h_SL1L338->SetBinContent(38,184934.8); h_SL1L338->SetBinContent(39,191968.9); h_SL1L338->SetBinContent(40,190082.3); h_SL1L338->SetBinContent(41,195517.2); h_SL1L338->SetBinContent(42,210659.8); h_SL1L338->SetBinContent(43,214195.6); h_SL1L338->SetBinContent(44,209248); h_SL1L338->SetBinContent(45,196666.6); h_SL1L338->SetBinContent(46,201764.1); h_SL1L338->SetBinContent(47,202401.3); h_SL1L338->SetBinContent(48,203313.4); h_SL1L338->SetBinContent(49,210634.8); h_SL1L338->SetBinContent(50,204412.8); h_SL1L338->SetBinContent(51,200352.3); h_SL1L338->SetBinContent(52,203438.3); h_SL1L338->SetBinContent(53,205312.4); h_SL1L338->SetBinContent(54,204700.2); h_SL1L338->SetBinContent(55,204013); h_SL1L338->SetBinContent(56,197341.3); h_SL1L338->SetBinContent(57,205537.3); h_SL1L338->SetBinContent(58,206961.6); h_SL1L338->SetBinContent(59,204950.1); h_SL1L338->SetMaximum(254442.8); 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,85370.88); h_SL1L439->SetBinContent(3,76512.7); h_SL1L439->SetBinContent(4,73376.73); h_SL1L439->SetBinContent(5,69016.35); h_SL1L439->SetBinContent(6,65330.65); h_SL1L439->SetBinContent(7,63156.71); h_SL1L439->SetBinContent(8,70915.43); h_SL1L439->SetBinContent(9,78036.95); h_SL1L439->SetBinContent(10,93916.71); h_SL1L439->SetBinContent(11,105561); h_SL1L439->SetBinContent(12,110995.9); h_SL1L439->SetBinContent(13,112770); h_SL1L439->SetBinContent(14,116418.2); h_SL1L439->SetBinContent(15,104199.2); h_SL1L439->SetBinContent(16,96003.2); h_SL1L439->SetBinContent(17,85745.7); h_SL1L439->SetBinContent(18,84059.02); h_SL1L439->SetBinContent(19,81572.73); h_SL1L439->SetBinContent(20,75175.85); h_SL1L439->SetBinContent(21,75813.04); h_SL1L439->SetBinContent(22,74451.2); h_SL1L439->SetBinContent(23,71090.34); h_SL1L439->SetBinContent(24,71602.59); h_SL1L439->SetBinContent(25,61282.62); h_SL1L439->SetBinContent(26,61182.67); h_SL1L439->SetBinContent(27,60795.36); h_SL1L439->SetBinContent(28,64543.54); h_SL1L439->SetBinContent(29,61032.75); h_SL1L439->SetBinContent(30,61182.67); h_SL1L439->SetBinContent(31,62706.93); h_SL1L439->SetBinContent(32,56385.01); h_SL1L439->SetBinContent(33,51299.99); h_SL1L439->SetBinContent(34,52062.12); h_SL1L439->SetBinContent(35,51999.65); h_SL1L439->SetBinContent(36,41417.31); h_SL1L439->SetBinContent(37,34858); h_SL1L439->SetBinContent(38,38368.79); h_SL1L439->SetBinContent(39,43903.6); h_SL1L439->SetBinContent(40,36744.59); h_SL1L439->SetBinContent(41,35207.84); h_SL1L439->SetBinContent(42,39943.03); h_SL1L439->SetBinContent(43,41467.29); h_SL1L439->SetBinContent(44,38106.42); h_SL1L439->SetBinContent(45,33758.54); h_SL1L439->SetBinContent(46,36107.4); h_SL1L439->SetBinContent(47,33446.2); h_SL1L439->SetBinContent(48,32496.66); h_SL1L439->SetBinContent(49,34145.85); h_SL1L439->SetBinContent(50,34870.5); h_SL1L439->SetBinContent(51,36907.01); h_SL1L439->SetBinContent(52,37781.58); h_SL1L439->SetBinContent(53,37019.45); h_SL1L439->SetBinContent(54,39805.59); h_SL1L439->SetBinContent(55,12.49391); h_SL1L439->SetBinContent(56,48413.9); h_SL1L439->SetBinContent(57,58983.74); h_SL1L439->SetBinContent(58,86645.26); h_SL1L439->SetBinContent(59,94953.71); h_SL1L439->SetMaximum(254442.8); 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,-39.51199,67.5,355.6079); 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,112.4452); h_SL2L140->SetMaximum(316.0959); 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(316.0959); 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,274.866); h_SL2L342->SetMaximum(316.0959); 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(316.0959); 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 6273"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }