#include <SiPixelROCsStatusAndMappingWrapper.h>
Classes | |
struct | GPUData |
struct | ModulesToUnpack |
Public Member Functions | |
const SiPixelROCsStatusAndMapping * | getGPUProductAsync (cudaStream_t cudaStream) const |
const unsigned char * | getModToUnpAllAsync (cudaStream_t cudaStream) const |
cms::cuda::device::unique_ptr< unsigned char[]> | getModToUnpRegionalAsync (std::set< unsigned int > const &modules, cudaStream_t cudaStream) const |
bool | hasQuality () const |
SiPixelROCsStatusAndMappingWrapper (SiPixelFedCablingMap const &cablingMap, TrackerGeometry const &trackerGeom, SiPixelQuality const *badPixelInfo) | |
~SiPixelROCsStatusAndMappingWrapper () | |
Private Attributes | |
const SiPixelFedCablingMap * | cablingMap_ |
SiPixelROCsStatusAndMapping * | cablingMapHost = nullptr |
cms::cuda::ESProduct< GPUData > | gpuData_ |
bool | hasQuality_ |
cms::cuda::ESProduct< ModulesToUnpack > | modToUnp_ |
std::vector< unsigned char, cms::cuda::HostAllocator< unsigned char > > | modToUnpDefault |
unsigned int | size |
Definition at line 17 of file SiPixelROCsStatusAndMappingWrapper.h.
SiPixelROCsStatusAndMappingWrapper::SiPixelROCsStatusAndMappingWrapper | ( | SiPixelFedCablingMap const & | cablingMap, |
TrackerGeometry const & | trackerGeom, | ||
SiPixelQuality const * | badPixelInfo | ||
) |
Definition at line 23 of file SiPixelROCsStatusAndMappingWrapper.cc.
References SiPixelROCsStatusAndMapping::badRocs, nano_mu_local_reco_cff::bool, cablingMapHost, SiPixelFedCablingMap::cablingTree(), cudaCheck, SiPixelROCsStatusAndMapping::fed, L1TStage2BMTF_cff::fedIds, SiPixelFedCablingMap::fedIds(), mps_fire::i, sipixelobjects::PixelROC::idInDetUnit(), TrackerGeometry::idToDetUnit(), gpuClustering::invalidModuleId, SiPixelQuality::IsRocBad(), SiPixelROCsStatusAndMapping::link, LogDebug, pixelgpudetails::MAX_LINK, pixelgpudetails::MAX_ROC, modToUnpDefault, SiPixelROCsStatusAndMapping::moduleId, castor_dqm_sourceclient_file_cfg::path, SiPixelROCsStatusAndMapping::rawId, sipixelobjects::PixelROC::rawId(), SiPixelROCsStatusAndMapping::roc, PixelMapPlotter::roc, SiPixelROCsStatusAndMapping::rocInDet, and SiPixelROCsStatusAndMapping::size.
SiPixelROCsStatusAndMappingWrapper::~SiPixelROCsStatusAndMappingWrapper | ( | ) |
Definition at line 104 of file SiPixelROCsStatusAndMappingWrapper.cc.
References cablingMapHost, and cudaCheck.
const SiPixelROCsStatusAndMapping * SiPixelROCsStatusAndMappingWrapper::getGPUProductAsync | ( | cudaStream_t | cudaStream | ) | const |
Definition at line 106 of file SiPixelROCsStatusAndMappingWrapper.cc.
References cudaCheck, data, gpuData_, and cms::cuda::stream.
const unsigned char * SiPixelROCsStatusAndMappingWrapper::getModToUnpAllAsync | ( | cudaStream_t | cudaStream | ) | const |
Definition at line 119 of file SiPixelROCsStatusAndMappingWrapper.cc.
References cudaCheck, data, pixelgpudetails::MAX_SIZE_BYTE_BOOL, modToUnp_, modToUnpDefault, and cms::cuda::stream.
cms::cuda::device::unique_ptr< unsigned char[]> SiPixelROCsStatusAndMappingWrapper::getModToUnpRegionalAsync | ( | std::set< unsigned int > const & | modules, |
cudaStream_t | cudaStream | ||
) | const |
Definition at line 132 of file SiPixelROCsStatusAndMappingWrapper.cc.
References cablingMap_, SiPixelFedCablingMap::cablingTree(), cudaCheck, L1TStage2BMTF_cff::fedIds, SiPixelFedCablingMap::fedIds(), pixelgpudetails::MAX_LINK, pixelgpudetails::MAX_ROC, pixelgpudetails::MAX_SIZE, castor_dqm_sourceclient_file_cfg::path, sipixelobjects::PixelROC::rawId(), and PixelMapPlotter::roc.
|
inline |
Definition at line 24 of file SiPixelROCsStatusAndMappingWrapper.h.
References hasQuality_.
|
private |
Definition at line 35 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by getModToUnpRegionalAsync().
|
private |
Definition at line 40 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by SiPixelROCsStatusAndMappingWrapper(), and ~SiPixelROCsStatusAndMappingWrapper().
|
private |
Definition at line 46 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by getGPUProductAsync().
|
private |
Definition at line 38 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by hasQuality().
|
private |
Definition at line 52 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by getModToUnpAllAsync().
|
private |
Definition at line 36 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by getModToUnpAllAsync(), SiPixelROCsStatusAndMappingWrapper(), and SiPixelROCsStatusAndMappingWrapper::ModulesToUnpack::~ModulesToUnpack().
|
private |
Definition at line 37 of file SiPixelROCsStatusAndMappingWrapper.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), esMonitoring.LineHistoryEnd::pop(), esMonitoring.LineHistoryEnd::push(), cuy.FindIssue::startElement(), esMonitoring.LineHistoryEnd::write(), and esMonitoring.LineHistoryStart::write().