 |
Belle II Software
release-05-02-19
|
@ c_SE
Smaller or equal than: "<=".
EAfterConditionPath getAfterConditionPath() const
What to do after a conditional path is finished.
std::string getString() const
A string representation of this condition.
EConditionOperators
The supported condition operators.
EConditionOperators getConditionOperator() const
Returns the value of the condition.
@ c_End
End current event after the conditional path.
EConditionOperators m_conditionOperator
The operator of the condition (set by parsing the condition expression).
std::shared_ptr< Path > m_conditionPath
The path which which will be executed if the condition is evaluated to true.
static void exposePythonAPI()
Exposes methods of the ModuleCondition class to Python.
@ c_GE
Greater or equal than: ">=".
@ c_Continue
After the conditional path, resume execution after this module.
Abstract base class for different kinds of events.
ModuleCondition & operator=(const ModuleCondition &other)=default
and default assignment operator
bool evaluate(int value) const
evaluate the condition using the given value.
ModuleCondition()=delete
no default constructed objects.
int getConditionValue() const
Returns the value of the condition.
EAfterConditionPath
Different options for behaviour after a conditional path was executed.
const std::shared_ptr< Path > & getPath() const
Returns the path of the condition.
EAfterConditionPath m_afterConditionPath
What to do after a conditional path is finished.
Wraps a condition set on a Module instance.
int m_conditionValue
Numeric value used in the condition (set by parsing the condition expression).
~ModuleCondition()=default
Destructor, nothing to see here.