void TimeBoxT_Run5403_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:42:34 2019) 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_SL25 = new TH1D("hTimeBox2_SL25","",80,1650,2450); hTimeBox2_SL25->SetEntries(80); hTimeBox2_SL25->SetStats(0); hTimeBox2_SL25->SetLineColor(3); hTimeBox2_SL25->SetLineWidth(2); hTimeBox2_SL25->GetXaxis()->SetTitle("Time (ns)"); hTimeBox2_SL25->GetXaxis()->SetLabelFont(42); hTimeBox2_SL25->GetXaxis()->SetLabelSize(0.035); hTimeBox2_SL25->GetXaxis()->SetTitleSize(0.035); hTimeBox2_SL25->GetXaxis()->SetTitleFont(42); hTimeBox2_SL25->GetYaxis()->SetTitle("Number of digis"); hTimeBox2_SL25->GetYaxis()->SetLabelFont(42); hTimeBox2_SL25->GetYaxis()->SetLabelSize(0.035); hTimeBox2_SL25->GetYaxis()->SetTitleSize(0.035); hTimeBox2_SL25->GetYaxis()->SetTitleOffset(1.45); hTimeBox2_SL25->GetYaxis()->SetTitleFont(42); hTimeBox2_SL25->GetZaxis()->SetLabelFont(42); hTimeBox2_SL25->GetZaxis()->SetLabelSize(0.035); hTimeBox2_SL25->GetZaxis()->SetTitleSize(0.035); hTimeBox2_SL25->GetZaxis()->SetTitleFont(42); hTimeBox2_SL25->Draw("l"); TLatex * tex = new TLatex(0.12,0.93,"SL2"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3,0.93,"Used ttrig: 1850"); 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 5403"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }