CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
pixelgpudetails::Packing Class Reference

#include <SiPixelRawToClusterGPUKernel.h>

Public Types

using PackedDigiType = uint32_t
 

Public Member Functions

__host__ constexpr __device__ Packing (unsigned int row_w, unsigned int column_w, unsigned int time_w, unsigned int adc_w)
 

Public Attributes

PackedDigiType adc_mask
 
uint32_t adc_shift
 
uint32_t adc_width
 
PackedDigiType column_mask
 
uint32_t column_shift
 
uint32_t column_width
 
uint32_t max_adc
 
uint32_t max_column
 
uint32_t max_row
 
PackedDigiType row_mask
 
uint32_t row_shift
 
uint32_t row_width
 
PackedDigiType rowcol_mask
 
PackedDigiType time_mask
 
uint32_t time_shift
 

Detailed Description

Definition at line 59 of file SiPixelRawToClusterGPUKernel.h.

Member Typedef Documentation

◆ PackedDigiType

Definition at line 61 of file SiPixelRawToClusterGPUKernel.h.

Constructor & Destructor Documentation

◆ Packing()

__host__ constexpr __device__ pixelgpudetails::Packing::Packing ( unsigned int  row_w,
unsigned int  column_w,
unsigned int  time_w,
unsigned int  adc_w 
)
inlineconstexpr

Definition at line 64 of file SiPixelRawToClusterGPUKernel.h.

68  : row_width(row_w),
69  column_width(column_w),
70  adc_width(adc_w),
71  row_shift(0),
72  column_shift(row_shift + row_w),
73  time_shift(column_shift + column_w),
74  adc_shift(time_shift + time_w),
75  row_mask(~(~0U << row_w)),
76  column_mask(~(~0U << column_w)),
77  time_mask(~(~0U << time_w)),
78  adc_mask(~(~0U << adc_w)),
79  rowcol_mask(~(~0U << (column_w + row_w))),
82  max_adc(adc_mask) {}

Member Data Documentation

◆ adc_mask

PackedDigiType pixelgpudetails::Packing::adc_mask

Definition at line 96 of file SiPixelRawToClusterGPUKernel.h.

◆ adc_shift

uint32_t pixelgpudetails::Packing::adc_shift

Definition at line 91 of file SiPixelRawToClusterGPUKernel.h.

◆ adc_width

uint32_t pixelgpudetails::Packing::adc_width

Definition at line 86 of file SiPixelRawToClusterGPUKernel.h.

◆ column_mask

PackedDigiType pixelgpudetails::Packing::column_mask

Definition at line 94 of file SiPixelRawToClusterGPUKernel.h.

◆ column_shift

uint32_t pixelgpudetails::Packing::column_shift

Definition at line 89 of file SiPixelRawToClusterGPUKernel.h.

◆ column_width

uint32_t pixelgpudetails::Packing::column_width

Definition at line 85 of file SiPixelRawToClusterGPUKernel.h.

◆ max_adc

uint32_t pixelgpudetails::Packing::max_adc

Definition at line 101 of file SiPixelRawToClusterGPUKernel.h.

◆ max_column

uint32_t pixelgpudetails::Packing::max_column

Definition at line 100 of file SiPixelRawToClusterGPUKernel.h.

◆ max_row

uint32_t pixelgpudetails::Packing::max_row

Definition at line 99 of file SiPixelRawToClusterGPUKernel.h.

◆ row_mask

PackedDigiType pixelgpudetails::Packing::row_mask

Definition at line 93 of file SiPixelRawToClusterGPUKernel.h.

◆ row_shift

uint32_t pixelgpudetails::Packing::row_shift

Definition at line 88 of file SiPixelRawToClusterGPUKernel.h.

◆ row_width

uint32_t pixelgpudetails::Packing::row_width

Definition at line 84 of file SiPixelRawToClusterGPUKernel.h.

◆ rowcol_mask

PackedDigiType pixelgpudetails::Packing::rowcol_mask

Definition at line 97 of file SiPixelRawToClusterGPUKernel.h.

◆ time_mask

PackedDigiType pixelgpudetails::Packing::time_mask

Definition at line 95 of file SiPixelRawToClusterGPUKernel.h.

◆ time_shift

uint32_t pixelgpudetails::Packing::time_shift

Definition at line 90 of file SiPixelRawToClusterGPUKernel.h.

pixelgpudetails::Packing::row_mask
PackedDigiType row_mask
Definition: SiPixelRawToClusterGPUKernel.h:93
pixelgpudetails::Packing::row_shift
uint32_t row_shift
Definition: SiPixelRawToClusterGPUKernel.h:88
pixelgpudetails::Packing::time_shift
uint32_t time_shift
Definition: SiPixelRawToClusterGPUKernel.h:90
pixelgpudetails::Packing::adc_mask
PackedDigiType adc_mask
Definition: SiPixelRawToClusterGPUKernel.h:96
pixelgpudetails::Packing::rowcol_mask
PackedDigiType rowcol_mask
Definition: SiPixelRawToClusterGPUKernel.h:97
pixelgpudetails::Packing::column_width
uint32_t column_width
Definition: SiPixelRawToClusterGPUKernel.h:85
pixelgpudetails::Packing::adc_shift
uint32_t adc_shift
Definition: SiPixelRawToClusterGPUKernel.h:91
pixelgpudetails::Packing::column_shift
uint32_t column_shift
Definition: SiPixelRawToClusterGPUKernel.h:89
pixelgpudetails::Packing::time_mask
PackedDigiType time_mask
Definition: SiPixelRawToClusterGPUKernel.h:95
pixelgpudetails::Packing::row_width
uint32_t row_width
Definition: SiPixelRawToClusterGPUKernel.h:84
pixelgpudetails::Packing::max_column
uint32_t max_column
Definition: SiPixelRawToClusterGPUKernel.h:100
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
pixelgpudetails::Packing::max_adc
uint32_t max_adc
Definition: SiPixelRawToClusterGPUKernel.h:101
pixelgpudetails::Packing::max_row
uint32_t max_row
Definition: SiPixelRawToClusterGPUKernel.h:99
pixelgpudetails::Packing::adc_width
uint32_t adc_width
Definition: SiPixelRawToClusterGPUKernel.h:86
pixelgpudetails::Packing::column_mask
PackedDigiType column_mask
Definition: SiPixelRawToClusterGPUKernel.h:94