3#ifndef _TAMakerADCSimpleWindowAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
4#define _TAMakerADCSimpleWindowAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
34 virtual
void init(
bool init_children);
52 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
99 std::lock_guard scoped_lock(
m_mutex);
115 std::lock_guard scoped_lock(
m_mutex);
132 std::lock_guard scoped_lock(
m_mutex);
148 std::lock_guard scoped_lock(
m_mutex);
159 inline std::ostream&
operator<<(std::ostream& s,
const TAMakerADCSimpleWindowAlgorithm& obj)
161 return obj.print_object(s);
static const std::string & s_class_name
static const std::string s_adc_threshold
void set_window_length(uint32_t value)
Set "window_length" attribute value. Window length (in ticks) for the ADC integral algorithm.
uint32_t get_adc_threshold() const
Get "adc_threshold" attribute value. Threshold for the ADC integral algorithm.
void set_adc_threshold(uint32_t value)
Set "adc_threshold" attribute value. Threshold for the ADC integral algorithm.
TAMakerADCSimpleWindowAlgorithm(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t get_window_length() const
Get "window_length" attribute value. Window length (in ticks) for the ADC integral algorithm.
friend class conffwk::DalFactory
static const std::string s_window_length
static const std::string & __get_adc_threshold_str() noexcept
static const std::string & __get_window_length_str() noexcept
friend class conffwk::DalObject
virtual ~TAMakerADCSimpleWindowAlgorithm() 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...
virtual void init(bool init_children)
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< constTAMakerADCSimpleWindowAlgorithm * >::const_iterator TAMakerADCSimpleWindowAlgorithmIterator