15#ifndef ALICEO2_DATAFORMATSTPC_ZEROSUPPRESSION_H
16#define ALICEO2_DATAFORMATSTPC_ZEROSUPPRESSION_H
17#ifndef GPUCA_GPUCODE_DEVICE
41 static
GPUglobalconstexpr()
unsigned int MAX_DIGITS_IN_PAGE = (TPC_ZS_PAGE_SIZE - 64 - 6 - 4 - 3) * 8 / 10;
61 TriggerWordPresent = 1,
63 payloadExtendsToNextPage = 4
76 GPUd() unsigned
short* rowAddr1() {
return (
unsigned short*)((
unsigned char*)
this +
sizeof(*
this)); }
77 GPUd() const
unsigned short* rowAddr1()
const {
return (
unsigned short*)((
unsigned char*)
this +
sizeof(*
this)); }
84 unsigned long int rdh[8] = {};
100 uint16_t triggerEntries[MaxTriggerEntries] = {};
@ ZSVersionDenseLinkBased
@ ZSVersionLinkBasedWithMeta
@ ZSVersionDenseLinkBasedV2
@ ZSVersionRowBased10BitADC
@ ZSVersionRowBased12BitADC
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
unsigned short nTimebinHeaders
unsigned short firstZSDataOffset
static GPUglobalconstexpr() unsigned int TPC_ZS_NBITS_V34
unsigned char nTimeBinSpan
unsigned short timeOffset
static GPUglobalconstexpr() size_t TPC_ZS_PAGE_SIZE
unsigned short nADCsamples
GPUd() unsigned short *rowAddr1()
GPUd() const unsigned short *rowAddr1() const
Trigger info including the orbit.
ClassDefNV(TriggerInfoDLBZS, 1)
uint16_t getTriggerType(int entry=0) const
uint16_t getTriggerBC(int entry=0) const
static GPUglobalconstexpr() uint16_t MaxTriggerEntries
Maximum number of trigger information.
TriggerType
trigger types as in the ttype bits
ClassDefNV(TriggerWordDLBZS, 1)
bool isValid(int entry=0) const