ROOT
6.06/04
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
proof
proof
inc
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
#ifndef ROOT_TProof
28
#include "
TProof.h
"
29
#endif
30
#ifndef ROOT_TString
31
#include "
TString.h
"
32
#endif
33
34
class
TCondor
;
35
class
TTimer
;
36
37
class
TProofCondor
:
public
TProof
{
38
39
friend
class
TCondor
;
40
41
private
:
42
TCondor
*
fCondor
;
//proxy for our Condor pool
43
TTimer
*
fTimer
;
//timer for delayed Condor COD suspend
44
45
protected
:
46
Bool_t
StartSlaves
(
Bool_t
);
47
TString
GetJobAd
();
48
49
public
:
50
TProofCondor
(
const
char
*masterurl,
const
char
*conffile =
kPROOF_ConfFile
,
51
const
char
*confdir =
kPROOF_ConfDir
,
Int_t
loglevel = 0,
52
const
char
*alias = 0,
TProofMgr
*mgr = 0);
53
virtual
~TProofCondor
();
54
virtual
void
SetActive
() {
TProof::SetActive
(); }
55
virtual
void
SetActive
(
Bool_t
active);
56
57
ClassDef
(
TProofCondor
,0)
//PROOF control class for slaves allocated by condor
58
};
59
60
#endif
TCondor
Definition:
TCondor.h:56
TProofMgr
Definition:
TProofMgr.h:53
TString
Basic string class.
Definition:
TString.h:137
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TProofCondor
Definition:
TProofCondor.h:37
TProofCondor::StartSlaves
Bool_t StartSlaves(Bool_t)
Setup Condor workers using dynamic information.
Definition:
TProofCondor.cxx:81
TProofCondor::SetActive
virtual void SetActive()
Definition:
TProofCondor.h:54
kPROOF_ConfFile
const char *const kPROOF_ConfFile
Definition:
TProof.h:145
TString.h
TProofCondor::TProofCondor
TProofCondor(const char *masterurl, const char *conffile=kPROOF_ConfFile, const char *confdir=kPROOF_ConfDir, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0)
Start proof using condor.
Definition:
TProofCondor.cxx:43
kPROOF_ConfDir
const char *const kPROOF_ConfDir
Definition:
TProof.h:146
TProof::SetActive
void SetActive(Bool_t=kTRUE)
Definition:
TProof.h:1021
TProofCondor::~TProofCondor
virtual ~TProofCondor()
Clean up Condor PROOF environment.
Definition:
TProofCondor.cxx:72
TProofCondor::fTimer
TTimer * fTimer
Definition:
TProofCondor.h:43
TTimer
Handles synchronous and a-synchronous timer events.
Definition:
TTimer.h:57
TProofCondor::GetJobAd
TString GetJobAd()
Get job Ad.
Definition:
TProofCondor.cxx:308
TProof
Definition:
TProof.h:339
TProofCondor::fCondor
TCondor * fCondor
Definition:
TProofCondor.h:42
TProof.h