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