DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::detdataformats::DAQEthHeader Struct Reference

DAQEthHeader is a versioned and unified structure for every FE electronics. More...

#include <DAQEthHeader.hpp>

Public Types

using word_t = uint64_t

Public Member Functions

uint64_t get_timestamp () const

Public Attributes

word_t version: 6
word_t det_id: 6
word_t crate_id: 10
word_t slot_id: 4
word_t stream_id: 8
word_t reserved: 6
word_t seq_id: 12
word_t block_length: 12
word_t timestamp { std::numeric_limits<word_t>::max() }

Detailed Description

DAQEthHeader is a versioned and unified structure for every FE electronics.

Definition at line 22 of file DAQEthHeader.hpp.

Member Typedef Documentation

◆ word_t

Definition at line 24 of file DAQEthHeader.hpp.

Member Function Documentation

◆ get_timestamp()

uint64_t dunedaq::detdataformats::DAQEthHeader::get_timestamp ( ) const
inline

Definition at line 30 of file DAQEthHeader.hpp.

31 {
32 return timestamp;
33 }

Member Data Documentation

◆ block_length

word_t dunedaq::detdataformats::DAQEthHeader::block_length

Definition at line 27 of file DAQEthHeader.hpp.

◆ crate_id

word_t dunedaq::detdataformats::DAQEthHeader::crate_id

Definition at line 26 of file DAQEthHeader.hpp.

◆ det_id

word_t dunedaq::detdataformats::DAQEthHeader::det_id

Definition at line 26 of file DAQEthHeader.hpp.

◆ reserved

word_t dunedaq::detdataformats::DAQEthHeader::reserved

Definition at line 26 of file DAQEthHeader.hpp.

◆ seq_id

word_t dunedaq::detdataformats::DAQEthHeader::seq_id

Definition at line 26 of file DAQEthHeader.hpp.

◆ slot_id

word_t dunedaq::detdataformats::DAQEthHeader::slot_id

Definition at line 26 of file DAQEthHeader.hpp.

◆ stream_id

word_t dunedaq::detdataformats::DAQEthHeader::stream_id

Definition at line 26 of file DAQEthHeader.hpp.

◆ timestamp

word_t dunedaq::detdataformats::DAQEthHeader::timestamp { std::numeric_limits<word_t>::max() }

Definition at line 28 of file DAQEthHeader.hpp.

28{ std::numeric_limits<word_t>::max() };

◆ version

word_t dunedaq::detdataformats::DAQEthHeader::version

Definition at line 26 of file DAQEthHeader.hpp.


The documentation for this struct was generated from the following file: