3#ifndef _TCMakerPlaneCoincidenceAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
4#define _TCMakerPlaneCoincidenceAlgorithm_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;
108 std::lock_guard scoped_lock(
m_mutex);
124 std::lock_guard scoped_lock(
m_mutex);
141 std::lock_guard scoped_lock(
m_mutex);
157 std::lock_guard scoped_lock(
m_mutex);
174 std::lock_guard scoped_lock(
m_mutex);
190 std::lock_guard scoped_lock(
m_mutex);
207 std::lock_guard scoped_lock(
m_mutex);
223 std::lock_guard scoped_lock(
m_mutex);
240 std::lock_guard scoped_lock(
m_mutex);
256 std::lock_guard scoped_lock(
m_mutex);
269 return obj.print_object(s);
void set_n_channels_threshold(uint32_t value)
Set "n_channels_threshold" attribute value. Threshold for the N Channels algorithm.
void set_window_length(uint32_t value)
Set "window_length" attribute value. Window length (in ticks) for the algorithm.
static const std::string & __get_adc_threshold_str() noexcept
bool m_trigger_on_n_channels
virtual void init(bool init_children)
bool get_trigger_on_adc() const
Get "trigger_on_adc" attribute value. Whether to trigger on ADC integral.
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_trigger_on_adc
static const std::string & __get_window_length_str() noexcept
uint32_t get_window_length() const
Get "window_length" attribute value. Window length (in ticks) for the algorithm.
uint32_t get_adc_threshold() const
Get "adc_threshold" attribute value. Threshold for the ADC integral algorithm.
friend class conffwk::DalFactory
void set_trigger_on_adc(bool value)
Set "trigger_on_adc" attribute value. Whether to trigger on ADC integral.
TCMakerPlaneCoincidenceAlgorithm(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_trigger_on_adc_str() noexcept
uint32_t get_n_channels_threshold() const
Get "n_channels_threshold" attribute value. Threshold for the N Channels algorithm.
static const std::string & s_class_name
static const std::string s_trigger_on_n_channels
static const std::string & __get_trigger_on_n_channels_str() noexcept
static const std::string s_adc_threshold
uint32_t m_n_channels_threshold
void set_trigger_on_n_channels(bool value)
Set "trigger_on_n_channels" attribute value. Whether to trigger on N Channels.
friend class conffwk::DalObject
bool get_trigger_on_n_channels() const
Get "trigger_on_n_channels" attribute value. Whether to trigger on N Channels.
static const std::string & __get_n_channels_threshold_str() noexcept
void set_adc_threshold(uint32_t value)
Set "adc_threshold" attribute value. Threshold for the ADC integral algorithm.
static const std::string s_n_channels_threshold
static const std::string s_window_length
virtual ~TCMakerPlaneCoincidenceAlgorithm() noexcept
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::vector< constTCMakerPlaneCoincidenceAlgorithm * >::const_iterator TCMakerPlaneCoincidenceAlgorithmIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)