Project
Loading...
Searching...
No Matches
o2::tpc::zerosupp_link_based::CommonHeader Struct Referenceabstract

common header definition of the zero suppressed link based data More...

#include <ZeroSuppressionLinkBased.h>

Inherited by o2::tpc::zerosupp_link_based::Header.

Public Member Functions

bool hasCorrectMagicWord () const
 
bool isLinkZS () const
 
bool isMetaHeader () const
 
bool isTriggerInfo () const
 
bool isTriggerInfoV2 () const
 

Static Public Member Functions

static GPUglobalconstexpr () uint32_t MagicWordLinkZS=0xFC
 
static GPUglobalconstexpr () uint32_t MagicWordLinkZSMetaHeader=0xFD
 
static GPUglobalconstexpr () uint32_t MagicWordTrigger=0xAA
 
static GPUglobalconstexpr () uint32_t MagicWordTriggerV2=0xAB
 

Public Attributes

union { 
 
   uint64_t   word0 = 0 
 lower 64 bits More...
 
   struct { 
 
      uint64_t   bitMaskLow: 64 
 lower bits of the 80 bit bitmask More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word1 = 0 
 upper bits of the 80 bit bitmask More...
 
   struct { 
 
      uint64_t   bitMaskHigh: 16 
 higher bits of the 80 bit bitmask More...
 
      uint32_t   bunchCrossing: 12 
 bunch crossing number More...
 
      uint32_t   numWordsPayload: 4 
 number of 128bit words with 12bit ADC values More...
 
      uint32_t   syncOffsetBC: 8 
 sync offset in bunch crossings More...
 
      uint32_t   fecInPartition: 8 
 fecInPartition, only used in improved link-based format More...
 
      uint32_t   CMC: 8 
 CMC, only used in improved link-based format. More...
 
      uint32_t   magicWord: 8 
 magic word, identifies package More...
 
   }  
 
};  
 

Detailed Description

common header definition of the zero suppressed link based data

Definition at line 38 of file ZeroSuppressionLinkBased.h.

Member Function Documentation

◆ GPUglobalconstexpr() [1/4]

static o2::tpc::zerosupp_link_based::CommonHeader::GPUglobalconstexpr ( )
staticpure virtual

◆ GPUglobalconstexpr() [2/4]

static o2::tpc::zerosupp_link_based::CommonHeader::GPUglobalconstexpr ( )
staticpure virtual

◆ GPUglobalconstexpr() [3/4]

static o2::tpc::zerosupp_link_based::CommonHeader::GPUglobalconstexpr ( )
staticpure virtual

◆ GPUglobalconstexpr() [4/4]

static o2::tpc::zerosupp_link_based::CommonHeader::GPUglobalconstexpr ( )
staticpure virtual

◆ hasCorrectMagicWord()

bool o2::tpc::zerosupp_link_based::CommonHeader::hasCorrectMagicWord ( ) const
inline

Definition at line 64 of file ZeroSuppressionLinkBased.h.

◆ isLinkZS()

bool o2::tpc::zerosupp_link_based::CommonHeader::isLinkZS ( ) const
inline

Definition at line 65 of file ZeroSuppressionLinkBased.h.

◆ isMetaHeader()

bool o2::tpc::zerosupp_link_based::CommonHeader::isMetaHeader ( ) const
inline

Definition at line 66 of file ZeroSuppressionLinkBased.h.

◆ isTriggerInfo()

bool o2::tpc::zerosupp_link_based::CommonHeader::isTriggerInfo ( ) const
inline

Definition at line 67 of file ZeroSuppressionLinkBased.h.

◆ isTriggerInfoV2()

bool o2::tpc::zerosupp_link_based::CommonHeader::isTriggerInfoV2 ( ) const
inline

Definition at line 68 of file ZeroSuppressionLinkBased.h.

Member Data Documentation

◆ [union]

◆ [union]

◆ bitMaskHigh

uint64_t o2::tpc::zerosupp_link_based::CommonHeader::bitMaskHigh

higher bits of the 80 bit bitmask

Definition at line 54 of file ZeroSuppressionLinkBased.h.

◆ bitMaskLow

uint64_t o2::tpc::zerosupp_link_based::CommonHeader::bitMaskLow

lower bits of the 80 bit bitmask

Definition at line 47 of file ZeroSuppressionLinkBased.h.

◆ bunchCrossing

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::bunchCrossing

bunch crossing number

Definition at line 55 of file ZeroSuppressionLinkBased.h.

◆ CMC

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::CMC

CMC, only used in improved link-based format.

Definition at line 59 of file ZeroSuppressionLinkBased.h.

◆ fecInPartition

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::fecInPartition

fecInPartition, only used in improved link-based format

Definition at line 58 of file ZeroSuppressionLinkBased.h.

◆ magicWord

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::magicWord

magic word, identifies package

Definition at line 60 of file ZeroSuppressionLinkBased.h.

◆ numWordsPayload

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::numWordsPayload

number of 128bit words with 12bit ADC values

Definition at line 56 of file ZeroSuppressionLinkBased.h.

◆ syncOffsetBC

uint32_t o2::tpc::zerosupp_link_based::CommonHeader::syncOffsetBC

sync offset in bunch crossings

Definition at line 57 of file ZeroSuppressionLinkBased.h.

◆ word0

uint64_t o2::tpc::zerosupp_link_based::CommonHeader::word0 = 0

lower 64 bits

Definition at line 45 of file ZeroSuppressionLinkBased.h.

◆ word1

uint64_t o2::tpc::zerosupp_link_based::CommonHeader::word1 = 0

upper bits of the 80 bit bitmask

Definition at line 52 of file ZeroSuppressionLinkBased.h.


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