Belle II Software development
dhc_commode_frame Struct Reference

DHH common mode frame data struct. More...

#include <PXDRawDataStructs.h>

Public Member Functions

unsigned short getEventNrLo (void) const
 get trigger_nr_lo
 
unsigned int getFixedSize (void) const
 100 words
 
unsigned int getDHEId (void) const
 get DHE Id (from word0)
 

Public Attributes

const dhc_frame_header_word0 word0
 word0
 
const ubig16_t trigger_nr_lo
 trigger_nr_lo
 
const ubig16_t data [96]
 data
 
const unsigned int crc32
 crc32
 

Detailed Description

DHH common mode frame data struct.

Encapsules the access for different bits within the header Not used in hardware yet, preliminary, data format might change See Data format definitions [BELLE2-NOTE-TE-2016-009] on https://docs.belle2.org/

Definition at line 212 of file PXDRawDataStructs.h.

Member Function Documentation

◆ getDHEId()

unsigned int getDHEId ( void  ) const
inline

get DHE Id (from word0)

Definition at line 230 of file PXDRawDataStructs.h.

231 {
232 return (word0.getMisc() >> 4) & 0x3F;
233 };
const dhc_frame_header_word0 word0
word0
unsigned short getMisc(void) const
get misc

◆ getEventNrLo()

unsigned short getEventNrLo ( void  ) const
inline

get trigger_nr_lo

Definition at line 220 of file PXDRawDataStructs.h.

221 {
222 return trigger_nr_lo;
223 };
const ubig16_t trigger_nr_lo
trigger_nr_lo

◆ getFixedSize()

unsigned int getFixedSize ( void  ) const
inline

100 words

Definition at line 225 of file PXDRawDataStructs.h.

226 {
227 return (4 + 96) * 2;
228 };

Member Data Documentation

◆ crc32

const unsigned int crc32

crc32

Definition at line 216 of file PXDRawDataStructs.h.

◆ data

const ubig16_t data[96]

data

Definition at line 215 of file PXDRawDataStructs.h.

◆ trigger_nr_lo

const ubig16_t trigger_nr_lo

trigger_nr_lo

Definition at line 214 of file PXDRawDataStructs.h.

◆ word0

word0

Definition at line 213 of file PXDRawDataStructs.h.


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