3#ifndef _FEMBSettings_0_dunedaq__appmodel_0_appmodel_H_
4#define _FEMBSettings_0_dunedaq__appmodel_0_appmodel_H_
31 virtual
void init(
bool init_children);
49 virtual
void print(
unsigned int offset,
bool print_header,
std::ostream& s) const;
138 std::lock_guard scoped_lock(
m_mutex);
154 std::lock_guard scoped_lock(
m_mutex);
171 std::lock_guard scoped_lock(
m_mutex);
187 std::lock_guard scoped_lock(
m_mutex);
204 std::lock_guard scoped_lock(
m_mutex);
220 std::lock_guard scoped_lock(
m_mutex);
237 std::lock_guard scoped_lock(
m_mutex);
253 std::lock_guard scoped_lock(
m_mutex);
270 std::lock_guard scoped_lock(
m_mutex);
286 std::lock_guard scoped_lock(
m_mutex);
303 std::lock_guard scoped_lock(
m_mutex);
319 std::lock_guard scoped_lock(
m_mutex);
336 std::lock_guard scoped_lock(
m_mutex);
352 std::lock_guard scoped_lock(
m_mutex);
369 std::lock_guard scoped_lock(
m_mutex);
385 std::lock_guard scoped_lock(
m_mutex);
402 std::lock_guard scoped_lock(
m_mutex);
418 std::lock_guard scoped_lock(
m_mutex);
435 std::lock_guard scoped_lock(
m_mutex);
451 std::lock_guard scoped_lock(
m_mutex);
468 std::lock_guard scoped_lock(
m_mutex);
484 std::lock_guard scoped_lock(
m_mutex);
501 std::lock_guard scoped_lock(
m_mutex);
517 std::lock_guard scoped_lock(
m_mutex);
534 std::lock_guard scoped_lock(
m_mutex);
550 std::lock_guard scoped_lock(
m_mutex);
567 std::lock_guard scoped_lock(
m_mutex);
583 std::lock_guard scoped_lock(
m_mutex);
597 const std::vector<uint8_t>&
600 std::lock_guard scoped_lock(
m_mutex);
616 std::lock_guard scoped_lock(
m_mutex);
630 const std::vector<bool>&
633 std::lock_guard scoped_lock(
m_mutex);
649 std::lock_guard scoped_lock(
m_mutex);
662 return obj.print_object(s);
void set_strobe_length(uint8_t value)
Set "strobe_length" attribute value. Length of strobe in 64MHz periods (pulser length 0-255)
void set_pulse_dac(uint8_t value)
Set "pulse_dac" attribute value. Pulser DAC setting [0-63].
static const std::string & __get_strobe_delay_str() noexcept
static const std::string s_peak_time
static const std::string & __get_gain_str() noexcept
static const std::string & __get_pulse_channels_str() noexcept
uint8_t get_peak_time() const
Get "peak_time" attribute value. Channel peak time selector: 1.0, 0.5, 3, 2 us (0 - 3)
bool get_ac_couple() const
Get "ac_couple" attribute value. false (DC coupling), true (AC coupling)
static const std::string s_buffering
static const std::string & __get_ac_couple_str() noexcept
const std::vector< bool > & get_pulse_channels() const
Get "pulse_channels" attribute value. Array of up to 16 true/false values, for whether to send pulser...
std::vector< bool > m_pulse_channels
std::vector< uint8_t > m_line_driver
bool get_leak_10x() const
Get "leak_10x" attribute value. Multiply leak current by 10 if true.
void set_peak_time(uint8_t value)
Set "peak_time" attribute value. Channel peak time selector: 1.0, 0.5, 3, 2 us (0 - 3)
FEMBSettings(conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept
static const std::string s_baseline
static const std::string & __get_pulse_dac_str() 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...
static const std::string s_leak
void set_line_driver(const std::vector< uint8_t > &value)
Set "line_driver" attribute value. 0 (Default), 1 (Short), 2 (25 m warm), 3 (35 m warm),...
uint8_t get_strobe_delay() const
Get "strobe_delay" attribute value. 64MHz periods to skip after 2MHz edge for strobe (pulser offset 0...
void set_buffering(uint8_t value)
Set "buffering" attribute value. 0 (no buffer), 1 (se buffer), 2 (sedc buffer)
virtual ~FEMBSettings() noexcept
bool get_test_cap() const
Get "test_cap" attribute value. Enable the test capacitor.
bool get_gain_match() const
Get "gain_match" attribute value. Enable pulser DAC gain matching.
static const std::string & __get_buffering_str() noexcept
static const std::string s_leak_10x
static const std::string s_pulse_dac
void set_leak_10x(bool value)
Set "leak_10x" attribute value. Multiply leak current by 10 if true.
uint8_t get_baseline() const
Get "baseline" attribute value. Baseline selector: 0 (900 mV), 1 (200 mV), 2 (200 mV collection,...
static const std::string s_strobe_delay
uint8_t get_strobe_length() const
Get "strobe_length" attribute value. Length of strobe in 64MHz periods (pulser length 0-255)
static const std::string s_strobe_length
static const std::string & __get_strobe_skip_str() noexcept
static const std::string & __get_strobe_length_str() noexcept
static const std::string s_strobe_skip
uint8_t get_gain() const
Get "gain" attribute value. Channel gain selector: 14, 25, 7.8, 4.7 mV/fC (0 - 3)
const std::vector< uint8_t > & get_line_driver() const
Get "line_driver" attribute value. 0 (Default), 1 (Short), 2 (25 m warm), 3 (35 m warm),...
void set_gain(uint8_t value)
Set "gain" attribute value. Channel gain selector: 14, 25, 7.8, 4.7 mV/fC (0 - 3)
friend class conffwk::DalFactory
static const std::string & __get_enabled_str() noexcept
void set_strobe_delay(uint8_t value)
Set "strobe_delay" attribute value. 64MHz periods to skip after 2MHz edge for strobe (pulser offset 0...
virtual void init(bool init_children)
static const std::string & __get_gain_match_str() noexcept
static const std::string & s_class_name
static const std::string & __get_leak_str() noexcept
uint8_t get_leak() const
Get "leak" attribute value. Leak current selector: 0 (500 pA), 1 (100 pA)
static const std::string s_enabled
static const std::string s_ac_couple
static const std::string s_pulse_channels
void set_gain_match(bool value)
Set "gain_match" attribute value. Enable pulser DAC gain matching.
uint8_t get_strobe_skip() const
Get "strobe_skip" attribute value. 2MHz periods to skip after strobe (pulser period 0-255)
static const std::string & __get_test_cap_str() noexcept
uint8_t get_pulse_dac() const
Get "pulse_dac" attribute value. Pulser DAC setting [0-63].
void set_leak(uint8_t value)
Set "leak" attribute value. Leak current selector: 0 (500 pA), 1 (100 pA)
static const std::string & __get_leak_10x_str() noexcept
static const std::string s_gain_match
friend class conffwk::DalObject
void set_baseline(uint8_t value)
Set "baseline" attribute value. Baseline selector: 0 (900 mV), 1 (200 mV), 2 (200 mV collection,...
static const std::string s_test_cap
static const std::string s_line_driver
void set_test_cap(bool value)
Set "test_cap" attribute value. Enable the test capacitor.
void set_pulse_channels(const std::vector< bool > &value)
Set "pulse_channels" attribute value. Array of up to 16 true/false values, for whether to send pulser...
uint8_t get_buffering() const
Get "buffering" attribute value. 0 (no buffer), 1 (se buffer), 2 (sedc buffer)
static const std::string & __get_line_driver_str() noexcept
static const std::string & __get_peak_time_str() noexcept
void set_strobe_skip(uint8_t value)
Set "strobe_skip" attribute value. 2MHz periods to skip after strobe (pulser period 0-255)
static const std::string s_gain
static const std::string & __get_baseline_str() noexcept
void set_ac_couple(bool value)
Set "ac_couple" attribute value. false (DC coupling), true (AC coupling)
void set_enabled(bool value)
Set "enabled" attribute value. True of FEMB should be configured and read out by WIB.
bool get_enabled() const
Get "enabled" attribute value. True of FEMB should be configured and read out by WIB.
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::ostream & operator<<(std::ostream &s, const AVXAbsRunSumProcessor &obj)
std::vector< constFEMBSettings * >::const_iterator FEMBSettingsIterator