3#ifndef _WIBPulserSettings_0_dunedaq__appmodel_0_appmodel_H_
4#define _WIBPulserSettings_0_dunedaq__appmodel_0_appmodel_H_
35 virtual
void init(
bool init_children);
53 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
118 std::lock_guard scoped_lock(
m_mutex);
134 std::lock_guard scoped_lock(
m_mutex);
151 std::lock_guard scoped_lock(
m_mutex);
167 std::lock_guard scoped_lock(
m_mutex);
184 std::lock_guard scoped_lock(
m_mutex);
200 std::lock_guard scoped_lock(
m_mutex);
217 std::lock_guard scoped_lock(
m_mutex);
233 std::lock_guard scoped_lock(
m_mutex);
250 std::lock_guard scoped_lock(
m_mutex);
266 std::lock_guard scoped_lock(
m_mutex);
283 std::lock_guard scoped_lock(
m_mutex);
299 std::lock_guard scoped_lock(
m_mutex);
316 std::lock_guard scoped_lock(
m_mutex);
332 std::lock_guard scoped_lock(
m_mutex);
349 std::lock_guard scoped_lock(
m_mutex);
365 std::lock_guard scoped_lock(
m_mutex);
376 inline std::ostream&
operator<<(std::ostream& s,
const WIBPulserSettings& obj)
378 return obj.print_object(s);
bool get_enabled_1() const
Get "enabled_1" attribute value. Enable WIB pulser for FEMB 1.
static const std::string s_enabled_2
uint16_t get_pulse_dac() const
Get "pulse_dac" attribute value. WIB pulser DAC setting. 16 bits [0-65535].
void set_enabled_1(bool value)
Set "enabled_1" attribute value. Enable WIB pulser for FEMB 1.
static const std::string s_pulse_dac
uint32_t m_pulse_duration
static const std::string s_enabled_1
virtual ~WIBPulserSettings() noexcept
static const std::string & __get_pulse_dac_str() noexcept
static const std::string & __get_enabled_0_str() noexcept
uint32_t get_pulse_duration() const
Get "pulse_duration" attribute value. WIB pulser pulse duration in system clock units (16 ns)....
uint32_t get_pulse_period() const
Get "pulse_period" attribute value. WIB pulser period in ADC clock units (512 ns)....
static const std::string & __get_pulse_duration_str() noexcept
static const std::string & __get_pulse_period_str() noexcept
static const std::string & __get_enabled_1_str() noexcept
friend class conffwk::DalFactory
void set_pulse_duration(uint32_t value)
Set "pulse_duration" attribute value. WIB pulser pulse duration in system clock units (16 ns)....
void set_pulse_dac(uint16_t value)
Set "pulse_dac" attribute value. WIB pulser DAC setting. 16 bits [0-65535].
static const std::string & __get_enabled_3_str() noexcept
void set_pulse_phase(uint8_t value)
Set "pulse_phase" attribute value. WIB pulser phase relative to digitization clock [0-31].
void set_pulse_period(uint32_t value)
Set "pulse_period" attribute value. WIB pulser period in ADC clock units (512 ns)....
void set_enabled_2(bool value)
Set "enabled_2" attribute value. Enable WIB pulser for FEMB 2.
static const std::string & s_class_name
static const std::string & __get_enabled_2_str() noexcept
bool get_enabled_3() const
Get "enabled_3" attribute value. Enable WIB pulser for FEMB 3.
friend class conffwk::DalObject
void set_enabled_3(bool value)
Set "enabled_3" attribute value. Enable WIB pulser for FEMB 3.
static const std::string s_enabled_0
bool get_enabled_0() const
Get "enabled_0" attribute value. Enable WIB pulser for FEMB 0.
static const std::string s_pulse_period
static const std::string s_pulse_duration
static const std::string s_enabled_3
static const std::string & __get_pulse_phase_str() noexcept
bool get_enabled_2() const
Get "enabled_2" attribute value. Enable WIB pulser for FEMB 2.
uint8_t get_pulse_phase() const
Get "pulse_phase" attribute value. WIB pulser phase relative to digitization clock [0-31].
static const std::string s_pulse_phase
WIBPulserSettings(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
void set_enabled_0(bool value)
Set "enabled_0" attribute value. Enable WIB pulser for FEMB 0.
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::vector< constWIBPulserSettings * >::const_iterator WIBPulserSettingsIterator
std::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)