enum | TotemSampicConstant {
hwId_Position = 0,
controlBits0_Position = 1,
controlBits1_Position = 2,
controlBits2_Position = 3,
controlBits3_Position = 4,
controlBits4_Position = 5,
controlBits5_Position = 6,
fpgaTime_Position = 7,
timestampA_Position = 12,
fpgaTime_Size = timestampA_Position - fpgaTime_Position,
timestampB_Position = 14,
timestampA_Size = timestampB_Position - timestampA_Position,
cellInfo_Position = 16,
timestampB_Size = cellInfo_Position - timestampB_Position,
planeChannelId_Position = 18,
cellInfo_Size = planeChannelId_Position - cellInfo_Position,
reserved_Position = 19,
boardId_Position = 0,
l1ATimestamp_Position = 1,
bunchNumber_Position = 6,
l1ATimestamp_Size = bunchNumber_Position - l1ATimestamp_Position,
orbitNumber_Position = 8,
bunchNumber_Size = orbitNumber_Position - bunchNumber_Position,
eventNumber_Position = 12,
orbitNumber_Size = eventNumber_Position - orbitNumber_Position,
channelMap_Position = 16,
eventNumber_Size = channelMap_Position - eventNumber_Position,
l1ALatency_Position = 18,
channelMap_Size = l1ALatency_Position - channelMap_Position,
numberOfSamples_Position = 20,
l1ALatency_Size = numberOfSamples_Position - l1ALatency_Position,
offsetOfSamples_Position = 21,
fwVersion_Position = 22,
pllInfo_Position = 23,
numberOfSamples = 24,
controlBits3 = 0x69,
cellInfo_Mask = 0x3F
} |