DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <WIBSettings.hpp>
Public Member Functions | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the WIBSettings object. | |
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 pointers. | |
bool | get_cold () const |
Get "cold" attribute value. True if the front end electronics are COLD (77k) | |
void | set_cold (bool value) |
Set "cold" attribute value. True if the front end electronics are COLD (77k) | |
bool | get_pulser () const |
Get "pulser" attribute value. True if the calibration pulser should be enabled. | |
void | set_pulser (bool value) |
Set "pulser" attribute value. True if the calibration pulser should be enabled. | |
uint8_t | get_detector_type () const |
Get "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3) | |
void | set_detector_type (uint8_t value) |
Set "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3) | |
bool | get_adc_test_pattern () const |
Get "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled. | |
void | set_adc_test_pattern (bool value) |
Set "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled. | |
const dunedaq::appmodel::FEMBSettings * | get_femb0 () const |
Get "femb0" relationship value. Settings for FEMB in slot 0. | |
void | set_femb0 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb0" relationship value. Settings for FEMB in slot 0. | |
const dunedaq::appmodel::FEMBSettings * | get_femb1 () const |
Get "femb1" relationship value. Settings for FEMB in slot 1. | |
void | set_femb1 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb1" relationship value. Settings for FEMB in slot 1. | |
const dunedaq::appmodel::FEMBSettings * | get_femb2 () const |
Get "femb2" relationship value. Settings for FEMB in slot 2. | |
void | set_femb2 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb2" relationship value. Settings for FEMB in slot 2. | |
const dunedaq::appmodel::FEMBSettings * | get_femb3 () const |
Get "femb3" relationship value. Settings for FEMB in slot 3. | |
void | set_femb3 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb3" relationship value. Settings for FEMB in slot 3. | |
const dunedaq::appmodel::ColdADCSettings * | get_coldadc_settings () const |
Get "coldadc_settings" relationship value. Custom register settings for ColdADC. | |
void | set_coldadc_settings (const dunedaq::appmodel::ColdADCSettings *value) |
Set "coldadc_settings" relationship value. Custom register settings for ColdADC. | |
const dunedaq::appmodel::WIBPulserSettings * | get_wib_pulser () const |
Get "wib_pulser" relationship value. Settings for WIB pulser. | |
void | set_wib_pulser (const dunedaq::appmodel::WIBPulserSettings *value) |
Set "wib_pulser" relationship value. Settings for WIB pulser. | |
virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
Print details of the WIBSettings object. | |
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 pointers. | |
bool | get_cold () const |
Get "cold" attribute value. True if the front end electronics are COLD (77k) | |
void | set_cold (bool value) |
Set "cold" attribute value. True if the front end electronics are COLD (77k) | |
bool | get_pulser () const |
Get "pulser" attribute value. True if the calibration pulser should be enabled. | |
void | set_pulser (bool value) |
Set "pulser" attribute value. True if the calibration pulser should be enabled. | |
uint8_t | get_detector_type () const |
Get "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3) | |
void | set_detector_type (uint8_t value) |
Set "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3) | |
bool | get_adc_test_pattern () const |
Get "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled. | |
void | set_adc_test_pattern (bool value) |
Set "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled. | |
const dunedaq::appmodel::FEMBSettings * | get_femb0 () const |
Get "femb0" relationship value. Settings for FEMB in slot 0. | |
void | set_femb0 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb0" relationship value. Settings for FEMB in slot 0. | |
const dunedaq::appmodel::FEMBSettings * | get_femb1 () const |
Get "femb1" relationship value. Settings for FEMB in slot 1. | |
void | set_femb1 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb1" relationship value. Settings for FEMB in slot 1. | |
const dunedaq::appmodel::FEMBSettings * | get_femb2 () const |
Get "femb2" relationship value. Settings for FEMB in slot 2. | |
void | set_femb2 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb2" relationship value. Settings for FEMB in slot 2. | |
const dunedaq::appmodel::FEMBSettings * | get_femb3 () const |
Get "femb3" relationship value. Settings for FEMB in slot 3. | |
void | set_femb3 (const dunedaq::appmodel::FEMBSettings *value) |
Set "femb3" relationship value. Settings for FEMB in slot 3. | |
const dunedaq::appmodel::ColdADCSettings * | get_coldadc_settings () const |
Get "coldadc_settings" relationship value. Custom register settings for ColdADC. | |
void | set_coldadc_settings (const dunedaq::appmodel::ColdADCSettings *value) |
Set "coldadc_settings" relationship value. Custom register settings for ColdADC. | |
const dunedaq::appmodel::WIBPulserSettings * | get_wib_pulser () const |
Get "wib_pulser" relationship value. Settings for WIB pulser. | |
void | set_wib_pulser (const dunedaq::appmodel::WIBPulserSettings *value) |
Set "wib_pulser" relationship value. Settings for WIB pulser. | |
![]() | |
const std::string & | UID () const noexcept |
const std::string & | class_name () const noexcept |
bool | castable (const std::string &target) const noexcept |
bool | castable (const std::string *target) const noexcept |
template<class TARGET > | |
const TARGET * | cast () const noexcept |
Casts object to different class. | |
std::string | full_name () const noexcept |
const ConfigObject & | config_object () const |
DalRegistry & | registry () const noexcept |
Configuration & | configuration () const noexcept |
void | unread () |
void | set (const ConfigObject &o) noexcept |
void | move (const std::string &at) |
void | rename (const std::string &new_id) |
void | p_hdr (std::ostream &s, unsigned int indent, const std::string &cl, const char *nm=nullptr) const |
print object headers | |
std::ostream & | print_object (std::ostream &s) const |
print object details | |
void | throw_init_ex (dunedaq::conffwk::Exception &ex) |
throw object initialisation exception (i.e. | |
Static Public Member Functions | |
static const std::string & | __get_cold_str () noexcept |
static const std::string & | __get_pulser_str () noexcept |
static const std::string & | __get_detector_type_str () noexcept |
static const std::string & | __get_adc_test_pattern_str () noexcept |
static const std::string & | __get_femb0_str () noexcept |
static const std::string & | __get_femb1_str () noexcept |
static const std::string & | __get_femb2_str () noexcept |
static const std::string & | __get_femb3_str () noexcept |
static const std::string & | __get_coldadc_settings_str () noexcept |
static const std::string & | __get_wib_pulser_str () noexcept |
static const std::string & | __get_cold_str () noexcept |
static const std::string & | __get_pulser_str () noexcept |
static const std::string & | __get_detector_type_str () noexcept |
static const std::string & | __get_adc_test_pattern_str () noexcept |
static const std::string & | __get_femb0_str () noexcept |
static const std::string & | __get_femb1_str () noexcept |
static const std::string & | __get_femb2_str () noexcept |
static const std::string & | __get_femb3_str () noexcept |
static const std::string & | __get_coldadc_settings_str () noexcept |
static const std::string & | __get_wib_pulser_str () noexcept |
![]() | |
static void | p_null (std::ostream &s) |
print "(null)" | |
static void | p_rm (std::ostream &s) |
print "(deleted object)" | |
static void | p_error (std::ostream &s, dunedaq::conffwk::Exception &ex) |
print error text | |
static void | throw_get_ex (const std::string &what, const std::string &class_name, const DalObject *obj) |
throw exception in generated get method (i.e. | |
static bool | is_null (const DalObject *ref) noexcept |
check a pointer on DAL object is null | |
Static Public Attributes | |
static const std::string & | s_class_name |
static const std::string | s_cold = "cold" |
static const std::string | s_pulser = "pulser" |
static const std::string | s_detector_type = "detector_type" |
static const std::string | s_adc_test_pattern = "adc_test_pattern" |
static const std::string | s_femb0 = "femb0" |
static const std::string | s_femb1 = "femb1" |
static const std::string | s_femb2 = "femb2" |
static const std::string | s_femb3 = "femb3" |
static const std::string | s_coldadc_settings = "coldadc_settings" |
static const std::string | s_wib_pulser = "wib_pulser" |
Protected Member Functions | |
WIBSettings (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~WIBSettings () noexcept |
virtual void | init (bool init_children) |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
WIBSettings (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
virtual | ~WIBSettings () noexcept |
virtual void | init (bool init_children) |
bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
![]() | |
DalObject (DalRegistry &db, const ConfigObject &o) noexcept | |
virtual | ~DalObject () |
void | clear () noexcept |
void | check () const |
bool | is_deleted () const |
void | increment_created () noexcept |
void | increment_read () noexcept |
void | check_init () const |
Check and initialize object if necessary. | |
template<typename T > | |
void | _set_object (const std::string &name, const T *value) |
Helper method for generated set single-value relationship methods. | |
template<typename T > | |
void | _set_objects (const std::string &name, const std::vector< const T * > &value) |
Helper method for generated set multi-value relationship methods. | |
bool | get_rel_objects (const std::string &name, bool upcast_unregistered, std::vector< const DalObject * > &objs) const |
Read relationship values as DAL objects using DAL factory. | |
bool | get_algo_objects (const std::string &name, std::vector< const DalObject * > &objs) const |
Run algorithm and return result as DAL objects using DAL factory. | |
Private Attributes | |
bool | m_cold |
bool | m_pulser |
uint8_t | m_detector_type |
bool | m_adc_test_pattern |
const dunedaq::appmodel::FEMBSettings * | m_femb0 |
const dunedaq::appmodel::FEMBSettings * | m_femb1 |
const dunedaq::appmodel::FEMBSettings * | m_femb2 |
const dunedaq::appmodel::FEMBSettings * | m_femb3 |
const dunedaq::appmodel::ColdADCSettings * | m_coldadc_settings |
const dunedaq::appmodel::WIBPulserSettings * | m_wib_pulser |
Friends | |
class | conffwk::Configuration |
class | conffwk::DalObject |
class | conffwk::DalFactory |
class | conffwk::DalRegistry |
Additional Inherited Members | |
![]() | |
std::mutex | m_mutex |
Used to protect changes of DAL object. | |
bool | p_was_read |
is true, if the object was read | |
DalRegistry & | p_registry |
Configuration object. | |
ConfigObject | p_obj |
Config object used by given template object. | |
std::string | p_UID |
Is used for template objects (see dqm_conffwk) | |
WIB system settings (argument to settings)
Definition at line 35 of file WIBSettings.hpp.
|
protectednoexcept |
Definition at line 33 of file WIBSettings.cpp.
|
protectedvirtualnoexcept |
Definition at line 104 of file WIBSettings.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 110 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 110 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 107 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 107 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 258 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 258 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 109 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 109 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 254 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 254 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 255 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 255 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 256 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 256 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 257 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 257 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 108 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 108 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 259 of file WIBSettings.hpp.
|
inlinestaticnoexcept |
Definition at line 259 of file WIBSettings.hpp.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
name | name of the relationship or algorithm |
std::exception | if there is no relationship or algorithm with such name in this and base classes |
Implements dunedaq::conffwk::DalObject.
Definition at line 108 of file WIBSettings.cpp.
|
virtual |
Get values of relationships and results of some algorithms as a vector of dunedaq::conffwk::DalObject pointers.
Parameters are:
name | name of the relationship or algorithm |
std::exception | if there is no relationship or algorithm with such name in this and base classes |
Implements dunedaq::conffwk::DalObject.
|
protected |
Definition at line 118 of file WIBSettings.cpp.
|
protected |
|
inline |
Get "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled.
Definition at line 220 of file WIBSettings.hpp.
|
inline |
Get "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled.
Definition at line 220 of file WIBSettings.hpp.
|
inline |
Get "cold" attribute value. True if the front end electronics are COLD (77k)
Definition at line 121 of file WIBSettings.hpp.
|
inline |
Get "cold" attribute value. True if the front end electronics are COLD (77k)
Definition at line 121 of file WIBSettings.hpp.
|
inline |
Get "coldadc_settings" relationship value. Custom register settings for ColdADC.
Definition at line 402 of file WIBSettings.hpp.
|
inline |
Get "coldadc_settings" relationship value. Custom register settings for ColdADC.
Definition at line 402 of file WIBSettings.hpp.
|
inline |
Get "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3)
Definition at line 187 of file WIBSettings.hpp.
|
inline |
Get "detector_type" attribute value. Detector type selector: WIB default (0), upper APA (1), lower APA (2), CRP (3)
Definition at line 187 of file WIBSettings.hpp.
|
inline |
Get "femb0" relationship value. Settings for FEMB in slot 0.
Definition at line 270 of file WIBSettings.hpp.
|
inline |
Get "femb0" relationship value. Settings for FEMB in slot 0.
Definition at line 270 of file WIBSettings.hpp.
|
inline |
Get "femb1" relationship value. Settings for FEMB in slot 1.
Definition at line 303 of file WIBSettings.hpp.
|
inline |
Get "femb1" relationship value. Settings for FEMB in slot 1.
Definition at line 303 of file WIBSettings.hpp.
|
inline |
Get "femb2" relationship value. Settings for FEMB in slot 2.
Definition at line 336 of file WIBSettings.hpp.
|
inline |
Get "femb2" relationship value. Settings for FEMB in slot 2.
Definition at line 336 of file WIBSettings.hpp.
|
inline |
Get "femb3" relationship value. Settings for FEMB in slot 3.
Definition at line 369 of file WIBSettings.hpp.
|
inline |
Get "femb3" relationship value. Settings for FEMB in slot 3.
Definition at line 369 of file WIBSettings.hpp.
|
inline |
Get "pulser" attribute value. True if the calibration pulser should be enabled.
Definition at line 154 of file WIBSettings.hpp.
|
inline |
Get "pulser" attribute value. True if the calibration pulser should be enabled.
Definition at line 154 of file WIBSettings.hpp.
|
inline |
Get "wib_pulser" relationship value. Settings for WIB pulser.
Definition at line 435 of file WIBSettings.hpp.
|
inline |
Get "wib_pulser" relationship value. Settings for WIB pulser.
Definition at line 435 of file WIBSettings.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
Definition at line 81 of file WIBSettings.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
init_children | if true, initialize referenced objects |
Implements dunedaq::conffwk::DalObject.
|
virtual |
Print details of the WIBSettings object.
Parameters are:
offset | number of spaces to shift object right (useful to print nested objects) |
print_header | if false, do not print object header (to print attributes of base classes) |
s | output stream |
Implements dunedaq::conffwk::DalObject.
Definition at line 47 of file WIBSettings.cpp.
|
virtual |
Print details of the WIBSettings object.
Parameters are:
offset | number of spaces to shift object right (useful to print nested objects) |
print_header | if false, do not print object header (to print attributes of base classes) |
s | output stream |
Implements dunedaq::conffwk::DalObject.
|
inline |
Set "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled.
value | new attribute value |
Definition at line 236 of file WIBSettings.hpp.
|
inline |
Set "adc_test_pattern" attribute value. True if the COLDADC test pattern should be enabled.
value | new attribute value |
Definition at line 236 of file WIBSettings.hpp.
|
inline |
Set "cold" attribute value. True if the front end electronics are COLD (77k)
value | new attribute value |
Definition at line 137 of file WIBSettings.hpp.
|
inline |
Set "cold" attribute value. True if the front end electronics are COLD (77k)
value | new attribute value |
Definition at line 137 of file WIBSettings.hpp.
void dunedaq::appmodel::WIBSettings::set_coldadc_settings | ( | const dunedaq::appmodel::ColdADCSettings * | value | ) |
Set "coldadc_settings" relationship value. Custom register settings for ColdADC.
value | new relationship value |
Definition at line 157 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_coldadc_settings | ( | const dunedaq::appmodel::ColdADCSettings * | value | ) |
Set "coldadc_settings" relationship value. Custom register settings for ColdADC.
value | new relationship value |
|
inline |
|
inline |
void dunedaq::appmodel::WIBSettings::set_femb0 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb0" relationship value. Settings for FEMB in slot 0.
value | new relationship value |
Definition at line 137 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_femb0 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb0" relationship value. Settings for FEMB in slot 0.
value | new relationship value |
void dunedaq::appmodel::WIBSettings::set_femb1 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb1" relationship value. Settings for FEMB in slot 1.
value | new relationship value |
Definition at line 142 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_femb1 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb1" relationship value. Settings for FEMB in slot 1.
value | new relationship value |
void dunedaq::appmodel::WIBSettings::set_femb2 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb2" relationship value. Settings for FEMB in slot 2.
value | new relationship value |
Definition at line 147 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_femb2 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb2" relationship value. Settings for FEMB in slot 2.
value | new relationship value |
void dunedaq::appmodel::WIBSettings::set_femb3 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb3" relationship value. Settings for FEMB in slot 3.
value | new relationship value |
Definition at line 152 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_femb3 | ( | const dunedaq::appmodel::FEMBSettings * | value | ) |
Set "femb3" relationship value. Settings for FEMB in slot 3.
value | new relationship value |
|
inline |
Set "pulser" attribute value. True if the calibration pulser should be enabled.
value | new attribute value |
Definition at line 170 of file WIBSettings.hpp.
|
inline |
Set "pulser" attribute value. True if the calibration pulser should be enabled.
value | new attribute value |
Definition at line 170 of file WIBSettings.hpp.
void dunedaq::appmodel::WIBSettings::set_wib_pulser | ( | const dunedaq::appmodel::WIBPulserSettings * | value | ) |
Set "wib_pulser" relationship value. Settings for WIB pulser.
value | new relationship value |
Definition at line 162 of file WIBSettings.cpp.
void dunedaq::appmodel::WIBSettings::set_wib_pulser | ( | const dunedaq::appmodel::WIBPulserSettings * | value | ) |
Set "wib_pulser" relationship value. Settings for WIB pulser.
value | new relationship value |
|
friend |
Definition at line 37 of file WIBSettings.hpp.
|
friend |
Definition at line 39 of file WIBSettings.hpp.
|
friend |
Definition at line 38 of file WIBSettings.hpp.
|
friend |
Definition at line 40 of file WIBSettings.hpp.
|
private |
Definition at line 89 of file WIBSettings.hpp.
|
private |
Definition at line 86 of file WIBSettings.hpp.
|
private |
Definition at line 94 of file WIBSettings.hpp.
|
private |
Definition at line 88 of file WIBSettings.hpp.
|
private |
Definition at line 90 of file WIBSettings.hpp.
|
private |
Definition at line 91 of file WIBSettings.hpp.
|
private |
Definition at line 92 of file WIBSettings.hpp.
|
private |
Definition at line 93 of file WIBSettings.hpp.
|
private |
Definition at line 87 of file WIBSettings.hpp.
|
private |
Definition at line 95 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 105 of file WIBSettings.hpp.
|
static |
The name of the configuration class.
Definition at line 52 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 102 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 251 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 104 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 247 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 248 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 249 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 250 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 103 of file WIBSettings.hpp.
|
inlinestatic |
Definition at line 252 of file WIBSettings.hpp.