CbmRoot
Loading...
Searching...
No Matches
PsdDataV100::PsdPackHeader Struct Reference

#include <PsdGbtDataFormat-v1.00.h>

Public Types

enum  bitFieldSizes {
  MWs = 4 , LIs = 4 , E0s = 24 , HNs = 8 ,
  TWs = 8 , TMs = 32
}
 

Public Member Functions

void printout ()
 ADC Time of threshold cross from the begining of MS.
 
void clear ()
 
 PsdPackHeader ()
 

Public Attributes

uint8_t uMagicWord: MWs
 
uint8_t uLinkIndex: LIs
 MagicWord.
 
uint32_t uEmpty0: E0s
 Link index.
 
uint8_t uHitsNumber: HNs
 Empty bits.
 
uint8_t uTotalWords: TWs
 Hits number.
 
uint32_t uAdcTime: TMs
 Words in data pack.
 

Detailed Description

Definition at line 45 of file PsdGbtDataFormat-v1.00.h.

Member Enumeration Documentation

◆ bitFieldSizes

Enumerator
MWs 
LIs 

MagicWord size in bits.

E0s 

Link index size in bits.

HNs 

Empty bits size in bits.

TWs 

Hits number size in bits.

TMs 

Words in pack size in bits.

Definition at line 46 of file PsdGbtDataFormat-v1.00.h.

Constructor & Destructor Documentation

◆ PsdPackHeader()

PsdDataV100::PsdPackHeader::PsdPackHeader ( )
inline

Definition at line 79 of file PsdGbtDataFormat-v1.00.h.

References clear().

Member Function Documentation

◆ clear()

void PsdDataV100::PsdPackHeader::clear ( )
inline

◆ printout()

void PsdDataV100::PsdPackHeader::printout ( )
inline

ADC Time of threshold cross from the begining of MS.

Definition at line 63 of file PsdGbtDataFormat-v1.00.h.

References uAdcTime, uHitsNumber, uLinkIndex, uMagicWord, and uTotalWords.

Referenced by PsdDataV100::PsdGbtReader::PrintOut(), and PsdDataV100::PsdGbtReader::ReadPackHeader().

Member Data Documentation

◆ uAdcTime

uint32_t PsdDataV100::PsdPackHeader::uAdcTime

Words in data pack.

Definition at line 61 of file PsdGbtDataFormat-v1.00.h.

Referenced by clear(), printout(), and PsdDataV100::PsdGbtReader::ReadPackHeader().

◆ uEmpty0

uint32_t PsdDataV100::PsdPackHeader::uEmpty0

Link index.

Definition at line 58 of file PsdGbtDataFormat-v1.00.h.

Referenced by clear().

◆ uHitsNumber

uint8_t PsdDataV100::PsdPackHeader::uHitsNumber

◆ uLinkIndex

uint8_t PsdDataV100::PsdPackHeader::uLinkIndex

MagicWord.

Definition at line 57 of file PsdGbtDataFormat-v1.00.h.

Referenced by clear(), printout(), and PsdDataV100::PsdGbtReader::ReadPackHeader().

◆ uMagicWord

uint8_t PsdDataV100::PsdPackHeader::uMagicWord

◆ uTotalWords

uint8_t PsdDataV100::PsdPackHeader::uTotalWords

Hits number.

Definition at line 60 of file PsdGbtDataFormat-v1.00.h.

Referenced by clear(), printout(), and PsdDataV100::PsdGbtReader::ReadPackHeader().


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