Definition at line 49 of file ntuple_booking.
◆ ntuple_booking() [1/2]
tools::ntuple_booking::ntuple_booking |
( |
const std::string & |
a_name = "" , |
|
|
const std::string & |
a_title = "" |
|
) |
| |
|
inline |
◆ ~ntuple_booking()
virtual tools::ntuple_booking::~ntuple_booking |
( |
| ) |
|
|
inlinevirtual |
◆ ntuple_booking() [2/2]
tools::ntuple_booking::ntuple_booking |
( |
const ntuple_booking & |
a_from | ) |
|
|
inline |
◆ add_column() [1/3]
template<class T >
void tools::ntuple_booking::add_column |
( |
const std::string & |
a_name | ) |
|
|
inline |
◆ add_column() [2/3]
template<class T >
void tools::ntuple_booking::add_column |
( |
const std::string & |
a_name, |
|
|
std::vector< T > & |
a_user_vec |
|
) |
| |
|
inline |
Definition at line 87 of file ntuple_booking.
88 m_columns.push_back(column_booking(a_name,_cid_std_vector<T>(),(
void*)&a_user_vec));
◆ add_column() [3/3]
template<class T >
void tools::ntuple_booking::add_column |
( |
const std::string & |
a_name, |
|
|
T & |
a_user |
|
) |
| |
|
inline |
◆ add_column_vec() [1/2]
template<class T >
void tools::ntuple_booking::add_column_vec |
( |
const std::string & |
a_name | ) |
|
|
inline |
◆ add_column_vec() [2/2]
template<class T >
void tools::ntuple_booking::add_column_vec |
( |
const std::string & |
a_name, |
|
|
std::vector< T > & |
a_user_vec |
|
) |
| |
|
inline |
Definition at line 83 of file ntuple_booking.
84 m_columns.push_back(column_booking(a_name,_cid_std_vector<T>(),(
void*)&a_user_vec));
◆ columns() [1/2]
◆ columns() [2/2]
const std::vector<column_booking>& tools::ntuple_booking::columns |
( |
| ) |
const |
|
inline |
◆ has_similar_layout()
bool tools::ntuple_booking::has_similar_layout |
( |
std::ostream & |
a_out, |
|
|
const ntuple_booking & |
a_nbk |
|
) |
| |
|
inline |
Definition at line 99 of file ntuple_booking.
100 if(
m_columns.size()!=a_nbk.m_columns.size()) {
101 a_out <<
"tools::ntuple_booking::has_similar_layout :"
102 <<
" bookings have not the same number of columns."
103 <<
" (" <<
m_columns.size() <<
" != " << a_nbk.m_columns.size() <<
")."
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() <<
")."
◆ name()
const std::string& tools::ntuple_booking::name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ set_name()
void tools::ntuple_booking::set_name |
( |
const std::string & |
a_s | ) |
|
|
inline |
◆ set_title()
void tools::ntuple_booking::set_title |
( |
const std::string & |
a_s | ) |
|
|
inline |
◆ title()
const std::string& tools::ntuple_booking::title |
( |
| ) |
const |
|
inline |
◆ m_columns
◆ m_name
std::string tools::ntuple_booking::m_name |
|
protected |
◆ m_title
std::string tools::ntuple_booking::m_title |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/ntuple_booking