3#ifndef _TCDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
4#define _TCDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
50 virtual
void init(
bool init_children);
68 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
131 std::lock_guard scoped_lock(
m_mutex);
147 std::lock_guard scoped_lock(
m_mutex);
164 std::lock_guard scoped_lock(
m_mutex);
180 std::lock_guard scoped_lock(
m_mutex);
197 std::lock_guard scoped_lock(
m_mutex);
213 std::lock_guard scoped_lock(
m_mutex);
230 std::lock_guard scoped_lock(
m_mutex);
246 std::lock_guard scoped_lock(
m_mutex);
263 std::lock_guard scoped_lock(
m_mutex);
279 std::lock_guard scoped_lock(
m_mutex);
293 const std::vector<uint32_t>&
296 std::lock_guard scoped_lock(
m_mutex);
312 std::lock_guard scoped_lock(
m_mutex);
339 const std::vector<const dunedaq::appmodel::TriggerBitword*>&
342 std::lock_guard scoped_lock(
m_mutex);
366 const std::vector<const dunedaq::appmodel::ROIGroupConf*>&
369 std::lock_guard scoped_lock(
m_mutex);
393 const std::vector<const dunedaq::appmodel::TCReadoutMap*>&
396 std::lock_guard scoped_lock(
m_mutex);
420 const std::vector<const dunedaq::appmodel::SourceIDConf*>&
423 std::lock_guard scoped_lock(
m_mutex);
446 return obj.print_object(s);
const std::vector< const dunedaq::appmodel::TriggerBitword * > & get_trigger_bitwords() const
Get "trigger_bitwords" relationship value. Optional dictionary of bitwords to use when forming trigge...
static const std::string s_buffer_timeout
void set_buffer_timeout(uint32_t value)
Set "buffer_timeout" attribute value. Timeout (buffer) to wait for new overlapping TCs before sending...
uint32_t m_buffer_timeout
static const std::string & __get_roi_group_conf_str() noexcept
void set_roi_group_conf(const std::vector< const dunedaq::appmodel::ROIGroupConf * > &value)
Set "roi_group_conf" relationship value. The configuration (table) for ROI readout (currently not use...
bool get_ignore_overlapping_tcs() const
Get "ignore_overlapping_tcs" attribute value. Option to ignore consecutive overlapping TCs/pileup eve...
bool get_td_out_of_timeout() const
Get "td_out_of_timeout" attribute value. Option to drop TD if TC comes out of timeout window.
std::vector< const dunedaq::appmodel::TriggerBitword * > m_trigger_bitwords
static const std::string s_td_out_of_timeout
uint32_t get_td_readout_limit() const
Get "td_readout_limit" attribute value. Maximum allowed time length (in ticks) for a readout window o...
static const std::string & __get_merge_overlapping_tcs_str() noexcept
TCDataProcessor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_tc_readout_map(const std::vector< const dunedaq::appmodel::TCReadoutMap * > &value)
Set "tc_readout_map" relationship value. The readout windows assigned to TDs in MLT,...
virtual ~TCDataProcessor() noexcept
static const std::string & __get_ignore_overlapping_tcs_str() noexcept
static const std::string s_trigger_bitwords
static const std::string s_mandatory_links
const std::vector< const dunedaq::appmodel::SourceIDConf * > & get_mandatory_links() const
Get "mandatory_links" relationship value. Source Ids that will always be included in a trigger decisi...
static const std::string s_tc_readout_map
std::vector< uint32_t > m_ignore_tc
void set_td_out_of_timeout(bool value)
Set "td_out_of_timeout" attribute value. Option to drop TD if TC comes out of timeout window.
static const std::string s_ignore_tc
friend class conffwk::DalFactory
void set_trigger_bitwords(const std::vector< const dunedaq::appmodel::TriggerBitword * > &value)
Set "trigger_bitwords" relationship value. Optional dictionary of bitwords to use when forming trigge...
void set_ignore_tc(const std::vector< uint32_t > &value)
Set "ignore_tc" attribute value. Optional list of TC types to be ignored in MLT.
static const std::string & __get_mandatory_links_str() noexcept
static const std::string & __get_trigger_bitwords_str() noexcept
uint32_t m_td_readout_limit
uint32_t get_buffer_timeout() const
Get "buffer_timeout" attribute value. Timeout (buffer) to wait for new overlapping TCs before sending...
const std::vector< const dunedaq::appmodel::TCReadoutMap * > & get_tc_readout_map() const
Get "tc_readout_map" relationship value. The readout windows assigned to TDs in MLT,...
static const std::string & __get_td_out_of_timeout_str() noexcept
void set_ignore_overlapping_tcs(bool value)
Set "ignore_overlapping_tcs" attribute value. Option to ignore consecutive overlapping TCs/pileup eve...
static const std::string s_td_readout_limit
bool m_merge_overlapping_tcs
bool m_ignore_overlapping_tcs
void set_mandatory_links(const std::vector< const dunedaq::appmodel::SourceIDConf * > &value)
Set "mandatory_links" relationship value. Source Ids that will always be included in a trigger decisi...
friend class conffwk::DalObject
void set_merge_overlapping_tcs(bool value)
Set "merge_overlapping_tcs" attribute value. Option to turn off merging of overlapping TCs when formi...
static const std::string s_merge_overlapping_tcs
static const std::string & __get_td_readout_limit_str() noexcept
const std::vector< const dunedaq::appmodel::ROIGroupConf * > & get_roi_group_conf() const
Get "roi_group_conf" relationship value. The configuration (table) for ROI readout (currently not use...
std::vector< const dunedaq::appmodel::TCReadoutMap * > m_tc_readout_map
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...
static const std::string & __get_buffer_timeout_str() noexcept
static const std::string s_ignore_overlapping_tcs
virtual void init(bool init_children)
static const std::string & __get_ignore_tc_str() noexcept
void set_td_readout_limit(uint32_t value)
Set "td_readout_limit" attribute value. Maximum allowed time length (in ticks) for a readout window o...
static const std::string & s_class_name
static const std::string s_roi_group_conf
std::vector< const dunedaq::appmodel::SourceIDConf * > m_mandatory_links
static const std::string & __get_tc_readout_map_str() noexcept
bool get_merge_overlapping_tcs() const
Get "merge_overlapping_tcs" attribute value. Option to turn off merging of overlapping TCs when formi...
std::vector< const dunedaq::appmodel::ROIGroupConf * > m_roi_group_conf
const std::vector< uint32_t > & get_ignore_tc() const
Get "ignore_tc" attribute value. Optional list of TC types to be ignored in MLT.
void set_by_val(const std::string &name, T value)
Set attribute 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< constTCDataProcessor * >::const_iterator TCDataProcessorIterator