DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AVXThresholdProcessor.hpp
Go to the documentation of this file.
1
8
10
11#ifndef TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
12#define TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
13
14namespace tpglibs {
15
18{
20 __m256i m_threshold;
21
22public:
28 __m256i process(const __m256i& signal) override;
29
35 void configure(const nlohmann::json& config, const int16_t* plane_numbers) override;
36};
37
38} // namespace tpglibs
39
40#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.