void TimeBox_Run6666_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:40:22 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 *hTimeBox_SL11 = new TH1D("hTimeBox_SL11","",550,0,5500); hTimeBox_SL11->SetDirectory(0); hTimeBox_SL11->SetStats(0); hTimeBox_SL11->SetLineColor(2); hTimeBox_SL11->SetLineWidth(2); hTimeBox_SL11->GetXaxis()->SetTitle("Time (ns)"); hTimeBox_SL11->GetXaxis()->SetLabelFont(42); hTimeBox_SL11->GetXaxis()->SetLabelSize(0.035); hTimeBox_SL11->GetXaxis()->SetTitleSize(0.035); hTimeBox_SL11->GetXaxis()->SetTitleFont(42); hTimeBox_SL11->GetYaxis()->SetTitle("Number of digis"); hTimeBox_SL11->GetYaxis()->SetLabelFont(42); hTimeBox_SL11->GetYaxis()->SetLabelSize(0.035); hTimeBox_SL11->GetYaxis()->SetTitleSize(0.035); hTimeBox_SL11->GetYaxis()->SetTitleOffset(1.45); hTimeBox_SL11->GetYaxis()->SetTitleFont(42); hTimeBox_SL11->GetZaxis()->SetLabelFont(42); hTimeBox_SL11->GetZaxis()->SetLabelSize(0.035); hTimeBox_SL11->GetZaxis()->SetTitleSize(0.035); hTimeBox_SL11->GetZaxis()->SetTitleFont(42); hTimeBox_SL11->Draw("l"); TLatex * tex = new TLatex(0.12,0.93,"SL1"); 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 6666"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }