#include <NTIntFun.h>
Inheritance diagram for NTIntFun:
Author: Benno List, Jenny List
Changelog:
Definition at line 32 of file NTIntFun.h.
Public Member Functions | |
NTIntFun (const std::string &name_) | |
Constructor from a name. | |
NTIntFun (const std::string &name_, const IntFun *iter_) | |
Constructor from a name and an iterator. | |
NTIntFun (const std::string &name_, int offset_) | |
Constructor from a name and an offsets. | |
virtual NTIntFun & | operator[] (const IntFunPoR &iter_) const=0 |
Returns a new object with a different iterator. | |
virtual NTIntFun & | operator[] (int offset_) const=0 |
Returns a new object with a different offset. | |
virtual const FillIterator * | getIterator () const |
Returns pointer to iterator, if any. | |
Protected Member Functions | |
virtual | ~NTIntFun () |
Protected destructor ensures creation on the heap. | |
std::string | getBaseName () const |
Returns the part of the name before the "[". | |
Protected Attributes | |
const IntFun * | iter |
An optional FillIterator. | |
int | offset |
An optional offset, i.e. array index. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class Ntuple, class T> NTIntFunT< Ntuple, T > & | ntintfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", const IntFunPoR &iter_=0) |
returns a IntFun from an ntuple data member | |
template<class Ntuple, class T> NTIntFunT< Ntuple, T > & | ntintfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", int offset_) |
returns a IntFun from an ntuple data member |
|
Constructor from a name.
Definition at line 19 of file NTIntFun.C. References NamedO::getName(). |
|
Constructor from a name and an iterator.
Definition at line 29 of file NTIntFun.C. References NamedO::getName(). |
|
Constructor from a name and an offsets.
Definition at line 39 of file NTIntFun.C. References NamedO::getName(). |
|
Returns a new object with a different iterator.
Implemented in NTIntFunT< Ntuple, T >. |
|
Returns a new object with a different offset.
Implemented in NTIntFunT< Ntuple, T >. |
|
returns a IntFun from an ntuple data member
Definition at line 206 of file NTIntFun.h. |
|
returns a IntFun from an ntuple data member
Definition at line 219 of file NTIntFun.h. |