|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Abstract signal processor. More...
#include <AbstractProcessor.hpp>
Public Types | |
| using | signal_type_t = T |
| Signal type to process on. General __m256i. | |
Public Member Functions | |
| virtual | ~AbstractProcessor ()=default |
| virtual void | configure_internal_state_collection (const nlohmann::json &) |
| No-op: state monitoring disabled at build time. | |
| virtual void | configure (const nlohmann::json &config, const int16_t *plane_numbers)=0 |
| Pure virtual function that will configure the processor using plane numbers. | |
| void | set_next_processor (std::shared_ptr< AbstractProcessor< T > > next_processor) |
| Setter for next processor. | |
| std::shared_ptr< AbstractProcessor< T > > | get_next_processor () |
| Getter for next processor. | |
| virtual T | process (const T &signal) |
| Simple signal pass-through. | |
| 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 | |
| std::shared_ptr< AbstractProcessor< T > > | m_next_processor |
| Points to next processor in the chain. | |
Abstract signal processor.
Configurable signal processor for TPG.
Definition at line 29 of file AbstractProcessor.hpp.
| using tpglibs::AbstractProcessor< T >::signal_type_t = T |
Signal type to process on. General __m256i.
Definition at line 47 of file AbstractProcessor.hpp.
|
virtualdefault |
|
pure virtual |
Pure virtual function that will configure the processor using plane numbers.
Implemented in tpglibs::AVXFixedPedestalSubtractProcessor, tpglibs::AVXFrugalPedestalSubtractProcessor, tpglibs::AVXRunSumProcessor, tpglibs::AVXThresholdProcessor, tpglibs::NaiveFrugalPedestalSubtractProcessor, tpglibs::NaiveRunSumProcessor, and tpglibs::NaiveThresholdProcessor.
|
inlinevirtual |
No-op: state monitoring disabled at build time.
Definition at line 89 of file AbstractProcessor.hpp.
|
inline |
Getter for next processor.
Definition at line 99 of file AbstractProcessor.hpp.
|
inlinevirtual |
Get the names of requested internal states (delegates to registry).
Definition at line 111 of file AbstractProcessor.hpp.
|
inlinevirtual |
Simple signal pass-through.
Reimplemented in tpglibs::AVXAbsRunSumProcessor, tpglibs::AVXFixedPedestalSubtractProcessor, tpglibs::AVXFrugalPedestalSubtractProcessor, tpglibs::AVXProcessor, tpglibs::AVXRunSumProcessor, tpglibs::AVXThresholdProcessor, tpglibs::NaiveAbsRunSumProcessor, tpglibs::NaiveFrugalPedestalSubtractProcessor, tpglibs::NaiveProcessor, tpglibs::NaiveRunSumProcessor, and tpglibs::NaiveThresholdProcessor.
Definition at line 102 of file AbstractProcessor.hpp.
|
inlinevirtual |
Definition at line 120 of file AbstractProcessor.hpp.
|
inline |
|
private |
Points to next processor in the chain.
Definition at line 32 of file AbstractProcessor.hpp.