Coherent WaveBurst
Reference Guide
CWB Documentation
Main Page
Namespaces
All Classes
Files
gitlab
ROOT
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SOFT
cWB
library
master_0bc430d
tools
toolbox
tutorials
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
}
LIST_FILE_NAME
#define LIST_FILE_NAME
Definition:
TestGenFrTree.C:5
SORT_FILE_NAME
#define SORT_FILE_NAME
Definition:
TestGenFrTree.C:7
ROOT_FILE_NAME
#define ROOT_FILE_NAME
Definition:
TestGenFrTree.C:6
tb
cwbtb tb
Definition:
TestCreateFrList.C:26
nfiles
int nfiles
Definition:
TestGenFrTree.C:12
exit
exit(0)