|
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. | |
Public Member Functions inherited from tpglibs::NaiveRunSumProcessor | |
| 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. | |
Public Member Functions inherited from tpglibs::NaiveProcessor | |
Public Member Functions inherited from tpglibs::AbstractProcessor< std::array< int16_t, 16 > > | |
| virtual | ~AbstractProcessor ()=default |
| ProcessorInternalStateBufferManager< std::array< int16_t, 16 > > * | _get_internal_state_buffer_manager () |
| ProcessorInternalStateNameRegistry< std::array< int16_t, 16 > > * | _get_internal_state_name_registry () |
| virtual void | configure_internal_state_collection (const nlohmann::json &config) |
| Configure common internal state collection parameters. | |
| void | set_next_processor (std::shared_ptr< AbstractProcessor< std::array< int16_t, 16 > > > next_processor) |
| Setter for next processor. | |
| std::shared_ptr< AbstractProcessor< std::array< int16_t, 16 > > > | get_next_processor () |
| Getter for next processor. | |
| virtual std::vector< std::string > | get_requested_internal_state_names () const |
| Get the names of requested internal states (delegates to registry). | |
| virtual ProcessorMetricArray< std::array< int16_t, 16 > > | read_internal_states_as_integer_array () |
Additional Inherited Members | |
Public Types inherited from tpglibs::NaiveProcessor | |
| using | naive_array_t = std::array<int16_t, 16> |
| The naive version uses a standard array instead of __m256i. | |
Public Types inherited from tpglibs::AbstractProcessor< std::array< int16_t, 16 > > | |
| using | signal_type_t |
| Signal type to process on. General __m256i. | |
Protected Attributes inherited from tpglibs::AbstractProcessor< std::array< int16_t, 16 > > | |
| ProcessorInternalStateBufferManager< std::array< int16_t, 16 > > | m_internal_state_buffer_manager |
| ProcessorInternalStateNameRegistry< std::array< int16_t, 16 > > | m_internal_state_name_registry |
| std::atomic< uint64_t > | m_samples |
| bool | m_collect_internal_state_flag |
| uint64_t | m_sample_period |
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.