#include <vector>
Functions | |
TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE")) |
TB | checkFile (cwb_condor_dag, false) |
TB | dumpSegList (dq1List, dq1ListFile, false) |
cout<< cwb_condor_fstart<< endl;int cwb_condor_flen=-1;if(gSystem->Getenv("CWB_CONDOR_FLEN")==NULL) { cout<< "Error : environment CWB_CONDOR_FLEN is not defined!!!"<< endl;exit(1);} if(TString(gSystem->Getenv("CWB_CONDOR_FLEN")).IsDigit()) { cwb_condor_flen=TString(gSystem->Getenv("CWB_CONDOR_FLEN")).Atoi();} if(cwb_condor_flen<=1) { cout<< "cwb_condor_xdag.C - Error : FRAME LENGHT must be defined"<< endl;gSystem-> | Exit (1) |
for (int i=0;i< jobSeg.size();i++) | |
if (slagSize !=1) | |
if (gSystem->Getenv("CWB_CONDOR_FSTART")==NULL) | |
if (TString(gSystem->Getenv("CWB_CONDOR_FSTART")).IsDigit()) | |
if (cwb_condor_fstart<=1) | |
if (gSystem->Getenv("CWB_CONDOR_DAG")!=NULL) | |
if (!cwb_condor_dag.Contains(".dag")) | |
cout<< "Dump file : "<< jobListFile<< endl;cout<< "nJob = "<< jobSeg.size()<< endl;cout<< endl;vector< bool > | jobSelected (jobSeg.size()) |
cwb_condor_xdag | ReplaceAll (".dag",".xdag") |
sprintf (full_condor_dir,"%s/%s", work_dir, condor_dir) | |
Variables | |
TString | cwb_condor_dag = TString::Format("%s/%s.dag",condor_dir,data_label) |
int | cwb_condor_fstart =-1 |
TString | cwb_condor_xdag = cwb_condor_dag |
cout<< cwb_condor_flen<< endl;double xtime;char jobListFile[256];sprintf(jobListFile,"%s/%s.sjob", dump_dir, data_label);char dq1ListFile[256];sprintf(dq1ListFile,"%s/%s.cat1", dump_dir, data_label);cout<< endl<<"-------------------------------------------------------------------------------------"<< endl<< endl;CWB_CAT dqcat=CWB_CAT1;vector< waveSegment > | dq1List =TB.readSegList(nDQF, DQF, dqcat) |
char | full_condor_dir [1024] |
vector< int > | jobList =TB.getCondorJobList(full_condor_dir, data_label) |
cout<< "Dump file : "<< dq1ListFile<< endl;xtime=TB.getTimeSegList(dq1List);cout<< "cat1 livetime : "<< int(xtime)<< " sec "<< xtime/3600.<< " h "<< xtime/86400.<< " day"<< endl;cout<< endl<<"-------------------------------------------------------------------------------------"<< endl<< endl;vector< waveSegment > | jobSeg =TB.getSlagJobList(dq1List, segLen) |
TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" | ) |
TB checkFile | ( | cwb_condor_dag | , |
false | |||
) |
TB dumpSegList | ( | dq1List | , |
dq1ListFile | , | ||
false | |||
) |
cout<< cwb_condor_fstart << endl; int cwb_condor_flen=-1; if(gSystem->Getenv("CWB_CONDOR_FLEN")==NULL) { cout << "Error : environment CWB_CONDOR_FLEN is not defined!!!" << endl;exit(1); } if(TString(gSystem->Getenv("CWB_CONDOR_FLEN")).IsDigit()) { cwb_condor_flen=TString(gSystem->Getenv("CWB_CONDOR_FLEN")).Atoi(); } if(cwb_condor_flen<=1) { cout << "cwb_condor_xdag.C - Error : FRAME LENGHT must be defined" << endl; gSystem-> Exit | ( | 1 | ) |
for | ( | ) |
Definition at line 88 of file cwb_condor_xdag.C.
if | ( | slagSize ! | = 1 | ) |
Definition at line 33 of file cwb_condor_xdag.C.
if | ( | gSystem-> | Getenv"CWB_CONDOR_FSTART" = =NULL | ) |
Definition at line 38 of file cwb_condor_xdag.C.
Definition at line 41 of file cwb_condor_xdag.C.
if | ( | cwb_condor_fstart<= | 1 | ) |
Definition at line 44 of file cwb_condor_xdag.C.
if | ( | gSystem->Getenv("CWB_CONDOR_DAG")! | = NULL | ) |
Definition at line 102 of file cwb_condor_xdag.C.
if | ( | !cwb_condor_dag. | Contains".dag" | ) |
Definition at line 106 of file cwb_condor_xdag.C.
cout<< "Dump file : " << jobListFile << endl; cout << "nJob = " << jobSeg.size() << endl; cout << endl; vector<bool> jobSelected | ( | jobSeg. | size() | ) |
cwb_condor_xdag ReplaceAll | ( | ".dag" | , |
".xdag" | |||
) |
sprintf | ( | full_condor_dir | , |
"%s/%s" | , | ||
work_dir | , | ||
condor_dir | |||
) |
TString cwb_condor_dag = TString::Format("%s/%s.dag",condor_dir,data_label) |
Definition at line 100 of file cwb_condor_xdag.C.
int cwb_condor_fstart =-1 |
Definition at line 37 of file cwb_condor_xdag.C.
TString cwb_condor_xdag = cwb_condor_dag |
Definition at line 113 of file cwb_condor_xdag.C.
cout<< cwb_condor_flen << endl; double xtime; char jobListFile[256]; sprintf(jobListFile,"%s/%s.sjob",dump_dir,data_label); char dq1ListFile[256]; sprintf(dq1ListFile,"%s/%s.cat1",dump_dir,data_label); cout<<endl<<"-------------------------------------------------------------------------------------"<< endl<<endl; CWB_CAT dqcat = CWB_CAT1; vector<waveSegment> dq1List =TB.readSegList(nDQF, DQF, dqcat) |
Definition at line 73 of file cwb_condor_xdag.C.
char full_condor_dir[1024] |
Definition at line 98 of file cwb_condor_xdag.C.
vector<int> jobList =TB.getCondorJobList(full_condor_dir, data_label) |
Definition at line 111 of file cwb_condor_xdag.C.
cout<< "Dump file : " << dq1ListFile << endl; xtime=TB.getTimeSegList(dq1List); cout << "cat1 livetime : " << int(xtime) << " sec " << xtime/3600. << " h " << xtime/86400. << " day" << endl; cout<<endl<<"-------------------------------------------------------------------------------------"<< endl<<endl; vector<waveSegment> jobSeg =TB.getSlagJobList(dq1List, segLen) |
Definition at line 83 of file cwb_condor_xdag.C.