#include <SiStripClusterizerConditionsGPU.h>
Classes | |
class | Data |
class | DetToFed |
Public Types | |
using | DetToFeds = std::vector< DetToFed > |
Public Member Functions | |
const DetToFeds & | detToFeds () const |
Data const & | getGPUProductAsync (cudaStream_t stream) const |
SiStripClusterizerConditionsGPU (const SiStripQuality &quality, const SiStripGain *gains, const SiStripNoises &noises) | |
~SiStripClusterizerConditionsGPU ()=default | |
Static Public Attributes | |
static constexpr std::uint16_t | badBit = 1 << 15 |
Private Member Functions | |
void | setInvThickness (fedId_t fed, fedCh_t channel, float invthick) |
void | setStrip (fedId_t fed, fedCh_t channel, stripId_t strip, std::uint16_t noise, float gain, bool bad) |
Private Attributes | |
std::vector< detId_t, cms::cuda::HostAllocator< detId_t > > | detID_ |
DetToFeds | detToFeds_ |
std::vector< float, cms::cuda::HostAllocator< float > > | gain_ |
cms::cuda::ESProduct< Data > | gpuData_ |
std::vector< float, cms::cuda::HostAllocator< float > > | invthick_ |
std::vector< apvPair_t, cms::cuda::HostAllocator< apvPair_t > > | iPair_ |
std::vector< std::uint16_t, cms::cuda::HostAllocator< std::uint16_t > > | noise_ |
Definition at line 31 of file SiStripClusterizerConditionsGPU.h.
using stripgpu::SiStripClusterizerConditionsGPU::DetToFeds = std::vector<DetToFed> |
Definition at line 48 of file SiStripClusterizerConditionsGPU.h.
stripgpu::SiStripClusterizerConditionsGPU::SiStripClusterizerConditionsGPU | ( | const SiStripQuality & | quality, |
const SiStripGain * | gains, | ||
const SiStripNoises & | noises | ||
) |
Definition at line 13 of file SiStripClusterizerConditionsGPU.cc.
References a, b, officialStyle::chan, stripgpu::channelIndex(), getInfo::conn, detID_, detToFeds_, Hcal_Conditions_forGlobalTag_cff::gain, ecalph2::gains, SiStripNoises::getRawNoise(), SiStripGain::getStripGain(), iPair_, hgchebackDigitizer_cfi::noise, hltHgcalLayerClustersEE_cfi::noises, HLT_IsoTrack_cff::offset, quality, siStripClusterTools::sensorThicknessInverse(), setInvThickness(), setStrip(), jetUpdater_cfi::sort, and nano_mu_digi_cff::strip.
|
default |
|
inline |
Definition at line 108 of file SiStripClusterizerConditionsGPU.h.
References detToFeds_.
SiStripClusterizerConditionsGPU::Data const & stripgpu::SiStripClusterizerConditionsGPU::getGPUProductAsync | ( | cudaStream_t | stream | ) | const |
Definition at line 72 of file SiStripClusterizerConditionsGPU.cc.
References cms::cuda::copyAsync(), data, detID_, gain_, gpuData_, invthick_, iPair_, noise_, and cms::cuda::stream.
|
inlineprivate |
Definition at line 119 of file SiStripClusterizerConditionsGPU.h.
References stripgpu::channelIndex(), and invthick_.
Referenced by SiStripClusterizerConditionsGPU().
|
inlineprivate |
Definition at line 111 of file SiStripClusterizerConditionsGPU.h.
References stripgpu::apvIndex(), badBit, Hcal_Conditions_forGlobalTag_cff::gain, gain_, hgchebackDigitizer_cfi::noise, noise_, nano_mu_digi_cff::strip, and stripgpu::stripIndex().
Referenced by SiStripClusterizerConditionsGPU().
|
static |
Definition at line 50 of file SiStripClusterizerConditionsGPU.h.
Referenced by stripgpu::SiStripClusterizerConditionsGPU::Data::DeviceView::bad(), stripgpu::SiStripClusterizerConditionsGPU::Data::DeviceView::noise(), and setStrip().
|
private |
Definition at line 126 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync(), and SiStripClusterizerConditionsGPU().
|
private |
Definition at line 133 of file SiStripClusterizerConditionsGPU.h.
Referenced by detToFeds(), and SiStripClusterizerConditionsGPU().
|
private |
Definition at line 128 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync(), and setStrip().
|
private |
Definition at line 132 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync().
|
private |
Definition at line 125 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync(), and setInvThickness().
|
private |
Definition at line 127 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync(), and SiStripClusterizerConditionsGPU().
|
private |
Definition at line 124 of file SiStripClusterizerConditionsGPU.h.
Referenced by getGPUProductAsync(), and setStrip().