DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
NaiveAbsRunSumProcessor.hpp
Go to the documentation of this file.
1
10
11#include <cmath>
12
13#ifndef TPGLIBS_NAIVEABSRUNSUMPROCESSOR_HPP_
14#define TPGLIBS_NAIVEABSRUNSUMPROCESSOR_HPP_
15
16namespace tpglibs {
17
23 public:
29 naive_array_t process(const naive_array_t& signal) override;
30};
31
32} // namespace tpglibs
33
34#endif // TPGLIBS_NAIVEABSRUNSUMPROCESSOR_HPP_
Naive signal processor: Calculates the running sum of the signal's absolute value.
naive_array_t process(const naive_array_t &signal) override
Calculate and store the running sum with absolute values.
std::array< int16_t, 16 > naive_array_t
The naive version uses a standard array instead of __m256i.
Naive signal processor: Calculates the running sum of the signal.