Belle II Software development
dhc_direct_readout_frame_raw Struct Reference

DHC RAW direct readout frame data struct. More...

#include <PXDRawDataStructs.h>

Inheritance diagram for dhc_direct_readout_frame_raw:
dhc_direct_readout_frame

Public Member Functions

unsigned short getEventNrLo (void) const
 get trigger_nr_lo
 
void print (void) const
 print
 
unsigned short getDHEId (void) const
 get DHE Id (from word0)
 
unsigned short getDHPPort (void) const
 get DHP Port (from word0)
 
bool getDataReformattedFlag (void) const
 get DataReformattedFlag (from word0)
 

Public Attributes

const dhc_frame_header_word0 word0
 word0
 
const ubig16_t trigger_nr_lo
 trigger_nr_lo
 

Detailed Description

DHC RAW direct readout frame data struct.

Dummy. See Data format definitions [BELLE2-NOTE-TE-2016-009] on https://docs.belle2.org/

Definition at line 274 of file PXDRawDataStructs.h.

Member Function Documentation

◆ getDataReformattedFlag()

bool getDataReformattedFlag ( void  ) const
inlineinherited

get DataReformattedFlag (from word0)

Definition at line 264 of file PXDRawDataStructs.h.

265 {
266 return (word0.getMisc() >> 3) & 0x1;
267 };
const dhc_frame_header_word0 word0
word0
unsigned short getMisc(void) const
get misc

◆ getDHEId()

unsigned short getDHEId ( void  ) const
inlineinherited

get DHE Id (from word0)

Definition at line 254 of file PXDRawDataStructs.h.

255 {
256 return (word0.getMisc() >> 4) & 0x3F;
257 };

◆ getDHPPort()

unsigned short getDHPPort ( void  ) const
inlineinherited

get DHP Port (from word0)

Definition at line 259 of file PXDRawDataStructs.h.

260 {
261 return (word0.getMisc()) & 0x3;
262 };

◆ getEventNrLo()

unsigned short getEventNrLo ( void  ) const
inlineinherited

get trigger_nr_lo

Definition at line 247 of file PXDRawDataStructs.h.

248 {
249 return trigger_nr_lo;
250 };
const ubig16_t trigger_nr_lo
trigger_nr_lo

◆ print()

void print ( void  ) const
inherited

print

Definition at line 99 of file PXDRawDataStructs.cc.

100 {
101 word0.print();
102 B2DEBUG(99, "DHC Direct Readout (Raw|ZSD|ONS) Frame TNRLO $" << std::hex << trigger_nr_lo << " DHE ID $" << getDHEId() <<
103 " DHP port $" << getDHPPort());
104 };
unsigned short getDHEId(void) const
get DHE Id (from word0)
unsigned short getDHPPort(void) const
get DHP Port (from word0)

Member Data Documentation

◆ trigger_nr_lo

const ubig16_t trigger_nr_lo
inherited

trigger_nr_lo

Definition at line 242 of file PXDRawDataStructs.h.

◆ word0

const dhc_frame_header_word0 word0
inherited

word0

Definition at line 241 of file PXDRawDataStructs.h.


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