Project
Loading...
Searching...
No Matches
GPUTPCCFDecodeZS.cxx File Reference
#include "GPUTPCCFDecodeZS.h"
#include "GPUCommonMath.h"
#include "GPUTPCClusterFinder.h"
#include "Array2D.h"
#include "PackedCharge.h"
#include "CfUtils.h"
#include "CommonConstants/LHCConstants.h"
#include "GPUCommonAlgorithm.h"
#include "TPCPadGainCalib.h"
#include "TPCZSLinkMapping.h"

Go to the source code of this file.

Macros

#define MAYBE_PAGE_OVERFLOW(pagePtr)
 
#define PEEK_OVERFLOW(pagePtr, offset)
 
#define TEST_BIT(x, bit)   static_cast<bool>((x) & (1 << (bit)))
 
#define MAYBE_PAGE_OVERFLOW(pagePtr)
 

Functions

template<>
 GPUdii () void GPUTPCCFDecodeZS
 
template<>
 GPUdii () void GPUTPCCFDecodeZSLink
 
 GPUd () size_t GPUTPCCFDecodeZSLink
 
template<class Decoder >
 GPUd () void GPUTPCCFDecodeZSLinkBase
 
template<>
 GPUd () void GPUTPCCFDecodeZSDenseLink
 
template<bool DecodeInParallel, bool PayloadExtendsToNextPage>
 GPUd () uint16_t GPUTPCCFDecodeZSDenseLink
 

Detailed Description

Author
David Rohr, Felix Weiglhofer

Definition in file GPUTPCCFDecodeZS.cxx.

Macro Definition Documentation

◆ MAYBE_PAGE_OVERFLOW [1/2]

#define MAYBE_PAGE_OVERFLOW (   pagePtr)
Value:
if constexpr (PayloadExtendsToNextPage) { \
if (pagePtr >= payloadEnd && pagePtr < nextPage) { \
ptrdiff_t diff = pagePtr - payloadEnd; \
pagePtr = nextPage; \
ConsumeBytes(pagePtr, sizeof(header::RAWDataHeader) + diff); \
} \
} else { \
assert(pagePtr <= payloadEnd); \
}

◆ MAYBE_PAGE_OVERFLOW [2/2]

#define MAYBE_PAGE_OVERFLOW (   pagePtr)
Value:
if constexpr (PayloadExtendsToNextPage) { \
if (pagePtr >= payloadEnd && pagePtr < nextPage) { \
ptrdiff_t diff = pagePtr - payloadEnd; \
pagePtr = nextPage; \
ConsumeBytes(pagePtr, sizeof(header::RAWDataHeader) + diff); \
} \
} else { \
assert(pagePtr <= payloadEnd); \
}

◆ PEEK_OVERFLOW

#define PEEK_OVERFLOW (   pagePtr,
  offset 
)
Value:
(*(PayloadExtendsToNextPage && (pagePtr) < nextPage && (pagePtr) + (offset) >= payloadEnd \
? nextPage + sizeof(header::RAWDataHeader) + ((pagePtr) + (offset)-payloadEnd) \
: (pagePtr) + (offset)))
GLintptr offset
Definition glcorearb.h:660

◆ TEST_BIT

#define TEST_BIT (   x,
  bit 
)    static_cast<bool>((x) & (1 << (bit)))

Function Documentation

◆ GPUd() [1/4]

GPUd ( )

Definition at line 216 of file GPUTPCCFDecodeZS.cxx.

◆ GPUd() [2/4]

template<bool DecodeInParallel, bool PayloadExtendsToNextPage>
GPUd ( )

Definition at line 658 of file GPUTPCCFDecodeZS.cxx.

◆ GPUd() [3/4]

template<>
GPUd ( )

Definition at line 586 of file GPUTPCCFDecodeZS.cxx.

◆ GPUd() [4/4]

template<class Decoder >
GPUd ( )

Definition at line 464 of file GPUTPCCFDecodeZS.cxx.

◆ GPUdii() [1/2]

template<>
GPUdii ( )

Definition at line 38 of file GPUTPCCFDecodeZS.cxx.

◆ GPUdii() [2/2]

template<>
GPUdii ( )

Definition at line 211 of file GPUTPCCFDecodeZS.cxx.