|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
TEB input record made by hrEncoderTebPrimitive.cc from the start of the encoder data payload. More...
#include <HrEncoderTebData.hh>
Public Member Functions | |
| HrEncoderTebData (uint8_t *payload) | |
| Copy the 32-bit position from payload bytes 0-3 and the counters from bytes 4, 5 and 6; m_reserved is not set. | |
Public Attributes | |
| int32_t | m_position |
| Encoder position (payload bytes 0-3). | |
| uint8_t | m_encErrCnt |
| Encoder error count (payload byte 4). | |
| uint8_t | m_missedTrigCnt |
| Missed trigger count (payload byte 5). | |
| uint8_t | m_latches |
| Latch byte (payload byte 6); the code comment says the upper 3 bits are the 3 latch bits. | |
| uint8_t | m_reserved |
| Not set by the constructor; the code comment says it is actually 13 bits. | |
TEB input record made by hrEncoderTebPrimitive.cc from the start of the encoder data payload.
|
inline |
Copy the 32-bit position from payload bytes 0-3 and the counters from bytes 4, 5 and 6; m_reserved is not set.
| uint8_t Pds::Trg::HrEncoderTebData::m_encErrCnt |
Encoder error count (payload byte 4).
| uint8_t Pds::Trg::HrEncoderTebData::m_latches |
Latch byte (payload byte 6); the code comment says the upper 3 bits are the 3 latch bits.
| uint8_t Pds::Trg::HrEncoderTebData::m_missedTrigCnt |
Missed trigger count (payload byte 5).
| int32_t Pds::Trg::HrEncoderTebData::m_position |
Encoder position (payload bytes 0-3).
| uint8_t Pds::Trg::HrEncoderTebData::m_reserved |
Not set by the constructor; the code comment says it is actually 13 bits.