#include <NTFloatFun.h>
Inheritance diagram for NTFloatFunG< Ntuple, T >:
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
Changelog:
Definition at line 216 of file NTFloatFun.h.
Public Types | |
typedef T(Ntuple::* | Getter )() |
typedef T(Ntuple::* | ConstGetter )() const |
Public Member Functions | |
NTFloatFunG (const Ntuple &nt_, Getter p_mem, const char *name_="?") | |
Constructor from a member pointer. | |
NTFloatFunG (const Ntuple &nt_, ConstGetter p_mem, const char *name_="?") | |
virtual Float_FF | operator() () const |
Returns a Float_FF value from an ntuple row. | |
virtual NTFloatFun & | operator[] (const IntFunPoR &iter_) const |
Returns a new object with a different iterator. | |
virtual NTFloatFun & | operator[] (int offset_) const |
Returns a new object with a different offset. | |
Protected Member Functions | |
virtual | ~NTFloatFunG () |
Protected destructor ensures creation on the heap. | |
Protected Attributes | |
Ntuple & | nt |
Getter | getMethod |
|
Constructor from a member pointer.
Definition at line 222 of file NTFloatFun.h. |
|
Definition at line 229 of file NTFloatFun.h. |
|
Returns a new object with a different iterator.
Implements NTFloatFun. Definition at line 244 of file NTFloatFun.h. |
|
Returns a new object with a different offset.
Implements NTFloatFun. Definition at line 249 of file NTFloatFun.h. |