12 #ifndef ROOT_TTreeReader
13 #define ROOT_TTreeReader
25 #ifndef ROOT_THashTable
31 #ifndef ROOT_TTreeReaderUtils
44 class TBranchProxyDirector;
60 public std::iterator<std::input_iterator_tag, const Long64_t, Long64_t> {
86 return !(*
this == lhs);
197 std::deque<ROOT::Internal::TTreeReaderValueBase*>
fValues;
208 #endif // defined TTreeReader
const Long64_t & operator*() const
TCollection * GetProxies()
TTreeReader is a simple, robust and fast interface to read values from a TTree, TChain or TNtuple...
std::deque< ROOT::Internal::TTreeReaderValueBase * > fValues
ROOT::Internal::TNamedBranchProxy * FindProxy(const char *branchname) const
void SetTree(const char *, TDirectory *)
bool operator==(const Iterator_t &lhs) const
TTreeReader(const char *, TFileCollection *)
EEntryStatus SetEntryBase(Long64_t entry, Bool_t local)
Load an entry into the tree, return the status of the read.
THashTable implements a hash table to store TObject's.
Long64_t GetCurrentEntry() const
Returns the index of the current entry being read.
Long64_t GetEntries(Bool_t force) const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
EEntryStatus fEntryStatus
const Long64_t & operator*()
void RegisterValueReader(ROOT::Internal::TTreeReaderValueBase *reader)
Add a value reader for this tree.
ROOT::Internal::TBranchProxyDirector * fDirector
This class defines an abstract interface that must be implemented by all classes that contain diction...
Collection abstract base class.
Bool_t TestBit(UInt_t f) const
~TTreeReader()
Tell all value readers that the tree reader does not exist anymore.
EEntryStatus SetEntry(Long64_t entry)
void SetChain(const char *, TFileCollection *)
Iterator_t operator++(int)
EEntryStatus SetLocalEntry(Long64_t entry)
Describe directory structure in memory.
virtual Long64_t GetEntriesFast() const
void Initialize()
Initialization of the director.
void DeregisterValueReader(ROOT::Internal::TTreeReaderValueBase *reader)
Remove a value reader for this tree.
EEntryStatus GetEntryStatus() const
Iterator_t & operator++()
Mother of all ROOT objects.
bool operator!=(const Iterator_t &lhs) const
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
TObject * FindObject(const char *name) const
Find object using its name.
virtual Long64_t GetEntries() const
A TTree object has a header with a name and a title.
void SetTree(TTree *tree)
Set (or update) the which tree to reader from.
void SetLastEntry(Long64_t entry)
EEntryStatus SetEntriesRange(Long64_t first, Long64_t last)
Set the range of entries to be processed.
Iterator_t(TTreeReader &reader, Long64_t entry)