Concrete class discribing a matrix column in a N tuple.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTupleItems.h>
|
| _MatrixImp (INTuple *tup, const std::string &name, const std::type_info &typ, const std::string &index, long ncol, long nrow, TYP min, TYP max, TYP def) |
| Standard Constructor. More...
|
|
void | setDefault (const TYP val) override |
| Compiler type ID. More...
|
|
const ItemRange & | range () const override |
| Access the range if specified. More...
|
|
long | size () const override |
| Size of entire object. More...
|
|
long | ndim () const override |
| Dimension. More...
|
|
long | dim (long i) const override |
| Access individual dimensions. More...
|
|
template<class TYP>
class NTuple::_MatrixImp< TYP >
Concrete class discribing a matrix column in a N tuple.
Definition at line 52 of file NTupleItems.h.
◆ ItemRange
Set type definition to make life more easy easy.
Definition at line 217 of file NTupleItems.h.
◆ _MatrixImp()
template<class TYP >
NTuple::_MatrixImp< TYP >::_MatrixImp |
( |
INTuple * |
tup, |
|
|
const std::string & |
name, |
|
|
const std::type_info & |
typ, |
|
|
const std::string & |
index, |
|
|
long |
ncol, |
|
|
long |
nrow, |
|
|
TYP |
min, |
|
|
TYP |
max, |
|
|
TYP |
def |
|
) |
| |
|
inline |
Standard Constructor.
Definition at line 219 of file NTupleItems.h.
221 : _DataImp<TYP>( tup,
name, typ,
index, nrow * ncol, min, max, def ) {
◆ dim()
Access individual dimensions.
Definition at line 235 of file NTupleItems.h.
236 return ( this->hasIndex() ) ? ( ( i == 0 ) ? this->m_rows : this->m_length / this->m_rows )
237 : ( ( i == 1 ) ? this->m_length / this->m_rows : this->m_rows );
◆ ndim()
◆ range()
Access the range if specified.
Definition at line 229 of file NTupleItems.h.
229 {
return this->m_range; }
◆ setDefault()
Compiler type ID.
Set default value
Definition at line 227 of file NTupleItems.h.
227 { this->m_def = val; }
◆ size()
Size of entire object.
Definition at line 231 of file NTupleItems.h.
231 {
return this->m_length *
sizeof( TYP ); }
The documentation for this class was generated from the following file: