Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

NTFloatFun Class Reference

#include <NTFloatFun.h>

Inheritance diagram for NTFloatFun:

Inheritance graph
[legend]
Collaboration diagram for NTFloatFun:

Collaboration graph
[legend]
List of all members.

Detailed Description

Returns a Float_FF value from an Ntuple (abstract base class for NTFloatFunT templates).

Author: Benno List, Jenny List

Date
2006/10/25 15:06:59
Author
msteder

Changelog:

Definition at line 35 of file NTFloatFun.h.

Public Member Functions

 NTFloatFun (const std::string &name_)
 Constructor from a name.

 NTFloatFun (const std::string &name_, const IntFun *iter_)
 Constructor from a name and an iterator.

 NTFloatFun (const std::string &name_, int offset_)
 Constructor from a name and an offsets.

virtual NTFloatFunoperator[] (const IntFunPoR &iter_) const=0
 Returns a new object with a different iterator.

virtual NTFloatFunoperator[] (int offset_) const=0
 Returns a new object with a different offset.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator, if any.


Protected Member Functions

virtual ~NTFloatFun ()
 Protected destructor ensures creation on the heap.

std::string getBaseName () const
 Returns the part of the name before the "[".


Protected Attributes

const IntFuniter
 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> NTFloatFunT< Ntuple, T > & ntfloatfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", const IntFunPoR &iter_=0)
 returns a FloatFun from an ntuple data member

template<class Ntuple, class T> NTFloatFunT< Ntuple, T > & ntfloatfun (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", int offset_)
 returns a FloatFun from an ntuple data member

template<class Ntuple, class T> NTFloatFunG< Ntuple, T > & ntfloatfun (const Ntuple &nt, T(Ntuple::*p_mem)(), const char *name_="?")
 returns a FloatFun from an ntuple access function

template<class Ntuple, class T> NTFloatFunG< Ntuple, T > & ntfloatfun (const Ntuple &nt, T(Ntuple::*p_mem)() const, const char *name_="?")
 returns a FloatFun from an ntuple access function

template<class Ntuple, class T, class A> NTFloatFunGA< Ntuple, T, A > & ntfloatfun (const Ntuple &nt, T(Ntuple::*p_mem)(A), A arg_, const char *name_="?")
 returns a FloatFun from an ntuple access function with an argument

template<class Ntuple, class T, class A> NTFloatFunGA< Ntuple, T, A > & ntfloatfun (const Ntuple &nt, T(Ntuple::*p_mem)(A) const, A arg_, const char *name_="?")
 returns a FloatFun from an ntuple data member

template<class T> NTFloatFunGF< T > & ntfloatfun (T(*p_mem)(), const char *name_="?")
 returns a FloatFun from an ntuple data member


Constructor & Destructor Documentation

NTFloatFun::NTFloatFun const std::string &  name_  ) 
 

Constructor from a name.

Parameters:
name_  The name

Definition at line 24 of file NTFloatFun.C.

References NamedO::getName().

NTFloatFun::NTFloatFun const std::string &  name_,
const IntFun iter_
 

Constructor from a name and an iterator.

Parameters:
name_  The name
iter_  The Iterator

Definition at line 34 of file NTFloatFun.C.

References NamedO::getName().

NTFloatFun::NTFloatFun const std::string &  name_,
int  offset_
 

Constructor from a name and an offsets.

Parameters:
name_  The name
offset_  The integer offset

Definition at line 44 of file NTFloatFun.C.

References NamedO::getName().


Member Function Documentation

virtual NTFloatFun& NTFloatFun::operator[] const IntFunPoR iter_  )  const [pure virtual]
 

Returns a new object with a different iterator.

Parameters:
iter_  the new iterator

Implemented in NTFloatFunT< Ntuple, T >, NTFloatFunG< Ntuple, T >, NTFloatFunGA< Ntuple, T, A >, and NTFloatFunGF< T >.

virtual NTFloatFun& NTFloatFun::operator[] int  offset_  )  const [pure virtual]
 

Returns a new object with a different offset.

Parameters:
offset_  the new offset

Implemented in NTFloatFunT< Ntuple, T >, NTFloatFunG< Ntuple, T >, NTFloatFunGA< Ntuple, T, A >, and NTFloatFunGF< T >.


Friends And Related Function Documentation

template<class Ntuple, class T>
NTFloatFunT< Ntuple, T > & ntfloatfun const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
const IntFunPoR iter_ = 0
[related]
 

returns a FloatFun from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
iter_  An optional iterator

Definition at line 390 of file NTFloatFun.h.

template<class Ntuple, class T>
NTFloatFunT< Ntuple, T > & ntfloatfun const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
int  offset_
[related]
 

returns a FloatFun from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
offset_  An offset into an array

Definition at line 403 of file NTFloatFun.h.

template<class Ntuple, class T>
NTFloatFunG< Ntuple, T > & ntfloatfun const Ntuple &  nt,
T(Ntuple::*  p_mem)(),
const char *  name_ = "?"
[related]
 

returns a FloatFun from an ntuple access function

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name

Definition at line 416 of file NTFloatFun.h.

template<class Ntuple, class T>
NTFloatFunG< Ntuple, T > & ntfloatfun const Ntuple &  nt,
T(Ntuple::*  p_mem)() const,
const char *  name_ = "?"
[related]
 

returns a FloatFun from an ntuple access function

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name

Definition at line 427 of file NTFloatFun.h.

template<class Ntuple, class T, class A>
NTFloatFunGA< Ntuple, T, A > & ntfloatfun const Ntuple &  nt,
T(Ntuple::*  p_mem)(A),
arg_,
const char *  name_ = "?"
[related]
 

returns a FloatFun from an ntuple access function with an argument

Parameters:
nt  The ntuple
p_mem  Member pointer
arg_  The argument value
name_  The object's name

Definition at line 439 of file NTFloatFun.h.

template<class Ntuple, class T, class A>
NTFloatFunGA< Ntuple, T, A > & ntfloatfun const Ntuple &  nt,
T(Ntuple::*  p_mem)(A) const,
arg_,
const char *  name_ = "?"
[related]
 

returns a FloatFun from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
arg_  The argument value
name_  The object's name

Definition at line 451 of file NTFloatFun.h.

template<class T>
NTFloatFunGF< T > & ntfloatfun T(*  p_mem)(),
const char *  name_ = "?"
[related]
 

returns a FloatFun from an ntuple data member

Parameters:
p_mem  Member pointer
name_  The object's name

Definition at line 464 of file NTFloatFun.h.


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 12:54:56 2006 for SFH by doxygen 1.3.2