Belle II Software  release-08-01-10
VariableTBranch< Variable > Class Template Reference

This class contains. More...

#include <VariableTBranch.h>

Public Member Functions

 VariableTBranch (TTree *tree)
 Add to the TTree. More...
 
void setValue (const typename Variable::variableType &var)
 Set the value to be stored in the TTree. More...
 
template<class ... SpacePoints>
void evaluateOn (const SpacePoints &... sps)
 Evaluate the variable for the given SpacePoints. More...
 

Private Attributes

Variable::variableType m_storedValue
 The value to be stored in tha branch.
 
TBranch * m_branch
 Member for the pointer to the TBranch.
 

Detailed Description

template<class Variable>
class Belle2::VariableTBranch< Variable >

This class contains.

Definition at line 23 of file VariableTBranch.h.

Member Function Documentation

◆ evaluateOn()

void evaluateOn ( const SpacePoints &...  sps)
inline

Evaluate the variable for the given SpacePoints.

Template Parameters
SpacePoints: SpacePoints type(s)
Parameters
sps: SpacePoints

Definition at line 45 of file VariableTBranch.h.

◆ setValue()

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.


The documentation for this class was generated from the following file: