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 [1024] |
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 110 of file cwb_merge.C.
if | ( | gSystem-> | Getenv"CWB_MERGE_LABEL" = =NULL | ) |
Definition at line 30 of file cwb_merge.C.
if | ( | cwb_merge_label! | [0] = 'M' | ) |
Definition at line 37 of file cwb_merge.C.
if | ( | !lcheck. | IsDigit() | ) |
Definition at line 42 of file cwb_merge.C.
if | ( | cwb_merge_opts! | = "" | ) |
Definition at line 57 of file cwb_merge.C.
if | ( | cwb_utag! | = "" | ) |
Definition at line 96 of file cwb_merge.C.
if | ( | cwb_merge_number | = =0 || cwb_merge_number>=iversion | ) |
Definition at line 127 of file cwb_merge.C.
if | ( | cwb_utag | = ="" | ) |
Definition at line 143 of file cwb_merge.C.
if | ( | ihistory | = =NULL | ) |
Definition at line 186 of file cwb_merge.C.
if | ( | !out. | good() | ) |
Definition at line 216 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 190 of file cwb_merge.C.
char configFile[1024] |
Definition at line 213 of file cwb_merge.C.
bool cwb_bpsm = false |
Definition at line 50 of file cwb_merge.C.
bool cwb_brms = false |
Definition at line 51 of file cwb_merge.C.
bool cwb_bvar = false |
Definition at line 52 of file cwb_merge.C.
TString cwb_merge_label |
Definition at line 29 of file cwb_merge.C.
cwb_merge_number =0 |
Definition at line 36 of file cwb_merge.C.
Definition at line 56 of file cwb_merge.C.
int cwb_nthreads = 0 |
Definition at line 53 of file cwb_merge.C.
TString cwb_utag = "" |
Definition at line 54 of file cwb_merge.C.
else |
Definition at line 32 of file cwb_merge.C.
vector<TString> fileList = TB.getFileListFromDir(merge_dir, ".root", tag,"",true) |
Definition at line 93 of file cwb_merge.C.
TString git_version |
Definition at line 191 of file cwb_merge.C.
CWB::History* ihistory = (CWB::History*)ifile->Get("history") |
Definition at line 185 of file cwb_merge.C.
Definition at line 109 of file cwb_merge.C.
iversion =0 |
Definition at line 108 of file cwb_merge.C.
char merge_list_file[1024] |
Definition at line 153 of file cwb_merge.C.
TString mtag |
Definition at line 95 of file cwb_merge.C.
char new_data_label[256] |
Definition at line 142 of file cwb_merge.C.
int nStages = cwb::GetStageSize() |
Definition at line 192 of file cwb_merge.C.
out<< "<table border=0 cellpadding=2 class=\atagrid\<< endl out << "< tr align=\"center\"<< endl out<< "<td>ID</td>"<< endl if(bhveto) out<< "<td>KW</td>"<< endl if(bcat3) out<< "<td>cat3 </td>"<< endl out<< "<td>rho["<< pp_irho<<"]</td>"<< endl out<< "<td>cc["<< pp_inetcc<<"]</td>"<< endl if(TString(analysis)=="2G") out<< "<td>subnet</td>"<< endl out<< "<td>lag</td>"<< endl out<< "<td>slag</td>"<< endl out<< "<td>SNRnet</td>"<< endl if(TString(analysis)=="1G") out<< "<td>pf</td>"<< endl if(TString(analysis)=="1G") out<< "<td>vED</td>"<< endl out<< "<td>freq</td>"<< endl out<< "<td>bw</td>"<< endl out<< "<td>dur</td>"<< endl out<< "<td>size</td>"<< endl if(optim==true) out<< "<td>res</td>"<< endl out<< "<td>run</td>"<< endl for(int nn=0nn< nIFOnn++) out<< "<td>GPS "<< _ifo[nn]<< "</td>"<< endl for(int nn=0nn< nIFOnn++) out<< "<td>SNR "<< _ifo[nn]<< "</td>"<< endl out<< "</tr>"<< endl double start |
Definition at line 214 of file cwb_merge.C.
char tag[256] |
Definition at line 92 of file cwb_merge.C.