28 fDirector(0), fInitialized(false), fBranchName(
""), fParent(0),
29 fDataMember(
""), fIsMember(false), fIsClone(false), fIsaPointer(0),
30 fClassName(
""), fClass(0), fElement(0), fMemberOffset(0), fOffset(0),
31 fBranch(0), fBranchCount(0),
32 fLastTree(0), fRead(-1), fWhere(0),fCollection(0), fCurrentTreeNumber(-1)
63 if (name && strlen(name)) {
82 if (name && strlen(name)) {
131 std::cout <<
"fBranchName " <<
fBranchName << std::endl;
133 std::cout <<
"fBranch " <<
fBranch << std::endl;
166 if (clones) pcl = clones->
GetClass();
317 }
else if (be->
GetType()==41) {
323 }
else if (be->
GetType()==31) {
388 Error(
"Setup",
"%s",
Form(
"Negative offset %d for %s in %s",
390 bcount?bcount->
GetName():
"unknown"));
Describe Streamer information for one class version.
Long64_t GetReadEntry() const
A TLeaf describes individual elements of a TBranch See TBranch structure in TTree.
TVirtualCollectionProxy * GetCollectionProxy()
Return the collection proxy describing the branch content, if any.
const TString fDataMember
virtual void SetAddress(void *add)
Set address of this branch.
virtual TLeaf * GetLeaf(const char *name) const
Return pointer to the 1st Leaf named name in thisBranch.
virtual Long64_t GetReadEntry() const
char * GetObject() const
Return a pointer to our object.
virtual void PushProxy(void *objectstart)=0
TStreamerElement * fElement
virtual void * GetStart(UInt_t=0)
TBranch * GetBranch() const
void SetReadEntry(Long64_t entry)
virtual TObjArray * GetElements() const =0
Int_t GetElementOffset(Int_t id) const
TBranchElement * GetBranchCount() const
const char * Data() const
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
TStreamerInfo * GetInfo() const
Get streamer info for the branch class.
virtual TVirtualCollectionProxy * Generate() const =0
const TString fBranchName
virtual Bool_t IsaPointer() const
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0)
Read all branches of a BranchElement and return total number of bytes.
virtual TBranch * GetBranch(const char *name)
Return pointer to the branch with the given name in this tree or its friends.
virtual char * GetAddress() const
TObjArray * GetElements() const
TVirtualStreamerInfo * GetStreamerInfo(Int_t version=0) const
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist...
virtual Int_t GetTreeNumber() const
TBranch * GetMother() const
Get our top-level parent branch in the tree.
char * Form(const char *fmt,...)
virtual const char * GetName() const
Returns name of object.
The ROOT global object gROOT contains a list of all defined classes.
virtual TLeaf * GetLeafCount() const
A Branch for the case of an object.
TString & Remove(Ssiz_t pos)
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
virtual TClass * GetValueClass() const =0
TClass * GetClass() const
Bool_t IsaPointer() const
Long_t GetDataMemberOffset(const char *membername) const
return offset for member name.
TObjArray * GetListOfLeaves()
Internal::TBranchProxyDirector * fDirector
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
TVirtualCollectionProxy * GetCollectionProxy() const
Return the proxy describing the collection (if any).
An array of clone (identical) objects.
virtual void * GetValuePointer() const
TObject * At(Int_t idx) const
Base class for all the proxy object.
A TTree is a list of TBranches.
virtual const char * GetClassName() const
Return the name of the user class whose content is stored in this branch, if any. ...
TVirtualCollectionProxy * fCollection
void Error(ErrorHandler_t func, int code, const char *va_(fmt),...)
Write error message and call a handler, if required.
void Attach(Detail::TBranchProxy *p)