Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
15Abstract 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
28TProofBenchRun::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}
#define ClassImp(name)
Definition Rtypes.h:364
R__EXTERN TProof * gProof
Definition TProof.h:1077
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
Definition TObject.cxx:696
void ResetBit(UInt_t f)
Definition TObject.h:186
@ kInvalidObject
if object ctor succeeded but object should not be used
Definition TObject.h:68
Abstract base class for PROOF benchmark runs.
TProofBenchRun(TProof *proof=0, const char *sel=0)
Constructor: check PROOF and load selectors PAR.
virtual ~TProofBenchRun()
destructor
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition TProof.h:316
Bool_t IsValid() const
Definition TProof.h:937