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