forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TProofBenchRun.cxx
46 lines (36 loc) · 1.29 KB
/
TProofBenchRun.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// @(#)root/proof:$Id$
// Author: Sangsu Ryu 22/06/2010
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
/** \class TProofBenchRun
\ingroup proofbench
Abstract base class for PROOF benchmark runs
*/
#include "TProofBenchRun.h"
#include "TList.h"
#include "TProof.h"
ClassImp(TProofBenchRun);
////////////////////////////////////////////////////////////////////////////////
/// Constructor: check PROOF and load selectors PAR
TProofBenchRun::TProofBenchRun(TProof *proof, const char *sel) : fSelName(sel)
{
fProof = proof;
if (!fProof){
fProof = gProof;
}
ResetBit(kInvalidObject);
if (!fProof || (fProof && !fProof->IsValid())) {
SetBit(kInvalidObject);
return;
}
}
////////////////////////////////////////////////////////////////////////////////
///destructor
TProofBenchRun::~TProofBenchRun()
{
}