Project
Loading...
Searching...
No Matches
o2::tpc::sac::headerDef Struct Reference

256bit CRU header word of SACs More...

#include <SAC.h>

Public Member Functions

bool check () const
 

Public Attributes

union { 
 
   uint64_t   word0 = 0 
 bits 0 - 63 More...
 
   struct { 
 
      uint32_t   version: 8 
 header version number More...
 
      uint32_t   instance: 4 
 0: TPC A (slave), 1: TPC C (master), 2/3: TRD More...
 
      uint32_t   empty0: 8 
 not used More...
 
      uint32_t   bunchCrossing: 12 
 bunch crossing when SAC packet was received More...
 
      uint32_t   orbit: 32 
 orbit when SAC packet was received More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word1 = 0 
 bits 64 - 127 More...
 
   struct { 
 
      uint32_t   pktCount: 16 
 < More...
 
      uint32_t   empty1_0: 16 
 not used More...
 
      uint32_t   empty1_1 
 not used More...
 
   }  
 
};  
 
union { 
 
   uint64_t   word2 = 0 
 bits 128 - 191 More...
 
};  
 
union { 
 
   uint64_t   word3 = 0 
 bits 192 - 255 More...
 
   struct { 
 
      uint32_t   empty3_0 
 
      uint32_t   empty3_1: 16 
 
      uint32_t   magicWord: 16 
 magic word should always correspond to MagicWord More...
 
   }  
 
};  
 

Static Public Attributes

static constexpr uint32_t MagicWord = 0xabcd
 magic word
 

Detailed Description

256bit CRU header word of SACs

Definition at line 28 of file SAC.h.

Member Function Documentation

◆ check()

bool o2::tpc::sac::headerDef::check ( ) const
inline

Definition at line 64 of file SAC.h.

Member Data Documentation

◆ [union]

union { ... } o2::tpc::sac::headerDef

◆ [union]

union { ... } o2::tpc::sac::headerDef

◆ [union]

union { ... } o2::tpc::sac::headerDef

◆ [union]

union { ... } o2::tpc::sac::headerDef

◆ bunchCrossing

uint32_t o2::tpc::sac::headerDef::bunchCrossing

bunch crossing when SAC packet was received

Definition at line 37 of file SAC.h.

◆ empty0

uint32_t o2::tpc::sac::headerDef::empty0

not used

Definition at line 36 of file SAC.h.

◆ empty1_0

uint32_t o2::tpc::sac::headerDef::empty1_0

not used

Definition at line 46 of file SAC.h.

◆ empty1_1

uint32_t o2::tpc::sac::headerDef::empty1_1

not used

Definition at line 47 of file SAC.h.

◆ empty3_0

uint32_t o2::tpc::sac::headerDef::empty3_0

Definition at line 58 of file SAC.h.

◆ empty3_1

uint32_t o2::tpc::sac::headerDef::empty3_1

Definition at line 59 of file SAC.h.

◆ instance

uint32_t o2::tpc::sac::headerDef::instance

0: TPC A (slave), 1: TPC C (master), 2/3: TRD

Definition at line 35 of file SAC.h.

◆ MagicWord

constexpr uint32_t o2::tpc::sac::headerDef::MagicWord = 0xabcd
staticconstexpr

magic word

Definition at line 29 of file SAC.h.

◆ magicWord

uint32_t o2::tpc::sac::headerDef::magicWord

magic word should always correspond to MagicWord

Definition at line 60 of file SAC.h.

◆ orbit

uint32_t o2::tpc::sac::headerDef::orbit

orbit when SAC packet was received

Definition at line 38 of file SAC.h.

◆ pktCount

uint32_t o2::tpc::sac::headerDef::pktCount

<

internal packet counter, should always increase by one

Definition at line 45 of file SAC.h.

◆ version

uint32_t o2::tpc::sac::headerDef::version

header version number

Definition at line 34 of file SAC.h.

◆ word0

uint64_t o2::tpc::sac::headerDef::word0 = 0

bits 0 - 63

Definition at line 32 of file SAC.h.

◆ word1

uint64_t o2::tpc::sac::headerDef::word1 = 0

bits 64 - 127

Definition at line 43 of file SAC.h.

◆ word2

uint64_t o2::tpc::sac::headerDef::word2 = 0

bits 128 - 191

Definition at line 52 of file SAC.h.

◆ word3

uint64_t o2::tpc::sac::headerDef::word3 = 0

bits 192 - 255

Definition at line 56 of file SAC.h.


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