DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AVXThresholdProcessor.hpp
Go to the documentation of this file.
1
10
11#ifndef TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
12#define TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
13
14namespace tpglibs {
15
19 __m256i m_threshold;
20
21 public:
27 __m256i process(const __m256i& signal) override;
28
34 void configure(const nlohmann::json& config, const int16_t* plane_numbers) override;
35};
36
37} // namespace tpglibs
38
39#endif // TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
AVX typed abstract signal processor.
AVX signal processor: Passes signals above a threshold.
__m256i m_threshold
Vector of thresholds to apply.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.
__m256i process(const __m256i &signal) override
Masks channels with signals below threshold.