3#ifndef _TAAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
4#define _TAAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
38 virtual
void init(
bool init_children);
56 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
103 std::lock_guard scoped_lock(
m_mutex);
119 std::lock_guard scoped_lock(
m_mutex);
136 std::lock_guard scoped_lock(
m_mutex);
152 std::lock_guard scoped_lock(
m_mutex);
163 inline std::ostream&
operator<<(std::ostream& s,
const TAAlgorithm& obj)
165 return obj.print_object(s);
TAAlgorithm(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t get_max_samples_over_threshold() const
Get "max_samples_over_threshold" attribute value. Maximum samples-over-threshold for TP to accept by ...
uint32_t get_prescale() const
Get "prescale" attribute value. Prescale factor to apply to algorithm output.
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 s_prescale
virtual ~TAAlgorithm() noexcept
friend class conffwk::DalFactory
void set_max_samples_over_threshold(uint32_t value)
Set "max_samples_over_threshold" attribute value. Maximum samples-over-threshold for TP to accept by ...
virtual void init(bool init_children)
static const std::string & __get_max_samples_over_threshold_str() noexcept
static const std::string & __get_prescale_str() noexcept
uint32_t m_max_samples_over_threshold
friend class conffwk::DalObject
static const std::string s_max_samples_over_threshold
void set_prescale(uint32_t value)
Set "prescale" attribute value. Prescale factor to apply to algorithm output.
static const std::string & s_class_name
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< constTAAlgorithm * >::const_iterator TAAlgorithmIterator