Logo ROOT  
Reference Guide
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
TProofBenchTypes.h
Option_t
const char Option_t
Definition: RtypesCore.h:66
TProofBenchRun::GetSelName
virtual const char * GetSelName()
Definition: TProofBenchRun.h:45
Long64_t
long long Long64_t
Definition: RtypesCore.h:73
TProofBenchRun::TProofBenchRun
TProofBenchRun(TProof *proof=0, const char *sel=0)
Constructor: check PROOF and load selectors PAR.
Definition: TProofBenchRun.cxx:28
TString
Basic string class.
Definition: TString.h:136
TProofBenchRun::SetSelName
virtual void SetSelName(const char *sel)
Definition: TProofBenchRun.h:47
TProofBenchRun::Run
virtual void Run(const char *dset, 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
TProofBenchRun::GetParList
virtual const char * GetParList()
Definition: TProofBenchRun.h:46
TProofBenchRun::fSelName
TString fSelName
Definition: TProofBenchRun.h:35
TProofBenchRun
Abstract base class for PROOF benchmark runs.
Definition: TProofBenchRun.h:28
TProofBenchRun::SetSelOption
virtual void SetSelOption(const char *opt)
Definition: TProofBenchRun.h:49
TProofBenchRun::fProof
TProof * fProof
Definition: TProofBenchRun.h:34
TObject.h
TProofBenchRun::~TProofBenchRun
virtual ~TProofBenchRun()
destructor
Definition: TProofBenchRun.cxx:44
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TProofBenchRun::fParList
TString fParList
Definition: TProofBenchRun.h:36
TProof
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
TProofBenchRun::fSelOption
TString fSelOption
Definition: TProofBenchRun.h:37
TProofBenchRun::Run
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
TProofBenchRun::SetParList
virtual void SetParList(const char *pars)
Definition: TProofBenchRun.h:48
TProofBenchRun::Print
virtual void Print(Option_t *option="") const =0
This method must be overridden when a class wants to print itself.
int