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 91 of file SiPixelRawToClusterGPUKernel.h.

Member Typedef Documentation

◆ PackedDigiType

Definition at line 93 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 96 of file SiPixelRawToClusterGPUKernel.h.

100  : row_width(row_w),
101  column_width(column_w),
102  adc_width(adc_w),
103  row_shift(0),
104  column_shift(row_shift + row_w),
105  time_shift(column_shift + column_w),
106  adc_shift(time_shift + time_w),
107  row_mask(~(~0U << row_w)),
108  column_mask(~(~0U << column_w)),
109  time_mask(~(~0U << time_w)),
110  adc_mask(~(~0U << adc_w)),
111  rowcol_mask(~(~0U << (column_w + row_w))),
112  max_row(row_mask),
114  max_adc(adc_mask) {}

Member Data Documentation

◆ adc_mask

PackedDigiType pixelgpudetails::Packing::adc_mask

Definition at line 128 of file SiPixelRawToClusterGPUKernel.h.

◆ adc_shift

uint32_t pixelgpudetails::Packing::adc_shift

Definition at line 123 of file SiPixelRawToClusterGPUKernel.h.

◆ adc_width

uint32_t pixelgpudetails::Packing::adc_width

Definition at line 118 of file SiPixelRawToClusterGPUKernel.h.

◆ column_mask

PackedDigiType pixelgpudetails::Packing::column_mask

Definition at line 126 of file SiPixelRawToClusterGPUKernel.h.

◆ column_shift

uint32_t pixelgpudetails::Packing::column_shift

Definition at line 121 of file SiPixelRawToClusterGPUKernel.h.

◆ column_width

uint32_t pixelgpudetails::Packing::column_width

Definition at line 117 of file SiPixelRawToClusterGPUKernel.h.

◆ max_adc

uint32_t pixelgpudetails::Packing::max_adc

Definition at line 133 of file SiPixelRawToClusterGPUKernel.h.

◆ max_column

uint32_t pixelgpudetails::Packing::max_column

Definition at line 132 of file SiPixelRawToClusterGPUKernel.h.

◆ max_row

uint32_t pixelgpudetails::Packing::max_row

Definition at line 131 of file SiPixelRawToClusterGPUKernel.h.

◆ row_mask

PackedDigiType pixelgpudetails::Packing::row_mask

Definition at line 125 of file SiPixelRawToClusterGPUKernel.h.

◆ row_shift

uint32_t pixelgpudetails::Packing::row_shift

Definition at line 120 of file SiPixelRawToClusterGPUKernel.h.

◆ row_width

uint32_t pixelgpudetails::Packing::row_width

Definition at line 116 of file SiPixelRawToClusterGPUKernel.h.

◆ rowcol_mask

PackedDigiType pixelgpudetails::Packing::rowcol_mask

Definition at line 129 of file SiPixelRawToClusterGPUKernel.h.

◆ time_mask

PackedDigiType pixelgpudetails::Packing::time_mask

Definition at line 127 of file SiPixelRawToClusterGPUKernel.h.

◆ time_shift

uint32_t pixelgpudetails::Packing::time_shift

Definition at line 122 of file SiPixelRawToClusterGPUKernel.h.

pixelgpudetails::Packing::row_mask
PackedDigiType row_mask
Definition: SiPixelRawToClusterGPUKernel.h:125
pixelgpudetails::Packing::row_shift
uint32_t row_shift
Definition: SiPixelRawToClusterGPUKernel.h:120
pixelgpudetails::Packing::time_shift
uint32_t time_shift
Definition: SiPixelRawToClusterGPUKernel.h:122
pixelgpudetails::Packing::adc_mask
PackedDigiType adc_mask
Definition: SiPixelRawToClusterGPUKernel.h:128
pixelgpudetails::Packing::rowcol_mask
PackedDigiType rowcol_mask
Definition: SiPixelRawToClusterGPUKernel.h:129
pixelgpudetails::Packing::column_width
uint32_t column_width
Definition: SiPixelRawToClusterGPUKernel.h:117
pixelgpudetails::Packing::adc_shift
uint32_t adc_shift
Definition: SiPixelRawToClusterGPUKernel.h:123
pixelgpudetails::Packing::column_shift
uint32_t column_shift
Definition: SiPixelRawToClusterGPUKernel.h:121
pixelgpudetails::Packing::time_mask
PackedDigiType time_mask
Definition: SiPixelRawToClusterGPUKernel.h:127
pixelgpudetails::Packing::row_width
uint32_t row_width
Definition: SiPixelRawToClusterGPUKernel.h:116
pixelgpudetails::Packing::max_column
uint32_t max_column
Definition: SiPixelRawToClusterGPUKernel.h:132
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
pixelgpudetails::Packing::max_adc
uint32_t max_adc
Definition: SiPixelRawToClusterGPUKernel.h:133
pixelgpudetails::Packing::max_row
uint32_t max_row
Definition: SiPixelRawToClusterGPUKernel.h:131
pixelgpudetails::Packing::adc_width
uint32_t adc_width
Definition: SiPixelRawToClusterGPUKernel.h:118
pixelgpudetails::Packing::column_mask
PackedDigiType column_mask
Definition: SiPixelRawToClusterGPUKernel.h:126