ROOT
6.10/00
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
proof
proofbench
src
TProofBenchRun.cxx
Go to the documentation of this file.
1
// @(#)root/proof:$Id$
2
// Author: Sangsu Ryu 22/06/2010
3
4
/*************************************************************************
5
* Copyright (C) 1995-2005, 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
/** \class TProofBenchRun
13
\ingroup proofbench
14
15
Abstract base class for PROOF benchmark runs
16
17
*/
18
19
#include "
TProofBenchRun.h
"
20
#include "
TList.h
"
21
#include "
TProof.h
"
22
23
ClassImp
(
TProofBenchRun
)
24
25
////////////////////////////////////////////////////////////////////////////////
26
/// Constructor: check PROOF and load selectors PAR
27
28
TProofBenchRun
::
TProofBenchRun
(
TProof
*proof, const
char
*sel) : fSelName(sel)
29
{
30
fProof = proof;
31
if
(!fProof){
32
fProof =
gProof
;
33
}
34
ResetBit(
kInvalidObject
);
35
if
(!fProof || (fProof && !fProof->IsValid())) {
36
SetBit(
kInvalidObject
);
37
return
;
38
}
39
}
40
41
////////////////////////////////////////////////////////////////////////////////
42
///destructor
43
44
TProofBenchRun::~TProofBenchRun
()
45
{
46
}
TProofBenchRun
Abstract base class for PROOF benchmark runs.
Definition:
TProofBenchRun.h:28
TProofBenchRun::~TProofBenchRun
virtual ~TProofBenchRun()
destructor
Definition:
TProofBenchRun.cxx:44
TList.h
gProof
R__EXTERN TProof * gProof
Definition:
TProof.h:1081
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:336
TProofBenchRun.h
TProof
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition:
TProof.h:320
TProof.h
kInvalidObject
Definition:
TObject.h:278