10#include <framework/core/Module.h>
11#include <analysis/VariableManager/Manager.h>
31 virtual void event()
override;
Module to calculate variable specified by the user and set return value accordingly.
virtual void initialize() override
Initialize.
virtual void event() override
Method called for each event.
std::string m_variable
variable name (module parameter)
Variable::Manager::FunctionPtr m_function
function pointer corresponding to given variable.
VariableToReturnValueModule()
Constructor.
std::function< VarVariant(const Particle *)> FunctionPtr
functions stored take a const Particle* and return VarVariant.
Abstract base class for different kinds of events.