1 #ifndef RecoLocalTracker_SiPixelClusterizer_plugins_gpuCalibPixel_h 2 #define RecoLocalTracker_SiPixelClusterizer_plugins_gpuCalibPixel_h 22 uint16_t
const* __restrict__ x,
23 uint16_t
const* __restrict__ y,
29 uint32_t* __restrict__ clusModuleStart
49 bool isDeadColumn =
false, isNoisyColumn =
false;
54 auto ret =
ped->getPedAndGain(
id[
i],
col, row, isDeadColumn, isNoisyColumn);
58 if (isDeadColumn | isNoisyColumn) {
59 printf(
"bad pixel at %d in %d\n",
i,
id[
i]);
67 vcal = vcal * conversionFactor +
offset;
80 uint32_t* __restrict__ clusModuleStart
102 int adc_int =
adc[
i];
111 const int8_t ds = int8_t(dspp <= 1 ? 1 : (dspp - 1) * (dspp - 1));
128 #endif // RecoLocalTracker_SiPixelClusterizer_plugins_gpuCalibPixel_h
uint16_t *__restrict__ uint16_t const *__restrict__ uint32_t const *__restrict__ uint32_t *__restrict__ nClustersInModule
ret
prodAgent to be discontinued
const float vCaltoElectronOffset
const int8_t phase2ReadoutMode
constexpr uint16_t numberOfModules
const float vCaltoElectronGain
const uint16_t phase2DigiBaseline
const uint8_t phase2KinkADC
const float vCaltoElectronGain_L1
constexpr uint16_t invalidModuleId
uint16_t *__restrict__ uint16_t const *__restrict__ uint32_t const *__restrict__ uint32_t *__restrict__ uint32_t const *__restrict__ int32_t *__restrict__ uint32_t numElements
__global__ void calibDigisPhase2(SiPixelClusterThresholds clusterThresholds, uint16_t *id, uint16_t *adc, int numElements, uint32_t *__restrict__ moduleStart, uint32_t *__restrict__ nClustersInModule, uint32_t *__restrict__ clusModuleStart)
uint16_t *__restrict__ uint16_t const *__restrict__ uint32_t const *__restrict__ moduleStart
const float electronPerADCGain
const float vCaltoElectronOffset_L1
constexpr uint16_t numberOfModules
__global__ void calibDigis(SiPixelClusterThresholds clusterThresholds, uint16_t *id, uint16_t const *__restrict__ x, uint16_t const *__restrict__ y, uint16_t *adc, SiPixelGainForHLTonGPU const *__restrict__ ped, int numElements, uint32_t *__restrict__ moduleStart, uint32_t *__restrict__ nClustersInModule, uint32_t *__restrict__ clusModuleStart)
uint16_t *__restrict__ uint16_t const *__restrict__ adc