Belle II Software development
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, ...
 
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() [1/2]

PXDDAQDHPStatus ( )
inline

Default constructor for the ROOT IO.

Definition at line 31 of file PXDDAQDHPStatus.h.

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

◆ PXDDAQDHPStatus() [2/2]

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) {}

◆ ~PXDDAQDHPStatus()

virtual ~PXDDAQDHPStatus ( )
inlinevirtual

destructor

Definition at line 40 of file PXDDAQDHPStatus.h.

40{};

Member Function Documentation

◆ getChipID()

uint8_t getChipID ( void  ) const
inline

Get Chip ID of DHP.

Definition at line 45 of file PXDDAQDHPStatus.h.

45{ return m_chipID;};

◆ getFrameNr()

uint16_t getFrameNr ( void  ) const
inline

get Readout Frame number

Definition at line 50 of file PXDDAQDHPStatus.h.

50{ return m_frameNr;};

◆ getTruncated()

bool getTruncated ( void  )
inline

get Truncation

Definition at line 55 of file PXDDAQDHPStatus.h.

55{ return m_truncated;};

◆ setChipID()

void setChipID ( uint8_t  chipid)
inline

Set Chip ID of DHP.

Definition at line 43 of file PXDDAQDHPStatus.h.

43{ m_chipID = chipid;};

◆ setFrameNr()

void setFrameNr ( uint16_t  fn)
inline

set Readout Frame number

Definition at line 48 of file PXDDAQDHPStatus.h.

48{ m_frameNr = fn;};

◆ setTruncated()

void setTruncated ( void  )
inline

set Truncation

Definition at line 53 of file PXDDAQDHPStatus.h.

53{ m_truncated = true;};

Member Data Documentation

◆ m_chipID

uint8_t m_chipID {0}
private

Chip ID as delivered by DAQ.

Definition at line 59 of file PXDDAQDHPStatus.h.

◆ m_frameNr

uint16_t m_frameNr {0}
private

Frame number (low bits) from DHP header.

Definition at line 60 of file PXDDAQDHPStatus.h.

◆ m_truncated

bool m_truncated {false}
private

DHE reports truncated frame.

Definition at line 61 of file PXDDAQDHPStatus.h.


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