10#ifndef __KVBATCHSYSTEM_H
11#define __KVBATCHSYSTEM_H
13#include "KVNameValueList.h"
14#include "KVNumberList.h"
96 virtual ~ KVBatchSystem();
#define ClassDef(name, id)
Base class for KaliVeda framework.
Base class for interface to a batch job management system.
virtual void SubmitTask(KVDataAnalyser *da)
KVString fJobSubCmd
shell command for submitting job
virtual void WriteBatchEnvFile(TEnv *)
virtual const Char_t * GetDefaultJobOptions() const
KVString fJobName
base job name
virtual const Char_t * GetJobSubCmdLine()
virtual void SetJobName(const Char_t *name)
virtual void SetDefaultJobOptions(const Char_t *opt)
virtual Bool_t MultiJobsMode() const
void cd()
Make this the default batch system.
KVString fJobScript
full path of shell script to be executed by batch system
KVNameValueList & GetParameters()
virtual const Char_t * GetJobName() const
virtual void SanitizeJobName() const
virtual void PrintJobs(Option_t *="")
KVNameValueList fParList
list of parameters/switches to be passed on job submission command line
virtual KVList * GetListOfJobs()
virtual void Print(Option_t *="") const
virtual void ChangeDefJobOpt(KVDataAnalyser *da)
virtual void SetAnalyser(KVDataAnalyser *da)
static KVBatchSystem * GetBatchSystem(const Char_t *plugin)
virtual const Char_t * GetJobSubCmd() const
virtual void AlterJobs(TGWindow *, TList *)
virtual void ReadBatchEnvFile(TEnv *)
KVString fDefOpt
default options for job submission command
virtual void SetBatchSystemParameters(const KVNameValueList &)
Use the parameters in the list to set all relevant parameters for batch system.
KVDataAnalyser * fAnalyser
the analyser object which requests job submission, it has all details on the job
virtual void SetJobScript(const Char_t *path)
KVString fCurrJobName
name of current job being submitted
virtual void GetBatchSystemParameterList(KVNameValueList &)
virtual void Clear(Option_t *opt="")
KVNumberList fCurrJobRunList
runlist for (multi job mode) job being submitted
virtual Bool_t CheckJobParameters()
Checks the job and ask for the job name if needed.
Manager class which sets up and runs data analysis tasks.
Extended TList class which owns its objects by default.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Strings used to represent a set of ranges of values.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
const char * Data() const