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

JBLH1FloatFunIter< H1SomePtr > Class Template Reference

#include <H1Funs.h>

Inheritance diagram for JBLH1FloatFunIter< H1SomePtr >:

Inheritance graph
[legend]
Collaboration diagram for JBLH1FloatFunIter< H1SomePtr >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class H1SomePtr>
class JBLH1FloatFunIter< H1SomePtr >

A FloatFun using an iterator that returns a variable from an H1Tree.

The template argument H1SomePtr is the H1 Pointer type that has to be used to retrieve the value, such as H1FloatPtr or H1IntPtr.

Definition at line 55 of file H1Funs.h.

Public Member Functions

 JBLH1FloatFunIter (const char *branchname_, const FillIterator &iter_)
 Constructor from a branch name.

 JBLH1FloatFunIter (const H1SomePtr &ptr_, const FillIterator &iter_, const char *pointername_=0)
 Constructor from an existing pointer.

Float_FF operator() () const
 Returns the value of the variable, using the iterator.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator.


Protected Member Functions

virtual ~JBLH1FloatFunIter ()
 Protected destructor to ensure creation on the heap.


Private Attributes

const H1SomePtr & ptr
 The H1 pointer.

const FillIteratoriter
 The iterator.


Constructor & Destructor Documentation

template<class H1SomePtr>
JBLH1FloatFunIter< H1SomePtr >::JBLH1FloatFunIter const char *  branchname_,
const FillIterator iter_
[inline]
 

Constructor from a branch name.

Parameters:
branchname_  The branch name
iter_  The iterator

Definition at line 58 of file H1Funs.h.

References NamedO::getName(), JBLH1FloatFunIter< H1SomePtr >::iter, and JBLH1FloatFunIter< H1SomePtr >::ptr.

template<class H1SomePtr>
JBLH1FloatFunIter< H1SomePtr >::JBLH1FloatFunIter const H1SomePtr &  ptr_,
const FillIterator iter_,
const char *  pointername_ = 0
[inline]
 

Constructor from an existing pointer.

Parameters:
ptr_  The branch pointer
iter_  The iterator
pointername_  An optional pointer name

Definition at line 69 of file H1Funs.h.

References NamedO::getName(), JBLH1FloatFunIter< H1SomePtr >::iter, and JBLH1FloatFunIter< H1SomePtr >::ptr.


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