void file(){
c1->Range(0,-0.25,21,14);
arrow->SetFillStyle(1001);
arrow->DrawArrow( 10.6,8, 10.6, 8.4,0.01,
"|>");
arrow->DrawArrow( 14.6,11.5, 14.6,11.1,0.01,
"|>");
vert->
DrawText(2.9, 9.75,
"Logical Record");
vert->
DrawText(7.3, 9.75,
"Logical Record");
vert->
DrawText(10.9,9.75,
"Logical Record");
vert->
DrawText(14.9,9.75,
"Logical Record");
arrow->DrawArrow( 2.6,7, 2.6,8.4,0.01,
"|>");
arrow->DrawArrow( 20,7, 20,8.4,0.01,
"|>");
header->
AddText(
"\"root\": Root File Identifier");
header->
AddText(
"fVersion: File version identifier");
header->
AddText(
"fBEGIN: Pointer to first data record");
header->
AddText(
"fEND: Pointer to first free word at EOF");
header->
AddText(
"fSeekFree: Pointer to FREE data record");
header->
AddText(
"fNbytesFree: Number of bytes in FREE");
header->
AddText(
"fNfree: Number of free data records");
header->
AddText(
"fNbytesName: Number of bytes in name/title");
header->
AddText(
"fUnits: Number of bytes for pointers");
header->
AddText(
"fCompress: Compression level");
TText *tlrh = lrecord->
AddText(
"Logical Record Header (TKEY)");
lrecord->
AddText(
"fNbytes: Length of compressed object");
lrecord->
AddText(
"fVersion: Key version identifier");
lrecord->
AddText(
"fObjLen: Length of uncompressed object");
lrecord->
AddText(
"fDatime: Date/Time when written to store");
lrecord->
AddText(
"fKeylen: Number of bytes for the key");
lrecord->
AddText(
"fCycle : Cycle number");
lrecord->
AddText(
"fSeekKey: Pointer to object on file");
lrecord->
AddText(
"fSeekPdir: Pointer to directory on file");
lrecord->
AddText(
"fClassName: class name of the object");
lrecord->
AddText(
"fName: name of the object");
lrecord->
AddText(
"fTitle: title of the object");
}
Draw all kinds of Arrows.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
Use the TLine constructor to create a simple line.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
A Pave (see TPave) with a text centered in the Pave.
void Draw(Option_t *option="") override
Draw this pavelabel with its current attributes.
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.
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.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
A TBox with a bordersize and a shadow option.
void Draw(Option_t *option="") override
Draw this pave with its current attributes.
virtual TPave * DrawPave(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t bordersize=4, Option_t *option="br")
Draw this pave with new coordinates.
Base class for several text objects.
virtual TText * DrawText(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates.
void Print(Option_t *option="") const override
Dump this text with its attributes.