12 #ifndef ROOT_TBranchObject
13 #define ROOT_TBranchObject
Bool_t IsFolder() const
Return TRUE if more than one leaf or if fBrowsables, FALSE otherwise.
virtual const char * GetObjClassName()
A Branch for the case of an object.
virtual Int_t Fill()
Loop on all leaves of this branch to fill Basket buffer.
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)
Pointer to old object.
virtual Int_t GetExpectedType(TClass *&clptr, EDataType &type)
Fill expectedClass and expectedType with information on the data type of the object/values contained ...
virtual void Print(Option_t *option="") const
Print TBranch parameters.
virtual void Browse(TBrowser *b)
Browse the branch content.
const char * Data() const
virtual void SetupAddresses()
– If the branch address is not set, we set all addresses starting with the top level parent branch...
virtual void SetAutoDelete(Bool_t autodel=kTRUE)
Set the AutoDelete bit.
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of a BranchObject and return total number of bytes.
Using a TBrowser one can browse all ROOT objects.
virtual void Reset(Option_t *option="")
Reset a branch.
virtual void SetAddress(void *addobj)
Set address of this branch.
virtual void UpdateAddress()
Update branch addresses if a new object was created.
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
The ROOT global object gROOT contains a list of all defined classes.
virtual void SetBasketSize(Int_t buffsize)
Reset basket size for all subbranches of this branch.
Mother of all ROOT objects.
A TTree object has a header with a name and a title.
ClassDef(TBranchObject, 1)
A TTree is a list of TBranches.
virtual void ResetAfterMerge(TFileMergeInfo *)
virtual ~TBranchObject()
Destructor for a BranchObject.