Logo ROOT  
Reference Guide
entrylist_figure1.C
Go to the documentation of this file.
1 {
2  TCanvas *c = new TCanvas("c", "c",213,172,460,253);
3  c->Range(0,0,1,1);
4  c->SetBorderSize(2);
5  c->SetFrameFillColor(0);
6 
7  TPaveText *pt = new TPaveText(0.00518135,0.810811,0.507772,0.989189,"br");
10  TText *text = pt->AddText("TEntryList for a TTree");
11  pt->Draw();
12 
13  pt = new TPaveText(0.0387597,0.483696,0.307494,0.657609,"br");
15  text = pt->AddText("TEntryList");
16  pt->Draw();
17 
18  pt = new TPaveText(0.0363636,0.107527,0.306494,0.489247,"br");
21  text = pt->AddText("fBlocks");
22  text = pt->AddText("fLists = 0");
23  pt->Draw();
24 
25  pt = new TPaveText(0.338501,0.23913,0.627907,0.375,"br");
28  text = pt->AddText("Info on entries 0-63999");
29  pt->Draw();
30 
31  pt = new TPaveText(0.643411,0.23913,0.989664,0.375,"br");
32  pt->SetBorderSize(1);
34  text = pt->AddText("entries 64000-127999");
35  pt->Draw();
36 
37  pt = new TPaveText(0.423773,0.423913,0.870801,0.576087,"br");
39  text = pt->AddText("TObjArray of TEntryListBlock objects");
40  pt->Draw();
41  TArrow *arrow = new TArrow(0.277202,0.356757,0.418605,0.505435,0.05,">");
42  arrow->SetFillColor(1);
43  arrow->SetFillStyle(1001);
44  arrow->Draw();
45 }
c
#define c(i)
Definition: RSha256.hxx:101
TPave::SetBorderSize
virtual void SetBorderSize(Int_t bordersize=4)
Definition: TPave.h:73
TAttText::SetTextColor
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
Definition: TAttText.h:43
text
TText * text
Definition: entrylist_figure1.C:10
TPaveText::Draw
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
Definition: TPaveText.cxx:234
kWhite
@ kWhite
Definition: Rtypes.h:65
TPaveText::AddText
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
Definition: TPaveText.cxx:183
TText
Base class for several text objects.
Definition: TText.h:22
TCanvas
The Canvas class.
Definition: TCanvas.h:23
arrow
Definition: RArrowDS.hxx:9
TAttFill::SetFillColor
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Definition: TAttFill.h:37
TArrow
Draw all kinds of Arrows.
Definition: TArrow.h:29
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:21
pt
TPaveText * pt
Definition: entrylist_figure1.C:7
TAttText::SetTextFont
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
Definition: TAttText.h:45