This class contains.
More...
#include <VariableTBranch.h>
|
| VariableTBranch (TTree *tree) |
| Add to the TTree.
|
|
void | setValue (const typename Variable::variableType &var) |
| Set the value to be stored in the TTree.
|
|
template<class ... SpacePoints> |
void | evaluateOn (const SpacePoints &... sps) |
| Evaluate the variable for the given SpacePoints.
|
|
|
Variable::variableType | m_storedValue |
| The value to be stored in the branch.
|
|
TBranch * | m_branch |
| Member for the pointer to the TBranch.
|
|
template<class Variable>
class Belle2::VariableTBranch< Variable >
This class contains.
Definition at line 23 of file VariableTBranch.h.
◆ evaluateOn()
template<class Variable>
template<class ... SpacePoints>
void evaluateOn |
( |
const SpacePoints &... | sps | ) |
|
|
inline |
Evaluate the variable for the given SpacePoints.
- Template Parameters
-
SpacePoints | : SpacePoints type(s) |
- Parameters
-
Definition at line 45 of file VariableTBranch.h.
46 {
47 m_storedValue = Variable::value(sps ...);
48 }
◆ setValue()
template<class Variable>
void setValue |
( |
const typename Variable::variableType & | var | ) |
|
|
inline |
Set the value to be stored in the TTree.
- Parameters
-
var | : this value will be set |
Definition at line 37 of file VariableTBranch.h.
38 { m_storedValue = var;}
◆ m_branch
◆ m_storedValue
template<class Variable>
Variable::variableType m_storedValue |
|
private |
The documentation for this class was generated from the following file: