DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AVXFixedPedestalSubtractProcessor.hpp
Go to the documentation of this file.
1
8
11
12#ifndef TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
13#define TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
14
15namespace tpglibs {
16
22{
23protected:
25 uint16_t m_start_period{ 1000 };
26
28 uint16_t m_num_time_steps{ 0 };
29
30public:
32 __m256i process(const __m256i& signal) override;
33
39 void configure(const nlohmann::json& config, const int16_t* plane_numbers) override;
40};
41
42} // namespace tpglibs
43
44#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.