Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TProofCondor.h
Go to the documentation of this file.
1// @(#)root/proof:$Id$
2// Author: Fons Rademakers 13/02/97
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TProofCondor
13#define ROOT_TProofCondor
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TProofCondor //
19// //
20// This class controls a Parallel ROOT Facility, PROOF, cluster. //
21// It fires the slave servers, it keeps track of how many slaves are //
22// running, it keeps track of the slaves running status, it broadcasts //
23// messages to all slaves, it collects results, etc. //
24// //
25//////////////////////////////////////////////////////////////////////////
26
27#include "TProof.h"
28#include "TString.h"
29
30class TCondor;
31class TTimer;
32
33class TProofCondor : public TProof {
34
35friend class TCondor;
36
37private:
38 TCondor *fCondor; //proxy for our Condor pool
39 TTimer *fTimer; //timer for delayed Condor COD suspend
40
41protected:
42 Bool_t StartSlaves(Bool_t) override;
44
45public:
46 TProofCondor(const char *masterurl, const char *conffile = kPROOF_ConfFile,
47 const char *confdir = kPROOF_ConfDir, Int_t loglevel = 0,
48 const char *alias = 0, TProofMgr *mgr = 0);
49 ~TProofCondor() override;
50 virtual void SetActive() { TProof::SetActive(); }
51 virtual void SetActive(Bool_t active);
52
53 ClassDefOverride(TProofCondor,0) //PROOF control class for slaves allocated by condor
54};
55
56#endif
bool Bool_t
Definition RtypesCore.h:63
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
const char *const kPROOF_ConfFile
Definition TProof.h:122
const char *const kPROOF_ConfDir
Definition TProof.h:123
Bool_t StartSlaves(Bool_t) override
Setup Condor workers using dynamic information.
~TProofCondor() override
Clean up Condor PROOF environment.
TCondor * fCondor
TTimer * fTimer
TString GetJobAd()
Get job Ad.
virtual void SetActive()
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
Definition TProofMgr.h:43
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition TProof.h:316
void SetActive(Bool_t=kTRUE)
Definition TProof.h:988
Basic string class.
Definition TString.h:139
Handles synchronous and a-synchronous timer events.
Definition TTimer.h:51