Belle II Software development
|
FunctionNode Node class for handling MetaVariables in cuts. More...
#include <CutNodes.h>
Public Member Functions | |
AVariableManager::VarVariant | evaluate (const Object *p) const override |
evaluate m_var with p and return the result | |
void | print () const override |
Print node. | |
std::string | decompile () const override |
Decompile Node back to a string. | |
void | processMetaVariable () |
Get MetaVariable from AVariableManager. | |
~FunctionNode () | |
Destructor. | |
Private Types | |
typedef AVariableManager::Object | Object |
Template argument dependent Particle type definition. | |
typedef AVariableManager::Var | Var |
Template argument dependent Variable type definition. | |
Private Member Functions | |
FunctionNode (const std::string &functionName, const std::vector< std::string > &functionArguments) | |
Constructor. | |
Private Attributes | |
const std::string | m_name |
Function name of the MetaVariable. | |
const std::vector< std::string > | m_arguments |
vector of string arguments of the MetaVariable | |
const Var * | m_var |
set if there was a valid variable in this cut | |
Friends | |
class | NodeFactory |
FunctionNode Node class for handling MetaVariables in cuts.
Definition at line 1013 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 1017 of file CutNodes.h.
|
private |
Template argument dependent Variable type definition.
Definition at line 1021 of file CutNodes.h.
|
inline |
|
inlineexplicitprivate |
Constructor.
functionName | (const std::string&): function name of the MetaVariable |
functionArguments | (const std::vector<std::string>&): function arguments of the MetaVariable |
Definition at line 1077 of file CutNodes.h.
|
inlineoverridevirtual |
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 1044 of file CutNodes.h.
|
inlineoverridevirtual |
evaluate m_var with p and return the result
p | pointer to the object, for which m_var should be evaluated. |
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 1027 of file CutNodes.h.
|
inlineoverridevirtual |
Print node.
Implements AbstractExpressionNode< AVariableManager >.
Definition at line 1034 of file CutNodes.h.
|
inline |
Get MetaVariable from AVariableManager.
Definition at line 1053 of file CutNodes.h.
|
friend |
Definition at line 1071 of file CutNodes.h.
|
private |
vector of string arguments of the MetaVariable
Definition at line 1081 of file CutNodes.h.
|
private |
Function name of the MetaVariable.
Definition at line 1080 of file CutNodes.h.
|
private |
set if there was a valid variable in this cut
Definition at line 1082 of file CutNodes.h.