ROOT » TREE » TREEPLAYER » ROOT::TTreeReaderValueBase

class ROOT::TTreeReaderValueBase


TTreeReaderValue

Extracts data from a TTree.










Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
void*GetAddress()
const char*GetBranchName() const
TLeaf*GetLeaf()
virtual ROOT::TTreeReaderValueBase::EReadStatusGetReadStatus() const
ROOT::TTreeReaderValueBase::ESetupStatusGetSetupStatus() const
Bool_tIsValid() const
ROOT::TTreeReaderValueBase&operator=(const ROOT::TTreeReaderValueBase&)
ROOT::TTreeReaderValueBase::EReadStatusProxyRead()
ROOT::TTreeReaderValueBaseTTreeReaderValueBase(const ROOT::TTreeReaderValueBase&)
protected:
virtual~TTreeReaderValueBase()
virtual voidCreateProxy()
const char*GetBranchDataType(TBranch* branch, TDictionary*& dict) const
virtual const char*GetDerivedTypeName() const
ROOT::TBranchProxy*GetProxy() const
voidMarkTreeReaderUnavailable()
ROOT::TTreeReaderValueBaseTTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)

Data Members

public:
static ROOT::TTreeReaderValueBase::EReadStatuskReadError
static ROOT::TTreeReaderValueBase::EReadStatuskReadNothingYet
static ROOT::TTreeReaderValueBase::EReadStatuskReadSuccess
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupClassMismatch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupInternalError
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMakeClass
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMakeClassModeMismatch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMatch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMatchBranch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMatchConversion
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMatchConversionCollection
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMatchLeaf
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMismatch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMissingBranch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMissingCompiledCollectionProxy
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupMissingCounterBranch
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupNoCheck
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupNotSetup
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupTreeDestructed
static ROOT::TTreeReaderValueBase::ESetupStatuskSetupVoidPtr
protected:
TStringfBranchNamename of the branch to read data from.
TDictionary*fDicttype that the branch should contain
TLeaf*fLeaf
TStringfLeafName
ROOT::TBranchProxy*fProxyproxy for this branch, owned by TTreeReader
ROOT::TTreeReaderValueBase::EReadStatusfReadStatusread status of this data access
ROOT::TTreeReaderValueBase::ESetupStatusfSetupStatussetup status of this data access
vector<Long64_t>fStaticClassOffsets
Long64_tfTreeLastOffset
TTreeReader*fTreeReadertree reader we belong to

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)
 Construct a tree value reader and register it with the reader object.
~TTreeReaderValueBase()
 Unregister from tree reader, cleanup.
ProxyRead()
 Try to read the value from the TBranchProxy, returns
 the status of the read.
TLeaf* GetLeaf()
 If we are reading a leaf, return the corresponding TLeaf.
void* GetAddress()
 Returns the memory address of the object being read.
void CreateProxy()
 Create the proxy object for our branch.
const char* GetBranchDataType(TBranch* branch, TDictionary*& dict) const
 Retrieve the type of data stored by branch; put its dictionary into
 dict, return its type name. If no dictionary is available, at least
 its type name should be returned.
Bool_t IsValid() const
{ return fProxy && 0 == (int)fSetupStatus && 0 == (int)fReadStatus; }
ESetupStatus GetSetupStatus() const
{ return fSetupStatus; }
EReadStatus GetReadStatus() const
{ return fReadStatus; }
const char* GetBranchName() const
{ return fBranchName; }
TTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)
const char* GetDerivedTypeName() const
ROOT::TBranchProxy* GetProxy() const
{ return fProxy; }
void MarkTreeReaderUnavailable()
{ fTreeReader = 0; }