CMS 3D CMS Logo

Namespaces | Classes | Functions | Variables
pixelgpudetails Namespace Reference

Namespaces

 phase1geometry
 

Classes

struct  DetIdGPU
 
struct  Pixel
 
class  PixelRecHitGPUKernel
 
class  SiPixelRawToClusterGPUKernel
 

Functions

constexpr uint32_t pack (uint32_t row, uint32_t col, uint32_t adc, uint32_t flag=0)
 
constexpr pixelchannelidentifierimpl::Packing packing ()
 
constexpr uint32_t pixelToChannel (int row, int col)
 

Variables

constexpr unsigned int MAX_FED = 150
 
constexpr unsigned int MAX_LINK = 48
 
constexpr unsigned int MAX_ROC = 8
 
constexpr unsigned int MAX_SIZE = MAX_FED * MAX_LINK * MAX_ROC
 
constexpr unsigned int MAX_SIZE_BYTE_BOOL = MAX_SIZE * sizeof(unsigned char)
 
const uint32_t MAX_WORD = 2000
 
const uint32_t maxROCIndex = 8
 
const uint32_t numColsInRoc = 52
 
const uint32_t numRowsInRoc = 80
 

Function Documentation

◆ pack()

constexpr uint32_t pixelgpudetails::pack ( uint32_t  row,
uint32_t  col,
uint32_t  adc,
uint32_t  flag = 0 
)
inline

Definition at line 64 of file SiPixelRawToClusterGPUKernel.h.

References gpuClustering::adc, cuy::col, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), SiStripPI::min, and packing().

64  {
66  adc = std::min(adc, uint32_t(thePacking.max_adc));
67 
68  return (row << thePacking.row_shift) | (col << thePacking.column_shift) | (adc << thePacking.adc_shift);
69  }
constexpr pixelchannelidentifierimpl::Packing packing()
col
Definition: cuy.py:1009
uint16_t *__restrict__ uint16_t const *__restrict__ adc

◆ packing()

constexpr pixelchannelidentifierimpl::Packing pixelgpudetails::packing ( )
inline

Definition at line 62 of file SiPixelRawToClusterGPUKernel.h.

References PixelChannelIdentifier::thePacking.

Referenced by pack(), and pixelToChannel().

static constexpr Packing thePacking

◆ pixelToChannel()

constexpr uint32_t pixelgpudetails::pixelToChannel ( int  row,
int  col 
)

Definition at line 71 of file SiPixelRawToClusterGPUKernel.h.

References cuy::col, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and packing().

71  {
73  return (row << thePacking.column_width) | col;
74  }
constexpr pixelchannelidentifierimpl::Packing packing()
col
Definition: cuy.py:1009

Variable Documentation

◆ MAX_FED

constexpr unsigned int pixelgpudetails::MAX_FED = 150

Definition at line 7 of file SiPixelROCsStatusAndMapping.h.

◆ MAX_LINK

constexpr unsigned int pixelgpudetails::MAX_LINK = 48

◆ MAX_ROC

constexpr unsigned int pixelgpudetails::MAX_ROC = 8

◆ MAX_SIZE

constexpr unsigned int pixelgpudetails::MAX_SIZE = MAX_FED * MAX_LINK * MAX_ROC

◆ MAX_SIZE_BYTE_BOOL

constexpr unsigned int pixelgpudetails::MAX_SIZE_BYTE_BOOL = MAX_SIZE * sizeof(unsigned char)

◆ MAX_WORD

const uint32_t pixelgpudetails::MAX_WORD = 2000

Definition at line 49 of file SiPixelRawToClusterGPUKernel.h.

◆ maxROCIndex

const uint32_t pixelgpudetails::maxROCIndex = 8

Definition at line 45 of file SiPixelRawToClusterGPUKernel.h.

◆ numColsInRoc

const uint32_t pixelgpudetails::numColsInRoc = 52

Definition at line 47 of file SiPixelRawToClusterGPUKernel.h.

◆ numRowsInRoc

const uint32_t pixelgpudetails::numRowsInRoc = 80

Definition at line 46 of file SiPixelRawToClusterGPUKernel.h.