12 TCanvas *c1 =
new TCanvas(
"c1",
"ROOT File description",200,10,700,550);
14 c1->
Range(0,-0.25,21,14);
37 ldot->
DrawLine(11.3, 8.5, 19.5, 6.5);
46 arrow->
DrawArrow( 10.6,8, 10.6, 8.4,0.01,
"|>");
47 line->
DrawLine( 10.6, 11, 10.6, 11.5);
48 line->
DrawLine( 10.6, 11.5, 14.6, 11.5);
49 arrow->
DrawArrow( 14.6,11.5, 14.6,11.1,0.01,
"|>");
50 line->
DrawLine( 14.6, 8.5, 14.6, 8.0);
59 vert->
DrawText(2.9, 9.75,
"Logical Record");
61 vert->
DrawText(7.3, 9.75,
"Logical Record");
63 vert->
DrawText(10.9,9.75,
"Logical Record");
65 vert->
DrawText(14.9,9.75,
"Logical Record");
76 TText *tbig =
new TText(17,9.75,
"............");
82 arrow->
DrawArrow( 2.6,7, 2.6,8.4,0.01,
"|>");
83 arrow->
DrawArrow( 20,7, 20,8.4,0.01,
"|>");
96 header->
AddText(
"\"root\": Root File Identifier");
97 header->
AddText(
"fVersion: File version identifier");
98 header->
AddText(
"fBEGIN: Pointer to first data record");
99 header->
AddText(
"fEND: Pointer to first free word at EOF");
100 header->
AddText(
"fSeekFree: Pointer to FREE data record");
101 header->
AddText(
"fNbytesFree: Number of bytes in FREE");
102 header->
AddText(
"fNfree: Number of free data records");
103 header->
AddText(
"fNbytesName: Number of bytes in name/title");
104 header->
AddText(
"fUnits: Number of bytes for pointers");
105 header->
AddText(
"fCompress: Compression level");
111 TText *tlrh=lrecord->
AddText(
"Logical Record Header (TKEY)");
118 lrecord->
AddText(
"fNbytes: Length of compressed object");
119 lrecord->
AddText(
"fVersion: Key version identifier");
120 lrecord->
AddText(
"fObjLen: Length of uncompressed object");
121 lrecord->
AddText(
"fDatime: Date/Time when written to store");
122 lrecord->
AddText(
"fKeylen: Number of bytes for the key");
123 lrecord->
AddText(
"fCycle : Cycle number");
124 lrecord->
AddText(
"fSeekKey: Pointer to object on file");
125 lrecord->
AddText(
"fSeekPdir: Pointer to directory on file");
126 lrecord->
AddText(
"fClassName: class name of the object");
127 lrecord->
AddText(
"fName: name of the object");
128 lrecord->
AddText(
"fTitle: title of the object");
131 c1->
Print(
"file.png");
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 Draw(Option_t *option="")
Default Draw method for all objects.
virtual void SetFillStyle(Style_t fstyle)
virtual void Print(const char *filename="") const
Save Pad contents in a file in one of various formats.
A TBox with a bordersize and a shadow option.
virtual void Draw(Option_t *option="")
Draw this arrow with its current attributes.
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 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.
virtual void SetTextAngle(Float_t tangle=0)
const char * GetTitle() const
Returns title of object.
virtual void Draw(Option_t *option="")
Draw this pave with its current attributes.
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 void 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.
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.