Logo ROOT   6.16/01
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
26class TProof;
27
28class TProofBenchRun : public TObject {
29
30private:
31
32protected:
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
39public:
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
int Int_t
Definition: RtypesCore.h:41
long long Long64_t
Definition: RtypesCore.h:69
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:324
Mother of all ROOT objects.
Definition: TObject.h:37
Abstract base class for PROOF benchmark runs.
TProofBenchRun(TProof *proof=0, const char *sel=0)
Constructor: check PROOF and load selectors PAR.
virtual void SetParList(const char *pars)
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
virtual const char * GetSelName()
virtual void SetSelName(const char *sel)
TString fSelOption
virtual ~TProofBenchRun()
destructor
virtual void SetSelOption(const char *opt)
virtual const char * GetParList()
virtual void Print(Option_t *option="") const =0
This method must be overridden when a class wants to print itself.
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
This class controls a Parallel ROOT Facility, PROOF, cluster.
Definition: TProof.h:316
Basic string class.
Definition: TString.h:131