ROOT 6.10/09 Reference Guide |
Definition at line 31 of file TTreeReaderArray.h.
Public Member Functions | |
TTreeReaderArrayBase (TTreeReader *reader, const char *branchname, TDictionary *dict) | |
virtual EReadStatus | GetReadStatus () const |
size_t | GetSize () const |
Bool_t | IsEmpty () const |
Public Member Functions inherited from ROOT::Internal::TTreeReaderValueBase | |
virtual | ~TTreeReaderValueBase () |
Unregister from tree reader, cleanup. More... | |
void * | GetAddress () |
Returns the memory address of the object being read. More... | |
const char * | GetBranchName () const |
TLeaf * | GetLeaf () |
If we are reading a leaf, return the corresponding TLeaf. More... | |
ESetupStatus | GetSetupStatus () const |
Bool_t | IsValid () const |
EReadStatus | ProxyRead () |
Try to read the value from the TBranchProxy, returns the status of the read. More... | |
Protected Member Functions | |
virtual void | CreateProxy () |
Create the proxy object for our branch. More... | |
bool | GetBranchAndLeaf (TBranch *&branch, TLeaf *&myLeaf, TDictionary *&branchActualType) |
Determine the branch / leaf and its type; reset fProxy / fSetupStatus on error. More... | |
const char * | GetBranchContentDataType (TBranch *branch, TString &contentTypeName, TDictionary *&dict) |
Access a branch's collection content (not the collection itself) through a proxy. More... | |
void | SetImpl (TBranch *branch, TLeaf *myLeaf) |
Create the TVirtualCollectionReader object for our branch. More... | |
void * | UntypedAt (size_t idx) const |
Protected Member Functions inherited from ROOT::Internal::TTreeReaderValueBase | |
TTreeReaderValueBase (TTreeReader *reader=0, const char *branchname=0, TDictionary *dict=0) | |
Construct a tree value reader and register it with the reader object. More... | |
TTreeReaderValueBase (const TTreeReaderValueBase &) | |
Copy-construct. More... | |
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. More... | |
virtual const char * | GetDerivedTypeName () const =0 |
Detail::TBranchProxy * | GetProxy () const |
void | MarkTreeReaderUnavailable () |
void | NotifyNewTree (TTree *newTree) |
The TTreeReader has switched to a new TTree. Update the leaf. More... | |
TTreeReaderValueBase & | operator= (const TTreeReaderValueBase &) |
Copy-assign. More... | |
void | RegisterWithTreeReader () |
Register with tree reader. More... | |
Protected Attributes | |
TVirtualCollectionReader * | fImpl |
Protected Attributes inherited from ROOT::Internal::TTreeReaderValueBase | |
TString | fBranchName |
TDictionary * | fDict |
TLeaf * | fLeaf |
TString | fLeafName |
Detail::TBranchProxy * | fProxy |
EReadStatus | fReadStatus |
ESetupStatus | fSetupStatus |
std::vector< Long64_t > | fStaticClassOffsets |
TTreeReader * | fTreeReader |
Additional Inherited Members | |
Public Types inherited from ROOT::Internal::TTreeReaderValueBase | |
enum | EReadStatus { kReadSuccess = 0, kReadNothingYet, kReadError } |
enum | ESetupStatus { kSetupNotSetup = -7, kSetupTreeDestructed = -8, kSetupMakeClassModeMismatch = -7, kSetupMissingCounterBranch = -6, kSetupMissingBranch = -5, kSetupInternalError = -4, kSetupMissingDictionary = -3, kSetupMismatch = -2, kSetupNotACollection = -1, kSetupMatch = 0, kSetupMatchBranch = 0, kSetupNoCheck = 5, kSetupMatchLeaf = 6 } |
Static Protected Member Functions inherited from ROOT::Internal::TTreeReaderValueBase | |
static std::string | GetElementTypeName (const std::type_info &ti) |
Stringify the template argument. More... | |
#include <TTreeReaderArray.h>
|
inline |
Definition at line 33 of file TTreeReaderArray.h.
|
protectedvirtual |
Create the proxy object for our branch.
Reimplemented from ROOT::Internal::TTreeReaderValueBase.
Definition at line 331 of file TTreeReaderArray.cxx.
|
protected |
Determine the branch / leaf and its type; reset fProxy / fSetupStatus on error.
Definition at line 461 of file TTreeReaderArray.cxx.
|
protected |
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.
Definition at line 653 of file TTreeReaderArray.cxx.
|
inlinevirtual |
Reimplemented from ROOT::Internal::TTreeReaderValueBase.
Definition at line 40 of file TTreeReaderArray.h.
|
inline |
Definition at line 37 of file TTreeReaderArray.h.
|
inline |
Definition at line 38 of file TTreeReaderArray.h.
Create the TVirtualCollectionReader object for our branch.
Definition at line 525 of file TTreeReaderArray.cxx.
|
inlineprotected |
Definition at line 43 of file TTreeReaderArray.h.
|
protected |
Definition at line 52 of file TTreeReaderArray.h.