The Gaudi Framework  master (594c33fa)
NTuple::_ItemImp< TYP > Class Template Reference

Concrete class discribing a column in a N tuple. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/NTupleItems.h>

Public Types

typedef Range< TYP > ItemRange
 Set type definition to make life more easy easy. More...
 

Public Member Functions

 _ItemImp (INTuple *tup, const std::string &name, const std::type_info &info, TYP min, TYP max, TYP def)
 Standard Constructor. More...
 
void setDefault (const TYP val) override
 Compiler type ID. More...
 
const ItemRangerange () const override
 Access the range if specified. More...
 
long size () const override
 Size of entire object. More...
 

Detailed Description

template<class TYP>
class NTuple::_ItemImp< TYP >

Concrete class discribing a column in a N tuple.

Definition at line 45 of file NTupleItems.h.

Member Typedef Documentation

◆ ItemRange

template<class TYP >
typedef Range<TYP> NTuple::_ItemImp< TYP >::ItemRange

Set type definition to make life more easy easy.

Definition at line 169 of file NTupleItems.h.

Constructor & Destructor Documentation

◆ _ItemImp()

template<class TYP >
NTuple::_ItemImp< TYP >::_ItemImp ( INTuple tup,
const std::string name,
const std::type_info info,
TYP  min,
TYP  max,
TYP  def 
)
inline

Standard Constructor.

Definition at line 171 of file NTupleItems.h.

172  : _DataImp<TYP>( tup, name, info, "", 1, min, max, def ) {}

Member Function Documentation

◆ range()

template<class TYP >
const ItemRange& NTuple::_ItemImp< TYP >::range ( ) const
inlineoverride

Access the range if specified.

Definition at line 178 of file NTupleItems.h.

178 { return this->m_range; }

◆ setDefault()

template<class TYP >
void NTuple::_ItemImp< TYP >::setDefault ( const TYP  val)
inlineoverride

Compiler type ID.

Set default value

Definition at line 176 of file NTupleItems.h.

176 { this->m_def = val; }

◆ size()

template<class TYP >
long NTuple::_ItemImp< TYP >::size ( ) const
inlineoverride

Size of entire object.

Definition at line 180 of file NTupleItems.h.

180 { return this->m_length * sizeof( TYP ); }

The documentation for this class was generated from the following file:
max
EventIDBase max(const EventIDBase &lhs, const EventIDBase &rhs)
Definition: EventIDBase.h:225
min
EventIDBase min(const EventIDBase &lhs, const EventIDBase &rhs)
Definition: EventIDBase.h:212
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77