ROOT
6.07/01
Reference Guide
|
Extracts data from a TTree.
Definition at line 121 of file TTreeReaderValue.h.
Public Member Functions | |
TTreeReaderValue () | |
TTreeReaderValue (TTreeReader &tr, const char *branchname) | |
T * | Get () |
T * | operator-> () |
T & | operator* () |
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 |
virtual EReadStatus | GetReadStatus () 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::TTreeReaderValueBase | |
TTreeReaderValueBase (TTreeReader *reader=0, const char *branchname=0, TDictionary *dict=0) | |
virtual | ~TTreeReaderValueBase () |
Unregister from tree reader, cleanup. More... | |
virtual void | CreateProxy () |
Create the proxy object for our branch. 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 | |
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 } |
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 <TTreeReaderValue.h>
|
inline |
Definition at line 123 of file TTreeReaderValue.h.
|
inline |
Definition at line 124 of file TTreeReaderValue.h.
|
inline |
Definition at line 127 of file TTreeReaderValue.h.
Referenced by TTreeReaderValue< Int_t >::operator*(), and TTreeReaderValue< Int_t >::operator->().
|
inlineprotectedvirtual |
Implements ROOT::Internal::TTreeReaderValueBase.
Definition at line 140 of file TTreeReaderValue.h.
|
inline |
Definition at line 135 of file TTreeReaderValue.h.
|
inline |
Definition at line 134 of file TTreeReaderValue.h.