12 #ifndef ROOT_TEntryListFromFile
13 #define ROOT_TEntryListFromFile
90 virtual void SetTree(
const char * ,
const char * ){};
virtual TEntryList * GetCurrentList() const
Manages entry lists from different files, when they are not loaded in memory at the same time...
virtual void SetTree(const char *, const char *)
If a list for a tree with such name and filename exists, sets it as the current sublist If not...
virtual Bool_t Enter(Long64_t, TTree *)
Add entry entry to the list.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual Long64_t GetEntriesFast() const
static const char * filename()
ClassDef(TEntryListFromFile, 1)
virtual Int_t Contains(Long64_t, TTree *)
virtual Int_t Merge(TCollection *)
Merge this list with the lists from the collection.
static constexpr auto kBigNumber
points to the fFiles data member of the corresponding chain
const char * Data() const
virtual void OptimizeStorage()
Checks if the array representation is more economical and if so, switches to it.
virtual void SetNFiles(Int_t nfiles)
virtual Int_t LoadList(Int_t listnumber)
Loads the list #listnumber This is the only function that can modify fCurrent and fFile data members...
virtual Long64_t Next()
Returns the next entry in the list.
virtual Long64_t GetEntry(Int_t index)
Returns entry #index See also Next() for a faster alternative.
TEntryListFromFile & operator=(const TEntryListFromFile &)
virtual void Add(const TEntryList *)
Add 2 entry lists.
virtual TEntryList * GetEntryList(const char *, const char *, Option_t *)
Return the entry list, correspoding to treename and filename By default, the filename is first tried ...
virtual void Print(const Option_t *option="") const
Print info about this list.
Collection abstract base class.
virtual Bool_t Remove(Long64_t, TTree *)
Remove entry entry from the list.
virtual void Subtract(const TEntryList *)
Remove all the entries of this entry list, that are contained in elist.
virtual ~TEntryListFromFile()
d-tor
virtual void SetTreeNumber(Int_t index)
virtual Int_t GetTreeNumber() const
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
virtual const char * GetTreeName() const
Int_t fTreeNumber
Hash value of a string of treename and filename.
virtual Long64_t GetN() const
virtual Long64_t GetEntries()
Returns the total number of entries in the list.
virtual Long64_t GetEntryAndTree(Int_t index, Int_t &treenum)
Return the entry corresponding to the index parameter and the number of the tree, where this entry is...
virtual const char * GetFileName() const
virtual void SetTree(const TTree *)
If a list for a tree with such name and filename exists, sets it as the current sublist If not...
A TTree object has a header with a name and a title.
A List of entry numbers in a TTree or TChain.
virtual void SetFileNames(TObjArray *names)