Definition at line 39 of file TTreeReaderValue.h.
|
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
} |
|
#include <TTreeReaderValue.h>
◆ EReadStatus
◆ ESetupStatus
Enumerator |
---|
kSetupNotSetup | |
kSetupTreeDestructed | No initialization has happened yet.
|
kSetupMakeClassModeMismatch | The TTreeReader has been destructed / not set.
|
kSetupMissingCounterBranch | |
kSetupMissingBranch | The array cannot find its counter branch: Array[CounterBranch].
|
kSetupInternalError | The specified branch cannot be found.
|
kSetupMissingDictionary | Some other error - hopefully the error message helps.
|
kSetupMismatch | To read this branch, we need a dictionary.
|
kSetupNotACollection | Mismatch of branch type and reader template type.
|
kSetupMatch | The branch class type is not a collection.
|
kSetupMatchBranch | This branch has been set up, branch data type and reader template type match, reading should succeed.
|
kSetupNoCheck | This branch has been set up, branch data type and reader template type match, reading should succeed.
|
kSetupMatchLeaf | |
Definition at line 43 of file TTreeReaderValue.h.
◆ ~TTreeReaderValueBase()
ROOT::Internal::TTreeReaderValueBase::~TTreeReaderValueBase |
( |
| ) |
|
|
virtual |
◆ TTreeReaderValueBase() [1/2]
ROOT::Internal::TTreeReaderValueBase::TTreeReaderValueBase |
( |
TTreeReader * |
reader, |
|
|
const char * |
branchname, |
|
|
TDictionary * |
dict |
|
) |
| |
|
protected |
Construct a tree value reader and register it with the reader object.
Definition at line 40 of file TTreeReaderValue.cxx.
◆ TTreeReaderValueBase() [2/2]
◆ CreateProxy()
void ROOT::Internal::TTreeReaderValueBase::CreateProxy |
( |
| ) |
|
|
protectedvirtual |
◆ GetAddress()
void * ROOT::Internal::TTreeReaderValueBase::GetAddress |
( |
| ) |
|
◆ GetBranchDataType()
const char * ROOT::Internal::TTreeReaderValueBase::GetBranchDataType |
( |
TBranch * |
branch, |
|
|
TDictionary *& |
dict |
|
) |
| const |
|
protected |
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.
Definition at line 458 of file TTreeReaderValue.cxx.
◆ GetBranchName()
const char* ROOT::Internal::TTreeReaderValueBase::GetBranchName |
( |
| ) |
const |
|
inline |
◆ GetDerivedTypeName()
virtual const char* ROOT::Internal::TTreeReaderValueBase::GetDerivedTypeName |
( |
| ) |
const |
|
protectedpure virtual |
◆ GetElementTypeName()
std::string ROOT::Internal::TTreeReaderValueBase::GetElementTypeName |
( |
const std::type_info & |
ti | ) |
|
|
staticprotected |
◆ GetLeaf()
TLeaf* ROOT::Internal::TTreeReaderValueBase::GetLeaf |
( |
| ) |
|
|
inline |
◆ GetProxy()
◆ GetReadStatus()
virtual EReadStatus ROOT::Internal::TTreeReaderValueBase::GetReadStatus |
( |
| ) |
const |
|
inlinevirtual |
◆ GetSetupStatus()
ESetupStatus ROOT::Internal::TTreeReaderValueBase::GetSetupStatus |
( |
| ) |
const |
|
inline |
◆ IsValid()
Bool_t ROOT::Internal::TTreeReaderValueBase::IsValid |
( |
| ) |
const |
|
inline |
◆ MarkTreeReaderUnavailable()
void ROOT::Internal::TTreeReaderValueBase::MarkTreeReaderUnavailable |
( |
| ) |
|
|
inlineprotected |
◆ NotifyNewTree()
void ROOT::Internal::TTreeReaderValueBase::NotifyNewTree |
( |
TTree * |
newTree | ) |
|
|
protected |
◆ operator=()
◆ ProxyRead()
Try to read the value from the TBranchProxy, returns the status of the read.
Definition at line 126 of file TTreeReaderValue.cxx.
◆ RegisterWithTreeReader()
void ROOT::Internal::TTreeReaderValueBase::RegisterWithTreeReader |
( |
| ) |
|
|
protected |
◆ ::TTreeReader
◆ fBranchName
TString ROOT::Internal::TTreeReaderValueBase::fBranchName |
|
protected |
◆ fDict
TDictionary* ROOT::Internal::TTreeReaderValueBase::fDict |
|
protected |
◆ fHaveLeaf
int ROOT::Internal::TTreeReaderValueBase::fHaveLeaf |
|
protected |
◆ fHaveStaticClassOffsets
int ROOT::Internal::TTreeReaderValueBase::fHaveStaticClassOffsets |
|
protected |
◆ fLeaf
TLeaf* ROOT::Internal::TTreeReaderValueBase::fLeaf = nullptr |
|
protected |
◆ fLeafName
TString ROOT::Internal::TTreeReaderValueBase::fLeafName |
|
protected |
◆ fProxy
◆ fReadStatus
EReadStatus ROOT::Internal::TTreeReaderValueBase::fReadStatus |
|
protected |
◆ fSetupStatus
◆ fStaticClassOffsets
std::vector<Long64_t> ROOT::Internal::TTreeReaderValueBase::fStaticClassOffsets |
|
protected |
◆ fTreeReader
TTreeReader* ROOT::Internal::TTreeReaderValueBase::fTreeReader |
|
protected |
[legend]