ROOT
6.06/08
Reference Guide
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
//////////////////////////////////////////////////////////////////////////
13
// //
14
// TProofBenchRun //
15
// //
16
// Abstract base class for PROOF benchmark run. //
17
// //
18
//////////////////////////////////////////////////////////////////////////
19
20
#include "
TProofBenchRun.h
"
21
#include "
TList.h
"
22
#include "
TProof.h
"
23
24
ClassImp
(
TProofBenchRun
)
25
26
////////////////////////////////////////////////////////////////////////////////
27
/// Constructor: check PROOF and load selectors PAR
28
29
TProofBenchRun
::
TProofBenchRun
(
TProof
*proof, const
char
*sel) : fSelName(sel)
30
{
31
fProof = proof;
32
if
(!fProof){
33
fProof =
gProof
;
34
}
35
ResetBit(
kInvalidObject
);
36
if
(!fProof || (fProof && !fProof->IsValid())) {
37
SetBit(
kInvalidObject
);
38
return
;
39
}
40
}
41
42
////////////////////////////////////////////////////////////////////////////////
43
///destructor
44
45
TProofBenchRun::~TProofBenchRun
()
46
{
47
}
TProofBenchRun
Definition:
TProofBenchRun.h:32
TProofBenchRun::~TProofBenchRun
virtual ~TProofBenchRun()
destructor
Definition:
TProofBenchRun.cxx:45
TList.h
gProof
R__EXTERN TProof * gProof
Definition:
TProof.h:1110
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
TProofBenchRun.h
TProof
Definition:
TProof.h:339
TProof.h
kInvalidObject
Definition:
TObject.h:230