Go to the documentation of this file.
4 #ifndef tools_ntuple_booking
5 #define tools_ntuple_booking
32 if(&a_from==
this)
return *
this;
51 ntuple_booking(
const std::string& a_name =
"",
const std::string& a_title =
"")
87 void add_column(
const std::string& a_name,std::vector<T>& a_user_vec) {
101 a_out <<
"tools::ntuple_booking::has_similar_layout :"
102 <<
" bookings have not the same number of columns."
107 std::vector<column_booking>::const_iterator ait = a_nbk.
m_columns.begin();
109 if((*it).name()!=(*ait).name()) {
110 a_out <<
"tools::ntuple_booking::has_similar_layout :"
111 <<
" columns don't have same name."
112 <<
" (" << (*it).name() <<
" != " << (*ait).name() <<
")."
116 if((*it).cls_id()!=(*ait).cls_id()) {
117 a_out <<
"tools::ntuple_booking::has_similar_layout :"
118 <<
" columns don't have same class id."
119 <<
" (" << (*it).cls_id() <<
" != " << (*ait).cls_id() <<
")."
#define tools_vforit(a__T, a__v, a__it)