CMS 3D CMS Logo

Namespaces | Functions | Variables
gpuCalibPixel.h File Reference
#include <cstdint>
#include <cstdio>
#include <algorithm>
#include <limits>
#include "CUDADataFormats/SiPixelCluster/interface/gpuClusteringConstants.h"
#include "CondFormats/SiPixelObjects/interface/SiPixelGainForHLTonGPU.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cuda_assert.h"
#include "Geometry/CommonTopologies/interface/SimplePixelTopology.h"

Go to the source code of this file.

Namespaces

 gpuCalibPixel
 

Functions

template<bool isRun2>
__global__ void gpuCalibPixel::calibDigis (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)
 
__global__ void gpuCalibPixel::calibDigisPhase2 (uint16_t *id, uint16_t *adc, int numElements, uint32_t *__restrict__ moduleStart, uint32_t *__restrict__ nClustersInModule, uint32_t *__restrict__ clusModuleStart)
 

Variables

constexpr float gpuCalibPixel::ElectronPerADCGain = 600
 
constexpr uint16_t gpuCalibPixel::Phase2DigiBaseline = 1500
 
constexpr uint8_t gpuCalibPixel::Phase2KinkADC = 8
 
constexpr int8_t gpuCalibPixel::Phase2ReadoutMode = 3
 
constexpr int gpuCalibPixel::VCalChargeThreshold = 100
 
constexpr float gpuCalibPixel::VCaltoElectronGain = 47
 
constexpr float gpuCalibPixel::VCaltoElectronGain_L1 = 50
 
constexpr float gpuCalibPixel::VCaltoElectronOffset = -60
 
constexpr float gpuCalibPixel::VCaltoElectronOffset_L1 = -670