#ifndef ROOT_TEventList
#define ROOT_TEventList
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TDirectory;
class TCollection;
class TEventList : public TNamed {
protected:
Int_t fN;
Int_t fSize;
Int_t fDelta;
Bool_t fReapply;
Long64_t *fList;
TDirectory *fDirectory;
public:
TEventList();
TEventList(const char *name, const char *title="",Int_t initsize=0, Int_t delta = 0);
TEventList(const TEventList &list);
virtual ~TEventList();
virtual void Add(const TEventList *list);
virtual void Clear(Option_t *option="") {Reset(option);}
virtual Bool_t Contains(Long64_t entry);
virtual Bool_t ContainsRange(Long64_t entrymin, Long64_t entrymax);
virtual void DirectoryAutoAdd(TDirectory *);
virtual void Enter(Long64_t entry);
TDirectory *GetDirectory() const {return fDirectory;}
virtual Long64_t GetEntry(Int_t index) const;
virtual Int_t GetIndex(Long64_t entry) const;
virtual Long64_t *GetList() const { return fList; }
virtual Int_t GetN() const { return fN; }
virtual Bool_t GetReapplyCut() const { return fReapply; };
virtual Int_t GetSize() const { return fSize; }
virtual void Intersect(const TEventList *list);
virtual Int_t Merge(TCollection *list);
virtual void Print(Option_t *option="") const;
virtual void Reset(Option_t *option="");
virtual void Resize(Int_t delta=0);
virtual void SetDelta(Int_t delta=100) {fDelta = delta;}
virtual void SetDirectory(TDirectory *dir);
virtual void SetName(const char *name);
virtual void SetReapplyCut(Bool_t apply = kFALSE) {fReapply = apply;};
virtual void Sort();
virtual void Subtract(const TEventList *list);
TEventList& operator=(const TEventList &list);
friend TEventList operator+(const TEventList &list1, const TEventList &list2);
friend TEventList operator-(const TEventList &list1, const TEventList &list2);
friend TEventList operator*(const TEventList &list1, const TEventList &list2);
ClassDef(TEventList,4);
};
#endif
Last change: Wed Jun 25 08:38:44 2008
Last generated: 2008-06-25 08:38
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.