Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files 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 #include "TObject.h"
24 #include "TProofBenchTypes.h"
25 
26 class TProof;
27 
28 class TProofBenchRun : public TObject {
29 
30 private:
31 
32 protected:
33 
34  TProof* fProof; // Proof
35  TString fSelName; // Name of the selector to be run
36  TString fParList; // List of PARs to be loaded
37  TString fSelOption; // Option field for processing the selector
38 
39 public:
40 
41  TProofBenchRun(TProof *proof = 0, const char *sel = 0);
42 
43  virtual ~TProofBenchRun();
44 
45  virtual const char *GetSelName() { return fSelName; }
46  virtual const char *GetParList() { return fParList; }
47  virtual void SetSelName(const char *sel) { fSelName = sel; }
48  virtual void SetParList(const char *pars) { fParList = pars; }
49  virtual void SetSelOption(const char *opt) { fSelOption = opt; }
50 
51  virtual void Run(Long64_t nevents, Int_t start = -1, Int_t stop = -1,
52  Int_t step = -1, Int_t ntries = -1, Int_t debug = -1,
53  Int_t draw = -1) = 0;
54  virtual void Run(const char *dset, Int_t start = -1, Int_t stop = -1,
55  Int_t step = -1, Int_t ntries = -1, Int_t debug = -1,
56  Int_t draw = -1) = 0;
57 
58  virtual void Print(Option_t *option = "") const=0;
59 
60  ClassDef(TProofBenchRun, 0) //Abstract base class for PROOF benchmark run
61 };
62 
63 #endif