Belle II Software development
|
Base class of the selection variable objects used for pair filtering. More...
#include <SelectionVariable.h>
Classes | |
struct | FunctionOf |
this struct is an internal utility. More... | |
struct | FunctionOf< 0, returnType, parameterType, Ts... > |
this struct is an internal utility. More... | |
Public Types | |
typedef templateReturnType | variableType |
Type of the returned object. | |
typedef templateArgumentType | argumentType |
Type of the argument object. | |
typedef FunctionOf< Nargs, variableType, constargumentType & >::functionType | functionType |
Type of the function returning the value. | |
Public Member Functions | |
virtual | ~SelectionVariable () |
A bogus virtual denstructor. | |
SelectionVariable () | |
A bogus constructor. | |
Static Public Member Functions | |
static variableType | value (const templateArgumentType &arg1, const templateArgumentType &arg2) |
Static method that return the variable associated to: | |
Static Public Attributes | |
static const size_t | c_Nargs = Nargs |
Number of arguments. | |
Base class of the selection variable objects used for pair filtering.
The filter tools are meant to select in a very flexible and efficient manner pairs of objects of type templateArgumentType. The selection decision is taken on the base of some selection variables. The arguments of the selection functions are two objects of type templateArgumentType. The selection function returns a templateReturnType which by default is a double. E.g.: To code a selection function returning the sum of two integers
Definition at line 52 of file SelectionVariable.h.
typedef templateArgumentType argumentType |
Type of the argument object.
Needed for SFINAE in Filter.hh
Definition at line 84 of file SelectionVariable.h.
typedef FunctionOf<Nargs,variableType,constargumentType&>::functionType functionType |
Type of the function returning the value.
Needed for the automated training
Definition at line 88 of file SelectionVariable.h.
typedef templateReturnType variableType |
Type of the returned object.
Needed for SFINAE in Filter.hh
Definition at line 81 of file SelectionVariable.h.
|
inlinevirtual |
|
inline |
|
inlinestatic |
Static method that return the variable associated to:
arg1 | first object of the pair |
arg2 | second object of the pair |
N.B. this method must be static.
|
static |
Number of arguments.
Definition at line 91 of file SelectionVariable.h.