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: 64
 

Detailed Description

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

Definition at line 21 of file DAQEthHeader.hpp.

Member Typedef Documentation

◆ word_t

Definition at line 23 of file DAQEthHeader.hpp.

Member Function Documentation

◆ get_timestamp()

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

Definition at line 28 of file DAQEthHeader.hpp.

29 {
30 return uint64_t(timestamp); // NOLINT(build/unsigned)
31 }

Member Data Documentation

◆ block_length

word_t dunedaq::detdataformats::DAQEthHeader::block_length

Definition at line 25 of file DAQEthHeader.hpp.

◆ crate_id

word_t dunedaq::detdataformats::DAQEthHeader::crate_id

Definition at line 25 of file DAQEthHeader.hpp.

◆ det_id

word_t dunedaq::detdataformats::DAQEthHeader::det_id

Definition at line 25 of file DAQEthHeader.hpp.

◆ reserved

word_t dunedaq::detdataformats::DAQEthHeader::reserved

Definition at line 25 of file DAQEthHeader.hpp.

◆ seq_id

word_t dunedaq::detdataformats::DAQEthHeader::seq_id

Definition at line 25 of file DAQEthHeader.hpp.

◆ slot_id

word_t dunedaq::detdataformats::DAQEthHeader::slot_id

Definition at line 25 of file DAQEthHeader.hpp.

◆ stream_id

word_t dunedaq::detdataformats::DAQEthHeader::stream_id

Definition at line 25 of file DAQEthHeader.hpp.

◆ timestamp

word_t dunedaq::detdataformats::DAQEthHeader::timestamp

Definition at line 26 of file DAQEthHeader.hpp.

◆ version

word_t dunedaq::detdataformats::DAQEthHeader::version

Definition at line 25 of file DAQEthHeader.hpp.


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