|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
AVX signal processor: Passes signals above a threshold. More...
#include <AVXThresholdProcessor.hpp>
Public Member Functions | |
| __m256i | process (const __m256i &signal) override |
| Masks channels with signals below threshold. | |
| void | configure (const nlohmann::json &config, const int16_t *plane_numbers) override |
| Configures thresholds according to plane numbers. | |
| Public Member Functions inherited from tpglibs::AbstractProcessor< __m256i > | |
| virtual | ~AbstractProcessor ()=default |
| virtual void | configure_internal_state_collection (const nlohmann::json &) |
| No-op: state monitoring disabled at build time. | |
| void | set_next_processor (std::shared_ptr< AbstractProcessor< __m256i > > next_processor) |
| Setter for next processor. | |
| std::shared_ptr< AbstractProcessor< __m256i > > | get_next_processor () |
| Getter for next processor. | |
| virtual std::vector< std::string > | get_requested_internal_state_names () const |
| Get the names of requested internal states (delegates to registry). | |
| virtual ProcessorMetricArray< std::array< int16_t, 16 > > | read_internal_states_as_integer_array () |
Private Attributes | |
| __m256i | m_threshold |
| Vector of thresholds to apply. | |
Additional Inherited Members | |
| Public Types inherited from tpglibs::AbstractProcessor< __m256i > | |
| using | signal_type_t |
| Signal type to process on. General __m256i. | |
AVX signal processor: Passes signals above a threshold.
Definition at line 17 of file AVXThresholdProcessor.hpp.
|
overridevirtual |
Configures thresholds according to plane numbers.
| config | JSON containing thresholds for the 3 planes. |
| plane_numbers | Array of plane numbers. Gives the channels to apply the appropriate thresholds. |
Implements tpglibs::AbstractProcessor< __m256i >.
Definition at line 16 of file AVXThresholdProcessor.cpp.
|
overridevirtual |
Masks channels with signals below threshold.
| signal | Vector of channel signals to process. |
Reimplemented from tpglibs::AVXProcessor.
Definition at line 30 of file AVXThresholdProcessor.cpp.
|
private |
Vector of thresholds to apply.
Definition at line 20 of file AVXThresholdProcessor.hpp.