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

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
 

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...
 
   }  
 
};  
 

Static Public Attributes

static constexpr uint32_t MagicWordLinkZS = 0xFC
 
static constexpr uint32_t MagicWordLinkZSMetaHeader = 0xFD
 
static constexpr uint32_t MagicWordTrigger = 0xAA
 
static constexpr uint32_t MagicWordTriggerV2 = 0xAB
 

Detailed Description

common header definition of the zero suppressed link based data

Definition at line 38 of file ZeroSuppressionLinkBased.h.

Member Function Documentation

◆ 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.

◆ MagicWordLinkZS

constexpr uint32_t o2::tpc::zerosupp_link_based::CommonHeader::MagicWordLinkZS = 0xFC
staticconstexpr

Definition at line 39 of file ZeroSuppressionLinkBased.h.

◆ MagicWordLinkZSMetaHeader

constexpr uint32_t o2::tpc::zerosupp_link_based::CommonHeader::MagicWordLinkZSMetaHeader = 0xFD
staticconstexpr

Definition at line 40 of file ZeroSuppressionLinkBased.h.

◆ MagicWordTrigger

constexpr uint32_t o2::tpc::zerosupp_link_based::CommonHeader::MagicWordTrigger = 0xAA
staticconstexpr

Definition at line 41 of file ZeroSuppressionLinkBased.h.

◆ MagicWordTriggerV2

constexpr uint32_t o2::tpc::zerosupp_link_based::CommonHeader::MagicWordTriggerV2 = 0xAB
staticconstexpr

Definition at line 42 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: