#ifndef ROOT_TEventIter
#define ROOT_TEventIter
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TDSet;
class TDSetElement;
class TFile;
class TDirectory;
class TSelector;
class TList;
class TIter;
class TTree;
class TEventList;
class TEventIter : public TObject {
protected:
   TDSet         *fDSet;         
   TDSetElement  *fElem;         
   TString        fFilename;     
   TFile         *fFile;         
   Long64_t       fOldBytesRead; 
   TString        fPath;         
   TDirectory    *fDir;          
   Long64_t       fElemFirst;    
   Long64_t       fElemNum;      
   Long64_t       fElemCur;      
   TSelector     *fSel;          
   Long64_t       fFirst;        
   Long64_t       fNum;          
   Long64_t       fCur;          
   Bool_t         fStop;         
   TEventList    *fEventList;    
   Int_t          fEventListPos; 
   Int_t          LoadDir();     
public:
   TEventIter();
   TEventIter(TDSet *dset, TSelector *sel, Long64_t first, Long64_t num);
   virtual ~TEventIter();
   virtual Long64_t  GetNextEvent() = 0;
   virtual void      StopProcess(Bool_t abort);
   static TEventIter *Create(TDSet *dset, TSelector *sel, Long64_t first, Long64_t num);
   ClassDef(TEventIter,0)  
};
class TEventIterObj : public TEventIter {
private:
   TString  fClassName;    
   TList   *fKeys;         
   TIter   *fNextKey;      
   TObject *fObj;          
public:
   TEventIterObj();
   TEventIterObj(TDSet *dset, TSelector *sel, Long64_t first, Long64_t num);
   ~TEventIterObj();
   Long64_t GetNextEvent();
   ClassDef(TEventIterObj,0)  
};
class TEventIterTree : public TEventIter {
private:
   TString     fTreeName;    
   TTree      *fTree;        
   TList      *fAcquiredTrees;   
   TTree* Load(TDSetElement *elem);
   TTree* GetTrees(TDSetElement *elem);
   void   ReleaseAllTrees();
public:
   TEventIterTree();
   TEventIterTree(TDSet *dset, TSelector *sel, Long64_t first, Long64_t num);
   ~TEventIterTree();
   Long64_t GetNextEvent();
   ClassDef(TEventIterTree,0)  
};
#endif
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.