Macros | |
#define | DIM "width=\"496\" height=\"440\"" |
#define | HEIGHT 440 |
#define | SHBOX "rel=\"shadowbox[gallery]" |
#define | WIDTH 496 |
Functions | |
TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_PPARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_UPPARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_EPPARAMETERS_FILE")) |
html | Convert (cwb_parameters_file.Data(), cwb_parameters_file.Data(), odir) |
html | Convert (cwb_uparameters_file.Data(), cwb_uparameters_file.Data(), odir) |
html | Convert (cwb_pparameters_file.Data(), cwb_pparameters_file.Data(), odir) |
html | Convert (cwb_upparameters_file.Data(), cwb_upparameters_file.Data(), odir) |
gSystem | Exec (TString("rm -rf ")+TString(odir)) |
gSystem | Exec (TString("mkdir -p ")+TString(odir)) |
gSystem | Exec (cmd) |
gSystem | Exec (TString("mkdir -p ")+TString(tdir)) |
for (int i=0;i< epsList.size();i++) | |
cout<< "Number of jobs in the merged lists : " << merge_jobList.size()<< endl;if(nfactor <=0) nfactor=1;TString cwb_condor_tag="";char full_condor_dir[512];sprintf(full_condor_dir,"%s/%s", work_dir, condor_dir);char condor_dag_file[256];sprintf(condor_dag_file,"%s/%s%s.dag", full_condor_dir, data_label, cwb_condor_tag.Data());Long_t id, size=0, flags, mt;int estat=gSystem-> | GetPathInfo (condor_dag_file,&id,&size,&flags,&mt) |
if (gSystem->Getenv("CWB_MERGE_LABEL")==NULL) | |
if (cwb_merge_label[0]!='M') | |
if (!lcheck.IsDigit()) | |
if (estat==0) | |
if (merge_jobList.size()< nfactor *condor_jobList.size()) | |
if (condor_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 (TString(plugin.GetName()).Sizeof()>1) | |
if (TString(configPlugin.GetName()).Sizeof()>1) | |
if (!ofile.good()) | |
if (MDC.GetInspiralOption("--gps-start-time")!="") | |
if (MDC.GetInspiralOption("--gps-end-time")!="") | |
if (MDC.GetInspiralOption("--waveform")!="") | |
gROOT | Macro (configPlugin.GetTitle()) |
ofile | open (fileout, ios::out) |
lcheck | Remove (0, 1) |
html | SetEtcDir (gSystem->ExpandPathName("$HOME_WAT/html/etc/html")) |
html | SetInputDir ("config:macro:condor:$CWB_TOOLBOX:$CWB_SKYPLOT:$CWB_HISTORY:$HOME_CWB:$CWB_STFT:$CWB_BICO:$HOME_WAT/wat:$ROOTSYS/include") |
html | SetProductName ("CWB") |
gRandom | SetSeed (0) |
sprintf (odir,"%s/html", pp_dir) | |
sprintf (cmd,"cp %s/html/etc/html/ROOT.css %s/", gSystem->ExpandPathName("$HOME_WAT"), pp_dir) | |
sprintf (cmd,"cp %s/html/etc/html/ROOT.js %s/", gSystem->ExpandPathName("$HOME_WAT"), pp_dir) | |
sprintf (cmd,"cp %s/tools/config.csh %s/config.csh", home_wat.Data(), odir) | |
sprintf (tdir,"/dev/shm/%s/%d", uname.Data(), rnID) | |
sprintf (fileout,"%s/index.html", pp_dir) | |
sprintf (netdir,"%s/%s", pp_dir, pp_data_dir) | |
sprintf (netdir,"%s", pp_data_dir) | |
strcpy (cfg->tmp_dir,"tmp") | |
Variables | |
CWB::config * | cfg = new CWB::config |
char | cmd [256] |
char | condor_job_list_str [64] |
vector< int > | condor_jobList |
TString | cwb_merge_label =((TObjString*)token->At(0))->GetString() |
TString | cwb_netc_file |
TString | cwb_parameters_file |
TString | cwb_pparameters_file |
TString | cwb_uparameters_file |
TString | cwb_upparameters_file |
else | |
vector< TString > | epsList = TB.getFileListFromDir(PP_DATA_PATH, ".eps") |
char | fileout [2048] |
int | GpsEndTime = 0 |
int | GpsStartTime = 0 |
TString | home_wat |
THtml | html |
TString | HTML_DATA_DIR ="html" |
TString | Insp = MDC.GetInspiral() |
int | iversion |
char | merge_job_list_str [64] |
vector< int > | merge_jobList = TB.getMergeJobList(merge_dir,data_label,iversion) |
network * | net =NULL |
char | odir [256] |
ofstream | ofile |
TString | PP_DATA_DIR =netdir |
TString | PP_DATA_PATH =netdir |
int | rnID = int(gRandom->Rndm(13)*1.e9) |
char | tdir [256] |
TObjArray * | token = TString(cwb_merge_label).Tokenize(TString(".")) |
UserGroup_t * | uinfo = gSystem->GetUserInfo() |
TString | uname = uinfo->fUser |
TString | waveform |
#define DIM "width=\"496\" height=\"440\"" |
Definition at line 4 of file create_htmlpage.C.
#define HEIGHT 440 |
Definition at line 3 of file create_htmlpage.C.
#define SHBOX "rel=\"shadowbox[gallery]" |
Definition at line 5 of file create_htmlpage.C.
#define WIDTH 496 |
Definition at line 2 of file create_htmlpage.C.
TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_PPARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_UPPARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_EPPARAMETERS_FILE" | ) |
gSystem Exec | ( | cmd | ) |
for | ( | ) |
Definition at line 254 of file create_htmlpage.C.
cout<< "Number of jobs in the merged lists : " << merge_jobList.size() << endl; if(nfactor<=0) nfactor=1; TString cwb_condor_tag=""; char full_condor_dir[512]; sprintf(full_condor_dir,"%s/%s",work_dir,condor_dir); char condor_dag_file[256]; sprintf(condor_dag_file,"%s/%s%s.dag",full_condor_dir,data_label,cwb_condor_tag.Data()); Long_t id,size=0,flags,mt; int estat = gSystem-> GetPathInfo | ( | condor_dag_file | , |
& | id, | ||
& | size, | ||
& | flags, | ||
& | mt | ||
) |
if | ( | gSystem-> | Getenv"CWB_MERGE_LABEL" = =NULL | ) |
Definition at line 21 of file create_htmlpage.C.
if | ( | cwb_merge_label! | [0] = 'M' | ) |
Definition at line 29 of file create_htmlpage.C.
if | ( | !lcheck. | IsDigit() | ) |
Definition at line 34 of file create_htmlpage.C.
if | ( | estat | = =0 | ) |
Definition at line 54 of file create_htmlpage.C.
if | ( | ) |
Definition at line 62 of file create_htmlpage.C.
if | ( | condor_jobList. | size(), |
0 | |||
) |
Definition at line 68 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"HOME_WAT" = =NULL | ) |
Definition at line 80 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"CWB_NETC_FILE" = =NULL | ) |
Definition at line 86 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" = =NULL | ) |
Definition at line 92 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" = =NULL | ) |
Definition at line 98 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"CWB_PPARAMETERS_FILE" = =NULL | ) |
Definition at line 104 of file create_htmlpage.C.
if | ( | gSystem-> | Getenv"CWB_UPPARAMETERS_FILE" = =NULL | ) |
Definition at line 110 of file create_htmlpage.C.
if | ( | TString(plugin.GetName()).Sizeof() | , |
1 | |||
) |
Definition at line 171 of file create_htmlpage.C.
if | ( | TString(configPlugin.GetName()).Sizeof() | , |
1 | |||
) |
Definition at line 178 of file create_htmlpage.C.
if | ( | !ofile. | good() | ) |
Definition at line 193 of file create_htmlpage.C.
Definition at line 228 of file create_htmlpage.C.
if | ( | MDC.GetInspiralOption("--gps-end-time")! | = "" | ) |
Definition at line 229 of file create_htmlpage.C.
if | ( | MDC.GetInspiralOption("--waveform")! | = "" | ) |
Definition at line 230 of file create_htmlpage.C.
gROOT Macro | ( | configPlugin. | GetTitle() | ) |
lcheck Remove | ( | 0 | , |
1 | |||
) |
html SetEtcDir | ( | gSystem-> | ExpandPathName"$HOME_WAT/html/etc/html" | ) |
html SetInputDir | ( | "config:macro:condor:$CWB_TOOLBOX:$CWB_SKYPLOT:$CWB_HISTORY:$HOME_CWB:$CWB_STFT:$CWB_BICO:$HOME_WAT/wat:$ROOTSYS/include" | ) |
html SetProductName | ( | "CWB" | ) |
gRandom SetSeed | ( | 0 | ) |
sprintf | ( | fileout | , |
"%s/index.html" | , | ||
pp_dir | |||
) |
sprintf | ( | netdir | , |
"%s/%s" | , | ||
pp_dir | , | ||
pp_data_dir | |||
) |
sprintf | ( | netdir | , |
"%s" | , | ||
pp_data_dir | |||
) |
strcpy | ( | cfg-> | tmp_dir, |
"tmp" | |||
) |
CWB::config* cfg = new CWB::config |
Definition at line 217 of file create_htmlpage.C.
char cmd[256] |
Definition at line 123 of file create_htmlpage.C.
char condor_job_list_str[64] |
Definition at line 67 of file create_htmlpage.C.
vector<int> condor_jobList |
Definition at line 53 of file create_htmlpage.C.
Definition at line 20 of file create_htmlpage.C.
TString cwb_netc_file |
Definition at line 85 of file create_htmlpage.C.
TString cwb_parameters_file |
Definition at line 91 of file create_htmlpage.C.
TString cwb_pparameters_file |
Definition at line 103 of file create_htmlpage.C.
TString cwb_uparameters_file |
Definition at line 97 of file create_htmlpage.C.
TString cwb_upparameters_file |
Definition at line 109 of file create_htmlpage.C.
else |
Definition at line 23 of file create_htmlpage.C.
vector<TString> epsList = TB.getFileListFromDir(PP_DATA_PATH, ".eps") |
Definition at line 253 of file create_htmlpage.C.
char fileout[2048] |
Definition at line 189 of file create_htmlpage.C.
int GpsEndTime = 0 |
Definition at line 224 of file create_htmlpage.C.
int GpsStartTime = 0 |
Definition at line 223 of file create_htmlpage.C.
TString home_wat |
Definition at line 79 of file create_htmlpage.C.
THtml html |
Definition at line 117 of file create_htmlpage.C.
TString HTML_DATA_DIR ="html" |
Definition at line 199 of file create_htmlpage.C.
TString Insp = MDC.GetInspiral() |
Definition at line 222 of file create_htmlpage.C.
int iversion |
Definition at line 19 of file create_htmlpage.C.
char merge_job_list_str[64] |
Definition at line 61 of file create_htmlpage.C.
vector<int> merge_jobList = TB.getMergeJobList(merge_dir,data_label,iversion) |
Definition at line 40 of file create_htmlpage.C.
network* net =NULL |
Definition at line 214 of file create_htmlpage.C.
char odir[256] |
Definition at line 124 of file create_htmlpage.C.
ofstream ofile |
Definition at line 188 of file create_htmlpage.C.
PP_DATA_DIR =netdir |
Definition at line 198 of file create_htmlpage.C.
PP_DATA_PATH =netdir |
Definition at line 196 of file create_htmlpage.C.
Definition at line 164 of file create_htmlpage.C.
char tdir[256] |
Definition at line 167 of file create_htmlpage.C.
TObjArray* token = TString(cwb_merge_label).Tokenize(TString(".")) |
Definition at line 26 of file create_htmlpage.C.
UserGroup_t* uinfo = gSystem->GetUserInfo() |
Definition at line 165 of file create_htmlpage.C.
Definition at line 166 of file create_htmlpage.C.
Definition at line 225 of file create_htmlpage.C.