12 #ifndef ROOT_TBranchClones 13 #define ROOT_TBranchClones TBranchClones()
Default and i/o constructor.
virtual void SetAddress(void *add)
Set address of this branch.
TString fClassName
name of the class of the objets in the ClonesArray
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches and return total number of bytes read.
virtual Int_t FillImpl(ROOT::Internal::TBranchIMTHelper *)
Loop on all branches and fill Basket buffer.
Int_t fRead
! flag = 1 if clonesarray has been read
TBranch * fBranchCount
Branch with clones count.
virtual ~TBranchClones()
Destructor.
virtual void SetTree(TTree *tree)
virtual void UpdateFile()
Refresh the value of fDirectory (i.e.
#define ClassDef(name, id)
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
Using a TBrowser one can browse all ROOT objects.
TClonesArray * GetList() const
virtual void SetBasketSize(Int_t buffsize)
Reset basket size for all sub-branches.
Bool_t IsFolder() const
Return kTRUE if more than one leaf or browsables, kFALSE otherwise.
void Init(TTree *tree, TBranch *parent, const char *name, void *clonesaddress, Int_t basketsize=32000, Int_t compress=-1, Int_t splitlevel=1)
Initialization (non-virtual, to be called from constructor).
virtual void SetTree(TTree *tree)
TTree * fTree
! Pointer to Tree header
virtual void Reset(Option_t *option="")
Reset branch.
An array of clone (identical) objects.
Class implementing or helping the various TTree cloning method.
A Branch for the case of an array of clone objects.
TClonesArray * fList
! Pointer to the clonesarray
virtual void Browse(TBrowser *b)
Browse this branch.
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.
Int_t fN
! Number of elements in ClonesArray
virtual Int_t GetN() const
A TTree is a list of TBranches.
virtual void ResetAfterMerge(TFileMergeInfo *)
Reset branch after a merge.
Int_t fNdataMax
! Maximum value of fN
virtual void Print(Option_t *option="") const
Print branch parameters.