Project
Loading...
Searching...
No Matches
o2::tpc::RawReader::Header Struct Reference

Data header struct. More...

#include <RawReader.h>

Public Member Functions

uint64_t timeStamp ()
 
uint64_t eventCount ()
 
uint64_t reserved_2 ()
 
 Header ()=default
 Default constructor.
 
 Header (const Header &other)=default
 Copy constructor.
 

Public Attributes

uint16_t dataType
 readout mode, 1: GBT frames, 2: decoded data, 3: both
 
uint8_t reserved_01
 reserved part
 
uint8_t headerVersion
 Header version.
 
uint32_t nWords
 number of 32 bit words of header + payload
 
uint64_t timeStamp_w
 time stamp of header, high and low fields are reversed
 
uint64_t eventCount_w
 Event counter, high and low fields are reversed.
 
uint64_t reserved_2_w
 Reserved part, high and low fields are reversed.
 

Detailed Description

Data header struct.

Definition at line 41 of file RawReader.h.

Constructor & Destructor Documentation

◆ Header() [1/2]

o2::tpc::RawReader::Header::Header ( )
default

Default constructor.

◆ Header() [2/2]

o2::tpc::RawReader::Header::Header ( const Header other)
default

Copy constructor.

Member Function Documentation

◆ eventCount()

uint64_t o2::tpc::RawReader::Header::eventCount ( )
inline

Get event counter

Returns
corrected event counter

Definition at line 56 of file RawReader.h.

◆ reserved_2()

uint64_t o2::tpc::RawReader::Header::reserved_2 ( )
inline

Get reserved data field

Returns
corrected data field

Definition at line 60 of file RawReader.h.

◆ timeStamp()

uint64_t o2::tpc::RawReader::Header::timeStamp ( )
inline

Get the time stamp

Returns
corrected header time stamp

Definition at line 52 of file RawReader.h.

Member Data Documentation

◆ dataType

uint16_t o2::tpc::RawReader::Header::dataType

readout mode, 1: GBT frames, 2: decoded data, 3: both

Definition at line 42 of file RawReader.h.

◆ eventCount_w

uint64_t o2::tpc::RawReader::Header::eventCount_w

Event counter, high and low fields are reversed.

Definition at line 47 of file RawReader.h.

◆ headerVersion

uint8_t o2::tpc::RawReader::Header::headerVersion

Header version.

Definition at line 44 of file RawReader.h.

◆ nWords

uint32_t o2::tpc::RawReader::Header::nWords

number of 32 bit words of header + payload

Definition at line 45 of file RawReader.h.

◆ reserved_01

uint8_t o2::tpc::RawReader::Header::reserved_01

reserved part

Definition at line 43 of file RawReader.h.

◆ reserved_2_w

uint64_t o2::tpc::RawReader::Header::reserved_2_w

Reserved part, high and low fields are reversed.

Definition at line 48 of file RawReader.h.

◆ timeStamp_w

uint64_t o2::tpc::RawReader::Header::timeStamp_w

time stamp of header, high and low fields are reversed

Definition at line 46 of file RawReader.h.


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