#include "garana/Accessors/TreeManager.h"
#include <string>
#include <iostream>
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 23 of file test_derived_flat_tree.cxx.
27 cerr <<
"use error(test_derived_flat_tree): you must specify a root file to analyze ->" <<
'\n' 28 <<
" usage (input file order does not matter): test_derived_flat_tree " 29 <<
"<my_structured_tree.root> <my_flat_tree.root>" <<
endl;
34 cerr <<
"use error(test_derived_flat_tree): too many arguments!" <<
endl;
39 std::cout <<
"open TreeManager for file, " <<
argv[1] <<
endl;
41 std::cout <<
"open TreeManager for file, " <<
argv[2] <<
endl;
43 std::cout <<
"done constructing TreeManagers." <<
std::endl;
48 std::cout <<
"open headerTree 1" <<
std::endl;
50 std::cout <<
"open headerTree 2" <<
std::endl;
52 std::cout <<
"done constructing HeaderTrees." <<
std::endl;
54 if(!CheckHeader(header1,header2)) {
55 cerr <<
"WARNING: header trees are incompatible" <<
endl;
59 std::cout <<
"Headers are compatible." <<
endl;
64 if(!CheckGen(gen1,gen2)) {
65 cerr <<
"WARNING: gen trees are incompatible" <<
endl;
70 cerr <<
"WARNING: test failed. something is amiss with your trees." <<
endl;
74 std::cout <<
"SUCESS!!!!!! =D" <<
std::endl;
HeaderTree * GetHeaderTree() const
GenTree * GetGenTree() const
QTextStream & endl(QTextStream &s)