3#ifndef _RawDataProcessor_0_dunedaq__appmodel_0_appmodel_H_
4#define _RawDataProcessor_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;
108 const std::vector<uint32_t>&
111 std::lock_guard scoped_lock(
m_mutex);
127 std::lock_guard scoped_lock(
m_mutex);
143 std::lock_guard scoped_lock(
m_mutex);
158 std::lock_guard scoped_lock(
m_mutex);
168 inline static const std::string
s_sot_minima =
"sot_minima";
180 const std::vector<const dunedaq::appmodel::ProcessingStep*>&
183 std::lock_guard scoped_lock(
m_mutex);
188 std::ostringstream text;
189 text <<
"relationship \"" <<
s_processing_steps <<
"\" of object " <<
this <<
" is empty";
215 std::lock_guard scoped_lock(
m_mutex);
220 std::ostringstream text;
221 text <<
"relationship \"" <<
s_sot_minima <<
"\" of object " <<
this <<
" is not set";
244 return obj.print_object(s);
std::vector< const dunedaq::appmodel::ProcessingStep * > m_processing_steps
const std::vector< const dunedaq::appmodel::ProcessingStep * > & get_processing_steps() const
Get "processing_steps" relationship value.
std::vector< uint32_t > m_channel_mask
static const std::string & __get_sot_minima_str() noexcept
virtual void init(bool init_children)
static const std::string & __get_processing_steps_str() noexcept
void set_channel_map(const std::string &value)
Set "channel_map" attribute value.
const std::vector< uint32_t > & get_channel_mask() const
Get "channel_mask" attribute value. List of channels to be masked from TP generation.
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...
const std::string & get_channel_map() const
Get "channel_map" attribute value.
std::string m_channel_map
const dunedaq::appmodel::SamplesOverThresholdMinima * get_sot_minima() const
Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
const dunedaq::appmodel::SamplesOverThresholdMinima * m_sot_minima
friend class conffwk::DalFactory
static const std::string s_processing_steps
RawDataProcessor(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string & __get_channel_map_str() noexcept
static const std::string s_channel_map
void set_sot_minima(const dunedaq::appmodel::SamplesOverThresholdMinima *value)
Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
void set_channel_mask(const std::vector< uint32_t > &value)
Set "channel_mask" attribute value. List of channels to be masked from TP generation.
static const std::string & __get_channel_mask_str() noexcept
friend class conffwk::DalObject
static const std::string s_sot_minima
virtual ~RawDataProcessor() noexcept
void set_processing_steps(const std::vector< const dunedaq::appmodel::ProcessingStep * > &value)
Set "processing_steps" relationship value.
static const std::string s_channel_mask
static const std::string & s_class_name
void set_by_val(const std::string &name, T value)
Set attribute value.
void set_by_ref(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< constRawDataProcessor * >::const_iterator RawDataProcessorIterator