DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
tpglibs
include
tpglibs
AVXThresholdProcessor.hpp
Go to the documentation of this file.
1
8
9
#include "
tpglibs/AVXFactory.hpp
"
10
11
#ifndef TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
12
#define TPGLIBS_AVXTHRESHOLDPROCESSOR_HPP_
13
14
namespace
tpglibs
{
15
17
class
AVXThresholdProcessor
:
public
AVXProcessor
{
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_
AVXFactory.hpp
tpglibs::AVXProcessor
AVX typed abstract signal processor.
Definition
AVXProcessor.hpp:23
tpglibs::AVXThresholdProcessor
AVX signal processor: Passes signals above a threshold.
Definition
AVXThresholdProcessor.hpp:17
tpglibs::AVXThresholdProcessor::m_threshold
__m256i m_threshold
Vector of thresholds to apply.
Definition
AVXThresholdProcessor.hpp:19
tpglibs::AVXThresholdProcessor::configure
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.
Definition
AVXThresholdProcessor.cpp:15
tpglibs::AVXThresholdProcessor::process
__m256i process(const __m256i &signal) override
Masks channels with signals below threshold.
Definition
AVXThresholdProcessor.cpp:27
tpglibs
Definition
AbstractFactory.hpp:20
Generated on
for DUNE-DAQ by
1.17.0