|
static const std::string & | s_class () |
|
Definition at line 55 of file rntuple.
◆ ~intuple()
virtual tools::read::intuple::~intuple |
( |
| ) |
|
|
inlinevirtual |
◆ column_is_of_type()
template<class T >
bool tools::read::intuple::column_is_of_type |
( |
const std::string & |
a_name, |
|
|
bool & |
a_is, |
|
|
bool |
a_case_sensitive = true |
|
) |
| |
|
inline |
Definition at line 110 of file rntuple.
112 if(!col) {a_is =
false;
return false;}
113 a_is = id_cast<icol, icolumn<T> >(*col)?
true:
false;
◆ column_max()
template<class T >
bool tools::read::intuple::column_max |
( |
unsigned int |
a_col, |
|
|
T & |
a_value |
|
) |
| |
|
inline |
Definition at line 143 of file rntuple.
145 const std::vector<icol*>& cols =
columns();
146 if(cols.empty())
return false;
147 if(a_col>=cols.size())
return false;
148 icol* _base_col = cols[a_col];
149 icolumn<T>* _col = id_cast<icol, icolumn<T> >(*_base_col);
150 if(!_col)
return false;
155 {
for(
uint64 row=0;row<_rows;row++) {
156 if(!
next()) {a_value = T();
return false;}
157 if(!_col->get_entry(v)) {}
161 a_value = mx<T>(a_value,v);
◆ column_min()
template<class T >
bool tools::read::intuple::column_min |
( |
unsigned int |
a_col, |
|
|
T & |
a_value |
|
) |
| |
|
inline |
Definition at line 118 of file rntuple.
120 const std::vector<icol*>& cols =
columns();
121 if(cols.empty())
return false;
122 if(a_col>=cols.size())
return false;
123 icol* _base_col = cols[a_col];
124 icolumn<T>* _col = id_cast<icol, icolumn<T> >(*_base_col);
125 if(!_col)
return false;
130 {
for(
uint64 row=0;row<_rows;row++) {
131 if(!
next()) {a_value = T();
return false;}
132 if(!_col->get_entry(v)) {}
136 a_value = mn<T>(a_value,v);
◆ column_names()
void tools::read::intuple::column_names |
( |
std::vector< std::string > & |
a_names | ) |
const |
|
inline |
Definition at line 75 of file rntuple.
77 const std::vector<icol*>& _cols =
columns();
78 tools_vforcit(icol*,_cols,it) a_names.push_back((*it)->name());
◆ columns()
virtual const std::vector<icol*>& tools::read::intuple::columns |
( |
| ) |
const |
|
pure virtual |
◆ find_column() [1/2]
template<class T >
icolumn<T>* tools::read::intuple::find_column |
( |
const std::string & |
a_name | ) |
|
|
inline |
Definition at line 95 of file rntuple.
98 return id_cast<icol, icolumn<T> >(*col);
◆ find_column() [2/2]
template<class T >
bool tools::read::intuple::find_column |
( |
const std::string & |
a_name, |
|
|
icolumn< T > *& |
a_col, |
|
|
bool |
a_case_sensitive = true |
|
) |
| |
|
inline |
Definition at line 102 of file rntuple.
104 if(!col) {a_col = 0;
return false;}
105 a_col = id_cast<icol, icolumn<T> >(*col);
106 return a_col?
true:
false;
◆ find_icol()
virtual icol* tools::read::intuple::find_icol |
( |
const std::string & |
| ) |
|
|
pure virtual |
◆ find_icol_case_insensitive()
icol* tools::read::intuple::find_icol_case_insensitive |
( |
const std::string & |
a_name | ) |
|
|
inline |
Definition at line 81 of file rntuple.
82 std::string low_a_name = a_name;
85 const std::vector<icol*>& _cols =
columns();
87 low_name = (*it)->name();
89 if(low_name==low_a_name)
return *it;
◆ next()
virtual bool tools::read::intuple::next |
( |
| ) |
|
|
pure virtual |
◆ number_of_columns()
size_t tools::read::intuple::number_of_columns |
( |
| ) |
const |
|
inline |
◆ number_of_entries()
virtual bool tools::read::intuple::number_of_entries |
( |
uint64 & |
| ) |
const |
|
pure virtual |
◆ s_class()
static const std::string& tools::read::intuple::s_class |
( |
| ) |
|
|
inlinestatic |
Definition at line 57 of file rntuple.
58 static const std::string s_v(
"tools::read::intuple");
◆ start()
virtual void tools::read::intuple::start |
( |
| ) |
|
|
pure virtual |
◆ stop()
virtual void tools::read::intuple::stop |
( |
| ) |
|
|
inlinevirtual |
◆ title()
virtual const std::string& tools::read::intuple::title |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/rntuple