ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TProofBenchRun.h
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 #ifndef ROOT_TProofBenchRun
13 #define ROOT_TProofBenchRun
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TProofBenchRun //
18 // //
19 // Abstract base class for PROOF benchmark run. //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #ifndef ROOT_TObject
24 #include "TObject.h"
25 #endif
26 #ifndef ROOT_TProofBenchTypes
27 #include "TProofBenchTypes.h"
28 #endif
29 
30 class TProof;
31 
32 class TProofBenchRun : public TObject {
33 
34 private:
35 
36 protected:
37 
38  TProof* fProof; // Proof
39  TString fSelName; // Name of the selector to be run
40  TString fParList; // List of PARs to be loaded
41  TString fSelOption; // Option field for processing the selector
42 
43 public:
44 
45  TProofBenchRun(TProof *proof = 0, const char *sel = 0);
46 
47  virtual ~TProofBenchRun();
48 
49  virtual const char *GetSelName() { return fSelName; }
50  virtual const char *GetParList() { return fParList; }
51  virtual void SetSelName(const char *sel) { fSelName = sel; }
52  virtual void SetParList(const char *pars) { fParList = pars; }
53  virtual void SetSelOption(const char *opt) { fSelOption = opt; }
54 
55  virtual void Run(Long64_t nevents, Int_t start = -1, Int_t stop = -1,
56  Int_t step = -1, Int_t ntries = -1, Int_t debug = -1,
57  Int_t draw = -1) = 0;
58  virtual void Run(const char *dset, Int_t start = -1, Int_t stop = -1,
59  Int_t step = -1, Int_t ntries = -1, Int_t debug = -1,
60  Int_t draw = -1) = 0;
61 
62  virtual void Print(Option_t *option = "") const=0;
63 
64  ClassDef(TProofBenchRun, 0) //Abstract base class for PROOF benchmark run
65 };
66 
67 #endif
virtual void SetSelOption(const char *opt)
Abstract base class for PROOF benchmark runs.
TProofBenchRun(TProof *proof=0, const char *sel=0)
long long Long64_t
Definition: RtypesCore.h:69
virtual void Print(Option_t *option="") const =0
This method must be overridden when a class wants to print itself.
const char Option_t
Definition: RtypesCore.h:62
Basic string class.
Definition: TString.h:137
int Int_t
Definition: RtypesCore.h:41
virtual void SetParList(const char *pars)
virtual const char * GetParList()
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual const char * GetSelName()
virtual ~TProofBenchRun()
destructor
TString fSelOption
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:342
virtual void Run(Long64_t nevents, Int_t start=-1, Int_t stop=-1, Int_t step=-1, Int_t ntries=-1, Int_t debug=-1, Int_t draw=-1)=0
Mother of all ROOT objects.
Definition: TObject.h:58
const char Int_t const char TProof * proof
Definition: TXSlave.cxx:46
bool debug
virtual void SetSelName(const char *sel)