CbmRoot
Loading...
Searching...
No Matches
Spadic::FexWord< 0x10 > Struct Reference

#include <CbmTrdFexMessageSpadic.h>

Inheritance diagram for Spadic::FexWord< 0x10 >:
[legend]
Collaboration diagram for Spadic::FexWord< 0x10 >:
[legend]

Public Member Functions

 FexWord (NByteContainer< BytesPerWord< 0x10 >()> word)
 
 FexWord (uint8_t elink_v, uint8_t channel_v, uint64_t timestamp_v, uint8_t prec_time_v, uint16_t maxAdc_v, uint16_t timesample_v, uint8_t iMA_v, uint8_t ht_v, uint8_t mh_v)
 
 operator uint64_t ()
 
 operator NByteContainer< BytesPerWord< 0x10 > ()>()
 

Public Attributes

uint8_t elink
 
uint8_t channel
 
uint64_t timestamp
 
float prec_time
 
uint16_t maxAdc
 
uint16_t timesample
 
uint8_t iMA
 
uint8_t ht
 
uint8_t mh
 

Static Public Attributes

static constexpr int hts = 62
 
static constexpr int els = hts - 8
 
static constexpr int chs = els - 4
 
static constexpr int maxs = chs - 9
 
static constexpr int imas = maxs - 3
 
static constexpr int trs = imas - 9
 
static constexpr int mhs = trs - 3
 
static constexpr int pts = mhs - 5
 
static constexpr int m_el = 0xff
 
static constexpr int m_ch = 0xf
 
static constexpr int m_ts = 0x1fffff
 
static constexpr int m_pt = 0x1f
 
static constexpr int m_mA = 0x1ff
 
static constexpr int m_tsample = 0x1ff
 
static constexpr int m_iMA = 0x7
 
static constexpr int m_ht = 0x3
 
static constexpr int m_mh = 0x7
 

Detailed Description

Definition at line 78 of file CbmTrdFexMessageSpadic.h.

Constructor & Destructor Documentation

◆ FexWord() [1/2]

Spadic::FexWord< 0x10 >::FexWord ( NByteContainer< BytesPerWord< 0x10 >()> word)
inline

◆ FexWord() [2/2]

Spadic::FexWord< 0x10 >::FexWord ( uint8_t elink_v,
uint8_t channel_v,
uint64_t timestamp_v,
uint8_t prec_time_v,
uint16_t maxAdc_v,
uint16_t timesample_v,
uint8_t iMA_v,
uint8_t ht_v,
uint8_t mh_v )
inline

Definition at line 126 of file CbmTrdFexMessageSpadic.h.

References channel, elink, ht, iMA, m_ch, m_el, m_ht, m_iMA, m_mA, m_mh, m_pt, m_ts, m_tsample, maxAdc, mh, prec_time, timesample, and timestamp.

Member Function Documentation

◆ operator NByteContainer< BytesPerWord< 0x10 >()

Spadic::FexWord< 0x10 >::operator NByteContainer< BytesPerWord< 0x10 > ( )
inline

Definition at line 149 of file CbmTrdFexMessageSpadic.h.

◆ operator uint64_t()

Spadic::FexWord< 0x10 >::operator uint64_t ( )
inline

Definition at line 140 of file CbmTrdFexMessageSpadic.h.

References channel, chs, elink, els, ht, iMA, imas, maxAdc, maxs, mh, mhs, prec_time, pts, timesample, timestamp, and trs.

Member Data Documentation

◆ channel

uint8_t Spadic::FexWord< 0x10 >::channel

Definition at line 99 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ chs

int Spadic::FexWord< 0x10 >::chs = els - 4
staticconstexpr

Definition at line 81 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ elink

uint8_t Spadic::FexWord< 0x10 >::elink

Definition at line 98 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ els

int Spadic::FexWord< 0x10 >::els = hts - 8
staticconstexpr

Definition at line 80 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ ht

uint8_t Spadic::FexWord< 0x10 >::ht

Definition at line 105 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ hts

int Spadic::FexWord< 0x10 >::hts = 62
staticconstexpr

Definition at line 79 of file CbmTrdFexMessageSpadic.h.

◆ iMA

uint8_t Spadic::FexWord< 0x10 >::iMA

Definition at line 104 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ imas

int Spadic::FexWord< 0x10 >::imas = maxs - 3
staticconstexpr

Definition at line 83 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ m_ch

int Spadic::FexWord< 0x10 >::m_ch = 0xf
staticconstexpr

Definition at line 89 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_el

int Spadic::FexWord< 0x10 >::m_el = 0xff
staticconstexpr

Definition at line 88 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_ht

int Spadic::FexWord< 0x10 >::m_ht = 0x3
staticconstexpr

Definition at line 95 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord().

◆ m_iMA

int Spadic::FexWord< 0x10 >::m_iMA = 0x7
staticconstexpr

Definition at line 94 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_mA

int Spadic::FexWord< 0x10 >::m_mA = 0x1ff
staticconstexpr

Definition at line 92 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_mh

int Spadic::FexWord< 0x10 >::m_mh = 0x7
staticconstexpr

Definition at line 96 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_pt

int Spadic::FexWord< 0x10 >::m_pt = 0x1f
staticconstexpr

Definition at line 91 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_ts

int Spadic::FexWord< 0x10 >::m_ts = 0x1fffff
staticconstexpr

Definition at line 90 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ m_tsample

int Spadic::FexWord< 0x10 >::m_tsample = 0x1ff
staticconstexpr

Definition at line 93 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and FexWord().

◆ maxAdc

uint16_t Spadic::FexWord< 0x10 >::maxAdc

Definition at line 102 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ maxs

int Spadic::FexWord< 0x10 >::maxs = chs - 9
staticconstexpr

Definition at line 82 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ mh

uint8_t Spadic::FexWord< 0x10 >::mh

Definition at line 106 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ mhs

int Spadic::FexWord< 0x10 >::mhs = trs - 3
staticconstexpr

Definition at line 85 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ prec_time

float Spadic::FexWord< 0x10 >::prec_time

Definition at line 101 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ pts

int Spadic::FexWord< 0x10 >::pts = mhs - 5
staticconstexpr

Definition at line 86 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().

◆ timesample

uint16_t Spadic::FexWord< 0x10 >::timesample

Definition at line 103 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ timestamp

uint64_t Spadic::FexWord< 0x10 >::timestamp

Definition at line 100 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), FexWord(), and operator uint64_t().

◆ trs

int Spadic::FexWord< 0x10 >::trs = imas - 9
staticconstexpr

Definition at line 84 of file CbmTrdFexMessageSpadic.h.

Referenced by FexWord(), and operator uint64_t().


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