49 if (!fLeafName.empty()){
59 Error(
"TTreeReaderValueBase::GetLeaf()",
"Unable to get the tree from the TTreeReader");
66 Error(
"TTreeReaderValueBase::GetLeaf()",
"Unable to get the branch from the tree");
70 fLeaf =
myBranch->GetLeaf(fLeafName.c_str());
72 Error(
"TTreeReaderValueBase::GetLeaf()",
"Failed to get the leaf from the branch");
78 Error(
"TTreeReaderValueBase::GetLeaf()",
"We are not reading a leaf");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
TTreeReaderFast * fTreeReader
void CreateProxy()
Attach this value to the appropriate branch on the tree.
virtual ~TTreeReaderValueFastBase()
Unregister from tree reader, cleanup.
void DeregisterValueReader(ROOT::Experimental::Internal::TTreeReaderValueFastBase *reader)
Remove a value reader for this tree.
@ kSetupMissingBranch
The specified branch cannot be found.
@ kSetupMatch
This branch has been set up, branch data type and reader template type match, reading should succeed.
@ kReadError
Problem reading data.
@ kReadSuccess
Data read okay.
A TTree is a list of TBranches.
A TTree represents a columnar dataset.