#include <NTFloatFun.h>
Inheritance diagram for NTFloatFunT< Ntuple, T >:


An NTFloatFunT collaborates with a class Ntuple, which automatically generated by TTree::MakeClass, and returns a Float_t value from a given branch.
The first template argument is the class name of the ntuple class that was automatically generated by TTree::MakeClass. The second (optional) template argument is the type of the branch variable; this is useful if the branch contains not Float_t objects, but double or even int values.
Author: Benno List, Jenny Böhme
Changelog:
Definition at line 101 of file NTFloatFun.h.
Public Member Functions | |
| NTFloatFunT (const Ntuple &nt, const char *branchname, const IntFunPoR &iter_=0) | |
| Constructor from a branch name given as string. | |
| NTFloatFunT (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", const IntFunPoR &iter_=0) | |
| Constructor from a member pointer. | |
| NTFloatFunT (const Ntuple &nt, const char *branchname, int offset_) | |
| Constructor from a branch name given as string, with offset. | |
| NTFloatFunT (const Ntuple &nt, T Ntuple::*p_mem, const char *name_, int offset_) | |
| Constructor from a member pointer, with offset. | |
| NTFloatFunT (const NTFloatFunT< Ntuple, T > &source, const IntFunPoR &iter_) | |
| Constructor from an existing NTFloatFunT object, plus a new iterator. | |
| NTFloatFunT (const NTFloatFunT< Ntuple, T > &source, const int offset_) | |
| Constructor from an existing NTFloatFunT object, plus a new offset. | |
| virtual Float_FF | operator() () const |
| Returns a Float_FF value from an ntuple row. | |
| NTFloatFunT< Ntuple, T > & | operator[] (const IntFunPoR &iter_) const |
| Returns a new object with a different iterator. | |
| NTFloatFunT< Ntuple, T > & | operator[] (int offset_) const |
| Returns a new object with a different offset. | |
Protected Member Functions | |
| virtual | ~NTFloatFunT () |
| Protected destructor ensures creation on the heap. | |
Protected Attributes | |
| const T * | branchAddress |
| The branch adress. | |
|
||||||||||||||||||||
|
Constructor from a branch name given as string.
Definition at line 104 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress. |
|
||||||||||||||||||||||||
|
Constructor from a member pointer.
Definition at line 119 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress. |
|
||||||||||||||||||||
|
Constructor from a branch name given as string, with offset.
Definition at line 131 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress. |
|
||||||||||||||||||||||||
|
Constructor from a member pointer, with offset.
Definition at line 146 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress. |
|
||||||||||||||||
|
Constructor from an existing NTFloatFunT object, plus a new iterator.
Definition at line 158 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress, and NTFloatFun::getBaseName(). |
|
||||||||||||||||
|
Constructor from an existing NTFloatFunT object, plus a new offset.
Definition at line 165 of file NTFloatFun.h. References NTFloatFunT< Ntuple, T >::branchAddress, and NTFloatFun::getBaseName(). |
|
||||||||||
|
Returns a new object with a different iterator.
Implements NTFloatFun. Definition at line 180 of file NTFloatFun.h. |
|
||||||||||
|
Returns a new object with a different offset.
Implements NTFloatFun. Definition at line 186 of file NTFloatFun.h. |
1.3.2