Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
long long Long64_t
Definition RtypesCore.h:80
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:337
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
Mother of all ROOT objects.
Definition TObject.h:41
Abstract base class for PROOF benchmark runs.
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)
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:139