Logo ROOT   6.10/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 /** \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 
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 
45 {
46 }
Abstract base class for PROOF benchmark runs.
virtual ~TProofBenchRun()
destructor
R__EXTERN TProof * gProof
Definition: TProof.h:1081
#define ClassImp(name)
Definition: Rtypes.h:336
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:320