56 :
TBranch(), fRequestedEntry(-1), fRefTable(0)
60 SetTitle(
"List of branch numbers with referenced objects");
132 if (!friends)
return kTRUE;
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch after a Merge operation (drop data but keep customizations) TRefTable is cleared...
virtual Int_t FillImpl(ROOT::Internal::TBranchIMTHelper *)
Loop on all leaves of this branch to fill Basket buffer.
virtual TTree * GetTree()
Return pointer to friend TTree.
TRefTable * GetRefTable() const
void ReadLeavesImpl(TBuffer &b)
This function called by TBranch::GetEntry overloads TBranch::ReadLeaves.
ReadLeaves_t fReadLeaves
! Pointer to the ReadLeaves implementation to use.
TBranchRef()
Default constructor.
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual TList * GetListOfFriends() const
Buffer base class used for serializing objects.
virtual Bool_t Notify()
This function is called by TRefTable::Notify, itself called by TRef::GetObject.
Long64_t * fBasketSeek
[fMaxBaskets] Addresses of baskets on file
virtual ~TBranchRef()
Typical destructor.
virtual void Clear(Option_t *="")
Clear all entries in the table.
virtual void Reset(Option_t *option="")
Int_t * fBasketBytes
[fMaxBaskets] Length of baskets on file
virtual void Print(Option_t *option="") const
Print the TRefTable branch.
static void SetRefTable(TRefTable *table)
Static function setting the current TRefTable.
Int_t fMaxBaskets
Maximum number of Baskets so far.
A TProcessID identifies a ROOT job in a unique way in time and space.
A branch containing and managing a TRefTable for TRef autoloading.
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch.
void(TBranch::* ReadLeaves_t)(TBuffer &b)
virtual void Reset(Option_t *="")
Clear all entries in the table.
Int_t fBasketSize
Initial Size of Basket Buffer.
void FillLeavesImpl(TBuffer &b)
This function called by TBranch::Fill overloads TBranch::FillLeaves.
virtual void ReadBuffer(TBuffer &b)
Fill buffer b with the fN elements in fParentdIDs.
FillLeaves_t fFillLeaves
! Pointer to the FillLeaves implementation to use.
Long64_t fRequestedEntry
! Cursor indicating which entry is being requested.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all leaves of entry and return total number of bytes read.
virtual TBranchRef * GetBranchRef() const
virtual TObjLink * FirstLink() const
TRefTable * fRefTable
pointer to the TRefTable
virtual void Clear(Option_t *option="")
Clear entries in the TRefTable.
TDirectory * GetDirectory() const
Wrapper around a TObject so it can be stored in a TList.
virtual Int_t SetParent(const TObject *parent, Int_t branchID)
– Set current parent object, typically a branch of a tree.
A TRefTable maintains the association between a referenced object and the parent object supporting th...
virtual Int_t SetParent(const TObject *obj, Int_t branchID)
Set the current parent branch.
TTree * fTree
! Pointer to Tree header
TDirectory * fDirectory
! Pointer to directory where this branch buffers are stored
virtual void FillBuffer(TBuffer &b)
Fill buffer b with the fN elements in fParentdIDs.
TProcessID * GetUIDContext() const
Mother of all ROOT objects.
TObject * GetObject() const
Long64_t * fBasketEntry
[fMaxBaskets] Table of first entry in each basket
virtual void Reset(Option_t *option="")
Reset a Branch.
A TFriendElement TF describes a TTree object TF in a file.
void(TBranch::* FillLeaves_t)(TBuffer &b)
Long64_t fReadEntry
! Current entry number when reading
Long64_t GetReadEntry() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
TBranch * fMother
! Pointer to top-level parent branch in the tree.
A TTree object has a header with a name and a title.
A TTree is a list of TBranches.
Int_t fCompress
Compression level and algorithm.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual Int_t FillImpl(ROOT::Internal::TBranchIMTHelper *)
Fill the branch basket with the referenced objects parent numbers.
virtual void Print(Option_t *option="") const
Print TBranch parameters.
TString fFileName
Name of file where buffers are stored ("" if in same file as Tree header)
TObject * GetParent(Int_t uid, TProcessID *context=0) const
Return object corresponding to uid.
char * fAddress
! Address of 1st leaf (variable or object)