1 #ifndef RecoLocalTracker_SiPixelClusterizer_plugins_gpuCalibPixel_h 2 #define RecoLocalTracker_SiPixelClusterizer_plugins_gpuCalibPixel_h 24 uint16_t
const* __restrict__ x,
25 uint16_t
const* __restrict__ y,
31 uint32_t* __restrict__ clusModuleStart
51 bool isDeadColumn =
false, isNoisyColumn =
false;
55 auto ret = ped->getPedAndGain(
id[
i],
col, row, isDeadColumn, isNoisyColumn);
59 if (isDeadColumn | isNoisyColumn) {
60 printf(
"bad pixel at %d in %d\n",
i,
id[
i]);
68 vcal = vcal * conversionFactor +
offset;
81 uint32_t* __restrict__ clusModuleStart
103 int adc_int =
adc[
i];
112 const int8_t ds = int8_t(dspp <= 1 ? 1 : (dspp - 1) * (dspp - 1));
129 #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