Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TestGenFrTree.C
Go to the documentation of this file.
1 //
2 // Test Create/Sort FrTree
3 // Author : Gabriele Vedovato
4 
5 #define LIST_FILE_NAME "SEGMENTS/lists/GHLTV-HBRST14_S6D_R1.frames"
6 #define ROOT_FILE_NAME "root/GHLTV-HBRST14_S6D_R1.root"
7 #define SORT_FILE_NAME "root/GHLTV-HBRST14_S6D_R1-Sorted.root"
8 
9 {
10 
11  cwbtb tb;
12  int nfiles=0;
13  nfiles=tb.frl2FrTree(LIST_FILE_NAME,ROOT_FILE_NAME);
14  cout << "nfiles : " << nfiles << endl;
15  nfiles=tb.sortFrTree(ROOT_FILE_NAME,SORT_FILE_NAME);
16  cout << "nfiles : " << nfiles << endl;
17 
18  exit(0);
19 }
#define LIST_FILE_NAME
Definition: TestGenFrTree.C:5
#define SORT_FILE_NAME
Definition: TestGenFrTree.C:7
#define ROOT_FILE_NAME
Definition: TestGenFrTree.C:6
cwbtb tb
int nfiles
Definition: TestGenFrTree.C:12
exit(0)