13void bexec(
TString &dir,
const char *macro)
15 if (
gROOT->IsBatch()) printf(
"Processing benchmark: %s%s\n",dir.
Data(),macro);
35 bench1 =
new TCanvas(
"bench1",
"Benchmarks Summary",-1000,50,250,500);
40 summary->
AddText(
" visualisation/graphics/framework.C");
42 summary->
AddText(
" hist/hist007_TH1_liveupdate.C");
43 summary->
AddText(
" visualisation/graphics/formula1.C");
44 summary->
AddText(
" hist/hist001_TH1_fillrandom.C");
45 summary->
AddText(
" math/fit/fit1.C");
46 summary->
AddText(
" hist/hist015_TH1_read_and_draw.C");
47 summary->
AddText(
" visualisation/graphs/gr001_simple.C");
48 summary->
AddText(
" visualisation/graphs/gr002_errors.C");
49 summary->
AddText(
" visualisation/graphics/tornado.C");
50 summary->
AddText(
" visualisation/graphics/surfaces.C");
51 summary->
AddText(
" visualisation/graphs/gr303_zdemo.C");
52 summary->
AddText(
" legacy/g3d/geometry.C");
53 summary->
AddText(
" legacy/g3d/na49view.C");
54 summary->
AddText(
" io/tree/tree120_ntuple.C");
56 bexec(dir,
"visualisation/graphics/framework.C");
57 bexec(dir,
"hsimple.C");
58 bexec(dir,
"hist/hist007_TH1_liveupdate.C");
59 bexec(dir,
"visualisation/graphics/formula1.C");
60 bexec(dir,
"hist/hist001_TH1_fillrandom.C");
61 bexec(dir,
"math/fit/fit1.C");
62 bexec(dir,
"hist/hist015_TH1_read_and_draw.C");
63 bexec(dir,
"visualisation/graphs/gr001_simple.C");
64 bexec(dir,
"visualisation/graphs/gr002_errors.C");
65 bexec(dir,
"visualisation/graphics/tornado.C");
66 bexec(dir,
"visualisation/graphics/surfaces.C");
67 bexec(dir,
"visualisation/graphs/gr303_zdemo.C");
68 bexec(dir,
"legacy/g3d/geometry.C");
69 bexec(dir,
"legacy/g3d/na49view.C");
70 bexec(dir,
"io/tree/tree120_ntuple.C");
71 bexec(dir,
"legacy/rootmarks.C");
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
void Update() override
Update canvas pad buffers.
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
TObject * GetPrimitive(const char *name) const override
Get primitive.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
virtual TText * GetLineWith(const char *text) const
Get Pointer to first containing string text in this pavetext.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
Base class for several text objects.