3#ifndef _TPCRawDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
4#define _TPCRawDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
25 class SamplesOverThresholdMinima;
44 virtual
void init(
bool init_children);
62 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
114 std::lock_guard scoped_lock(
m_mutex);
130 std::lock_guard scoped_lock(
m_mutex);
147 std::lock_guard scoped_lock(
m_mutex);
163 std::lock_guard scoped_lock(
m_mutex);
180 std::lock_guard scoped_lock(
m_mutex);
196 std::lock_guard scoped_lock(
m_mutex);
218 const std::vector<const dunedaq::appmodel::ProcessingStep*>&
221 std::lock_guard scoped_lock(
m_mutex);
226 std::ostringstream text;
227 text <<
"relationship \"" <<
s_processing_steps <<
"\" of object " <<
this <<
" is empty";
253 std::lock_guard scoped_lock(
m_mutex);
258 std::ostringstream text;
259 text <<
"relationship \"" <<
s_sot_minima <<
"\" of object " <<
this <<
" is not set";
282 return obj.print_object(s);
void set_sot_minima(const dunedaq::appmodel::SamplesOverThresholdMinima *value)
Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
void set_frame_count_limit(uint32_t value)
Set "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to th...
uint32_t m_metric_collect_opmon_rate
static const std::string & __get_frame_count_limit_str() noexcept
void set_metric_collect_opmon_rate(uint32_t value)
Set "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from pr...
std::vector< const dunedaq::appmodel::ProcessingStep * > m_processing_steps
static const std::string & __get_sot_minima_str() noexcept
static const std::string & __get_tp_count_limit_str() noexcept
static const std::string s_processing_steps
uint32_t get_frame_count_limit() const
Get "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to th...
static const std::string & __get_processing_steps_str() noexcept
TPCRawDataProcessor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
uint32_t m_tp_count_limit
static const std::string s_frame_count_limit
void set_tp_count_limit(uint32_t value)
Set "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sin...
const dunedaq::appmodel::SamplesOverThresholdMinima * m_sot_minima
friend class conffwk::DalFactory
virtual void init(bool init_children)
const dunedaq::appmodel::SamplesOverThresholdMinima * get_sot_minima() const
Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
const std::vector< const dunedaq::appmodel::ProcessingStep * > & get_processing_steps() const
Get "processing_steps" relationship value.
static const std::string s_tp_count_limit
static const std::string & __get_metric_collect_opmon_rate_str() noexcept
void set_processing_steps(const std::vector< const dunedaq::appmodel::ProcessingStep * > &value)
Set "processing_steps" relationship value.
uint32_t get_metric_collect_opmon_rate() const
Get "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from pr...
friend class conffwk::DalObject
static const std::string s_metric_collect_opmon_rate
uint32_t m_frame_count_limit
uint32_t get_tp_count_limit() const
Get "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sin...
virtual ~TPCRawDataProcessor() noexcept
static const std::string & s_class_name
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_sot_minima
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...
Generic configuration exception.
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constTPCRawDataProcessor * >::const_iterator TPCRawDataProcessorIterator