3#ifndef _TAMakerChannelDistanceAlgorithm_0_dunedaq__appmodel_0_appmodel_H_
4#define _TAMakerChannelDistanceAlgorithm_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;
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 inline std::ostream&
operator<<(std::ostream& s,
const TAMakerChannelDistanceAlgorithm& obj)
197 return obj.print_object(s);
static const std::string & __get_max_channel_distance_str() noexcept
void set_min_tps(uint32_t value)
Set "min_tps" attribute value. Minimum number of adjacent TPs to trigger on.
uint32_t get_min_tps() const
Get "min_tps" attribute value. Minimum number of adjacent TPs to trigger on.
static const std::string s_max_channel_distance
void set_max_channel_distance(uint32_t value)
Set "max_channel_distance" attribute value. Maximum distance between TPs to satisfy Adjacency conditi...
virtual void init(bool init_children)
static const std::string & s_class_name
static const std::string s_window_length
friend class conffwk::DalFactory
TAMakerChannelDistanceAlgorithm(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t get_max_channel_distance() const
Get "max_channel_distance" attribute value. Maximum distance between TPs to satisfy Adjacency conditi...
void set_window_length(uint32_t value)
Set "window_length" attribute value. Window length (in ticks) for the algorithm.
static const std::string & __get_window_length_str() noexcept
static const std::string & __get_min_tps_str() noexcept
static const std::string s_min_tps
friend class conffwk::DalObject
virtual ~TAMakerChannelDistanceAlgorithm() 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...
uint32_t m_max_channel_distance
uint32_t get_window_length() const
Get "window_length" attribute value. Window length (in ticks) for the algorithm.
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< constTAMakerChannelDistanceAlgorithm * >::const_iterator TAMakerChannelDistanceAlgorithmIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)