12 #ifndef ROOT_TEventList 13 #define ROOT_TEventList virtual Bool_t GetReapplyCut() const
virtual void Enter(Long64_t entry)
Enter element entry into the list.
friend TEventList operator*(const TEventList &list1, const TEventList &list2)
Intersection.
virtual Bool_t Contains(Long64_t entry)
Return TRUE if list contains entry.
virtual void SetDelta(Int_t delta=100)
TDirectory * GetDirectory() const
virtual void Clear(Option_t *option="")
Set name and title to empty strings ("").
virtual void Intersect(const TEventList *list)
Remove elements from this list that are NOT present in alist.
friend TEventList operator-(const TEventList &list1, const TEventList &list2)
Substraction.
TDirectory * fDirectory
! Pointer to directory holding this tree
virtual void Print(Option_t *option="") const
Print contents of this list.
Int_t fDelta
Increment size.
virtual void DirectoryAutoAdd(TDirectory *)
Called by TKey and others to automatically add us to a directory when we are read from a file...
TEventList & operator=(const TEventList &list)
Assingment.
virtual void Sort()
Sort list entries in increasing order.
Int_t fSize
Size of array.
virtual void Resize(Int_t delta=0)
Resize list by delta entries.
#define ClassDef(name, id)
virtual void SetReapplyCut(Bool_t apply=kFALSE)
The TNamed class is the base class for all named ROOT classes.
virtual Long64_t GetEntry(Int_t index) const
Return value of entry at index in the list.
virtual Bool_t ContainsRange(Long64_t entrymin, Long64_t entrymax)
Return TRUE if list contains entries from entrymin to entrymax included.
virtual Long64_t * GetList() const
virtual Int_t GetN() const
TEventList()
Default constructor for a EventList.
virtual void SetDirectory(TDirectory *dir)
Remove reference to this EventList from current directory and add reference to new directory dir...
virtual Int_t GetSize() const
Int_t fN
Number of elements in the list.
Collection abstract base class.
A TEventList object is a list of selected events (entries) in a TTree.
virtual ~TEventList()
Default destructor for a EventList.
friend TEventList operator+(const TEventList &list1, const TEventList &list2)
Addition.
virtual Int_t Merge(TCollection *list)
Merge entries in all the TEventList in the collection in this event list.
Describe directory structure in memory.
virtual void SetName(const char *name)
Change the name of this TEventList.
virtual void Add(const TEventList *list)
Merge contents of alist with this list.
Bool_t fReapply
If true, TTree::Draw will 'reapply' the original cut.
virtual void Subtract(const TEventList *list)
Remove elements from this list that are present in alist.
Long64_t * fList
[fN]Array of elements
virtual Int_t GetIndex(Long64_t entry) const
Return index in the list of element with value entry array is supposed to be sorted prior to this cal...
decltype(auto) constexpr apply(F &&f, Tuple &&t)
virtual void Reset(Option_t *option="")
Reset number of entries in event list.