11#include <tracking/trackFindingVXD/filterMap/training/VariableTBranch.h>
20 template<
typename ... filterLeaves>
40 template<
class Filter>
48 template<
class Variable,
class ... other>
56 m_varTBranch(tree) {};
62 template<
class ... SpacePoints >
71 template<
class unaryOperator,
class ... args,
class ... other>
86 template<
class ... SpacePoints>
89 m_node.evaluateOn(sps...);
95 template<
class binaryOperator,
class ... argsA,
class ... argsB,
110 m_nodeA(tree), m_nodeB(tree)
117 template<
class ... SpacePoints>
120 m_nodeA.evaluateOn(sps...);
121 m_nodeB.evaluateOn(sps...);
This class is used to select pairs, triplets... of objects.
void evaluateOn(const SpacePoints &... sps)
Evaluate the variable for the given SpacePoints.
VariableTBranch< Variable > m_varTBranch
TBranch for the variable.
void evaluateOn(const SpacePoints &... sps)
Evaluate Variable for given SpacePoints.
VariablesTTree(TTree *tree)
Constructor.
void evaluateOn(const SpacePoints &... sps)
Evaluate Variable for given SpacePoints.
VariablesTTree< Filter< argsB ... > > m_nodeB
TTree containing filters for the other node B.
VariablesTTree(TTree *tree)
Constructor.
VariablesTTree< Filter< argsA ... > > m_nodeA
TTree containing filters for a node A.
void evaluateOn(const SpacePoints &... sps)
Evaluate Variable for given SpacePoints.
VariablesTTree(TTree *tree)
Constructor.
VariablesTTree< Filter< args ... > > m_node
TTree containing filters for a node.
static auto build(const Filter &, TTree *tree) -> VariablesTTree< Filter >
Handy function.
TTree * m_tree
Pointer to the TTree; the TTree itself is not owned by this class!
TTree * getTTree(void)
Accessor to the TTree pointer.
VariablesTTree(TTree *tree)
All the variables will be written in.
Dump on a TTree the values of all the variables in a filter.
Abstract base class for different kinds of events.