#ifndef ROOT_TProofLite
#define ROOT_TProofLite
#ifndef ROOT_TProof
#include "TProof.h"
#endif
class TDSet;
class TList;
class TQueryResultManager;
class TProofDataSetManager;
class TProofLockPath;
class TProofMgr;
class TProofQueryResult;
class TServerSocket;
class TProofLite : public TProof {
friend class TProofPlayerLite;
private:
   Int_t    fNWorkers;    
   TString  fCacheDir;    
   TString  fQueryDir;    
   TString  fDataSetDir;  
   TString  fSockPath;    
   TServerSocket *fServSock; 
   Bool_t   fForkStartup; 
   TProofLockPath *fCacheLock; 
   TProofLockPath *fQueryLock; 
   TQueryResultManager *fQMgr; 
   TProofDataSetManager* fDataSetManager; 
   TProofLite(const TProofLite &);        
   void operator=(const TProofLite &);   
   Int_t CleanupSandbox();
   Int_t CreateSandbox();
   void  NotifyStartUp(const char *action, Int_t done, Int_t tot);
   Int_t SetProofServEnv(const char *ord);
   Int_t InitDataSetManager();
   void SendInputDataFile();
protected:
   TProofLite() : TProof() { } 
   Int_t  CreateSymLinks(TList *files);
   TList *GetDataSet(const char *name);
   Int_t Init(const char *masterurl, const char *conffile,
               const char *confdir, Int_t loglevel,
               const char *alias = 0);
   TProofQueryResult *MakeQueryResult(Long64_t nent, const char *opt,
                                      Long64_t fst, TDSet *dset,
                                      const char *selec);
   void SetQueryRunning(TProofQueryResult *pq);
   Int_t SetupWorkers(Int_t opt = 0, TList *wrks = 0);
public:
   TProofLite(const char *masterurl, const char *conffile = kPROOF_ConfFile,
              const char *confdir = kPROOF_ConfDir, Int_t loglevel = 0,
              const char *alias = 0, TProofMgr *mgr = 0);
   virtual ~TProofLite();
   void Print(Option_t *option="") const;
   Long64_t DrawSelect(TDSet *dset, const char *varexp,
                       const char *selection = "",
                       Option_t *option = "", Long64_t nentries = -1,
                       Long64_t firstentry = 0);
   Long64_t Process(TDSet *dset, const char *sel, Option_t *o = "",
                    Long64_t nent = -1, Long64_t fst = 0);
   Long64_t Process(TFileCollection *fc, const char *sel, Option_t *o = "",
                    Long64_t nent = -1, Long64_t fst = 0)
                    { return TProof::Process(fc, sel, o, nent, fst); }
   Long64_t Process(const char *dsname, const char *sel, Option_t *o = "",
                    Long64_t nent = -1, Long64_t fst = 0, TObject *enl = 0)
                    { return TProof::Process(dsname, sel, o, nent, fst, enl); }
   Long64_t Process(const char *sel, Long64_t nent, Option_t *o = "")
                    { return TProof::Process(sel, nent, o); }
   
   void ShowCache(Bool_t all = kFALSE);
   void ClearCache(const char *file = 0);
   
   TList *GetListOfQueries(Option_t *opt = "");
   Int_t Remove(const char *ref, Bool_t all);
   
   Bool_t   RegisterDataSet(const char *dsName, TFileCollection *ds, const char *opt = "");
   TMap    *GetDataSets(const char *uri = "", const char * = 0);
   void     ShowDataSets(const char *uri = "", const char * = 0);
   TFileCollection *GetDataSet(const char *uri, const char * = 0);
   Int_t    RemoveDataSet(const char *uri, const char * = 0);
   Int_t    VerifyDataSet(const char *uri, const char * = 0);
   
   TTree *GetTreeHeader(TDSet *tdset);
   static Int_t GetNumberOfWorkers(const char *url = 0);
   ClassDef(TProofLite,0)  
};
#endif
Last change: Mon Nov 24 08:19:57 2008
Last generated: 2008-11-24 08:19
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.