Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cwb_merge_thread.C
Go to the documentation of this file.
1 // thread macro used to merge output root job files in multi thread mode
2 // used by CWB::Toolbox::mergeCWBTrees
3 
5  TString label, bool brms, bool bvar, bool bpsm) {
6 
8 
9  TB.checkFile(gSystem->Getenv("CWB_ROOTLOGON_FILE"));
10  TB.checkFile(gSystem->Getenv("CWB_PARAMETERS_FILE"));
11  TB.checkFile(gSystem->Getenv("CWB_UPARAMETERS_FILE"));
12  TB.checkFile(flistName);
13 
14  vector<TString> fileList = TB.readFileList(flistName);
15 
16  TB.mergeCWBTrees(fileList, simulation, odir, label, brms, bvar, bpsm);
17 
18  exit(0);
19 }
TString("c")
char odir[1024]
static bool checkFile(TString fName, bool question=false, TString message="")
Definition: Toolbox.cc:3956
CWB::Toolbox TB
Definition: ComputeSNR.C:5
static vector< TString > mergeCWBTrees(TString dir_name, bool simulation, TString odir, TString label, bool brms=false, bool bvar=false, bool bpsm=false)
Definition: Toolbox.cc:2442
static vector< TString > readFileList(TString ifName)
Definition: Toolbox.cc:2719
TString label
Definition: MergeTrees.C:21
void cwb_merge_thread(TString flistName, bool simulation, TString odir, TString label, bool brms, bool bvar, bool bpsm)
cout<< "Starting reading output directory ..."<< endl;vector< TString > fileList
simulation
Definition: cwb_eced.C:9
exit(0)