8 #include <simulation/modules/dbtools/ROIfindingConditionFromDBModule.h>
9 #include <framework/core/ModuleParam.templateDetails.h>
17 setDescription(
"Module which sets its return value based on the payload whether ROI-finding was enabled for the given run/exp interval or not.");
27 B2ERROR(
"No configuration for the current run found");
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
void setReturnValue(int value)
Sets the return value for this module as integer.
void event() override
Returns true, if ROI-finding is enabled.
bool m_roiEnabled
Internal condition: true if run/exp is in IoV.
DBObjPtr< ROISimulationParameters > m_ROISimulationParameters
Configuration parameters for ROIs.
ROIfindingConditionFromDBModule()
Add the module parameters and the description.
REG_MODULE(arichBtest)
Register the Module.
Abstract base class for different kinds of events.