From 73be21d82f4998090f1b44380d18553db331edaa Mon Sep 17 00:00:00 2001 From: Olivier Couet <olivier.couet@cern.ch> Date: Mon, 19 Apr 2021 16:11:47 +0200 Subject: [PATCH] TFile doc code text size (#7921) Is now proportional to the browser size. --- io/doc/TFile/datarecord.md | 2 +- io/doc/TFile/dobject.md | 6 +++--- io/doc/TFile/freesegments.md | 2 +- io/doc/TFile/gap.md | 2 +- io/doc/TFile/header.md | 4 ++-- io/doc/TFile/keyslist.md | 2 +- io/doc/TFile/streamerinfo.md | 12 ++++++------ io/doc/TFile/tclonesarray.md | 2 +- io/doc/TFile/tdirectory.md | 4 ++-- io/doc/TFile/tfile.md | 2 +- io/doc/TFile/tobject.md | 2 +- io/doc/TFile/tprocessid.md | 6 +++--- io/doc/TFile/tref.md | 2 +- io/doc/TFile/trefarray.md | 2 +- io/doc/TFile/ttree.md | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/io/doc/TFile/datarecord.md b/io/doc/TFile/datarecord.md index 36e33e95cb9..d335b01ce48 100644 --- a/io/doc/TFile/datarecord.md +++ b/io/doc/TFile/datarecord.md @@ -4,7 +4,7 @@ A ROOT file is mostly a suite of consecutive data records with the following format <Name>;<Cycle> uniquely identifies the record in a directory -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey-(never compressed)-------------- byte 0->3 Nbytes = Number of bytes in compressed record (Tkey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion diff --git a/io/doc/TFile/dobject.md b/io/doc/TFile/dobject.md index 735dab1160f..f661011ffd1 100644 --- a/io/doc/TFile/dobject.md +++ b/io/doc/TFile/dobject.md @@ -5,7 +5,7 @@ Here is the format of a class object in DATA that uses the default streamer. Objects of many classes with custom streamers can have very similar formats. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ---------------- 0->3 ByteCount = Number of remaining bytes in object (uncompressed) | OR'd with kByteCountMask (0x40000000) @@ -24,7 +24,7 @@ Objects of many classes with custom streamers can have very similar formats. The rest consists of objects of base classes and persistent non-static data members. Data members marked as transient are not stored. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> 6->.. Sequentially, Objects of each base class from which this class is derived (rarely more than one) 0->.. Sequentially, Objects of all non-static persistent data members. @@ -32,7 +32,7 @@ Objects of many classes with custom streamers can have very similar formats. Class objects are broken down recursively as above. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> Built in types are stored as follows: 1 Byte: char, unsigned char 2 Bytes: short, unsigned short diff --git a/io/doc/TFile/freesegments.md b/io/doc/TFile/freesegments.md index baa7a1a1bc4..56b3816a07d 100644 --- a/io/doc/TFile/freesegments.md +++ b/io/doc/TFile/freesegments.md @@ -8,7 +8,7 @@ their fFirst/fLast have 8 bytes, not 4 and 1000 is added to the TFree Version. Some free segment records may be 32 bit while others are 64 bit. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey--------------- byte 0->3 Nbytes = Number of bytes in compressed record (TKey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion diff --git a/io/doc/TFile/gap.md b/io/doc/TFile/gap.md index a4864e54407..59b4912309f 100644 --- a/io/doc/TFile/gap.md +++ b/io/doc/TFile/gap.md @@ -2,7 +2,7 @@ A gap (free segment in middle of file) has the following format. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ------------------------ byte 0->3 Nbytes = Negative of number of bytes in gap 4->.. irrelevant diff --git a/io/doc/TFile/header.md b/io/doc/TFile/header.md index 8e77fb4d327..1dff41f68b3 100644 --- a/io/doc/TFile/header.md +++ b/io/doc/TFile/header.md @@ -5,7 +5,7 @@ If END, SeekFree, or SeekInfo are located past the 32 bit file limit (> 2000000000) then these fields will be 8 instead of 4 bytes and 1000000 is added to the file format version. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------------------------------- byte 0->3 "root" = Identifies this file as a ROOT file. 4->7 Version = File format version TFile::fVersion @@ -28,7 +28,7 @@ Here is the file header format as of release 3.02.06. It is never compressed. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------------------------------- byte 0->3 "root" = Identifies this file as a ROOT file. 4->7 Version = File format version TFile::fVersion diff --git a/io/doc/TFile/keyslist.md b/io/doc/TFile/keyslist.md index 598f8185033..c9fe2139619 100644 --- a/io/doc/TFile/keyslist.md +++ b/io/doc/TFile/keyslist.md @@ -5,7 +5,7 @@ Format of KeysList record in release 3.02.06. It is never compressed. There is one KeysList record for the main (TFile) directory and one per non-empty subdirectory. It is probably not accessed by its key, but from its offset given in the directory data. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey--------------- byte 0->3 Nbytes = Number of bytes in compressed record (TKey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion diff --git a/io/doc/TFile/streamerinfo.md b/io/doc/TFile/streamerinfo.md index 23dbf3efc86..edd698f2668 100644 --- a/io/doc/TFile/streamerinfo.md +++ b/io/doc/TFile/streamerinfo.md @@ -5,7 +5,7 @@ It is probably not accessed by its key, but from its offset given in the file he The StreamerInfo record DATA consists of a TList (list) object containing elements of class TStreamerInfo. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey-(never compressed)---------------------- byte 0->3 Nbytes = Number of bytes in compressed record (TKey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion @@ -25,7 +25,7 @@ of class TStreamerInfo. | ("Doubly linked list") </pre></div> -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TList-(always compressed at level 1 (even if compression level 0))---- </pre></div> The DATA is a TList collection object containing TStreamerInfo objects. @@ -34,7 +34,7 @@ of class TStreamerInfo. Here is the format of a TList object in Release 3.02.06. Comments and offsets refer specifically to its use in the StreamerInfo record. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> -------- 0->3 ByteCount = Number of remaining bytes in TList object (uncompressed) | OR'd with kByteCountMask (0x40000000) @@ -58,7 +58,7 @@ of class TStreamerInfo. Note: Although TStreamerInfo does not use the default streamer, it has the same format as if it did. (compare with \ref dobject) -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> 0->3 ByteCount = Number of remaining bytes in TStreamerInfo object (uncompressed) | OR'd with kByteCountMask (0x40000000) 4->.. ClassInfo = Information about TStreamerInfo class @@ -127,7 +127,7 @@ of class TStreamerInfo. which inherits directly from the TStreamerElement class. The possible classes (which we refer to collectively as TStreamer<XXX>) are: -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> TStreamerBase: Used for a base class. All others below used for data members. TStreamerBasicType: For a basic type TStreamerString: For type TString @@ -144,7 +144,7 @@ of class TStreamerInfo. Here is the format of a TStreamer<XXX> object in Release 3.02.06. In description below, -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> 0->3 ByteCount = Number of remaining bytes in TStreamer<XXX> object (uncompressed) | OR'd with kByteCountMask (0x40000000) 4->.. ClassInfo = Information about the specific TStreamer<XXX> class diff --git a/io/doc/TFile/tclonesarray.md b/io/doc/TFile/tclonesarray.md index aca9b36a32a..3fe09e53013 100644 --- a/io/doc/TFile/tclonesarray.md +++ b/io/doc/TFile/tclonesarray.md @@ -2,7 +2,7 @@ Here is the format (release 3.02.06) of the DATA for a TClonesArray object in a ROOTIO file. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> 0->3 ByteCount = Number of remaining bytes in TClonesArray object (uncompressed) | OR'd with kByteCountMask (0x40000000) 4->.. ClassInfo = Information about TClonesArray class diff --git a/io/doc/TFile/tdirectory.md b/io/doc/TFile/tdirectory.md index 294eb671108..25e8b327115 100644 --- a/io/doc/TFile/tdirectory.md +++ b/io/doc/TFile/tdirectory.md @@ -8,7 +8,7 @@ Format of a TDirectory record in release 6.22.06. It is never compressed. If the SeekDir, SeekParent, or SeekKeys in the TDirectory header are past the 32 bit file limit, then these fields will be 8 instead of 4 bytes and 1000 is added to the TDirectory Version. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey-------------- byte 0->3 Nbytes = Number of bytes in compressed record (Tkey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion @@ -43,7 +43,7 @@ Format of a TDirectory record in release 6.22.06. It is never compressed. Format of a TDirectory record in release 3.02.06. It is never compressed. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey-------------- byte 0->3 Nbytes = Number of bytes in compressed record (Tkey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion diff --git a/io/doc/TFile/tfile.md b/io/doc/TFile/tfile.md index 2746451ea33..63e4a98ff8c 100644 --- a/io/doc/TFile/tfile.md +++ b/io/doc/TFile/tfile.md @@ -11,7 +11,7 @@ then these fields will be 8 instead of 4 bytes and 1000 is added to the TKey Ver If the SeekDir, SeekParent, or SeekKeys in the TDirectory header are past the 32 bit file limit, then these fields will be 8 instead of 4 bytes and 1000 is added to the TDirectory Version. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey--------------- byte 0->3 Nbytes = Number of bytes compressed record (TKey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion diff --git a/io/doc/TFile/tobject.md b/io/doc/TFile/tobject.md index 9fc08c18326..a6183da8bd5 100644 --- a/io/doc/TFile/tobject.md +++ b/io/doc/TFile/tobject.md @@ -2,7 +2,7 @@ Here is the format of the DATA for a TObject object in Release 3.02.06. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> -------- 0->1 Version = Version of TObject Class 2->5 fUniqueID = Unique ID of object. Currently, unless this object is or was diff --git a/io/doc/TFile/tprocessid.md b/io/doc/TFile/tprocessid.md index 06f281ff900..692bc3c2d8d 100644 --- a/io/doc/TFile/tprocessid.md +++ b/io/doc/TFile/tprocessid.md @@ -4,7 +4,7 @@ Format of TProcessID record in release 3.02.06. Will be present if there are any referenced objects. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ----------TKey--------------- byte 0->3 Nbytes = Number of bytes in compressed record (Tkey+data) TKey::fNbytes 4->5 Version = TKey class version identifier TKey::fVersion @@ -64,7 +64,7 @@ ROOTIO process that created it. It is derived from the following quantities. no larger than 255. We the define the following quantities (class TUUID): -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> UInt_t fTimeLow; // 60 bit time, lowest 32 bits UShort_t fTimeMid; // 60 bit time, middle 16 bits UShort_t fTimeHiAndVersion; // 60 bit time, highest 12 time bits (low 12 bits) @@ -78,7 +78,7 @@ We the define the following quantities (class TUUID): </pre></div> Then the following sprintf() call defines the format of the title string: -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> sprintf(Title, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", fTimeLow, fTimeMid, fTimeHiAndVersion, fClockSeqHiAndReserved, fClockSeqLow, fNode[0], fNode[1], fNode[2], fNode[3], fNode[4], diff --git a/io/doc/TFile/tref.md b/io/doc/TFile/tref.md index 4be1397f9b1..d65da45ef3f 100644 --- a/io/doc/TFile/tref.md +++ b/io/doc/TFile/tref.md @@ -2,7 +2,7 @@ Here is the format of the DATA for a TRef object in Release 3.02.06. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> -------- 0->1 Version = Version of TObject Class (base class of TRef) 2->5 fUniqueID = Unique ID of referenced object. Typically, every referenced diff --git a/io/doc/TFile/trefarray.md b/io/doc/TFile/trefarray.md index a62ae2fb085..b17c53b6b92 100644 --- a/io/doc/TFile/trefarray.md +++ b/io/doc/TFile/trefarray.md @@ -2,7 +2,7 @@ Here is the format of the DATA for a TRefArray object in Release 3.02.06. -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> -------- 0->3 ByteCount = Number of remaining bytes in TRefArray object (uncompressed) | OR'd with kByteCountMask (0x40000000) diff --git a/io/doc/TFile/ttree.md b/io/doc/TFile/ttree.md index 7f2d52dd7d9..ba6907a2cd4 100644 --- a/io/doc/TFile/ttree.md +++ b/io/doc/TFile/ttree.md @@ -4,7 +4,7 @@ Here is the streamer information for TTree related classes in release 3.02.06: (For the explanation of the meaning of the type, see "fType" in \ref streamerinfo.) -<div style="background-color: lightgrey; font-size: small;"><pre> +<div style="background-color: lightgrey; font-size: 0.9vw;"><pre> ---------------------------------------------------- StreamerInfo for class: TTree, version=6 BASE TNamed offset= 0 type=67 The basis for a named object (name, title) -- GitLab