12#ifndef ROOT_TEntryList
13#define ROOT_TEntryList
112 const char *newroot,
const char *oldroot =
nullptr,
const char *enlnm =
nullptr);
116#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40600
117#pragma GCC diagnostic push
118#pragma GCC diagnostic ignored "-Weffc++"
121#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40600
122#pragma GCC diagnostic pop
int Int_t
Signed integer 4 bytes (int).
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
long long Long64_t
Portable signed long integer 8 bytes.
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Collection abstract base class.
Describe directory structure in memory.
bool fReapply
If true, TTree::Draw will 'reapply' the original cut.
Long64_t fLastIndexQueried
! used to optimize GetEntry() function from a loop
Long64_t fEntriesToProcess
used on proof to set the number of entries to process in a packet
virtual Int_t GetTreeNumber() const
TString fFileName
name of the file, where the tree is
virtual TList * GetLists() const
virtual Int_t RelocatePaths(const char *newloc, const char *oldloc=nullptr)
TEntryList(const TEntryList &elist)
virtual Int_t ScanPaths(TList *roots, bool notify=true)
virtual void SetShift(bool shift)
virtual Long64_t GetEntriesToProcess() const
TDirectory * fDirectory
! Pointer to directory holding this tree
virtual Int_t Merge(TCollection *list)
virtual void SetEntriesToProcess(Long64_t nen)
virtual TDirectory * GetDirectory() const
TObjArray * fBlocks
blocks with indices of passing events (TEntryListBlocks)
TEntryList & operator=(const TEntryList &)
virtual Int_t Contains(Long64_t entry, TTree *tree=nullptr)
virtual void OptimizeStorage()
TEntryList(const char *name, const char *title, const TTree *tree)
virtual bool Enter(Long64_t entry, TTree *tree=nullptr)
virtual const char * GetFileName() const
TEntryList(const char *name, const char *title, const char *treename, const char *filename)
virtual bool Remove(Long64_t entry, TTree *tree=nullptr)
static Int_t Relocate(const char *fn, const char *newroot, const char *oldroot=nullptr, const char *enlnm=nullptr)
virtual void DirectoryAutoAdd(TDirectory *)
virtual Long64_t GetEntry(Long64_t index)
static Int_t Scan(const char *fn, TList *roots)
Long64_t fN
number of entries in the list
virtual void SetTree(const char *treename, const char *filename)
virtual void SetTree(const TTree *tree)
virtual void SetReapplyCut(bool apply=false)
virtual void SetTreeNumber(Int_t index)
Long64_t fLastIndexReturned
! used to optimize GetEntry() function from a loop
TEntryList(const char *name, const char *title)
void EnterRange(Long64_t start, Long64_t end, TTree *tree=nullptr, UInt_t step=1U)
virtual TEntryList * GetCurrentList() const
virtual void SetTreeName(const char *treename)
virtual void Subtract(const TEntryList *elist)
Int_t fNBlocks
number of TEntryListBlocks
virtual void SetFileName(const char *filename)
TEntryList(const TTree *tree)
virtual void SetDirectory(TDirectory *dir)
virtual const char * GetTreeName() const
virtual bool GetReapplyCut() const
virtual void Add(const TEntryList *elist)
TEntryList * fCurrent
! currently filled entry list
virtual TEntryList * GetEntryList(const char *treename, const char *filename, Option_t *opt="")
void Print(const Option_t *option="") const override
virtual bool Enter(Long64_t localentry, const char *treename, const char *filename)
ULong_t fStringHash
! Hash value of a string of treename and filename
TList * fLists
a list of underlying entry lists for each tree of a chain
void GetFileName(const char *filename, TString &fn, bool *=nullptr)
TString fTreeName
name of the tree
void AddSubList(TEntryList *elist)
virtual Long64_t GetEntryAndTree(Long64_t index, Int_t &treenum)
friend TEntryList operator||(TEntryList &elist1, TEntryList &elist2)
virtual Long64_t GetN() const
A TTree represents a columnar dataset.