KaliVeda
Toolkit for HIC analysis
KVGEBatchJob.h
1 
4 #ifndef __KVGEBATCHJOB_H
5 #define __KVGEBATCHJOB_H
6 
7 #include "KVBatchJob.h"
8 
16 class KVGEBatchJob : public KVBatchJob {
19 
20 public:
21  KVGEBatchJob();
22  virtual ~KVGEBatchJob();
23 
24  void DeleteJob();
26  {
27  resources = r;
28  }
29  const Char_t* GetResources() const
30  {
31  return resources;
32  }
33  virtual Int_t GetCPUusage() const
34  {
35  return cpu_used / cpu_scaling_factor ;
36  }
38  {
40  }
41 
42  void AlterResources(TString r);
43 
44  ClassDef(KVGEBatchJob, 1) //Job handled by Grid Engine batch system
45 };
46 
47 #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:16
Int_t cpu_used
Definition: KVBatchJob.h:19
Job handled by Grid Engine batch system at CC-IN2P3.
Definition: KVGEBatchJob.h:16
void SetCPUscalingFactor(Double_t x)
Definition: KVGEBatchJob.h:37
Double_t cpu_scaling_factor
Definition: KVGEBatchJob.h:18
KVGEBatchJob()
Default constructor.
virtual Int_t GetCPUusage() const
Definition: KVGEBatchJob.h:33
TString resources
Definition: KVGEBatchJob.h:17
const Char_t * GetResources() const
Definition: KVGEBatchJob.h:29
virtual ~KVGEBatchJob()
Destructor.
void AlterResources(TString r)
call qalter on job with given resource list
void SetResources(TString r)
Definition: KVGEBatchJob.h:25
void DeleteJob()
Double_t x[n]