DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Naive signal processor: Calculates the running sum of the signal's absolute value. More...
#include <NaiveAbsRunSumProcessor.hpp>
Public Member Functions | |
naive_array_t | process (const naive_array_t &signal) override |
Calculate and store the running sum with absolute values. | |
![]() | |
naive_array_t | process (const naive_array_t &signal) override |
Calculate and store the running sum. | |
void | configure (const nlohmann::json &config, const int16_t *plane_numbers) override |
Configures the R factor and S factor according to plane. | |
![]() | |
![]() | |
virtual | ~AbstractProcessor ()=default |
void | set_next_processor (std::shared_ptr< AbstractProcessor< std::array< int16_t, 16 > > > next_processor) |
Setter for next processor. | |
virtual void | save_metric_to_store_buffer () |
Save metrics to store buffer; default does nothing. | |
virtual std::vector< std::string > | get_metric_items () |
Returns the string name of metrics recorded (stored and can be read) for this processor. | |
virtual ProcessorMetricArray< signal_type_t > | read_from_metric_store_buffer () |
Read metrics from store buffer; default empty. | |
virtual void | attach_to_metric_collector (ProcessorMetricCollector< signal_type_t > &collector, size_t pipeline_id) |
Register this processor and next processor with the metric collector. | |
Additional Inherited Members | |
![]() | |
using | naive_array_t = std::array<int16_t, 16> |
The naive version uses a standard array instead of __m256i. | |
![]() | |
using | signal_type_t |
Signal type to process on. General __m256i. | |
Naive signal processor: Calculates the running sum of the signal's absolute value.
Look to NaiveRunSumProcessor for details on the running sum calculation.
Definition at line 22 of file NaiveAbsRunSumProcessor.hpp.
|
overridevirtual |
Calculate and store the running sum with absolute values.
signal | The input signal to process on. |
Reimplemented from tpglibs::NaiveProcessor.
Definition at line 15 of file NaiveAbsRunSumProcessor.cpp.