ROOT logo
// @(#)root/proof:$Id$
// Author: Sangsu Ryu 22/06/2010

/*************************************************************************
 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TProofBenchRun
#define ROOT_TProofBenchRun

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TProofBenchRun                                                       //
//                                                                      //
// Abstract base class for PROOF benchmark run.                         //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TProofBenchTypes
#include "TProofBenchTypes.h"
#endif

class TProof;

class TProofBenchRun : public TObject {

private:

protected:

   TProof* fProof;     // Proof
   TString fSelName;   // Name of the selector to be run
   TString fParList;   // List of PARs to be loaded

public:

   TProofBenchRun(TProof *proof = 0, const char *sel = 0);

   virtual ~TProofBenchRun();

   virtual const char *GetSelName() { return fSelName; }
   virtual const char *GetParList() { return fParList; }
   virtual void SetSelName(const char *sel) { fSelName = sel; }
   virtual void SetParList(const char *pars) { fParList = pars; }

   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;
   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 void Print(Option_t *option = "") const=0;

   ClassDef(TProofBenchRun, 0)   //Abstract base class for PROOF benchmark run
};

#endif
 TProofBenchRun.h:1
 TProofBenchRun.h:2
 TProofBenchRun.h:3
 TProofBenchRun.h:4
 TProofBenchRun.h:5
 TProofBenchRun.h:6
 TProofBenchRun.h:7
 TProofBenchRun.h:8
 TProofBenchRun.h:9
 TProofBenchRun.h:10
 TProofBenchRun.h:11
 TProofBenchRun.h:12
 TProofBenchRun.h:13
 TProofBenchRun.h:14
 TProofBenchRun.h:15
 TProofBenchRun.h:16
 TProofBenchRun.h:17
 TProofBenchRun.h:18
 TProofBenchRun.h:19
 TProofBenchRun.h:20
 TProofBenchRun.h:21
 TProofBenchRun.h:22
 TProofBenchRun.h:23
 TProofBenchRun.h:24
 TProofBenchRun.h:25
 TProofBenchRun.h:26
 TProofBenchRun.h:27
 TProofBenchRun.h:28
 TProofBenchRun.h:29
 TProofBenchRun.h:30
 TProofBenchRun.h:31
 TProofBenchRun.h:32
 TProofBenchRun.h:33
 TProofBenchRun.h:34
 TProofBenchRun.h:35
 TProofBenchRun.h:36
 TProofBenchRun.h:37
 TProofBenchRun.h:38
 TProofBenchRun.h:39
 TProofBenchRun.h:40
 TProofBenchRun.h:41
 TProofBenchRun.h:42
 TProofBenchRun.h:43
 TProofBenchRun.h:44
 TProofBenchRun.h:45
 TProofBenchRun.h:46
 TProofBenchRun.h:47
 TProofBenchRun.h:48
 TProofBenchRun.h:49
 TProofBenchRun.h:50
 TProofBenchRun.h:51
 TProofBenchRun.h:52
 TProofBenchRun.h:53
 TProofBenchRun.h:54
 TProofBenchRun.h:55
 TProofBenchRun.h:56
 TProofBenchRun.h:57
 TProofBenchRun.h:58
 TProofBenchRun.h:59
 TProofBenchRun.h:60
 TProofBenchRun.h:61
 TProofBenchRun.h:62
 TProofBenchRun.h:63
 TProofBenchRun.h:64
 TProofBenchRun.h:65