Belle II Software development
VariablesTTree<> Class Reference

Defines the interface using an empty template pack. More...

#include <VariablesTTree.h>

Inheritance diagram for VariablesTTree<>:
VariablesTTree< Filter< Variable, other ... > > VariablesTTree< Filter< binaryOperator, Filter< argsA ... >, Filter< argsB ... >, other ... > > VariablesTTree< Filter< unaryOperator, Filter< args ... >, other ... > >

Public Member Functions

 VariablesTTree (TTree *tree)
 All the variables will be written in.
 
TTree * getTTree (void)
 Accessor to the TTree pointer.
 

Static Public Member Functions

template<class Filter >
static auto build (const Filter &, TTree *tree) -> VariablesTTree< Filter >
 Handy function.
 

Private Attributes

TTree * m_tree
 Pointer to the TTree; the TTree itself is not owned by this class!
 

Detailed Description

Defines the interface using an empty template pack.

Definition at line 28 of file VariablesTTree.h.

Constructor & Destructor Documentation

◆ VariablesTTree()

VariablesTTree ( TTree *  tree)
inlineexplicit

All the variables will be written in.

Parameters
tree

Definition at line 34 of file VariablesTTree.h.

34: m_tree(tree) {};
TTree * m_tree
Pointer to the TTree; the TTree itself is not owned by this class!

Member Function Documentation

◆ build()

static auto build ( const Filter ,
TTree *  tree 
) -> VariablesTTree<Filter>
inlinestatic

Handy function.

Definition at line 41 of file VariablesTTree.h.

43 { return VariablesTTree<Filter>(tree); };

◆ getTTree()

TTree * getTTree ( void  )
inline

Accessor to the TTree pointer.

Definition at line 37 of file VariablesTTree.h.

37{ return m_tree; };

Member Data Documentation

◆ m_tree

TTree* m_tree
private

Pointer to the TTree; the TTree itself is not owned by this class!

Definition at line 30 of file VariablesTTree.h.


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