mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-24 09:00:44 +02:00
Add constructor to JF struct
This commit is contained in:
@@ -8,7 +8,10 @@ const char JF_FORMAT_START_BYTE = 0xBE;
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
struct JFFileFormat {
|
||||
const char FORMAT_MARKER = JF_FORMAT_START_BYTE;
|
||||
|
||||
JFFileFormat() : FORMAT_MARKER(JF_FORMAT_START_BYTE) {};
|
||||
|
||||
const char FORMAT_MARKER;
|
||||
uint64_t pulse_id;
|
||||
uint64_t frame_id;
|
||||
uint32_t daq_rec;
|
||||
|
||||
Reference in New Issue
Block a user