Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cwb_condor_list.C
Go to the documentation of this file.
1 // list of jobs included in the dag file : used by the cwb_condor command
2 
3 {
4  #include <vector>
5 
7 
8  TB.checkFile(gSystem->Getenv("CWB_ROOTLOGON_FILE"));
9  TB.checkFile(gSystem->Getenv("CWB_PARAMETERS_FILE"));
10  TB.checkFile(gSystem->Getenv("CWB_UPARAMETERS_FILE"));
11 
12  char full_condor_dir[512];
13  sprintf(full_condor_dir,"%s/%s",work_dir,condor_dir);
14 
15  vector<int> jobList=TB.getCondorJobList(full_condor_dir, data_label);
16 
17  for(int i=0;i<jobList.size();i++) {
18  cout << i << " jobId : " << jobList[i] << endl;
19  }
20  cout << endl;
21  cout << "List Size : " << jobList.size() << endl;
22 
23  exit(0);
24 }
i drho i
static bool checkFile(TString fName, bool question=false, TString message="")
Definition: Toolbox.cc:3956
CWB::Toolbox TB
Definition: ComputeSNR.C:5
char data_label[512]
Definition: test_config1.C:160
sprintf(full_condor_dir,"%s/%s", work_dir, condor_dir)
vector< int > jobList
char full_condor_dir[512]
static vector< int > getCondorJobList(TString condor_dir, TString label)
Definition: Toolbox.cc:1378
char condor_dir[512]
Definition: test_config1.C:148
char work_dir[512]
Definition: test_config1.C:143
exit(0)