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

NTFloatFunGF< T > Class Template Reference

#include <NTFloatFun.h>

Inheritance diagram for NTFloatFunGF< T >:

Inheritance graph
[legend]
Collaboration diagram for NTFloatFunGF< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T = Float_t>
class NTFloatFunGF< T >

Returns a Float_FF value from free getter function.

An NTFloatFunG collaborates with a class Ntuple, which automatically generated by TTree::MakeClass, and returns a Float_t value from a given branch.

Author: Benno List, Jenny Böhme

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

Changelog:

Definition at line 348 of file NTFloatFun.h.

Public Types

typedef T(* Getter )()

Public Member Functions

 NTFloatFunGF (Getter p_mem, const char *name_="?")
 Constructor from a member pointer.

virtual Float_FF operator() () const
 Returns a Float_FF value from an ntuple row.

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

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


Protected Member Functions

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


Protected Attributes

Getter getMethod


Constructor & Destructor Documentation

template<class T = Float_t>
NTFloatFunGF< T >::NTFloatFunGF Getter  p_mem,
const char *  name_ = "?"
[inline]
 

Constructor from a member pointer.

Parameters:
p_mem  Member pointer
name_  The object's name

Definition at line 353 of file NTFloatFun.h.


Member Function Documentation

template<class T = Float_t>
virtual NTFloatFun& NTFloatFunGF< T >::operator[] const IntFunPoR iter_  )  const [inline, virtual]
 

Returns a new object with a different iterator.

Parameters:
iter_  the new iterator

Implements NTFloatFun.

Definition at line 367 of file NTFloatFun.h.

template<class T = Float_t>
virtual NTFloatFun& NTFloatFunGF< T >::operator[] int  offset_  )  const [inline, virtual]
 

Returns a new object with a different offset.

Parameters:
offset_  the new offset

Implements NTFloatFun.

Definition at line 372 of file NTFloatFun.h.


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