00001 // @(#)root/proof:$Id: TProofCondor.h 27171 2009-01-16 16:04:00Z ganis $ 00002 // Author: Fons Rademakers 13/02/97 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TProofCondor 00013 #define ROOT_TProofCondor 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TProofCondor // 00019 // // 00020 // This class controls a Parallel ROOT Facility, PROOF, cluster. // 00021 // It fires the slave servers, it keeps track of how many slaves are // 00022 // running, it keeps track of the slaves running status, it broadcasts // 00023 // messages to all slaves, it collects results, etc. // 00024 // // 00025 ////////////////////////////////////////////////////////////////////////// 00026 00027 #ifndef ROOT_TProof 00028 #include "TProof.h" 00029 #endif 00030 #ifndef ROOT_TString 00031 #include "TString.h" 00032 #endif 00033 00034 class TCondor; 00035 class TTimer; 00036 00037 class TProofCondor : public TProof { 00038 00039 friend class TCondor; 00040 00041 private: 00042 TCondor *fCondor; //proxy for our Condor pool 00043 TTimer *fTimer; //timer for delayed Condor COD suspend 00044 00045 protected: 00046 Bool_t StartSlaves(Bool_t); 00047 TString GetJobAd(); 00048 00049 public: 00050 TProofCondor(const char *masterurl, const char *conffile = kPROOF_ConfFile, 00051 const char *confdir = kPROOF_ConfDir, Int_t loglevel = 0, 00052 const char *alias = 0, TProofMgr *mgr = 0); 00053 virtual ~TProofCondor(); 00054 virtual void SetActive() { TProof::SetActive(); } 00055 virtual void SetActive(Bool_t active); 00056 00057 ClassDef(TProofCondor,0) //PROOF control class for slaves allocated by condor 00058 }; 00059 00060 #endif