Functions | |
TB | checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_PARAMETERS_FILE")) |
TB | checkFile (gSystem->Getenv("CWB_UPARAMETERS_FILE")) |
gSystem | Exit (1) |
out<< config.Data();out.close();gSystem-> | Exit (0) |
for (int i=0;i< fileList.size();i++) | |
if (gSystem->Getenv("CWB_MERGE_LABEL")==NULL) | |
if (cwb_merge_label[0]!='M') | |
if (!lcheck.IsDigit()) | |
if (cwb_merge_opts!="") | |
if (cwb_utag!="") | |
if (cwb_merge_number==0||cwb_merge_number >=iversion) | |
if (cwb_utag=="") | |
if (ihistory==NULL) | |
if (!out.good()) | |
gROOT | Macro (gSystem->ExpandPathName("$CWB_MACROS/cwb_merge_log.C")) |
out | open (configFile, ios::out) |
lcheck | Remove (0, 1) |
sprintf (tag,"wave_%s", data_label) | |
sprintf (configFile,"%s/cwb_user_parameters.C", merge_dir) | |
Variables | |
TString | config |
char | configFile [1024] |
bool | cwb_bpsm = false |
bool | cwb_brms = false |
bool | cwb_bvar = false |
TString | cwb_merge_label |
int | cwb_merge_number =0 |
TString | cwb_merge_opts =TString(gSystem->Getenv("CWB_MERGE_OPTS")) |
int | cwb_nthreads = 0 |
TString | cwb_utag = "" |
else | |
vector< TString > | fileList = TB.getFileListFromDir(merge_dir, ".root", tag,"",true) |
TString | git_version |
CWB::History * | ihistory = (CWB::History*)ifile->Get("history") |
int | ipos = (cwb_utag=="") ? 2 : 3 |
int | iversion =0 |
char | merge_list_file [256] |
TString | mtag |
char | new_data_label [256] |
int | nStages = cwb::GetStageSize() |
ofstream | out |
char | tag [256] |
TB checkFile | ( | gSystem-> | Getenv"CWB_ROOTLOGON_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_PARAMETERS_FILE" | ) |
TB checkFile | ( | gSystem-> | Getenv"CWB_UPARAMETERS_FILE" | ) |
gSystem Exit | ( | 1 | ) |
for | ( | ) |
Definition at line 92 of file cwb_merge.C.
if | ( | gSystem-> | Getenv"CWB_MERGE_LABEL" = =NULL | ) |
Definition at line 12 of file cwb_merge.C.
if | ( | cwb_merge_label! | [0] = 'M' | ) |
Definition at line 19 of file cwb_merge.C.
if | ( | !lcheck. | IsDigit() | ) |
Definition at line 24 of file cwb_merge.C.
if | ( | cwb_merge_opts! | = "" | ) |
Definition at line 39 of file cwb_merge.C.
if | ( | cwb_utag! | = "" | ) |
Definition at line 78 of file cwb_merge.C.
if | ( | cwb_merge_number | = =0 || cwb_merge_number>=iversion | ) |
Definition at line 109 of file cwb_merge.C.
if | ( | cwb_utag | = ="" | ) |
Definition at line 125 of file cwb_merge.C.
if | ( | ihistory | = =NULL | ) |
Definition at line 168 of file cwb_merge.C.
if | ( | !out. | good() | ) |
Definition at line 198 of file cwb_merge.C.
gROOT Macro | ( | gSystem-> | ExpandPathName"$CWB_MACROS/cwb_merge_log.C" | ) |
out open | ( | configFile | , |
ios::out | |||
) |
lcheck Remove | ( | 0 | , |
1 | |||
) |
sprintf | ( | tag | , |
"wave_%s" | , | ||
data_label | |||
) |
sprintf | ( | configFile | , |
"%s/cwb_user_parameters.C" | , | ||
merge_dir | |||
) |
TString config |
Definition at line 172 of file cwb_merge.C.
char configFile[1024] |
Definition at line 195 of file cwb_merge.C.
bool cwb_bpsm = false |
Definition at line 32 of file cwb_merge.C.
bool cwb_brms = false |
Definition at line 33 of file cwb_merge.C.
bool cwb_bvar = false |
Definition at line 34 of file cwb_merge.C.
TString cwb_merge_label |
Definition at line 11 of file cwb_merge.C.
cwb_merge_number =0 |
Definition at line 18 of file cwb_merge.C.
Definition at line 38 of file cwb_merge.C.
int cwb_nthreads = 0 |
Definition at line 35 of file cwb_merge.C.
TString cwb_utag = "" |
Definition at line 36 of file cwb_merge.C.
else |
Definition at line 14 of file cwb_merge.C.
vector<TString> fileList = TB.getFileListFromDir(merge_dir, ".root", tag,"",true) |
Definition at line 75 of file cwb_merge.C.
TString git_version |
Definition at line 173 of file cwb_merge.C.
CWB::History* ihistory = (CWB::History*)ifile->Get("history") |
Definition at line 167 of file cwb_merge.C.
Definition at line 91 of file cwb_merge.C.
iversion =0 |
Definition at line 90 of file cwb_merge.C.
char merge_list_file[256] |
Definition at line 135 of file cwb_merge.C.
TString mtag |
Definition at line 77 of file cwb_merge.C.
char new_data_label[256] |
Definition at line 124 of file cwb_merge.C.
int nStages = cwb::GetStageSize() |
Definition at line 174 of file cwb_merge.C.
out<< "<table border=0 cellpadding=2 class=\"datagrid\"><<endlout<<"< tralign=\"center\">"<< endlout<<"<td>ID</td>"<< endlif(bhveto) out<<"<td>KW</td>"<< endlif(bcat3) out<<"<td>cat3</td>"<< endlout<<"<td>rho["<< pp_irho<<"]</td>"<< endlout<<"<td>cc["<< pp_inetcc<<"]</td>"<< endlif(TString(analysis)=="2G") out<<"<td>subnet</td>"<< endlout<<"<td>lag</td>"<< endlout<<"<td>slag</td>"<< endlout<<"<td>SNRnet</td>"<< endlif(TString(analysis)=="1G") out<<"<td>pf</td>"<< endlif(TString(analysis)=="1G") out<<"<td>vED</td>"<< endlout<<"<td>freq</td>"<< endlout<<"<td>bw</td>"<< endlout<<"<td>dur</td>"<< endlout<<"<td>size</td>"<< endlif(optim==true) out<<"<td>res</td>"<< endlout<<"<td>run</td>"<< endlfor(intnn=0nn< nIFOnn++) out<<"<td>GPS"<< _ifo[nn]<<"</td>"<< endlfor(intnn=0nn< nIFOnn++) out<<"<td>SNR"<< _ifo[nn]<<"</td>"<< endlout<<"</tr>"<< endldoublestart |
Definition at line 196 of file cwb_merge.C.
char tag[256] |
Definition at line 74 of file cwb_merge.C.