ROOT » TREE » TREEPLAYER » ROOT::TTreeReaderArrayBase

class ROOT::TTreeReaderArrayBase: public ROOT::TTreeReaderValueBase


TTreeReaderArray

Extracts array 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:
virtual~TTreeReaderArrayBase()
void*ROOT::TTreeReaderValueBase::GetAddress()
const char*ROOT::TTreeReaderValueBase::GetBranchName() const
TLeaf*ROOT::TTreeReaderValueBase::GetLeaf()
virtual ROOT::TTreeReaderValueBase::EReadStatusGetReadStatus() const
ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::GetSetupStatus() const
size_tGetSize() const
Bool_tIsEmpty() const
Bool_tROOT::TTreeReaderValueBase::IsValid() const
ROOT::TTreeReaderArrayBase&operator=(const ROOT::TTreeReaderArrayBase&)
ROOT::TTreeReaderArrayBase&operator=(ROOT::TTreeReaderArrayBase&&)
ROOT::TTreeReaderValueBase::EReadStatusROOT::TTreeReaderValueBase::ProxyRead()
ROOT::TTreeReaderArrayBaseTTreeReaderArrayBase(ROOT::TTreeReaderArrayBase&&)
ROOT::TTreeReaderArrayBaseTTreeReaderArrayBase(const ROOT::TTreeReaderArrayBase&)
ROOT::TTreeReaderArrayBaseTTreeReaderArrayBase(TTreeReader* reader, const char* branchname, TDictionary* dict)
ROOT::TTreeReaderValueBaseROOT::TTreeReaderValueBase::TTreeReaderValueBase(const ROOT::TTreeReaderValueBase&)
protected:
virtual voidCreateProxy()
const char*GetBranchContentDataType(TBranch* branch, TString& contentTypeName, TDictionary*& dict) const
const char*ROOT::TTreeReaderValueBase::GetBranchDataType(TBranch* branch, TDictionary*& dict) const
virtual const char*ROOT::TTreeReaderValueBase::GetDerivedTypeName() const
ROOT::TBranchProxy*ROOT::TTreeReaderValueBase::GetProxy() const
voidROOT::TTreeReaderValueBase::MarkTreeReaderUnavailable()
ROOT::TTreeReaderValueBaseROOT::TTreeReaderValueBase::TTreeReaderValueBase(TTreeReader* reader = 0, const char* branchname = 0, TDictionary* dict = 0)
void*UntypedAt(size_t idx) const

Data Members

public:
static ROOT::TTreeReaderValueBase::EReadStatusROOT::TTreeReaderValueBase::kReadError
static ROOT::TTreeReaderValueBase::EReadStatusROOT::TTreeReaderValueBase::kReadNothingYet
static ROOT::TTreeReaderValueBase::EReadStatusROOT::TTreeReaderValueBase::kReadSuccess
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupClassMismatch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupInternalError
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMakeClass
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMakeClassModeMismatch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMatch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMatchBranch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMatchConversion
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMatchConversionCollection
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMatchLeaf
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMismatch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMissingBranch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMissingCompiledCollectionProxy
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupMissingCounterBranch
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupNoCheck
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupNotSetup
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupTreeDestructed
static ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::kSetupVoidPtr
protected:
TStringROOT::TTreeReaderValueBase::fBranchNamename of the branch to read data from.
TDictionary*ROOT::TTreeReaderValueBase::fDicttype that the branch should contain
ROOT::TVirtualCollectionReader*fImplCommon interface to collections
TLeaf*ROOT::TTreeReaderValueBase::fLeaf
TStringROOT::TTreeReaderValueBase::fLeafName
ROOT::TBranchProxy*ROOT::TTreeReaderValueBase::fProxyproxy for this branch, owned by TTreeReader
ROOT::TTreeReaderValueBase::EReadStatusROOT::TTreeReaderValueBase::fReadStatusread status of this data access
ROOT::TTreeReaderValueBase::ESetupStatusROOT::TTreeReaderValueBase::fSetupStatussetup status of this data access
vector<Long64_t>ROOT::TTreeReaderValueBase::fStaticClassOffsets
Long64_tROOT::TTreeReaderValueBase::fTreeLastOffset
TTreeReader*ROOT::TTreeReaderValueBase::fTreeReadertree reader we belong to

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void CreateProxy()
 Create the proxy object for our branch.
const char* GetBranchContentDataType(TBranch* branch, TString& contentTypeName, TDictionary*& dict) const
 Access a branch's collection content (not the collection itself)
 through a proxy.
 Retrieve the type of data contained in the collection stored by branch;
 put its dictionary into dict, If there is no dictionary, put its type
 name into contentTypeName.
 The contentTypeName is set to NULL if the branch does not
 contain a collection; in that case, the type of the branch is returned.
 In all other cases, NULL is returned.
TTreeReaderArrayBase(TTreeReader* reader, const char* branchname, TDictionary* dict)
{}
size_t GetSize() const
{ return fImpl->GetSize(GetProxy()); }
Bool_t IsEmpty() const
{ return !GetSize(); }
EReadStatus GetReadStatus() const
{ return fImpl ? fImpl->fReadStatus : kReadError; }
void* UntypedAt(size_t idx) const
{ return fImpl->At(GetProxy(), idx); }
TTreeReaderArrayBase(TTreeReader* reader, const char* branchname, TDictionary* dict)
 Create an array reader of branch "branchname" for TTreeReader "tr".