ROOT  6.06/09
Reference Guide
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 
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 
46 {
47 }
virtual ~TProofBenchRun()
destructor
R__EXTERN TProof * gProof
Definition: TProof.h:1110
Definition: TProof.h:339
const char Int_t const char TProof * proof
Definition: TXSlave.cxx:46
ClassImp(TProofBenchRun) TProofBenchRun
Constructor: check PROOF and load selectors PAR.