void TimeBoxT_Run7639_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 28 12:06:15 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); TH1D *hTimeBox2_SL14 = new TH1D("hTimeBox2_SL14","",1,-1199,-399); hTimeBox2_SL14->SetStats(0); hTimeBox2_SL14->SetLineColor(2); hTimeBox2_SL14->SetLineWidth(2); hTimeBox2_SL14->GetXaxis()->SetTitle("Time (ns)"); hTimeBox2_SL14->GetXaxis()->SetLabelFont(42); hTimeBox2_SL14->GetXaxis()->SetLabelSize(0.035); hTimeBox2_SL14->GetXaxis()->SetTitleSize(0.035); hTimeBox2_SL14->GetXaxis()->SetTitleFont(42); hTimeBox2_SL14->GetYaxis()->SetTitle("Number of digis"); hTimeBox2_SL14->GetYaxis()->SetLabelFont(42); hTimeBox2_SL14->GetYaxis()->SetLabelSize(0.035); hTimeBox2_SL14->GetYaxis()->SetTitleSize(0.035); hTimeBox2_SL14->GetYaxis()->SetTitleOffset(1.45); hTimeBox2_SL14->GetYaxis()->SetTitleFont(42); hTimeBox2_SL14->GetZaxis()->SetLabelFont(42); hTimeBox2_SL14->GetZaxis()->SetLabelSize(0.035); hTimeBox2_SL14->GetZaxis()->SetTitleSize(0.035); hTimeBox2_SL14->GetZaxis()->SetTitleFont(42); hTimeBox2_SL14->Draw("l"); TLatex * tex = new TLatex(0.12,0.93,"SL1"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3,0.93,"Used ttrig: -999"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); TPaveText *pt = new TPaveText(-2.353437e-185,-2.353437e-185,-2.353437e-185,-2.353437e-185,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.05); AText = pt->AddText("Run 7639"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }