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");
8  pt->SetFillColor(kWhite);
9  pt->SetTextColor(4);
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");
14  pt->SetFillColor(kWhite);
15  text = pt->AddText("TEntryList");
16  pt->Draw();
17 
18  pt = new TPaveText(0.0363636,0.107527,0.306494,0.489247,"br");
19  pt->SetFillColor(kWhite);
20  pt->SetTextFont(42);
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");
26  pt->SetBorderSize(1);
27  pt->SetFillColor(kWhite);
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);
33  pt->SetFillColor(kWhite);
34  text = pt->AddText("entries 64000-127999");
35  pt->Draw();
36 
37  pt = new TPaveText(0.423773,0.423913,0.870801,0.576087,"br");
38  pt->SetFillColor(kWhite);
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:119
TPave::SetBorderSize
virtual void SetBorderSize(Int_t bordersize=4)
Definition: TPave.h:79
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
Definition: TText.h:22
TCanvas
Definition: TCanvas.h:23
arrow
Definition: RArrowDS.hxx:9
TArrow
Definition: TArrow.h:29
TPaveText
Definition: TPaveText.h:21
pt
TPaveText * pt
Definition: entrylist_figure1.C:7