KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVGEBatchJob.h
Go to the documentation of this file.
1 
4 #ifndef __KVGEBATCHJOB_H
5 #define __KVGEBATCHJOB_H
6 
7 #include "KVBatchJob.h"
8 
15 class KVGEBatchJob : public KVBatchJob {
18 
19 public:
20  KVGEBatchJob();
21  virtual ~KVGEBatchJob();
22 
23  void DeleteJob();
25  {
26  resources = r;
27  }
28  const Char_t* GetResources() const
29  {
30  return resources;
31  }
32  virtual Int_t GetCPUusage() const
33  {
34  return cpu_used / cpu_scaling_factor ;
35  }
37  {
39  }
40 
41  void AlterResources(TString r);
42 
43  ClassDef(KVGEBatchJob, 1) //Job handled by Grid Engine batch system
44 };
45 
46 #endif
int Int_t
ROOT::R::TRInterface & r
char Char_t
double Double_t
#define ClassDef(name, id)
Handles jobs submitted to batch system.
Definition: KVBatchJob.h:15
Int_t cpu_used
Definition: KVBatchJob.h:18
Job handled by Grid Engine batch system at CC-IN2P3.
Definition: KVGEBatchJob.h:15
void SetCPUscalingFactor(Double_t x)
Definition: KVGEBatchJob.h:36
Double_t cpu_scaling_factor
Definition: KVGEBatchJob.h:17
KVGEBatchJob()
Default constructor.
virtual Int_t GetCPUusage() const
Definition: KVGEBatchJob.h:32
TString resources
Definition: KVGEBatchJob.h:16
const Char_t * GetResources() const
Definition: KVGEBatchJob.h:28
virtual ~KVGEBatchJob()
Destructor.
void AlterResources(TString r)
call qalter on job with given resource list
void SetResources(TString r)
Definition: KVGEBatchJob.h:24
void DeleteJob()
Double_t x[n]