DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AVXRunSumProcessor.hpp
Go to the documentation of this file.
1
10#include "tpglibs/AVXUtils.hpp"
11
12#ifndef TPGLIBS_AVXRUNSUMPROCESSOR_HPP_
13#define TPGLIBS_AVXRUNSUMPROCESSOR_HPP_
14
15namespace tpglibs {
16
29
32
35
36 public:
42 __m256i process(const __m256i& signal) override;
43
49 void configure(const nlohmann::json& config, const int16_t* plane_numbers) override;
50};
51
52} // namespace tpglibs
53
54#endif // TPGLIBS_AVXRUNSUMPROCESSOR_HPP_
AVX typed abstract signal processor.
AVX signal processor: Calculates the running sum of the signal.
__m256i process(const __m256i &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.
__m256i m_memory_factor
The R factor in the model equation.
__m256i m_running_sum
The RS in the model equation.
__m256i m_scale_factor
The S factor in the model equation.