CbmRoot
Spadic Namespace Reference

Enumerations

enum  MsMessageType : uint8_t {
  MsMessageType::kEPO, MsMessageType::kSOM, MsMessageType::kRDA, MsMessageType::kINF,
  MsMessageType::kNUL, MsMessageType::kUNK = 0x01
}
 
enum  TriggerType : uint8_t { TriggerType::kGlobal = 0, TriggerType::kSelf = 1, TriggerType::kNeigh = 2, TriggerType::kSandN = 3 }
 
enum  MsInfoType : uint8_t {
  MsInfoType::kBOM, MsInfoType::kMSB, MsInfoType::kBUF, MsInfoType::kUNU,
  MsInfoType::kMIS
}
 

Enumeration Type Documentation

◆ MsInfoType

enum Spadic::MsInfoType : uint8_t
strong

Sub-Types of MsMessageType::kINF

Bitmap of an info message: 0001 eeee ee.. .... .... .... .... .... .... .... .... iiii iiii iiii iiii iiii e: E-Link ID, i: Info Message (see below)

Enumerator
kBOM 

Buffer overflow count. 11nn nnnn nnnn nnnn cccc.

kMSB 

Message build error. 010. .... .... .... cccc.

kBUF 

Buffer full. 011b b... .... .... cccc.

kUNU 

Unused request. 100. .... .... .... cccc.

kMIS 

Missing request. 101. .... .... .... ....

Definition at line 53 of file CbmTrdRawMessageSpadic.h.

◆ MsMessageType

enum Spadic::MsMessageType : uint8_t
strong

Spadic Message Types that can occur inside a Microslice.

  A message is a 64bit word, its most significant bits (MSB) define the type.
Enumerator
kEPO 

Epoch Marker. MSB: 01.. .... uTS-MSB (bits 61-32) in clockcycles.

kSOM 

Start of Message. MSB: 001. .... timestamp (bits 50-35) in clockcycles. Currently (Feb 2020) only 11 LSB in use.

kRDA 

Raw Data. Preceded by SOM. MSB: 1... .... always 64bits, bits after last transmitted sample are filled with 0.

kINF 

Info Message. MSB: 0001 .... The 20 LSBs of the 64bit word contain the 20 LSBs of a raw spadic InfoType frame e.g. BOM.

kNUL 

Microslice End. 0x0000000000000000 Last Word in a Microslice is 64 zeros.

kUNK 

Unkown Word.

Definition at line 25 of file CbmTrdRawMessageSpadic.h.

◆ TriggerType

enum Spadic::TriggerType : uint8_t
strong

Hit Type of CbmTrdRawMessageSpadic, explains why a message was generated.

Enumerator
kGlobal 

global trigger.

kSelf 

Self trigger.

kNeigh 

Neighbor trigger.

kSandN 

Self and neighbor trigger at the same time.

Definition at line 40 of file CbmTrdRawMessageSpadic.h.