12 #ifndef ROOT_TBranchObject 13 #define ROOT_TBranchObject TObject * fOldObject
!Pointer to old object
virtual void Print(Option_t *option="") const
Print TBranch parameters.
virtual const char * GetObjClassName()
A Branch for the case of an object.
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 Int_t GetExpectedType(TClass *&clptr, EDataType &type)
Fill expectedClass and expectedType with information on the data type of the object/values contained ...
virtual void Browse(TBrowser *b)
Browse the branch content.
#define ClassDef(name, id)
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.
Bool_t IsFolder() const
Return TRUE if more than one leaf or if fBrowsables, FALSE otherwise.
virtual void UpdateAddress()
Update branch addresses if a new object was created.
virtual Int_t FillImpl(ROOT::Internal::TBranchIMTHelper *)
Loop on all leaves of this branch to fill Basket buffer.
TBranchObject()
Default constructor for BranchObject.
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.
TString fClassName
Class name of referenced object.
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
Mother of all ROOT objects.
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
A TTree object has a header with a name and a title.
A TTree is a list of TBranches.
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset a Branch after a Merge operation (drop data but keep customizations)
virtual ~TBranchObject()
Destructor for a BranchObject.
const char * Data() const