DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AVXFixedPedestalSubtractProcessor.hpp
Go to the documentation of this file.
1
11
12#ifndef TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
13#define TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
14
15namespace tpglibs {
16
22 protected:
24 uint16_t m_start_period{1000};
25
27 uint16_t m_num_time_steps{0};
28
29 public:
31 __m256i process(const __m256i& signal) override;
32
38 void configure(const nlohmann::json& config, const int16_t* plane_numbers) override;
39};
40
41} // namespace tpglibs
42
43#endif // TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
AVX signal processor: Fixes the estimated pedestal after a configured amount of time.
__m256i process(const __m256i &signal) override
Estimates the pedestal for some time and subtracts.
uint16_t m_start_period
Configured number of samples to use before fixing.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configure the number of startup samples to use before fixing.
AVX signal processor: Estimates the pedestal and subtracts.