|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Packed header at the start of an AxiStream batcher event: two 4-bit fields (version, width code) and an 8-bit sequence count. More...
#include <EventBatcher.hh>
Public Member Functions | |
| void * | next () const |
| Return the address one line (lineWidth(width) bytes) after this header, where the first subframe starts. | |
Static Public Member Functions | |
| static unsigned | lineWidth (unsigned w) |
| Return the line width in bytes for width code w: 2 shifted left by w. | |
Public Attributes | |
| unsigned | version:4 |
| 4-bit version field; not read by the code in this header. | |
| unsigned | width:4 |
| 4-bit width code; lineWidth(width) is the line size used by next() and EvtBatcherIterator. | |
| uint8_t | sequence_count |
| 8-bit sequence count; not read by the code in this header. | |
Packed header at the start of an AxiStream batcher event: two 4-bit fields (version, width code) and an 8-bit sequence count.
It occupies one line of lineWidth(width) bytes.
|
inlinestatic |
Return the line width in bytes for width code w: 2 shifted left by w.
|
inline |
Return the address one line (lineWidth(width) bytes) after this header, where the first subframe starts.
| uint8_t Drp::EvtBatcherHeader::sequence_count |
8-bit sequence count; not read by the code in this header.
| unsigned Drp::EvtBatcherHeader::version |
4-bit version field; not read by the code in this header.
| unsigned Drp::EvtBatcherHeader::width |
4-bit width code; lineWidth(width) is the line size used by next() and EvtBatcherIterator.