Belle II Software  release-08-01-10
PXDDAQDHPStatus Class Referencefinal

The PXD DAQ DHP Status class. More...

#include <PXDDAQDHPStatus.h>

Public Member Functions

 PXDDAQDHPStatus ()
 Default constructor for the ROOT IO.
 
 PXDDAQDHPStatus (uint8_t chipid, uint16_t fn)
 constructor setting the error mask, dhcid, raw and reduced data counters, ... More...
 
virtual ~PXDDAQDHPStatus ()
 destructor
 
void setChipID (uint8_t chipid)
 Set Chip ID of DHP.
 
uint8_t getChipID (void) const
 Get Chip ID of DHP.
 
void setFrameNr (uint16_t fn)
 set Readout Frame number
 
uint16_t getFrameNr (void) const
 get Readout Frame number
 
void setTruncated (void)
 set Truncation
 
bool getTruncated (void)
 get Truncation
 

Private Member Functions

 ClassDef (PXDDAQDHPStatus, 2)
 necessary for ROOT
 

Private Attributes

uint8_t m_chipID {0}
 Chip ID as delivered by DAQ.
 
uint16_t m_frameNr {0}
 Frame number (low bits) from DHP header.
 
bool m_truncated {false}
 DHE reports truncated frame.
 

Detailed Description

The PXD DAQ DHP Status class.

This is a small class that records information about PXD DAQ DHP status It will record some stat data of this DHP

Definition at line 27 of file PXDDAQDHPStatus.h.

Constructor & Destructor Documentation

◆ PXDDAQDHPStatus()

PXDDAQDHPStatus ( uint8_t  chipid,
uint16_t  fn 
)
inlineexplicit

constructor setting the error mask, dhcid, raw and reduced data counters, ...

Parameters
chipidDHP chip id (2 bit)
fn(absolute) Readout Frame Number, lower 16 bits only

Definition at line 37 of file PXDDAQDHPStatus.h.

37 : m_chipID(chipid), m_frameNr(fn) {}
uint8_t m_chipID
Chip ID as delivered by DAQ.
uint16_t m_frameNr
Frame number (low bits) from DHP header.

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