Logo ROOT   6.12/07
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  }
35  if (!fProof || (fProof && !fProof->IsValid())) {
37  return;
38  }
39 }
40 
41 ////////////////////////////////////////////////////////////////////////////////
42 ///destructor
43 
45 {
46 }
Abstract base class for PROOF benchmark runs.
TProofBenchRun(TProof *proof=0, const char *sel=0)
Constructor: check PROOF and load selectors PAR.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Definition: TObject.cxx:694
virtual ~TProofBenchRun()
destructor
if object ctor succeeded but object should not be used
Definition: TObject.h:68
R__EXTERN TProof * gProof
Definition: TProof.h:1077
#define ClassImp(name)
Definition: Rtypes.h:359
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
void ResetBit(UInt_t f)
Definition: TObject.h:171
Bool_t IsValid() const
Definition: TProof.h:937