DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
tpglibs
include
tpglibs
NaiveThresholdProcessor.hpp
Go to the documentation of this file.
1
8
9
#include "
tpglibs/NaiveFactory.hpp
"
10
11
#ifndef TPGLIBS_NAIVETHRESHOLDPROCESSOR_HPP_
12
#define TPGLIBS_NAIVETHRESHOLDPROCESSOR_HPP_
13
14
namespace
tpglibs
{
15
17
class
NaiveThresholdProcessor
:
public
NaiveProcessor
{
19
naive_array_t
m_threshold
;
20
21
public
:
27
naive_array_t
process
(
const
naive_array_t
& 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_NAIVETHRESHOLDPROCESSOR_HPP_
NaiveFactory.hpp
tpglibs::NaiveProcessor
Naive typed abstract signal processor.
Definition
NaiveProcessor.hpp:19
tpglibs::NaiveProcessor::naive_array_t
std::array< int16_t, 16 > naive_array_t
The naive version uses a standard array instead of __m256i.
Definition
NaiveProcessor.hpp:22
tpglibs::NaiveThresholdProcessor
Naive signal processor: Passes signals above a threshold.
Definition
NaiveThresholdProcessor.hpp:17
tpglibs::NaiveThresholdProcessor::m_threshold
naive_array_t m_threshold
Vector of thresholds to apply.
Definition
NaiveThresholdProcessor.hpp:19
tpglibs::NaiveThresholdProcessor::process
naive_array_t process(const naive_array_t &signal) override
Masks channels with signals below threshold.
Definition
NaiveThresholdProcessor.cpp:24
tpglibs::NaiveThresholdProcessor::configure
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.
Definition
NaiveThresholdProcessor.cpp:15
tpglibs
Definition
AbstractFactory.hpp:20
Generated on
for DUNE-DAQ by
1.17.0