Go to the documentation of this file.
4 #ifndef tools_rroot_tree_manip
5 #define tools_rroot_tree_manip
15 std::ostream& out = a_file.
out();
20 out <<
"tools::rroot::find_tree :"
21 <<
" key " <<
sout(a_name) <<
" not found."
29 out <<
"tools::rroot::find_tree :"
30 <<
" can't get data buffer of "
41 out <<
"tools::rroot::find_tree :"
42 <<
" key object class "
52 tree* _tree =
new tree(a_file,a_fac);
54 out <<
"tools::rroot::find_tree :"
55 <<
" TTree streaming failed"
65 std::ostream& out = a_tree.
file().
out();
69 out <<
"tools::rroot::find_be :"
70 <<
" branch not found."
77 out <<
"tools::rroot::find_be :"
78 <<
" branch not a branch_element."
88 std::ostream& out = a_file.
out();
92 out <<
"tools::rroot::find_vec : branch_element.find_entry() failed." << std::endl;
99 out <<
"tools::rroot::find_vec : object not a tools::rroot::stl_vector<T>." << std::endl;
113 template <
class LEAF>
118 a_tree.
out() <<
"tools::rroot::find_leaf : base_leaf " <<
sout(a_name) <<
" not found." << std::endl;
125 a_tree.
out() <<
"tools::rroot::find_leaf : branch of base_leaf " <<
sout(a_name) <<
" not found." << std::endl;
130 a_leaf = safe_cast<base_leaf,LEAF>(*_base_leaf);
132 a_tree.
out() <<
"tools::rroot::find_leaf : base_leaf " <<
sout(a_name) <<
" is not a LEAF." << std::endl;
143 a_tree.
out() <<
"tools::rroot::find_branch_element : branch " <<
sout(a_name) <<
" not found." << std::endl;
148 a_tree.
out() <<
"tools::rroot::find_branch_element : branch " <<
sout(a_name) <<
" not a branch_element."
149 <<
" It is a " <<
sout(_branch->
s_cls()) <<
"."
156 template <
class TYPE>
160 a_file.
out() <<
"tools::rroot::read_leaf : a_branch.find_entry() failed." << std::endl;
164 return a_leaf.
value(0,a_value);
170 a_file.
out() <<
"tools::rroot::read_leaf_object : a_branch.find_entry() failed." << std::endl;
176 template <
class TYPE>
180 a_file.
out() <<
"tools::rroot::read_std_vec : a_branch.find_entry() failed." << std::endl;
185 return id_cast<iro, stl_vector<TYPE> >(*obj);