CMS 3D CMS Logo

List of all members | Public Attributes
gem::VFATfirst Union Reference

VFAT data structure - 3 words of 64 bits each. More...

#include <VFATdata.h>

Public Attributes

struct {
   uint64_t   bc: 16
 Bunch Crossing number, 16 bits. More...
 
   uint64_t   crcCheck: 8
 bits 183:177 are not used, should be 0, bit 176 is 1 if CTP7 detected a CRC mismatch More...
 
   uint64_t   ec: 8
 Event Counter, 8 bits. More...
 
   uint64_t   header: 8
 normally 0x1E. 0x5E indicates that the VFAT3 internal buffer is half-full, so it's like a warning More...
 
   uint64_t   msData1: 16
 channels from 65to128 More...
 
   uint64_t   pos: 8
 an 8bit value indicating the VFAT position on this GEB (it can be 0 to 23) More...
 
}; 
 
struct {
   uint64_t   b1010: 4
 1010:4 Control bits, shoud be 1010 More...
 
   uint64_t   b1100: 4
 1100:4, Control bits, shoud be 1100 More...
 
   uint64_t   b1110: 4
 1110:4 Control bits, shoud be 1110 More...
 
   uint64_t   bcV2: 12
 Bunch Crossing number, 12 bits. More...
 
   uint64_t   chipID: 12
 Chip ID, 12 bits. More...
 
   uint64_t   ecV2: 8
 Event Counter, 8 bits. More...
 
   uint64_t   flag: 4
 Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C. More...
 
   uint64_t   msData1v2: 16
 channels from 65to128 - placeholder since msData1 reads same info More...
 
}; 
 
uint64_t word
 

Detailed Description

VFAT data structure - 3 words of 64 bits each.

Definition at line 8 of file VFATdata.h.

Member Data Documentation

struct { ... }
struct { ... }
uint64_t gem::VFATfirst::b1010

1010:4 Control bits, shoud be 1010

Definition at line 28 of file VFATdata.h.

Referenced by gem::VFATdata::b1010(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::b1100

1100:4, Control bits, shoud be 1100

Definition at line 26 of file VFATdata.h.

Referenced by gem::VFATdata::b1100(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::b1110

1110:4 Control bits, shoud be 1110

Definition at line 23 of file VFATdata.h.

Referenced by gem::VFATdata::b1110(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::bc

Bunch Crossing number, 16 bits.

Definition at line 13 of file VFATdata.h.

Referenced by gem::VFATdata::bc(), geometryXMLparser.Alignable::covariance(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::bcV2

Bunch Crossing number, 12 bits.

Definition at line 27 of file VFATdata.h.

Referenced by gem::VFATdata::bc(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::chipID

Chip ID, 12 bits.

Definition at line 22 of file VFATdata.h.

Referenced by gem::VFATdata::chipID(), gem::VFATdata::VFATdata(), and gem::VFATdata::vfatId().

uint64_t gem::VFATfirst::crcCheck

bits 183:177 are not used, should be 0, bit 176 is 1 if CTP7 detected a CRC mismatch

Definition at line 16 of file VFATdata.h.

Referenced by gem::VFATdata::crcCheck().

uint64_t gem::VFATfirst::ec

Event Counter, 8 bits.

Definition at line 14 of file VFATdata.h.

Referenced by gem::VFATdata::ec(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::ecV2

Event Counter, 8 bits.

Definition at line 25 of file VFATdata.h.

Referenced by gem::VFATdata::ec(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::flag

Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.

Definition at line 24 of file VFATdata.h.

Referenced by gem::VFATdata::flag().

uint64_t gem::VFATfirst::header

normally 0x1E. 0x5E indicates that the VFAT3 internal buffer is half-full, so it's like a warning

Definition at line 15 of file VFATdata.h.

Referenced by gem::VFATdata::header(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::msData1

channels from 65to128

Definition at line 12 of file VFATdata.h.

Referenced by gem::VFATdata::msData(), and gem::VFATdata::VFATdata().

uint64_t gem::VFATfirst::msData1v2

channels from 65to128 - placeholder since msData1 reads same info

Definition at line 21 of file VFATdata.h.

uint64_t gem::VFATfirst::pos
uint64_t gem::VFATfirst::word