11 TCanvas* c1 =
new TCanvas(
"c1",
"Tree Data Structure",200,10,750,940);
12 c1->
Range(0,-0.1,1,1.15);
16 Int_t branchcolor = 26;
18 Int_t basketcolor = 42;
19 Int_t offsetcolor = 43;
29 treePave->
AddText(
"fScanField");
30 treePave->
AddText(
"fMaxEventLoop");
31 treePave->
AddText(
"fMaxVirtualSize");
33 treePave->
AddText(
"fDimension");
34 treePave->
AddText(
"fSelectedRows");
78 firstevent->
AddText(
"First event of each basket");
79 firstevent->
AddText(
"Array of fMaxBaskets Integers");
93 offset->
AddText(
"Offset of events in fBuffer");
94 offset->
AddText(
"Array of fEventOffsetLen Integers");
95 offset->
AddText(
"(if variable length structure)");
99 buffer->
AddText(
"Basket buffer");
100 buffer->
AddText(
"Array of fBasketSize chars");
104 zipbuffer->
AddText(
"Basket compressed buffer");
105 zipbuffer->
AddText(
"(if compression)");
113 ar1->
DrawArrow(.21,.275,.39,.275,0.015,
"|>");
114 ar1->
DrawArrow(.23,.375,.39,.375,0.015,
"|>");
115 ar1->
DrawArrow(.25,.775,.39,.775,0.015,
"|>");
116 ar1->
DrawArrow(.50,.775,.59,.775,0.015,
"|>");
117 ar1->
DrawArrow(.70,.775,.79,.775,0.015,
"|>");
118 ar1->
DrawArrow(.50,.275,.59,.275,0.015,
"|>");
119 ar1->
DrawArrow(.70,.275,.79,.275,0.015,
"|>");
120 ar1->
DrawArrow(.45,.175,.54,.175,0.015,
"|>");
121 ar1->
DrawArrow(.43,.075,.54,.075,0.015,
"|>");
122 ar1->
DrawArrow(.41,-.025,.54,-.025,0.015,
"|>");
130 TText* pname =
new TText(.46,.21,
"fEventOffset");
135 pname->
DrawText(.42,.01,
"fZipBuffer");
136 pname->
DrawText(.26,.81,
"fLeaves = TObjArray of TLeaf");
137 pname->
DrawText(.24,.40,
"fBasketEvent");
138 pname->
DrawText(.22,.31,
"fBaskets = TObjArray of TBasket");
139 pname->
DrawText(.20,1.0,
"fBranches = TObjArray of TBranch");
144 ntleaf->
AddText(
"fLen: number of fixed elements");
145 ntleaf->
AddText(
"fLenType: number of bytes of data type");
146 ntleaf->
AddText(
"fOffset: relative to Leaf0-fAddress");
147 ntleaf->
AddText(
"fNbytesIO: number of bytes used for I/O");
148 ntleaf->
AddText(
"fIsPointer: True if pointer");
149 ntleaf->
AddText(
"fIsRange: True if leaf has a range");
150 ntleaf->
AddText(
"fIsUnsigned: True if unsigned");
151 ntleaf->
AddText(
"*fLeafCount: points to Leaf counter");
154 ntleaf->
AddText(
"fName = Leaf name");
155 ntleaf->
AddText(
"fTitle = Leaf type (see Type codes)");
161 type->
AddText(
"C : a character string");
162 type->
AddText(
"B : an 8 bit signed integer");
163 type->
AddText(
"b : an 8 bit unsigned integer");
164 type->
AddText(
"S : a 16 bit signed short integer");
165 type->
AddText(
"s : a 16 bit unsigned short integer");
166 type->
AddText(
"I : a 32 bit signed integer");
167 type->
AddText(
"i : a 32 bit unsigned integer");
168 type->
AddText(
"F : a 32 bit floating point");
169 type->
AddText(
"D : a 64 bit floating point");
170 type->
AddText(
"TXXXX : a class name TXXXX");
181 ntbasket->
AddText(
"fNbytes: Size of compressed Basket");
182 ntbasket->
AddText(
"fObjLen: Size of uncompressed Basket");
183 ntbasket->
AddText(
"fDatime: Date/Time when written to store");
184 ntbasket->
AddText(
"fKeylen: Number of bytes for the key");
185 ntbasket->
AddText(
"fCycle : Cycle number");
186 ntbasket->
AddText(
"fSeekKey: Pointer to Basket on file");
187 ntbasket->
AddText(
"fSeekPdir: Pointer to directory on file");
188 ntbasket->
AddText(
"fClassName: 'TBasket'");
189 ntbasket->
AddText(
"fName: Branch name");
190 ntbasket->
AddText(
"fTitle: TreePave name");
193 ntbasket->
AddText(
"fNevBuf: Number of events in Basket");
194 ntbasket->
AddText(
"fLast: pointer to last used byte in Basket");
203 ntbranch->
AddText(
"fBasketSize");
204 ntbranch->
AddText(
"fEventOffsetLen");
205 ntbranch->
AddText(
"fMaxBaskets");
207 ntbranch->
AddText(
"fAddress of Leaf0");
210 ntbranch->
AddText(
"fName: Branchname");
211 ntbranch->
AddText(
"fTitle: leaflist");
218 basketstore->
AddText(
"Baskets");
219 basketstore->
AddText(
"Stores");
virtual void SetLineWidth(Width_t lwidth)
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
virtual TLine * AddLine(Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0)
Add a new graphics line to this pavetext.
virtual void DrawArrow(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Float_t arrowsize=0, Option_t *option="")
Draw this arrow with new coordinates.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void SetFillStyle(Style_t fstyle)
virtual void Draw(Option_t *option="")
Draw this pavestext with its current attributes.
virtual void SetTextFont(Font_t tfont=62)
virtual void Start(const char *name)
Starts Benchmark with the specified name.
Base class for several text objects.
virtual void SetTextAlign(Short_t align=11)
A Pave (see TPave) with a text centered in the Pave.
virtual void SetLineColor(Color_t lcolor)
virtual void SetFillColor(Color_t fcolor)
virtual void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Set world coordinate system for the pad.
R__EXTERN TBenchmark * gBenchmark
const char * GetTitle() const
Returns title of object.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void Draw(Option_t *option="")
Draw this pavelabel with its current attributes.
virtual void SetLineStyle(Style_t lstyle)
virtual TText * DrawText(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates.
virtual void SetTextSize(Float_t tsize=1)
virtual void Update()
Update canvas pad buffers.
Draw all kinds of Arrows.
A PaveText (see TPaveText) with several stacked paves.