1 #ifndef EventFilter_GEMRawToDigi_VFATdata_h 2 #define EventFilter_GEMRawToDigi_VFATdata_h 74 int phi()
const {
return phiPos_;}
115 uint16_t crc_cal(uint16_t crc_in, uint16_t dato);
119 static const int sizeChipID = 12;
uint64_t msData1v2
channels from 65to128 - placeholder since msData1 reads same info
uint64_t ec
Event Counter, 8 bits.
uint64_t bcV2
Bunch Crossing number, 12 bits.
uint8_t header() const
v3
uint64_t ecV2
Event Counter, 8 bits.
uint64_t msData2
channels from 65to128
void read_sw(uint64_t word)
Read second word from the block.
uint64_t crcCheck
bits 183:177 are not used, should be 0, bit 176 is 1 if CTP7 detected a CRC mismatch ...
uint64_t crc
Check Sum value, 16 bits.
uint64_t lsData2
channels from 1to64
uint64_t msData1
channels from 65to128
uint64_t b1110
1110:4 Control bits, shoud be 1110
void read_fw(uint64_t word)
Read first word from the block.
uint64_t lsData1
channels from 1to64
unsigned long long uint64_t
uint64_t bc
Bunch Crossing number, 16 bits.
uint64_t pos
an 8bit value indicating the VFAT position on this GEB (it can be 0 to 23)
uint64_t b1010
1010:4 Control bits, shoud be 1010
uint64_t chipID
Chip ID, 12 bits.
uint64_t header
normally 0x1E. 0x5E indicates that the VFAT3 internal buffer is half-full, so it's like a warning ...
VFAT data structure - 3 words of 64 bits each.
void read_tw(uint64_t word)
Read third word from the block.
uint64_t b1100
1100:4, Control bits, shoud be 1100
uint64_t flag
Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.
uint64_t fw_
phi position of vfat in chamber