4 #ifndef tools_wroot_base_pntuple
5 #define tools_wroot_base_pntuple
23 static const std::string& s_class() {
24 static const std::string s_v(
"tools::wroot::base_pntuple");
33 base_pntuple(std::ostream& a_out,
seek a_seek_directory,
const std::string& a_name,
const std::string& a_title)
40 mem::increment(s_class().c_str());
47 mem::decrement(s_class().c_str());
53 mem::increment(s_class().c_str());
64 return id_cast<icol, column_ref<T> >(*col);
71 return id_cast<icol, column<T> >(*col);
77 return id_cast<icol, column_string_ref >(*col);
83 return id_cast<icol, column_string >(*col);
90 return id_cast<icol, std_vector_column_ref<T> >(*col);
97 return id_cast<icol, std_vector_column<T> >(*col);
103 return id_cast<icol, column_vector_string_ref >(*col);
109 return id_cast<icol, column_vector_string >(*col);
113 a_out <<
"for ntuple named " <<
sout(
m_name) <<
", number of columns " <<
m_cols.size() <<
" :" << std::endl;
115 a_out <<
" " << (*it)->name() << std::endl;