void TimeBoxT_Run6162_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:17:32 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_SL36 = new TH1D("hTimeBox2_SL36","",80,830,1630); hTimeBox2_SL36->SetEntries(80); hTimeBox2_SL36->SetStats(0); hTimeBox2_SL36->SetLineColor(4); hTimeBox2_SL36->SetLineWidth(2); hTimeBox2_SL36->GetXaxis()->SetTitle("Time (ns)"); hTimeBox2_SL36->GetXaxis()->SetLabelFont(42); hTimeBox2_SL36->GetXaxis()->SetLabelSize(0.035); hTimeBox2_SL36->GetXaxis()->SetTitleSize(0.035); hTimeBox2_SL36->GetXaxis()->SetTitleFont(42); hTimeBox2_SL36->GetYaxis()->SetTitle("Number of digis"); hTimeBox2_SL36->GetYaxis()->SetLabelFont(42); hTimeBox2_SL36->GetYaxis()->SetLabelSize(0.035); hTimeBox2_SL36->GetYaxis()->SetTitleSize(0.035); hTimeBox2_SL36->GetYaxis()->SetTitleOffset(1.45); hTimeBox2_SL36->GetYaxis()->SetTitleFont(42); hTimeBox2_SL36->GetZaxis()->SetLabelFont(42); hTimeBox2_SL36->GetZaxis()->SetLabelSize(0.035); hTimeBox2_SL36->GetZaxis()->SetTitleSize(0.035); hTimeBox2_SL36->GetZaxis()->SetTitleFont(42); hTimeBox2_SL36->Draw("l"); TLatex * tex = new TLatex(0.12,0.93,"SL3"); tex->SetNDC(); tex->SetTextAlign(12); tex->SetTextFont(42); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.3,0.93,"Used ttrig: 1030"); 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 6162"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }