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
18
{
20
__m256i
m_threshold
;
21
22
public
:
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_
AVXFactory.hpp
tpglibs::AVXProcessor
AVX typed abstract signal processor.
Definition
AVXProcessor.hpp:24
tpglibs::AVXThresholdProcessor
AVX signal processor: Passes signals above a threshold.
Definition
AVXThresholdProcessor.hpp:18
tpglibs::AVXThresholdProcessor::m_threshold
__m256i m_threshold
Vector of thresholds to apply.
Definition
AVXThresholdProcessor.hpp:20
tpglibs::AVXThresholdProcessor::configure
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.
Definition
AVXThresholdProcessor.cpp:16
tpglibs::AVXThresholdProcessor::process
__m256i process(const __m256i &signal) override
Masks channels with signals below threshold.
Definition
AVXThresholdProcessor.cpp:30
tpglibs
Definition
AbstractFactory.hpp:20
Generated on
for DUNE-DAQ by
1.18.0