10 #ifndef __KVBATCHSYSTEM_H
11 #define __KVBATCHSYSTEM_H
13 #include "KVNameValueList.h"
14 #include "KVNumberList.h"
17 #include "run_index.h"
#define ClassDefOverride(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 *)
KVString fJobName
base job name
void Clear(Option_t *opt="") override
virtual const Char_t * GetJobSubCmdLine()
virtual ~ KVBatchSystem()
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
KVBatchSystem(const Char_t *name)
virtual const Char_t * GetDefaultJobOptions() const
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 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.
run_index_list fCurrJobRunList
runlist for (multi job mode) job being submitted
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
void Print(Option_t *="") const override
virtual void GetBatchSystemParameterList(KVNameValueList &)
KVNameValueList & GetParameters()
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.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
const char * Data() const