#include <unistd.h>#include <stdio.h>Functions | |
| wfile | Close () |
| for () | |
| pointers to detectors More... | |
| cout<< "Number of jobs in the merged lists : "<< merge_jobList.size()<< endl;if(nfactor<=0) nfactor=1;strcpy(work_dir, gSystem->WorkingDirectory());char full_condor_dir[1024];sprintf(full_condor_dir,"%s/%s", work_dir, condor_dir);char condor_dag_file[1024];sprintf(condor_dag_file,"%s/%s.dag", full_condor_dir, data_label);Long_t id, size=0, flags, mt;int estat=gSystem-> | GetPathInfo (condor_dag_file,&id,&size,&flags,&mt) |
| if (gSystem->AccessPathName(html_footer)) | |
| if (gSystem->Getenv("CWB_DOC_URL")!=NULL) | |
| if (gSystem->Getenv("SITE_CLUSTER")==NULL) | |
| if (gSystem->Getenv("CWB_MERGE_LABEL")==NULL) | |
| if (merge_label[0]!='M') | |
| if (!lcheck.IsDigit()) | |
| if (estat==0) | |
| if (merge_jobList.size()< nfactor *condor_jobList.size()) | |
| if (condor_jobList.size()>0 &&merge_jobList.size()>0) | |
| if (gSystem->Getenv("HOME_WAT")==NULL) | |
| if (gSystem->Getenv("CWB_NETC_FILE")==NULL) | |
| if (gSystem->Getenv("CWB_PARAMETERS_FILE")==NULL) | |
| if (gSystem->Getenv("CWB_UPARAMETERS_FILE")==NULL) | |
| if (gSystem->Getenv("CWB_PPARAMETERS_FILE")==NULL) | |
| if (gSystem->Getenv("CWB_UPPARAMETERS_FILE")==NULL) | |
| if (wfile==NULL) | |
| if (hst) | |
| if (pp_jet_benckmark &&merge_jobList.size()>0) | |
| if (pp_mem_benckmark &&merge_jobList.size()>0) | |
| out | open (jstatus_file, ios::out) |
| lcheck | Remove (0, 1) |
| sprintf (html_footer,"%s/html/etc/html/footer.html", gSystem->Getenv("HOME_WAT")) | |
| sprintf (ilstfname,"%s/merge_%s.%s.lst", merge_dir, data_label, cwb_merge_label.Data()) | |
| sprintf (percentage_job_list_str,"<font color=\lue\%2.1f%%</font>", 0.) | |
| sprintf (odir,"%s/%s", pp_dir, pp_data_dir) | |
| sprintf (jstatus_file,"%s/job_status.html", odir) | |
| wfile Close | ( | ) |
| for | ( | ) |
pointers to detectors
Definition at line 259 of file cwb_mkhtml_header.C.
| cout<< "Number of jobs in the merged lists : " << merge_jobList.size() << endl; if(nfactor<=0) nfactor=1; strcpy(work_dir,gSystem->WorkingDirectory()); char full_condor_dir[1024]; sprintf(full_condor_dir,"%s/%s",work_dir,condor_dir); char condor_dag_file[1024]; sprintf(condor_dag_file,"%s/%s.dag",full_condor_dir,data_label); Long_t id,size=0,flags,mt; int estat = gSystem-> GetPathInfo | ( | condor_dag_file | , |
| & | id, | ||
| & | size, | ||
| & | flags, | ||
| & | mt | ||
| ) |
| if | ( | gSystem-> | AccessPathNamehtml_footer | ) |
Definition at line 35 of file cwb_mkhtml_header.C.
| if | ( | gSystem->Getenv("CWB_DOC_URL")! | = NULL | ) |
Definition at line 46 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"SITE_CLUSTER" = =NULL | ) |
Definition at line 52 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_MERGE_LABEL" = =NULL | ) |
Definition at line 61 of file cwb_mkhtml_header.C.
| if | ( | merge_label! | [0] = 'M' | ) |
Definition at line 69 of file cwb_mkhtml_header.C.
| if | ( | !lcheck. | IsDigit() | ) |
Definition at line 74 of file cwb_mkhtml_header.C.
| if | ( | estat | = =0 | ) |
Definition at line 99 of file cwb_mkhtml_header.C.
| if | ( | ) |
Definition at line 105 of file cwb_mkhtml_header.C.
| if | ( | condor_jobList. | size(), |
| 0 &&merge_jobList. | size(), | ||
| 0 | |||
| ) |
Definition at line 112 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"HOME_WAT" = =NULL | ) |
Definition at line 129 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_NETC_FILE" = =NULL | ) |
Definition at line 135 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" = =NULL | ) |
Definition at line 141 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" = =NULL | ) |
Definition at line 147 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_PPARAMETERS_FILE" = =NULL | ) |
Definition at line 153 of file cwb_mkhtml_header.C.
| if | ( | gSystem-> | Getenv"CWB_UPPARAMETERS_FILE" = =NULL | ) |
Definition at line 159 of file cwb_mkhtml_header.C.
| if | ( | wfile | = =NULL | ) |
Definition at line 172 of file cwb_mkhtml_header.C.
| if | ( | hst | ) |
Definition at line 177 of file cwb_mkhtml_header.C.
| if | ( | pp_jet_benckmark &&merge_jobList. | size(), |
| 0 | |||
| ) |
Definition at line 230 of file cwb_mkhtml_header.C.
| if | ( | pp_mem_benckmark &&merge_jobList. | size(), |
| 0 | |||
| ) |
Definition at line 243 of file cwb_mkhtml_header.C.
| out open | ( | jstatus_file | , |
| ios::out | |||
| ) |
| lcheck Remove | ( | 0 | , |
| 1 | |||
| ) |
| sprintf | ( | html_footer | , |
| "%s/html/etc/html/footer.html" | , | ||
| gSystem-> | Getenv"HOME_WAT" | ||
| ) |
| sprintf | ( | ilstfname | , |
| "%s/merge_%s.%s.lst" | , | ||
| merge_dir | , | ||
| data_label | , | ||
| cwb_merge_label. | Data() | ||
| ) |
| sprintf | ( | percentage_job_list_str | ) |
| sprintf | ( | odir | , |
| "%s/%s" | , | ||
| pp_dir | , | ||
| pp_data_dir | |||
| ) |
| sprintf | ( | jstatus_file | , |
| "%s/job_status.html" | , | ||
| odir | |||
| ) |
| char cmd[1024] |
Definition at line 165 of file cwb_mkhtml_header.C.
| char condor_job_list_str[64] |
Definition at line 110 of file cwb_mkhtml_header.C.
| vector<int> condor_jobList |
Definition at line 98 of file cwb_mkhtml_header.C.
| TString cwb_doc_url ="" |
Definition at line 45 of file cwb_mkhtml_header.C.
| cwb_merge_label |
Definition at line 60 of file cwb_mkhtml_header.C.
| TString cwb_netc_file |
Definition at line 134 of file cwb_mkhtml_header.C.
| TString cwb_parameters_file |
Definition at line 140 of file cwb_mkhtml_header.C.
| TString cwb_pparameters_file |
Definition at line 152 of file cwb_mkhtml_header.C.
| TString cwb_uparameters_file |
Definition at line 146 of file cwb_mkhtml_header.C.
| TString cwb_upparameters_file |
Definition at line 158 of file cwb_mkhtml_header.C.
| else |
Definition at line 54 of file cwb_mkhtml_header.C.
| TString full_parameters_file ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString home_wat |
Definition at line 128 of file cwb_mkhtml_header.C.
| CWB::History* hst = (CWB::History*)wfile->Get("history") |
Definition at line 174 of file cwb_mkhtml_header.C.
| char html_footer[1024] |
Definition at line 33 of file cwb_mkhtml_header.C.
| char ilstfname[1024] |
Definition at line 80 of file cwb_mkhtml_header.C.
| int iversion |
Definition at line 59 of file cwb_mkhtml_header.C.
| char jstatus_file[1024] |
Definition at line 275 of file cwb_mkhtml_header.C.
| int max_jobs = 0 |
Definition at line 258 of file cwb_mkhtml_header.C.
| TString merge_cuts ="" |
Definition at line 175 of file cwb_mkhtml_header.C.
| char merge_job_list_str[64] |
Definition at line 104 of file cwb_mkhtml_header.C.
| vector<TString> merge_jobFileList |
Definition at line 82 of file cwb_mkhtml_header.C.
| vector<int> merge_jobList = CWB::Toolbox::getMergeJobList(ilstfname,merge_jobFileList) |
Definition at line 83 of file cwb_mkhtml_header.C.
Definition at line 67 of file cwb_mkhtml_header.C.
| TString merged_file_name = simulation ? sim_file_name : net_file_name |
Definition at line 170 of file cwb_mkhtml_header.C.
| char odir[1024] |
Definition at line 166 of file cwb_mkhtml_header.C.
| char oline[1024] |
Definition at line 278 of file cwb_mkhtml_header.C.
| ofstream out |
Definition at line 276 of file cwb_mkhtml_header.C.
| char percentage_job_list_str[64] |
Definition at line 111 of file cwb_mkhtml_header.C.
| TString pr_cfg_ver ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString pr_framelib_ver ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString pr_lal_ver ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString pr_root_ver ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString pr_wat_git ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString pr_wat_ver ="" |
Definition at line 176 of file cwb_mkhtml_header.C.
| TString site_cluster ="" |
Definition at line 51 of file cwb_mkhtml_header.C.
| TObjArray* token = TString(cwb_merge_label).Tokenize(TString(".")) |
Definition at line 66 of file cwb_mkhtml_header.C.
| TFile* wfile = new TFile(merged_file_name) |
Definition at line 171 of file cwb_mkhtml_header.C.