This macro displays the physical ROOT file structure.
More...
Go to the source code of this file.
This macro displays the physical ROOT file structure.
TCanvas *c1 =
new TCanvas(
"c1",
"ROOT File description",200,10,700,550);
c1->
Range(0,-0.25,21,14);
arrow->
DrawArrow( 10.6,8, 10.6, 8.4,0.01,
"|>");
line->
DrawLine( 10.6, 11.5, 14.6, 11.5);
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");
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");
}
- Author
- Rene Brun
Definition in file file.C.