Project
Loading...
Searching...
No Matches
o2::tpc::cmv Namespace Reference

Classes

struct  Container
 
struct  Data
 CMV single data container. More...
 
struct  Header
 Header definition of the CMVs. More...
 

Detailed Description

The data is sent by the CRU as 256+16 bit words. The CMV data layout is as follows:

  • 256-bit Header: [version:8][packetID:8][errorCode:8][magicWord:8][heartbeatOrbit:32][heartbeatBC:16][padding:176]
  • 16-bit CMV value: [sign:1][I8F7:15] where bit 15 is the sign (1=positive, 0=negative) and the lower 15 bits are a fixed point I8F7 value (8 integer bits, 7 fractional bits) Float conversion: sign ? (value & 0x7FFF) / 128.0 : -(value & 0x7FFF) / 128.0