22 }
catch (std::logic_error&
e) {
23 std::cerr <<
"ERROR: " <<
e.what() <<
", quitting." << std::endl;
32 if (
opts.exit_code != 0)
return opts.exit_code;
36 std::string tree_name =
opts.file.tree;
37 if (tree_name.size() == 0) tree_name =
getTree(
opts.file.in.at(0));
38 if (
opts.tree.verbose) std::cout <<
"tree: " << tree_name << std::endl;
39 std::unique_ptr<TChain>
chain(
new TChain(tree_name.c_str()));
41 if (
opts.tree.verbose) std::cout <<
"adding " <<
file_name << std::endl;
44 std::cerr <<
"Tree '" << tree_name <<
"' is missing from "
51 H5::H5File out_file(
opts.file.out, H5F_ACC_TRUNC);