CbmRoot
Loading...
Searching...
No Matches
Spadic Namespace Reference

Classes

struct  FexWord
 
struct  FexWord< 0x10 >
 
struct  NByteContainer
 

Enumerations

enum class  MsMessageType : uint8_t {
  kSOM = 0x20 , kEOM = 0x30 , kEPO = 0x40 , kRDA = 0x80 ,
  kINF = 0x10 , kNUL = 0x00 , kUNK = 0x01
}
 
enum class  eTriggerType : uint8_t { kGlobal = 0 , kSelf = 1 , kNeigh = 2 , kSandN = 3 }
 
enum class  MsInfoType : uint8_t {
  kBOM = 0 , kMSB , kBUF , kUNU ,
  kMIS , kChannelBuf , kOrdFifoBuf , kChannelBufM ,
  kNInfMsgs
}
 

Functions

template<std::uint8_t sys_ver>
constexpr std::uint8_t BytesPerWord ()
 

Enumeration Type Documentation

◆ eTriggerType

enum class Spadic::eTriggerType : 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 38 of file CbmTrdRawMessageSpadic.h.

◆ MsInfoType

enum class 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. .... .... .... ....

kChannelBuf 

Channel buffer full from kEPO msg.

kOrdFifoBuf 

Multi-hit but ordering buffer full from kEPO msg.

kChannelBufM 

Channel buffer full and multihit from kEPO msg.

kNInfMsgs 

Number of different info messages.

Definition at line 52 of file CbmTrdRawMessageSpadic.h.

◆ MsMessageType

enum class Spadic::MsMessageType : uint8_t
strong

Spadic Message Types that can occur inside a Microslice.

  Definition of the message types. Selection happens in the unpacker algorithms.
Enumerator
kSOM 

Start of Message.

kEOM 

End of Message.

kEPO 

Epoch Marker or TS_MSB depending on the hitmessage version.

kRDA 

Raw Data.

kINF 

Info Message.

kNUL 

Microslice End.

kUNK 

Unkown Word.

Definition at line 26 of file CbmTrdRawMessageSpadic.h.

Function Documentation

◆ BytesPerWord()

template<std::uint8_t sys_ver>
std::uint8_t Spadic::BytesPerWord ( )
constexpr