![]() |
ROOT
6.06/09
Reference Guide
|
Extracts array data from a TTree.
Definition at line 63 of file TTreeReaderArray.h.
Classes | |
| struct | Iterator_t |
Public Types | |
| typedef Iterator_t | iterator |
Public Types inherited from ROOT::Internal::TTreeReaderValueBase | |
| enum | ESetupStatus { kSetupNotSetup = -7, kSetupTreeDestructed = -8, kSetupMakeClassModeMismatch = -7, kSetupMissingCounterBranch = -6, kSetupMissingBranch = -5, kSetupInternalError = -4, kSetupMissingCompiledCollectionProxy = -3, kSetupMismatch = -2, kSetupClassMismatch = -1, kSetupMatch = 0, kSetupMatchBranch = 0, kSetupMatchConversion, kSetupMatchConversionCollection, kSetupMakeClass, kSetupVoidPtr, kSetupNoCheck, kSetupMatchLeaf } |
| enum | EReadStatus { kReadSuccess = 0, kReadNothingYet, kReadError } |
Public Member Functions | |
| TTreeReaderArray (TTreeReader &tr, const char *branchname) | |
| T & | At (size_t idx) |
| T & | operator[] (size_t idx) |
| Iterator_t | begin () |
| Iterator_t | end () const |
Public Member Functions inherited from ROOT::Internal::TTreeReaderArrayBase | |
| TTreeReaderArrayBase (TTreeReader *reader, const char *branchname, TDictionary *dict) | |
| size_t | GetSize () const |
| Bool_t | IsEmpty () const |
| virtual EReadStatus | GetReadStatus () const |
Public Member Functions inherited from ROOT::Internal::TTreeReaderValueBase | |
| EReadStatus | ProxyRead () |
| Try to read the value from the TBranchProxy, returns the status of the read. More... | |
| Bool_t | IsValid () const |
| ESetupStatus | GetSetupStatus () const |
| TLeaf * | GetLeaf () |
| If we are reading a leaf, return the corresponding TLeaf. More... | |
| void * | GetAddress () |
| Returns the memory address of the object being read. More... | |
| const char * | GetBranchName () const |
Protected Member Functions | |
| virtual const char * | GetDerivedTypeName () const |
Protected Member Functions inherited from ROOT::Internal::TTreeReaderArrayBase | |
| void * | UntypedAt (size_t idx) const |
| virtual void | CreateProxy () |
| Create the proxy object for our branch. More... | |
| const char * | GetBranchContentDataType (TBranch *branch, TString &contentTypeName, TDictionary *&dict) const |
| Access a branch's collection content (not the collection itself) through a proxy. More... | |
Protected Member Functions inherited from ROOT::Internal::TTreeReaderValueBase | |
| TTreeReaderValueBase (TTreeReader *reader=0, const char *branchname=0, TDictionary *dict=0) | |
| virtual | ~TTreeReaderValueBase () |
| Unregister from tree reader, cleanup. 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... | |
| Detail::TBranchProxy * | GetProxy () const |
| void | MarkTreeReaderUnavailable () |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Internal::TTreeReaderArrayBase | |
| TVirtualCollectionReader * | fImpl |
Protected Attributes inherited from ROOT::Internal::TTreeReaderValueBase | |
| TString | fBranchName |
| TString | fLeafName |
| TTreeReader * | fTreeReader |
| TDictionary * | fDict |
| Detail::TBranchProxy * | fProxy |
| TLeaf * | fLeaf |
| Long64_t | fTreeLastOffset |
| ESetupStatus | fSetupStatus |
| EReadStatus | fReadStatus |
| std::vector< Long64_t > | fStaticClassOffsets |
#include <TTreeReaderArray.h>
Inheritance diagram for TTreeReaderArray< T >:
Collaboration diagram for TTreeReaderArray< T >:| typedef Iterator_t TTreeReaderArray< T >::iterator |
Definition at line 121 of file TTreeReaderArray.h.
|
inline |
Definition at line 123 of file TTreeReaderArray.h.
|
inline |
Definition at line 129 of file TTreeReaderArray.h.
Referenced by TTreeReaderArray< T >::Iterator_t::operator*(), and TTreeReaderArray< T >::operator[]().
|
inline |
Definition at line 132 of file TTreeReaderArray.h.
|
inline |
Definition at line 137 of file TTreeReaderArray.h.
|
inlineprotectedvirtual |
Implements ROOT::Internal::TTreeReaderValueBase.
Definition at line 141 of file TTreeReaderArray.h.
|
inline |
Definition at line 130 of file TTreeReaderArray.h.