12#ifndef ROOT_TBranchObject
13#define ROOT_TBranchObject
#define ClassDef(name, id)
A Branch for the case of an object.
virtual void SetBasketSize(Int_t buffsize)
Reset basket size for all subbranches of this branch.
virtual void SetupAddresses()
– If the branch address is not set, we set all addresses starting with the top level parent branch.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of a BranchObject and return total number of bytes.
virtual ~TBranchObject()
Destructor for a BranchObject.
virtual Int_t FillImpl(ROOT::Internal::TBranchIMTHelper *)
Loop on all leaves of this branch to fill Basket buffer.
TObject * fOldObject
!Pointer to old object
Bool_t IsFolder() const
Return TRUE if more than one leaf or if fBrowsables, FALSE otherwise.
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch after a Merge operation (drop data but keep customizations)
virtual void Print(Option_t *option="") const
Print TBranch parameters.
virtual const char * GetObjClassName()
virtual Int_t GetExpectedType(TClass *&clptr, EDataType &type)
Fill expectedClass and expectedType with information on the data type of the object/values contained ...
TString fClassName
Class name of referenced object.
virtual void Browse(TBrowser *b)
Browse the branch content.
virtual void UpdateAddress()
Update branch addresses if a new object was created.
virtual void SetAutoDelete(Bool_t autodel=kTRUE)
Set the AutoDelete bit.
TBranchObject()
Default constructor for BranchObject.
void Init(TTree *tree, TBranch *parent, const char *name, const char *classname, void *addobj, Int_t basketsize, Int_t splitlevel, Int_t compress, Bool_t isptrptr)
Initialization routine (run from the constructor so do not make this function virtual)
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any.
virtual void Reset(Option_t *option="")
Reset a branch.
virtual void SetAddress(void *addobj)
Set address of this branch.
A TTree is a list of TBranches.
Using a TBrowser one can browse all ROOT objects.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Mother of all ROOT objects.
const char * Data() const
A TTree represents a columnar dataset.
@ kInherit
Some objects use this value to denote that the compression algorithm should be inherited from the par...