|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <TPCRawDataProcessor.hpp>
Public Member Functions | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TPCRawDataProcessor 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. | |
| 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 the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP. | |
| 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 the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP. | |
| 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 sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames. | |
| 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 sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames. | |
| uint32_t | get_metric_collect_opmon_rate () const |
| Get "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring. | |
| 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 processors for monitoring. | |
| const std::vector< const dunedaq::appmodel::ProcessingStep * > & | get_processing_steps () const |
| Get "processing_steps" relationship value. | |
| void | set_processing_steps (const std::vector< const dunedaq::appmodel::ProcessingStep * > &value) |
| Set "processing_steps" relationship value. | |
| const dunedaq::appmodel::SamplesOverThresholdMinima * | get_sot_minima () const |
| Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane. | |
| void | set_sot_minima (const dunedaq::appmodel::SamplesOverThresholdMinima *value) |
| Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane. | |
| virtual void | print (unsigned int offset, bool print_header, std::ostream &s) const |
| Print details of the TPCRawDataProcessor 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. | |
| 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 the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP. | |
| 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 the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP. | |
| 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 sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames. | |
| 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 sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames. | |
| uint32_t | get_metric_collect_opmon_rate () const |
| Get "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring. | |
| 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 processors for monitoring. | |
| const std::vector< const dunedaq::appmodel::ProcessingStep * > & | get_processing_steps () const |
| Get "processing_steps" relationship value. | |
| void | set_processing_steps (const std::vector< const dunedaq::appmodel::ProcessingStep * > &value) |
| Set "processing_steps" relationship value. | |
| const dunedaq::appmodel::SamplesOverThresholdMinima * | get_sot_minima () const |
| Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane. | |
| void | set_sot_minima (const dunedaq::appmodel::SamplesOverThresholdMinima *value) |
| Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane. | |
Public Member Functions inherited from dunedaq::appmodel::RawDataProcessor | |
| const std::vector< uint32_t > & | get_channel_mask () const |
| Get "channel_mask" attribute value. List of channels to be masked from TP generation. | |
| void | set_channel_mask (const std::vector< uint32_t > &value) |
| Set "channel_mask" attribute value. List of channels to be masked from TP generation. | |
| const std::string & | get_channel_map () const |
| Get "channel_map" attribute value. | |
| 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. | |
| void | set_channel_mask (const std::vector< uint32_t > &value) |
| Set "channel_mask" attribute value. List of channels to be masked from TP generation. | |
| const std::string & | get_channel_map () const |
| Get "channel_map" attribute value. | |
| void | set_channel_map (const std::string &value) |
| Set "channel_map" attribute value. | |
Public Member Functions inherited from dunedaq::appmodel::DataProcessor | |
| uint32_t | get_queue_sizes () const |
| Get "queue_sizes" attribute value. | |
| void | set_queue_sizes (uint32_t value) |
| Set "queue_sizes" attribute value. | |
| const std::string & | get_thread_names_prefix () const |
| Get "thread_names_prefix" attribute value. | |
| void | set_thread_names_prefix (const std::string &value) |
| Set "thread_names_prefix" attribute value. | |
| bool | get_latency_monitoring () const |
| Get "latency_monitoring" attribute value. | |
| void | set_latency_monitoring (bool value) |
| Set "latency_monitoring" attribute value. | |
| uint32_t | get_queue_sizes () const |
| Get "queue_sizes" attribute value. | |
| void | set_queue_sizes (uint32_t value) |
| Set "queue_sizes" attribute value. | |
| const std::string & | get_thread_names_prefix () const |
| Get "thread_names_prefix" attribute value. | |
| void | set_thread_names_prefix (const std::string &value) |
| Set "thread_names_prefix" attribute value. | |
| bool | get_latency_monitoring () const |
| Get "latency_monitoring" attribute value. | |
| void | set_latency_monitoring (bool value) |
| Set "latency_monitoring" attribute value. | |
Public Member Functions inherited from dunedaq::conffwk::DalObject | |
| 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_frame_count_limit_str () noexcept |
| static const std::string & | __get_tp_count_limit_str () noexcept |
| static const std::string & | __get_metric_collect_opmon_rate_str () noexcept |
| static const std::string & | __get_processing_steps_str () noexcept |
| static const std::string & | __get_sot_minima_str () noexcept |
| static const std::string & | __get_frame_count_limit_str () noexcept |
| static const std::string & | __get_tp_count_limit_str () noexcept |
| static const std::string & | __get_metric_collect_opmon_rate_str () noexcept |
| static const std::string & | __get_processing_steps_str () noexcept |
| static const std::string & | __get_sot_minima_str () noexcept |
Static Public Member Functions inherited from dunedaq::appmodel::RawDataProcessor | |
| static const std::string & | __get_channel_mask_str () noexcept |
| static const std::string & | __get_channel_map_str () noexcept |
| static const std::string & | __get_channel_mask_str () noexcept |
| static const std::string & | __get_channel_map_str () noexcept |
Static Public Member Functions inherited from dunedaq::appmodel::DataProcessor | |
| static const std::string & | __get_queue_sizes_str () noexcept |
| static const std::string & | __get_thread_names_prefix_str () noexcept |
| static const std::string & | __get_latency_monitoring_str () noexcept |
| static const std::string & | __get_queue_sizes_str () noexcept |
| static const std::string & | __get_thread_names_prefix_str () noexcept |
| static const std::string & | __get_latency_monitoring_str () noexcept |
Static Public Member Functions inherited from dunedaq::conffwk::DalObject | |
| 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_frame_count_limit = "frame_count_limit" |
| static const std::string | s_tp_count_limit = "tp_count_limit" |
| static const std::string | s_metric_collect_opmon_rate = "metric_collect_opmon_rate" |
| static const std::string | s_processing_steps = "processing_steps" |
| static const std::string | s_sot_minima = "sot_minima" |
Static Public Attributes inherited from dunedaq::appmodel::RawDataProcessor | |
| static const std::string & | s_class_name |
| static const std::string | s_channel_mask = "channel_mask" |
| static const std::string | s_channel_map = "channel_map" |
Static Public Attributes inherited from dunedaq::appmodel::DataProcessor | |
| static const std::string & | s_class_name |
| static const std::string | s_queue_sizes = "queue_sizes" |
| static const std::string | s_thread_names_prefix = "thread_names_prefix" |
| static const std::string | s_latency_monitoring = "latency_monitoring" |
Protected Member Functions | |
| TPCRawDataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TPCRawDataProcessor () 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 |
| TPCRawDataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~TPCRawDataProcessor () 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 |
Protected Member Functions inherited from dunedaq::appmodel::RawDataProcessor | |
| RawDataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~RawDataProcessor () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| RawDataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~RawDataProcessor () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::appmodel::DataProcessor | |
| DataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DataProcessor () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
| DataProcessor (conffwk::DalRegistry &db, const conffwk::ConfigObject &obj) noexcept | |
| virtual | ~DataProcessor () noexcept |
| bool | get (const std::string &name, std::vector< const dunedaq::conffwk::DalObject * > &vec, bool upcast_unregistered, bool first_call) const |
Protected Member Functions inherited from dunedaq::conffwk::DalObject | |
| 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 | |
| uint32_t | m_frame_count_limit |
| uint32_t | m_tp_count_limit |
| uint32_t | m_metric_collect_opmon_rate |
| std::vector< const dunedaq::appmodel::ProcessingStep * > | m_processing_steps |
| const dunedaq::appmodel::SamplesOverThresholdMinima * | m_sot_minima |
Friends | |
| class | conffwk::Configuration |
| class | conffwk::DalObject |
| class | conffwk::DalFactory |
| class | conffwk::DalRegistry |
Additional Inherited Members | |
Protected Attributes inherited from dunedaq::conffwk::DalObject | |
| 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) | |
Definition at line 33 of file TPCRawDataProcessor.hpp.
|
protectednoexcept |
Definition at line 32 of file TPCRawDataProcessor.cpp.
|
protectedvirtualnoexcept |
Definition at line 94 of file TPCRawDataProcessor.cpp.
|
protectednoexcept |
|
protectedvirtualnoexcept |
|
inlinestaticnoexcept |
Definition at line 99 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 99 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 101 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 208 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 208 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 209 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 209 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 100 of file TPCRawDataProcessor.hpp.
|
inlinestaticnoexcept |
Definition at line 100 of file TPCRawDataProcessor.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 |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
Definition at line 98 of file TPCRawDataProcessor.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 |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
|
protected |
Definition at line 108 of file TPCRawDataProcessor.cpp.
|
protected |
|
inline |
Get "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP.
Definition at line 112 of file TPCRawDataProcessor.hpp.
|
inline |
Get "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP.
Definition at line 112 of file TPCRawDataProcessor.hpp.
|
inline |
Get "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring.
Definition at line 178 of file TPCRawDataProcessor.hpp.
|
inline |
Get "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring.
Definition at line 178 of file TPCRawDataProcessor.hpp.
|
inline |
Get "processing_steps" relationship value.
Definition at line 219 of file TPCRawDataProcessor.hpp.
|
inline |
Get "processing_steps" relationship value.
Definition at line 219 of file TPCRawDataProcessor.hpp.
|
inline |
Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
Definition at line 251 of file TPCRawDataProcessor.hpp.
|
inline |
Get "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
Definition at line 251 of file TPCRawDataProcessor.hpp.
|
inline |
Get "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames.
Definition at line 145 of file TPCRawDataProcessor.hpp.
|
inline |
Get "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames.
Definition at line 145 of file TPCRawDataProcessor.hpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
Definition at line 76 of file TPCRawDataProcessor.cpp.
|
protectedvirtual |
Initialize object (method generated by genconffwk)
| init_children | if true, initialize referenced objects |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
|
virtual |
Print details of the TPCRawDataProcessor 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 |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
Definition at line 42 of file TPCRawDataProcessor.cpp.
|
virtual |
Print details of the TPCRawDataProcessor 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 |
Reimplemented from dunedaq::appmodel::RawDataProcessor.
|
inline |
Set "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP.
| value | new attribute value |
Definition at line 128 of file TPCRawDataProcessor.hpp.
|
inline |
Set "frame_count_limit" attribute value. When this number of frames is reached the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of TP.
| value | new attribute value |
Definition at line 128 of file TPCRawDataProcessor.hpp.
|
inline |
Set "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring.
| value | new attribute value |
Definition at line 194 of file TPCRawDataProcessor.hpp.
|
inline |
Set "metric_collect_opmon_rate" attribute value. The rate at which processor metric is polled from processors for monitoring.
| value | new attribute value |
Definition at line 194 of file TPCRawDataProcessor.hpp.
| void dunedaq::appmodel::TPCRawDataProcessor::set_processing_steps | ( | const std::vector< const dunedaq::appmodel::ProcessingStep * > & | value | ) |
Set "processing_steps" relationship value.
| value | new relationship value |
Definition at line 129 of file TPCRawDataProcessor.cpp.
| void dunedaq::appmodel::TPCRawDataProcessor::set_processing_steps | ( | const std::vector< const dunedaq::appmodel::ProcessingStep * > & | value | ) |
Set "processing_steps" relationship value.
| value | new relationship value |
| void dunedaq::appmodel::TPCRawDataProcessor::set_sot_minima | ( | const dunedaq::appmodel::SamplesOverThresholdMinima * | value | ) |
Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
| value | new relationship value |
Definition at line 134 of file TPCRawDataProcessor.cpp.
| void dunedaq::appmodel::TPCRawDataProcessor::set_sot_minima | ( | const dunedaq::appmodel::SamplesOverThresholdMinima * | value | ) |
Set "sot_minima" relationship value. TP samples over threshold minimum requirement by plane.
| value | new relationship value |
|
inline |
Set "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames.
| value | new attribute value |
Definition at line 161 of file TPCRawDataProcessor.hpp.
|
inline |
Set "tp_count_limit" attribute value. When this number of TPs is reached, the TPs are sent to the sink. SELECT 0 if you want this condition not to be used. In this case, sending TPs will only rely on the number of frames.
| value | new attribute value |
Definition at line 161 of file TPCRawDataProcessor.hpp.
|
friend |
Definition at line 35 of file TPCRawDataProcessor.hpp.
|
friend |
Definition at line 37 of file TPCRawDataProcessor.hpp.
|
friend |
Definition at line 36 of file TPCRawDataProcessor.hpp.
|
friend |
Definition at line 38 of file TPCRawDataProcessor.hpp.
|
private |
Definition at line 84 of file TPCRawDataProcessor.hpp.
|
private |
Definition at line 86 of file TPCRawDataProcessor.hpp.
|
private |
Definition at line 87 of file TPCRawDataProcessor.hpp.
|
private |
Definition at line 88 of file TPCRawDataProcessor.hpp.
|
private |
Definition at line 85 of file TPCRawDataProcessor.hpp.
|
static |
The name of the configuration class.
Definition at line 50 of file TPCRawDataProcessor.hpp.
|
inlinestatic |
Definition at line 95 of file TPCRawDataProcessor.hpp.
|
inlinestatic |
Definition at line 97 of file TPCRawDataProcessor.hpp.
|
inlinestatic |
Definition at line 205 of file TPCRawDataProcessor.hpp.
|
inlinestatic |
Definition at line 206 of file TPCRawDataProcessor.hpp.
|
inlinestatic |
Definition at line 96 of file TPCRawDataProcessor.hpp.