26 ::Error(
"TTreeReaderFast::TTreeReaderFast",
"TTree is NULL!");
46 reader->MarkTreeReaderUnavailable();
65 reader->CreateProxy();
95 if (loadResult == -2) {
109 reader->CreateProxy();
132 if (iReader ==
fValues.end()) {
148 Int_t remaining = INT_MAX;
150 Int_t valueRemaining =
value->GetEvents(eventNum);
151 if (valueRemaining < remaining) {
152 remaining = valueRemaining;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
virtual const char * GetTypeName()
Int_t GetNextRange(Int_t)
Advance to the next range in the file; returns the number of events in the range.
void Initialize()
Initialization of the director.
std::deque< ROOT::Experimental::Internal::TTreeReaderValueFastBase * > fValues
readers that use our director
TTree * fTree
tree that's read
TDirectory * fDirectory
directory (or current file for chains)
~TTreeReaderFast()
Tell all value readers that the tree reader does not exist anymore.
ROOT::Internal::TBranchProxyDirector * fDirector
proxying director, owned
TTreeReader::EEntryStatus fEntryStatus
status of most recent read request
TTreeReader::EEntryStatus SetEntry(Long64_t)
Set an entry to be read.
void DeregisterValueReader(ROOT::Experimental::Internal::TTreeReaderValueFastBase *reader)
Remove a value reader for this tree.
void RegisterValueReader(ROOT::Experimental::Internal::TTreeReaderValueFastBase *reader)
Add a value reader for this tree.
Long64_t GetReadEntry() const
Return the current 'local' entry number; i.e.
TTree * SetTree(TTree *newtree)
Set the BranchProxy to be looking at a new tree.
@ kSetupMatch
This branch has been set up, branch data type and reader template type match, reading should succeed.
Describe directory structure in memory.
void GetObject(const char *namecycle, T *&ptr)
Get an object with proper type checking.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
@ kEntryNotFound
the tree entry number does not exist
@ kEntryNoTree
the tree does not exist
@ kEntryBadReader
One of the readers was not successfully initialized.
@ kEntryValid
data read okay
A TTree represents a columnar dataset.
virtual TTree * GetTree() const
virtual Long64_t LoadTree(Long64_t entry)
Set current entry.
virtual Int_t GetTreeNumber() const