![]() |
Belle II Software release-09-00-03
|
Nodeclass with two AbstractBooleanNode as children and a Boolean Operator (AND, OR) Check() method evaluates the child nodes and returns the result of the boolean operation. More...
#include <CutNodes.h>


Public Types | |
| typedef AVariableManager::Var | Var |
| Template argument dependent Variable type definition. | |
Public Member Functions | |
| bool | check (const Object *p) const override |
| Check if object passes this subexpression of the cut by calling check on the children nodes. | |
| void | print () const override |
| Print node. | |
| std::string | decompile () const override |
| Decompile Node back to a string. | |
| ~BinaryBooleanNode () | |
| Destructor. | |
Private Types | |
| typedef AVariableManager::Object | Object |
| Template argument dependent Particle type definition. | |
Private Member Functions | |
| BinaryBooleanNode (Nodetuple left_node, Nodetuple right_node, BooleanOperator boperator) | |
Private Attributes | |
| std::unique_ptr< const AbstractBooleanNode< AVariableManager > > | m_left_bnode |
| boolean subexpression of a cut | |
| std::unique_ptr< const AbstractBooleanNode< AVariableManager > > | m_right_bnode |
| boolean subexpression of a cut | |
| const BooleanOperator | m_boperator |
| Boolean operation to be applied to the check() results of the child nodes. | |
Friends | |
| class | NodeFactory |
Nodeclass with two AbstractBooleanNode as children and a Boolean Operator (AND, OR) Check() method evaluates the child nodes and returns the result of the boolean operation.
Definition at line 274 of file CutNodes.h.
|
private |
Template argument dependent Particle type definition.
Definition at line 278 of file CutNodes.h.
|
inherited |
Template argument dependent Variable type definition.
Definition at line 39 of file AbstractNodes.h.
|
inline |
|
inlineexplicitprivate |
| left_node | (const boost::python::tuple&): tuple from which the left boolean child node is constructed |
| right_node | (const boost::python::tuple&): tuple from which the right boolean child node is constructed |
| boperator | (BooleanOperator): determines the boolean operation in check(const Object* p) |
Definition at line 336 of file CutNodes.h.
|
inlineoverridevirtual |
Check if object passes this subexpression of the cut by calling check on the children nodes.
Boolean results are evaluated with the BooleanOperator(AND/OR) the node object.
| p | pointer to the object, that should be checked. |
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 285 of file CutNodes.h.
|
inlineoverridevirtual |
Decompile Node back to a string.
decompile(compile) should give the same result.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 315 of file CutNodes.h.
|
inlineoverridevirtual |
Print node.
Implements AbstractBooleanNode< AVariableManager >.
Definition at line 304 of file CutNodes.h.
|
friend |
Definition at line 330 of file CutNodes.h.
|
private |
Boolean operation to be applied to the check() results of the child nodes.
Definition at line 343 of file CutNodes.h.
|
private |
boolean subexpression of a cut
Definition at line 341 of file CutNodes.h.
|
private |
boolean subexpression of a cut
Definition at line 342 of file CutNodes.h.