Definition at line 48 of file ntuple_binding.
◆ ntuple_binding() [1/2]
tools::ntuple_binding::ntuple_binding |
( |
| ) |
|
|
inline |
◆ ~ntuple_binding()
virtual tools::ntuple_binding::~ntuple_binding |
( |
| ) |
|
|
inlinevirtual |
◆ ntuple_binding() [2/2]
tools::ntuple_binding::ntuple_binding |
( |
const ntuple_binding & |
a_from | ) |
|
|
inline |
◆ add_column() [1/2]
template<class T >
void tools::ntuple_binding::add_column |
( |
const std::string & |
a_name, |
|
|
std::vector< T > & |
a_user_var |
|
) |
| |
|
inline |
Definition at line 68 of file ntuple_binding.
69 m_columns.push_back(column_binding(a_name,_cid_std_vector<T>(),(
void*)&a_user_var));
◆ add_column() [2/2]
template<class T >
void tools::ntuple_binding::add_column |
( |
const std::string & |
a_name, |
|
|
T & |
a_user_var |
|
) |
| |
|
inline |
◆ add_column_cid()
template<class T >
void tools::ntuple_binding::add_column_cid |
( |
const std::string & |
a_name, |
|
|
T & |
a_user_var |
|
) |
| |
|
inline |
Definition at line 79 of file ntuple_binding.
80 m_columns.push_back(column_binding(a_name,T::id_class(),(
void*)&a_user_var));
◆ add_column_no_var()
void tools::ntuple_binding::add_column_no_var |
( |
const std::string & |
a_name | ) |
|
|
inline |
◆ add_column_vec()
template<class T >
void tools::ntuple_binding::add_column_vec |
( |
const std::string & |
a_name, |
|
|
std::vector< T > & |
a_user_var |
|
) |
| |
|
inline |
Definition at line 74 of file ntuple_binding.
75 m_columns.push_back(column_binding(a_name,_cid_std_vector<T>(),(
void*)&a_user_var));
◆ columns()
const std::vector<column_binding>& tools::ntuple_binding::columns |
( |
| ) |
const |
|
inline |
◆ find_user_obj()
bool tools::ntuple_binding::find_user_obj |
( |
const std::string & |
a_name, |
|
|
cid & |
a_cid, |
|
|
void *& |
a_obj |
|
) |
| const |
|
inline |
Definition at line 93 of file ntuple_binding.
95 if((*it).name()==a_name) {
96 a_cid = (*it).get_cid();
97 a_obj = (*it).user_obj();
◆ find_variable()
template<class T >
T* tools::ntuple_binding::find_variable |
( |
const std::string & |
a_name | ) |
const |
|
inline |
Definition at line 107 of file ntuple_binding.
109 if((*it).name()==a_name) {
111 return (T*)((*it).user_obj());
◆ find_vector_variable()
template<class T >
std::vector<T>* tools::ntuple_binding::find_vector_variable |
( |
const std::string & |
a_name | ) |
const |
|
inline |
Definition at line 118 of file ntuple_binding.
120 if((*it).name()==a_name) {
121 if((*it).get_cid()!=_cid_std_vector<T>())
return 0;
122 return (std::vector<T>*)((*it).user_obj());
◆ operator=()
◆ m_columns
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/ntuple_binding