DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
tpglibs
include
tpglibs
AVXPipeline.hpp
Go to the documentation of this file.
1
8
9
#ifndef TPGLIBS_AVXPIPELINE_HPP_
10
#define TPGLIBS_AVXPIPELINE_HPP_
11
12
#include "
tpglibs/TPGPipeline.hpp
"
13
#include "
tpglibs/AVXFactory.hpp
"
14
15
namespace
tpglibs
{
16
17
#pragma GCC diagnostic push
18
#pragma GCC diagnostic ignored "-Wignored-attributes"
20
class
AVXPipeline
:
public
TPGPipeline
<AVXProcessor, __m256i> {
22
const
__m256i
m_ones_register
= _mm256_set1_epi16(1);
23
25
const
__m256i
m_max_value_register
= _mm256_set1_epi16(-1);
26
27
public
:
35
__m256i
save_state
(
const
__m256i& processed_signal)
override
;
36
42
bool
check_for_tps
(
const
__m256i& tp_mask)
override
;
43
49
std::vector<dunedaq::trgdataformats::TriggerPrimitive>
generate_tps
(
const
__m256i& tp_mask)
override
;
50
};
51
#pragma GCC diagnostic pop
52
53
}
// namespace tpglibs
54
55
#endif
// TPGLIBS_AVXPIPELINE_HPP_
AVXFactory.hpp
TPGPipeline.hpp
tpglibs::AVXPipeline
AVX typed TPG pipeline.
Definition
AVXPipeline.hpp:20
tpglibs::AVXPipeline::m_ones_register
const __m256i m_ones_register
A vector of 1s.
Definition
AVXPipeline.hpp:22
tpglibs::AVXPipeline::check_for_tps
bool check_for_tps(const __m256i &tp_mask) override
Check a channel mask for any TPs that need to be created.
Definition
AVXPipeline.cpp:47
tpglibs::AVXPipeline::generate_tps
std::vector< dunedaq::trgdataformats::TriggerPrimitive > generate_tps(const __m256i &tp_mask) override
Finalize the details of the completed TPs and send out.
Definition
AVXPipeline.cpp:55
tpglibs::AVXPipeline::m_max_value_register
const __m256i m_max_value_register
A vector of uint16_t max.
Definition
AVXPipeline.hpp:25
tpglibs::AVXPipeline::save_state
__m256i save_state(const __m256i &processed_signal) override
Save the state of the processed signals.
Definition
AVXPipeline.cpp:13
tpglibs::TPGPipeline
Abstract class for the TPG pipeline.
Definition
TPGPipeline.hpp:30
tpglibs
Definition
AbstractFactory.hpp:20
Generated on
for DUNE-DAQ by
1.17.0