 |
Belle II Software
release-05-02-19
|
16 #define STRING_NAME(X) #X
18 #define PUT_NAME_FUNCTION(Y) static const std::string name(void) {return STRING_NAME(Y); };
53 template <
class templateArgumentType,
size_t Nargs,
class templateReturnType =
double>
63 template <
size_t n ,
class returnType,
class parameterType,
class ... Ts>
66 typedef typename FunctionOf < n - 1, returnType, parameterType,
74 template <
class returnType,
class parameterType,
class ... Ts>
102 value(
const templateArgumentType& arg1,
const templateArgumentType& arg2);
113 #define SELECTION_VARIABLE( variableName, nArgs, argumentType, implementation ) \
114 class variableName: \
115 public SelectionVariable< argumentType , nArgs, double > \
118 static const std::string name(void) {return #variableName; }; \
virtual ~SelectionVariable()
A bogus virtual denstructor.
templateReturnType variableType
Type of the returned object.
static const size_t c_Nargs
Number of arguments.
SelectionVariable()
A bogus constructor.
FunctionOf< n - 1, returnType, parameterType, parameterType, Ts... >::functionType functionType
Handy typedef for the functionType.
std::function< returnType(Ts...)> functionType
Handy typedef for the functionType.
FunctionOf< Nargs, variableType, const argumentType & >::functionType functionType
Type of the function returning the value.
Abstract base class for different kinds of events.
static variableType value(const templateArgumentType &arg1, const templateArgumentType &arg2)
Static method that return the variable associated to:
Base class of the selection variable objects used for pair filtering.
this struct is an internal utility.
templateArgumentType argumentType
Type of the argument object.