3#ifndef _ROIGroupConf_0_dunedaq__appmodel_0_appmodel_H_
4#define _ROIGroupConf_0_dunedaq__appmodel_0_appmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
102 std::lock_guard scoped_lock(
m_mutex);
118 std::lock_guard scoped_lock(
m_mutex);
135 std::lock_guard scoped_lock(
m_mutex);
151 std::lock_guard scoped_lock(
m_mutex);
168 std::lock_guard scoped_lock(
m_mutex);
184 std::lock_guard scoped_lock(
m_mutex);
195 struct Groups_selection_mode {
196 inline static const std::string
KRandom =
"kRandom";
210 std::lock_guard scoped_lock(
m_mutex);
226 std::lock_guard scoped_lock(
m_mutex);
239 return obj.print_object(s);
void set_time_window(uint32_t value)
Set "time_window" attribute value. Time window to read out pre/post decision, [clock ticks] (currentl...
static const std::string s_time_window
static const std::string & __get_probability_str() noexcept
static const std::string s_number_of_link_groups
void set_groups_selection_mode(const std::string &value)
Set "groups_selection_mode" attribute value. Whether to read out random groups or in sequence (curren...
static const std::string & __get_groups_selection_mode_str() noexcept
void set_number_of_link_groups(uint32_t value)
Set "number_of_link_groups" attribute value. Number of groups of links to readout.
std::string m_groups_selection_mode
static const std::string s_groups_selection_mode
uint32_t get_number_of_link_groups() const
Get "number_of_link_groups" attribute value. Number of groups of links to readout.
float get_probability() const
Get "probability" attribute value. Probability to select this configuration [0 to 1] (currently not u...
static const std::string s_probability
static const std::string & s_class_name
uint32_t m_number_of_link_groups
friend class conffwk::DalFactory
static const std::string & __get_time_window_str() noexcept
virtual void init(bool init_children)
void set_probability(float value)
Set "probability" attribute value. Probability to select this configuration [0 to 1] (currently not u...
const std::string & get_groups_selection_mode() const
Get "groups_selection_mode" attribute value. Whether to read out random groups or in sequence (curren...
uint32_t get_time_window() const
Get "time_window" attribute value. Time window to read out pre/post decision, [clock ticks] (currentl...
friend class conffwk::DalObject
ROIGroupConf(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_number_of_link_groups_str() noexcept
virtual ~ROIGroupConf() noexcept
virtual std::vector< const dunedaq::conffwk::DalObject * > get(const std::string &name, bool upcast_unregistered=true) const
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject...
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_enum(const std::string &name, const std::string &value)
Set attribute enumeration value.
The base class for any generated DAL object.
std::mutex m_mutex
Used to protect changes of DAL object.
ConfigObject p_obj
Config object used by given template object.
void check_init() const
Check and initialize object if necessary.
DalRegistry: A registry of DalObjects It provides a single interface to create, cache and manage DalO...
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constROIGroupConf * >::const_iterator ROIGroupConfIterator
static const std::string KSequential
static const std::string KRandom